PowerPC: Rename __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
[glibc.git] / ChangeLog
blob24f2d20fdcca094d4c4b0ac347df03f9eb63374c
1 2013-01-15  Anton Blanchard  <anton@samba.org>
2             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
5         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
6         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10         "+r" and remove output regs list as redundant.  Add explicit inline
11         asm to specify register of return val to work around compiler codegen
12         bug.  Remove (int) cast on return value.  Add return type parameter to
13         use in macro so that this macro does not truncate return value for
14         64-bit values.
15         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
16         pass to INTERNAL_VSYSCALL_NCS.
17         (INLINE_VSYSCALL): Add 'long int' as return type to
18         INTERNAL_VSYSCALL_NCS macro invocation.
19         (INTERNAL_VSYSCALL): Add 'long int' as return type to
20         INTERNAL_VSYSCALL_NCS macro invocation.
21         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25         [BZ #14496]
26         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
27         Fix application of SIMD FP exception mask.
29         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
30         mp_no from a power of two.
31         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
32         __mpexp_twomm1.  Use __pow_mp.
34         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
35         multiplication.
37 2013-01-17  David S. Miller  <davem@davemloft.net>
39         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
43         [BZ #15023]
44         * include/complex.h: Condition contents on [!_COMPLEX_H].
45         (__kernel_casinhf): New prototype.
46         (__kernel_casinh): Likewise.
47         (__kernel_casinhl): Likewise.
48         * math/Makefile (libm_calls): Add k_casinh.
49         * math/k_casinh.c: New file.
50         * math/k_casinhf.c: Likewise.
51         * math/k_casinhl.c: Likewise.
52         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
53         finite nonzero arguments.
54         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
55         finite nonzero arguments.
56         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
57         finite nonzero arguments.
58         * math/s_casinh.c: Do not include <float.h>.
59         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
60         * math/s_casinhf.c: Do not include <float.h>.
61         (__casinhf): Move code for finite nonzero arguments to
62         k_casinhf.c.
63         * math/s_casinhl.c: Do not include <float.h>.
64         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
65         redefine.
66         (__casinhl): Move code for finite nonzero arguments to
67         k_casinhl.c.
68         * math/libm-test.inc (cacos_test): Add more tests.
69         * sysdeps/i386/fpu/libm-test-ulps: Update.
70         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
74         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
75         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
76         [!HAVE_MREMAP]: Remove [defined linux] case.
77         * malloc/arena.c: Do not include <malloc-sysdep.h>.
79 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
81         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
83 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
85         * elf/elf.h (R_386_SIZE32): New relocation.
86         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
87         R_386_SIZE32.
88         (elf_machine_rela): Likewise.
89         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
90         R_X86_64_SIZE64 and R_X86_64_SIZE32.
92 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
94         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
95         (FP_FAST_FMA): Do not define.
96         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
97         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
98         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
99         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
100         !_SOFT_FLOAT]: Likewise.
101         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
102         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
103         value.
104         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
105         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
106         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
107         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
108         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
109         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
110         file.
112 2013-01-16  Andreas Schwab  <schwab@suse.de>
114         [BZ #14327]
115         * include/stdlib.h (__mktemp): Add declaration.
116         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
117         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
119 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
121         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
122         definitions.
123         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
124         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
125         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
126         definitions here.
127         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
128         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
129         definitions.
130         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
131         and ONE.
132         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
133         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
134         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
135         definitions.
136         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
137         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
138         definitions.
139         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
141         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
143 2013-01-15  David S. Miller  <davem@davemloft.net>
145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
146         trunc{,f} to libm-sysdep_routes.
147         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
149         file.
150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
152         file.
153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
154         file.
155         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
156         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
157         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
158         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
159         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
160         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
161         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
162         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
165         nearbyint{,f} to libm-sysdep_routes.
166         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
168         New file.
169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
170         file.
171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
172         New file.
173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
174         file.
175         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
176         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
177         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
178         file.
179         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
180         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
181         file.
182         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
183         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
184         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
186         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
187         libc_feholdexcept and libc_fesetenv.
189 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
191         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
193 2013-01-14  David S. Miller  <davem@davemloft.net>
195         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
196         (SPARC_ASM_VIS2_IFUNC): Likewise.
197         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
199         use of 'siam' instruction.
200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
201         Likewise.
202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
203         Likewise.
204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
205         Likewise.
206         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
207         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
208         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
209         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
211         file.
212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
213         file.
214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
215         file.
216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
217         file.
218         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
219         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
220         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
221         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
223         new VIS2 routines.
224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
227         Likewise.
228         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
229         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
230         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
231         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
233         routines to libm-sysdep_routines.
234         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
237         fdim/fdimf to libm-sysdep_routines.
238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
239         file.
240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
242         file.
243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
244         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
245         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
246         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
247         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
248         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
249         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
251 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
253         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
254         to optimize copies.
256         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
257         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
258         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
260         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
261         local variable MPTWO.
262         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
263         Likewise.
265 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
267         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
268         GLOB_NOESCAPE.
270 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
272         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
274 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
276         * manual/pattern.texi (glob_t): Document gl_flags.
277         (glob64_t): Likewise.
279 2013-01-11  David S. Miller  <davem@davemloft.net>
281         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
282         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
283         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
284         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
285         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
286         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
287         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
288         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
289         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
290         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
291         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
292         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
293         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
295         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
296         sparc V9 rather than using V8 code.
297         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
298         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
300         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
301         Move to...
302         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
303         Here.
305 2013-01-11  Roland McGrath  <roland@hack.frob.com>
307         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
308         not in the main loop.
309         * configure: Regenerated.
311 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
313         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
314         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
315         to just #else.
316         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
317         [!__GLIBC_HAVE_LONG_LONG] case.
318         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
319         condition to just #else.
320         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
321         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
322         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
323         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
324         unconditional.
325         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
326         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
327         #elif condition to just #else.
328         * sysdeps/unix/sysv/linux/sys/sysmacros.h
329         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
330         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
331         #elif condition to just #else.
333 2013-01-11  Steve Ellcey  <sellcey@mips.com>
335         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
336         (EF_MIPS_ARCH_64): Fix value.
337         (EF_MIPS_ARCH_32R2): New.
338         (EF_MIPS_ARCH_64R2): New.
340 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
342         * Makeconfig (+link-pie-before-libc): New.
343         (+link-pie-after-libc): Likewise.
344         (+link-pie-tests): Likewise.
345         (+link-pie): Rewritten.
346         (link-before-libc): Remove $(config-LDFLAGS).
347         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
348         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
349         (config-LDFLAGS): Renamed to ...
350         (rtld-LDFLAGS): This.
351         (rtld-tests-LDFLAGS): New macro.
352         (link-libc-rpath-link): Likewise.
353         (link-libc-tests-rpath-link): Likewise.
354         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
355         (link-libc): Prepand $(link-libc-rpath-link).
356         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
357         (test-program-prefix): New macro.
358         (test-via-rtld-prefix): Likewise.
359         (test-program-cmd): Likewise.
360         (host-test-program-cmd): Likewise.
361         * Makefile ($(common-objpfx)testrun.sh): Replace
362         $(run-program-prefix) with $(test-program-prefix).
363         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
364         $(rtld-LDFLAGS).
365         ($(common-objpfx)shlib.lds): Likewise.
366         (build-module-helper): Likewise.
367         ($(common-objpfx)format.lds): Likewise.
368         * Rules (binaries-pie-tests): New.
369         (binaries-pie-notests): Likewise.
370         (binaries-pie): Rewritten.
371         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
372         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
373         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
374         (make-test-out): Replace $(host-built-program-cmd) with
375         $(host-test-program-cmd).
376         * config.make.in (build-hardcoded-path-in-tests): New variable.
377         * configure.in (--enable-hardcoded-path-in-tests): New configure
378         option.
379         (hardcoded_path_in_tests): New AC_SUBST.
380         * configure: Regenerated.
381         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
382         $(built-program-cmd) with $(test-program-cmd).
383         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
384         (test_program_cmd): This.
385         * elf/Makefile ($(objpfx)order.out): Run test with
386         $(test-program-prefix).
387         ($(objpfx)order2.out): Likewise.
388         ($(objpfx)tst-initorder.out): Likewise.
389         ($(objpfx)tst-initorder2.out): Likewise.
390         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
391         $(test-program-cmd).
392         ($(objpfx)tst-array1-static.out): Likewise.
393         ($(objpfx)tst-array2.out): Likewise.
394         ($(objpfx)tst-array3.out): Likewise.
395         ($(objpfx)tst-array4.out): Likewise.
396         ($(objpfx)tst-array5.out): Likewise.
397         ($(objpfx)tst-array5-static.out): Likewise.
398         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
399         $(test-program-cmd).
400         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
401         $(run-program-prefix) with $(test-program-prefix).
402         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
403         (test_program_prefix): This.
404         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
405         $(run-program-prefix) with $(test-program-prefix).
406         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
407         (test_program_prefix): This.
408         * iconvdata/tst-tables.sh: Likewise.
409         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
410         $(run-program-prefix) with $(test-program-prefix).
411         ($(objpfx)tst-translit.out): Likewise.
412         ($(objpfx)tst-gettext2.out): Likewise.
413         ($(objpfx)tst-gettext4.out): Likewise.
414         ($(objpfx)tst-gettext6.out): Likewise.
415         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
416         (test_program_prefix): This.
417         * intl/tst-gettext2.sh: Likewise.
418         * intl/tst-gettext4.sh  Likewise.
419         * intl/tst-gettext6.sh: Likewise.
420         * intl/tst-translit.sh: Likewise.
421         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
422         with $(test-program-cmd).
423         * libio/Makefile ($(objpfx)test-freopen.out): Replace
424         $(run-program-prefix) with $(test-program-prefix).
425         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
426         (test_program_prefix): This.
427         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
428         $(run-program-prefix) with $(test-program-prefix).
429         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
430         (test_program_prefix): This.
431         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
432         * posix/Makefile ($(objpfx)globtest.out): Replace
433         $(run-via-rtld-prefix) and $(test-wrapper) with
434         $(test-program-prefix) and $(test-via-rtld-prefix).
435         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
436         $(test-program-prefix).
437         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
438         $(host-test-program-cmd).
439         (tst-spawn-ARGS): Likewise.
440         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
441         $(test-program-prefix).
442         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
443         (test_via_rtld_prefix): This.
444         (test_wrapper): Renamed to ...
445         (test_program_prefix): This.
446         (run_program_prefix): Replaced by test_program_prefix.
447         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
448         (test_program_prefix): This.
449         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
450         with $(host-test-program-cmd).
451         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
452         $(run-program-prefix) with $(test-program-prefix).
453         ($(objpfx)tst-printf.out): Likewise.
454         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
455         $(test-program-cmd).
456         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
457         (test_program_prefix): This.
458         * stdio-common/tst-unbputc.sh: Likewise.
459         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
460         $(run-program-prefix) with $(test-program-prefix).
461         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
462         (test_program_prefix): This.
463         * string/Makefile ($(objpfx)tst-svc.out):  Replace
464         $(built-program-cmd) with $(test-program-cmd).
466 2013-01-11  Andreas Jaeger  <aj@suse.de>
468         [BZ #15003]
469         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
470         value. Sync with Linux 3.7.
472 2013-01-10  David S. Miller  <davem@davemloft.net>
474         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
475         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
476         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
478 2013-01-10  Roland McGrath  <roland@hack.frob.com>
480         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
481         never set.
482         * configure: Regenerated.
484 2013-01-10  David S. Miller  <davem@davemloft.net>
486         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
487         sparc V9 rather than using V8 code.
488         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
489         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
491 2013-01-10  Roland McGrath  <roland@hack.frob.com>
493         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
494         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
495         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
496         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
497         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
498         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
499         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
500         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
501         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
502         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
503         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
504         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
505         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
506         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
507         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
508         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
509         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
510         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
511         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
512         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
513         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
514         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
515         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
516         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
517         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
518         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
519         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
521 2013-01-10  David S. Miller  <davem@davemloft.net>
523         * sysdeps/sparc/fpu/libm-test-ulps: Update.
525 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
527         * posix/Makefile (tests-static): New variable.
528         (tests): Add $(tests-static).
529         (tst-exec-static-ARGS): New variable.
530         (tst-spawn-static-ARGS): Likewise.
531         * posix/tst-exec-static.c: New file.
532         * posix/tst-spawn-static.c: Likewise.
533         * posix/tst-exec.c: Support run directly.
534         * posix/tst-spawn.c: Likewise.
536 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
538         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
539         long.
540         * math/bits/mathcalls.h (llrint): Likewise.
541         (llround): Likewise.
542         * stdlib/stdlib.h (struct drand48_data): Likewise.
543         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
544         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
545         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
546         Likewise.
547         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
548         Likewise.
549         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
550         (elf_greg_t): Likewise.
551         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
552         (__jmp_buf): Likewise.
553         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
554         definitions.
555         (llrint): Likewise, for all definitions.
556         (llrintl): Likewise.
558         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
559         Remove [__GNUC__] condition.
560         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
561         condition to just [__USE_ISOC99].
562         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
564 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
566         [BZ #14200]
567         * sysdeps/unix/sysv/linux/x86/bits/environments.h
568         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
569         defined.
570         (_POSIX_V6_ILP32_OFF32): Likewise.
571         (_XBS5_ILP32_OFF32): Likewise.
572         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
573         (__ILP32_OFFBIG_LDFLAGS): Likewise.
575 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
577         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
579         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
580         doubles __mpexp_twomm1.  Adjust usage.
581         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
582         Remove.
584 2013-01-10  Andreas Schwab  <schwab@suse.de>
586         [BZ #14964]
587         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
588         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
590 2013-01-09  David S. Miller  <davem@davemloft.net>
592         [BZ #15003]
593         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
594         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
595         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
596         TCP_FASTOPEN): Define.
597         (tcp_repair_opt): New structure.
598         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
599         enum values.
600         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
601         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
602         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
603         (tcp_cookie_transactions): New structure.
605 2013-01-09  Anton Blanchard  <anton@samba.org>
607         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
608         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
609         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
610         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
612 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
614         * include/features.h (__USE_ANSI): Remove.
616 2013-01-09  Roland McGrath  <roland@hack.frob.com>
618         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
620         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
622 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
624         * sysdeps/s390/fpu/libm-test-ulps: Update.
626         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
628         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
629         (__acr): Likewise.
630         (__cpy): Likewise.
631         (norm): Likewise.
632         (denorm): Likewise.
633         (__mp_dbl): Likewise.
634         (__dbl_mp): Likewise.
635         (add_magnitudes): Likewise.
636         (sub_magnitudes): Likewise.
637         (__add): Likewise.
638         (__sub): Likewise.
639         (__mul): Likewise.
640         (__inv): Likewise.
641         (__dvd): Likewise.
642         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
643         (__acr): Likewise.
644         (__cpy): Likewise.
645         (norm): Likewise.
646         (denorm): Likewise.
647         (__mp_dbl): Likewise.
648         (__dbl_mp): Likewise.
649         (add_magnitudes): Likewise.
650         (sub_magnitudes): Likewise.
651         (__add): Likewise.
652         (__sub): Likewise.
653         (__mul): Likewise.
654         (__inv): Likewise.
655         (__dvd): Likewise.
656         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
657         (__acr): Likewise.
658         (__cpy): Likewise.
659         (norm): Likewise.
660         (denorm): Likewise.
661         (__mp_dbl): Likewise.
662         (__dbl_mp): Likewise.
663         (add_magnitudes): Likewise.
664         (sub_magnitudes): Likewise.
665         (__add): Likewise.
666         (__sub): Likewise.
667         (__mul): Likewise.
668         (__inv): Likewise.
669         (__dvd): Likewise.
671 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
673         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
674         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
675         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
676         2 && __USE_EXTERN_INLINES]: Likewise.
678 2013-01-08  Andreas Jaeger  <aj@suse.de>
680         [BZ# 14985]
681         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
682         Remove.
683         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
684         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
686 2013-01-07  Anton Blanchard  <anton@samba.org>
688         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
689         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
690         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
691         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
692         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
693         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
694         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
695         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
696         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
697         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
698         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
699         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
700         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
701         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
702         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
703         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
704         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
705         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
706         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
707         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
708         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
709         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
710         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
711         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
712         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
713         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
714         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
715         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
716         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
717         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
718         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
719         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
720         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
721         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
722         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
723         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
724         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
725         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
726         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
727         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
728         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
729         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
730         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
732 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
734         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
735         (__MALLOC_PMT): Likewise.
736         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
737         [__GNUC__], only on [_LIBC].
738         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
739         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
740         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
741         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
742         forward declaration.
743         (realloc_hook_ini): Likewise.
744         (memalign_hook_ini): Likewise.
745         (__libc_memalign): Do not use __MALLOC_PMT in variable
746         declaration.
747         (__libc_valloc): Likewise.
748         (__libc_pvalloc): Likewise.
749         (__libc_calloc): Likewise.
750         (__posix_memalign): Likewise.
752         [BZ #14996]
753         * math/s_casinh.c: Include <float.h>.
754         (__casinh): Do not do computation with squaring and square root
755         for large arguments.
756         * math/s_casinhf.c: Include <float.h>.
757         (__casinhf): Do not do computation with squaring and square root
758         for large arguments.
759         * math/s_casinhl.c: Include <float.h>.
760         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
761         (__casinhl): Do not do computation with squaring and square root
762         for large arguments.
763         * math/libm-test.inc (casin_test): Add more tests.
764         (casinh_test): Likewise.
765         * sysdeps/i386/fpu/libm-test-ulps: Update.
766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
768 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
770         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
771         (__x86_64_raw_data_cache_size): Likewise.
772         (__x86_64_data_cache_size_half): Likewise.
773         (__x86_64_raw_data_cache_size_half): Likewise.
774         (__x86_64_shared_cache_size): Likewise.
775         (__x86_64_raw_shared_cache_size): Likewise.
776         (__x86_64_shared_cache_size_half): Likewise.
777         (__x86_64_raw_shared_cache_size_half): Likewise.
778         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
779         to ...
780         (__x86_data_cache_size): This.
781         (__x86_64_raw_data_cache_size): Renamed to ...
782         (__x86_raw_data_cache_size): This.
783         (__x86_64_data_cache_size_half): Renamed to ...
784         (__x86_data_cache_size_half): This.
785         (__x86_64_raw_data_cache_size_half): Renamed to ...
786         (__x86_raw_data_cache_size_half): This.
787         (__x86_64_shared_cache_size): Renamed to ...
788         (__x86_shared_cache_size): This.
789         (__x86_64_raw_shared_cache_size): Renamed to ...
790         (__x86_raw_shared_cache_size): This.
791         (__x86_64_shared_cache_size_half): Renamed to ...
792         (__x86_shared_cache_size_half): This.
793         (__x86_64_raw_shared_cache_size_half): Renamed to ...
794         (__x86_raw_shared_cache_size_half): This.
795         * sysdeps/x86_64/memcpy.S: Updated.
796         * sysdeps/x86_64/memset.S: Likewise.
797         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
798         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
799         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
801 2013-01-04  David S. Miller  <davem@davemloft.net>
803         * sysdeps/sparc/fpu/libm-test-ulps: Update.
805 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
807         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
808         1 to avoid redefinition warning.
809         (__USE_GNU): Don't define.
810         (init_signaling_nan): Protoize.
812         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
814 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
816         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
817         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
818         (__cpymn): Likewise.
819         (norm): Remove commented code.
820         (denorm): Likewise.
821         (__mp_dbl): Likewise.
822         (__inv): Likewise.
823         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
824         (__cpymn): Likewise.
825         (norm): Remove commented code.
826         (denorm): Likewise.
827         (__mp_dbl): Likewise.
828         (__inv): Likewise.
830         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
831         mp_no value for 1.0 and 2.0.
832         (norm): Use RADIXI instead of radixi.d.
833         (denorm): Likewise.
834         (__mul): Use 0.0 instead of zero.d.
835         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
836         mp_no value for 1.0 and 2.0.
837         (norm): Use RADIXI instead of radixi.d.
838         (denorm): Likewise.
839         (__mul): Use 0.0 instead of zero.d.
841 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
843         [BZ #14994]
844         * math/s_casinh.c (__casinh): Reduce finite argument to first
845         quadrant then set signs of results at the end.
846         * math/s_casinhf.c (__casinhf): Likewise.
847         * math/s_casinhl.c (__casinhl): Likewise.
848         * math/libm-test.inc (casin_test): Add more tests.
849         (casinh_test): Likewise.
850         * sysdeps/i386/fpu/libm-test-ulps: Update.
851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
853 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
855         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
857         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
859         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
860         declarations.
861         (denorm): Likewise.
862         (__mp_dbl): Likewise.
863         (__inv): Likewise.
865         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
866         and adjust the header comment.
868         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
869         variable name from declaration.
871 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
873         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
874         Initialize COMMON_CPUID_INDEX_7 element.
875         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
876         (CPUID_RTM): Likewise.
877         (HAS_RTM): Likewise.
878         (COMMON_CPUID_INDEX_7): New enum.
880 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
882         [BZ #14981]
883         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
884         size is zero, record memory as freed.
886 2013-01-03  Andreas Jaeger  <aj@suse.de>
888         * po/ia.po: Add new Interlingua translation.
890 2012-01-03  Allan McRae  <allan@archlinux.org>
892         * locale/programs/localedef.c: Fix description of '--posix' flag.
894 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
896         * NEWS: Update dates in second copyright notice.
897         * README: Update copyright dates in example.
898         * manual/libc.texinfo: Update copyright dates.
899         * scripts/test-installation.pl: Update copyright date in --version
900         output.
902         * hurd/ctty-input.c: Fix copyright notice formatting.
903         * hurd/ctty-output.c: Likewise.
904         * hurd/dtable.c: Likewise.
905         * hurd/hurd-raise.c: Likewise.
906         * hurd/hurdprio.c: Likewise.
907         * hurd/msgportdemux.c: Likewise.
908         * misc/sys/file.h: Likewise.
909         * misc/sys/ioctl.h: Likewise.
910         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
911         * sysdeps/mach/hurd/chdir.c: Likewise.
912         * sysdeps/mach/hurd/fchdir.c: Likewise.
913         * sysdeps/mach/hurd/rename.c: Likewise.
914         * sysdeps/mach/hurd/rmdir.c: Likewise.
915         * sysdeps/mach/hurd/seekdir.c: Likewise.
916         * sysdeps/mach/hurd/setsid.c: Likewise.
917         * sysdeps/posix/wait3.c: Likewise.
919         * All files with FSF copyright notices: Update copyright dates
920         using scripts/update-copyrights.
921         * intl/plural.c: Regenerated.
922         * locale/programs/charmap-kw.h: Likewise.
923         * locale/programs/locfile-kw.h: Likewise.
925 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
927         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
928         four values.
930         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
931         calculation loop and add branch prediction.
933         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
934         check access beyond bounds of m1np.
936         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
937         MPTWO.
938         (__inv): Remove local variable MPTWO to use the global
939         constant.
940         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
941         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
942         variable MPTWO.
943         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
944         MP3HALFS static const.
946 2013-01-01  David S. Miller  <davem@davemloft.net>
948         * po/ca.po: Update from translation team.
950 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
952         * scripts/update-copyrights: New file.
953         * Makeconfig: Reformat copyright notice.
954         * ctype/ctype.h: Likewise.
955         * debug/swprintf_chk.c: Likewise.
956         * elf/dl-cache.c: Likewise.
957         * elf/dl-debug.c: Likewise.
958         * elf/dl-object.c: Likewise.
959         * grp/initgroups.c: Likewise.
960         * hurd/Makefile: Likewise.
961         * hurd/hurd/signal.h: Likewise.
962         * hurd/hurdfault.c: Likewise.
963         * hurd/hurdioctl.c: Likewise.
964         * hurd/hurdlookup.c: Likewise.
965         * hurd/intr-msg.c: Likewise.
966         * iconv/gconv_open.c: Likewise.
967         * libio/swprintf.c: Likewise.
968         * locale/lc-ctype.c: Likewise.
969         * locale/nl_langinfo.c: Likewise.
970         * mach/Machrules: Likewise.
971         * mach/Makefile: Likewise.
972         * malloc/obstack.h: Likewise.
973         * manual/Makefile: Likewise.
974         * manual/tsort.awk: Likewise.
975         * misc/bits/stab.def: Likewise.
976         * nis/nis_print_group_entry.c: Likewise.
977         * nis/nis_table.c: Likewise.
978         * nis/nss_compat/compat-pwd.c: Likewise.
979         * nis/nss_compat/compat-spwd.c: Likewise.
980         * po/Makefile: Likewise.
981         * posix/fnmatch.c: Likewise.
982         * posix/regex.h: Likewise.
983         * resolv/Makefile: Likewise.
984         * resolv/nss_dns/dns-network.c: Likewise.
985         * resolv/res_hconf.c: Likewise.
986         * scripts/gen-sorted.awk: Likewise.
987         * soft-fp/soft-fp.h: Likewise.
988         * stdio-common/printf.h: Likewise.
989         * stdlib/monetary.h: Likewise.
990         * stdlib/random.c: Likewise.
991         * stdlib/random_r.c: Likewise.
992         * sysdeps/generic/Makefile: Likewise.
993         * sysdeps/gnu/Makefile: Likewise.
994         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
995         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
996         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
997         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
998         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
999         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1000         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1001         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1002         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1003         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1004         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1005         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1006         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
1007         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
1008         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
1009         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
1010         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1011         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1012         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1013         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1014         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1015         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1016         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1017         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1018         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
1019         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
1020         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1021         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
1022         * sysdeps/mach/hurd/errnos.awk: Likewise.
1023         * sysdeps/mach/hurd/fork.c: Likewise.
1024         * sysdeps/mach/hurd/getcwd.c: Likewise.
1025         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
1026         * sysdeps/mach/hurd/mmap.c: Likewise.
1027         * sysdeps/mach/hurd/utimes.c: Likewise.
1028         * sysdeps/mach/hurd/xmknod.c: Likewise.
1029         * sysdeps/posix/profil.c: Likewise.
1030         * sysdeps/posix/readdir_r.c: Likewise.
1031         * sysdeps/powerpc/bits/mathdef.h: Likewise.
1032         * sysdeps/powerpc/bits/setjmp.h: Likewise.
1033         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
1034         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1035         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1036         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1037         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1038         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1039         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1040         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1041         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1042         * sysdeps/pthread/lio_listio.c: Likewise.
1043         * sysdeps/sparc/dl-procinfo.h: Likewise.
1044         * sysdeps/unix/i386/sysdep.S: Likewise.
1045         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1046         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
1047         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1048         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
1049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1050         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1051         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1052         * sysdeps/unix/sysv/linux/speed.c: Likewise.
1053         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1054         * sysdeps/wordsize-32/divdi3.c: Likewise.
1055         * time/sys/time.h: Likewise.
1056         * wcsmbs/Makefile: Likewise.
1058 2013-01-01  David S. Miller  <davem@davemloft.net>
1060         * po/fr.po: Update from translation team.
1062         * catgets/gencat.c: Update copyright year.
1063         * csu/version.c: Likewise.
1064         * debug/catchsegv.sh: Likewise.
1065         * debug/pcprofiledump.c: Likewise.
1066         * debug/xtrace.sh: Likewise.
1067         * elf/ldconfig.c: Likewise.
1068         * elf/ldd.bash.in: Likewise.
1069         * elf/pldd.c: Likewise.
1070         * elf/sotruss.ksh: Likewise.
1071         * elf/sprof.c: Likewise.
1072         * iconv/iconv_prog.c: Likewise.
1073         * iconv/iconvconfig.c: Likewise.
1074         * locale/programs/locale.c: Likewise.
1075         * locale/programs/localedef.c: Likewise.
1076         * login/programs/pt_chown.c: Likewise.
1077         * malloc/memusage.sh: Likewise.
1078         * malloc/memusagestat.c: Likewise.
1079         * malloc/mtrace.pl: Likewise.
1080         * nscd/nscd.c: Likewise.
1081         * nss/getent.c: Likewise.
1082         * nss/makedb.c: Likewise.
1083         * posix/getconf.c: Likewise.
1085 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
1087         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
1088         numbers.
1090 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
1092         * math/bits/mathcalls.h (modf): Use __nonnull.
1094 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1096         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
1097         (split): Use macro CN instead of the bare value.
1098         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
1099         could be used.
1100         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
1101         instead of the bare value.
1102         (power1): Likewise.
1104 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1106         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
1107         __ATAN_TWOM.
1108         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1110         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
1111         their values.
1112         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1113         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1114         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
1115         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1117 2012-12-28  Andreas Jaeger  <aj@suse.de>
1119         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
1120         values are from Linux 3.7.
1122         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
1123         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
1125 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1127         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
1128         TRUE case.
1130         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
1131         (norm): Likewise.
1132         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
1133         variables with preprocessor constants.
1134         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1135         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
1136         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
1138 2012-12-27  Bruno Haible  <bruno@clisp.org>
1140         [BZ #14317]
1141         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
1142         only if needed.
1144 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1146         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
1147         and use variable directly.
1148         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
1150         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1151         MPONE.
1152         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
1153         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1154         variable MPONE.
1155         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1156         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1157         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
1158         include directive.  Remove local variable MPONE.
1159         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
1160         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
1161         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1163 2012-12-25  David S. Miller  <davem@davemloft.net>
1165         * version.h (RELEASE): Set to "development".
1166         (VERSION): Set to "2.17.90".
1167         * NEWS: Add 2.18 section.
1169 2012-12-21  David S. Miller  <davem@davemloft.net>
1171         * po/hr.po: Update from translation team.
1173 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1175         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
1177 2012-12-19  Steve Ellcey  <sellcey@mips.com>
1179         * NEWS:  Mention new memcpy for MIPS.
1181 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1183         * manual/contrib.texi (Contributors): Spelling correction.
1185 2012-12-15  David S. Miller  <davem@davemloft.net>
1187         * po/ru.po: Update from translation team.
1189 2012-12-13  David S. Miller  <davem@davemloft.net>
1191         * NEWS: Mention IFUNC testsuite enhancements.
1193         * po/pl.po: Update from translation team.
1194         * po/bg.po: Likewise.
1196         * manual/contrib.texi (Contributors): Update entries for Hongjiu
1197         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
1199 2012-12-11  David S. Miller  <davem@davemloft.net>
1201         * po/sv.po: Update from translation team.
1203         * po/vi.po: Update from translation team.
1205         * po/cs.po: Update from translation team.
1207         * po/de.po: Update from translation team.
1208         * po/eo.po: Likewise.
1209         * po/nl.po: Likewise.
1211 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1213         [BZ #14246]
1214         * manual/argp.texi (Argp Helper Functions): Move node to follow
1215         Argp Parsing State.
1217         [BZ #14872]
1218         * manual/conf.texi (Limits on File System Capacity): Mention if
1219         terminating null is included in the max size.
1221 2012-12-10  Andreas Jaeger  <aj@suse.de>
1223         * po/cs.po: Update from translation team.
1225 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1227         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
1228         void pointer and cast to uintptr_t.
1229         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
1230         path.
1231         * sysdeps/s390/s390-64/memcpy.S: Likewise.
1232         * sysdeps/s390/s390-64/memset.S: Likewise.
1234 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
1236         [BZ #14833]
1237         * menual/message.texi (Message Translation): Fix typos.
1238         (Helper programs for gettext): Likewise.
1240 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
1242         [BZ #14898]
1243         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
1244         Change to -1.
1246 2012-12-07  David S. Miller  <davem@davemloft.net>
1248         * po/libc.pot: Update.
1250 2012-12-07  Richard Henderson  <rth@redhat.com>
1252         [BZ #10114]
1253         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
1254         normal/normal case to before the switch.
1255         (_FP_DIV): Likewise.
1257 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
1258             Mike Frysinger  <vapier@gentoo.org>
1260         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
1261         check for __NR_fadvise64_64.
1263 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
1265         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
1266         0, not just to plain "0" as a statement.
1267         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
1268         with cw.
1270 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
1272         * NEWS: Use sourceware.org in Bugzilla URL.
1274 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
1276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1277         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1279         * stdio-common/tst-put-error.c (do_test): Add newline to the
1280         padded test to ensure flush.
1282 2012-12-05  Jeff Law  <law@redhat.com>
1284         * sunrpc/etc.rpc (fedfs_admin): Add entry.
1286 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
1288         * README: Don't refer to ports add-on as distributed separately.
1289         Mention AArch64 in list of systems supported in the ports add-on.
1291         * LICENSES: Add more non-FSF copyright and license notices.
1293         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
1294         ((unused)).
1296         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
1298         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
1299         10000 as width of padded output.
1301 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
1303         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
1305         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
1306         variable LX with __attribute__ ((unused)).
1307         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1308         Likewise.
1309         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1310         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1311         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
1312         with __attribute__ ((unused)).
1314 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
1316         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
1318 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
1320         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
1321         (CFLAGS-nldbl-acos.c): New variable.
1322         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
1323         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
1324         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
1325         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
1326         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
1327         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
1328         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
1329         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
1330         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
1331         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
1332         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
1333         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
1334         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
1335         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
1336         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
1337         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
1338         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
1339         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
1340         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
1341         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
1342         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
1343         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
1344         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
1345         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
1346         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
1347         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
1348         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
1349         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
1350         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
1351         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
1352         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
1353         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
1354         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
1355         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
1356         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
1357         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
1358         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
1359         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
1360         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
1361         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
1362         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
1363         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
1364         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
1365         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
1366         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
1367         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
1368         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
1369         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
1370         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
1371         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
1372         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
1373         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
1374         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
1375         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
1376         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
1377         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
1378         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
1379         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
1380         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
1381         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
1382         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
1383         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
1384         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
1385         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
1386         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
1387         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
1388         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
1389         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
1390         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
1391         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
1392         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
1393         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
1394         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
1395         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
1396         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
1397         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
1398         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
1399         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
1400         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
1401         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
1402         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
1403         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
1404         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
1405         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
1406         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
1407         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
1408         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
1409         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
1410         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
1411         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
1412         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
1413         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
1414         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
1415         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
1416         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
1417         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
1418         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
1420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1421         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1423         [BZ #14914]
1424         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
1425         whole low double instead of just low 47 bits when splitting values
1426         into two parts.
1428 2012-12-03  Allan McRae  <allan@archlinux.org>
1430         * manual/stdio.texi (Predefined Printf Handlers): Remove
1431         @hsep and @vsep usage.
1433 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
1435         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
1436         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
1438 2012-12-03  Jeff Law  <law@redhat.com>
1440         * time/sys/time.h (settimeofday): Do not mark TV argument
1441         as __nonnull.
1443 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
1445         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
1446         when currently writing and seek to current position when not.
1447         * libio/Makefile (tests): Remove bug-fclose1.
1448         * libio/bug-fclose1.c: Delete.
1450 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
1452         * manual/arith.texi (feenableexcept): Fix typo.
1453         (fedisableexcept): Likewise.
1455 2012-11-30  Roland McGrath  <roland@hack.frob.com>
1457         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
1458         second, differently-typed declaration, rather than a cast.
1460 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1462         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
1463         * include/rpc/svc.h: ... here.
1465 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
1467         [BZ #13013]
1468         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
1469         depending n and resplen2 to catch cases where answer
1470         equals answerp2.
1472 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
1474         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
1475         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
1477 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
1479         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
1481 2012-11-29  Roland McGrath  <roland@hack.frob.com>
1483         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
1485 2012-11-28  Jeff Law  <law@redhat.com>
1487         [BZ #13761]
1488         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
1489         dataset_temporary.  Track alloca usage into alloca_used.
1490         If dataset is large allocate and release it via malloc/free.
1492 2012-06-04  Florian Weimer  <fweimer@redhat.com>
1494         [BZ #14197]
1495         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
1497 2012-11-28  David S. Miller  <davem@davemloft.net>
1499         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1501 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
1503         [BZ #14803]
1504         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
1505         of pi/2 rounded to nearest to 64 bits.
1506         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
1507         nearest to 64 bits.
1508         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
1509         bits.
1511 2012-11-28  Jeff Law <law@redhat.com>
1512             Martin Osvald <mosvald@redhat.com>
1514         [BZ #14889]
1515         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
1516         * sunrpc/svc.c: Include time.h.
1517         (__svc_accept_failed): New function.
1518         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
1519         any reason other than EINTR, call __svc_accept_failed.
1520         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
1521         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
1523 2012-11-28  Andreas Schwab  <schwab@suse.de>
1525         * scripts/abilist.awk: Also handle indirect functions in .opd
1526         section.
1528 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
1530         [BZ #13881]
1531         * sysdeps/x86/fpu/powl_helper.c: New file.
1532         * sysdeps/x86/fpu/Makefile: Likewise.
1533         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
1534         (p3): New object.
1535         (__ieee754_powl): Use __powl_helper for finite arguments except
1536         integer exponents below 8.
1537         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
1538         (p3): New object.
1539         (__ieee754_powl): Use __powl_helper for finite arguments except
1540         integer exponents below 8.
1541         * math/libm-test.inc (pow_test): Add more tests and enable some
1542         previously disabled tests.
1543         * sysdeps/i386/fpu/libm-test-ulps: Update.
1544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1546 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1547             Carlos O'Donell  <carlos_odonell@mentor.com>
1549         * nss/makedb.c (is_prime): Assert that input is odd and greater
1550         than 4.  Note that fact in a comment too.
1551         (next_prime): Add 4 to input.
1553 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1555         [BZ #11741]
1556         * libio/Makefile (tests): Add test case tst-fwrite-error.
1557         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
1558         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
1559         * libio/tst-fwrite-error.c: New test case.
1561 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
1563         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
1564         before casting to void *.
1565         * include/libc-internal.h (__pointer_type): New macro.
1566         (__integer_if_pointer_type_sub): Likewise.
1567         (__integer_if_pointer_type): Likewise.
1568         (cast_to_integer): Likewise.
1569         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
1570         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
1571         before casting to atomic64_t.
1572         (atomic_exchange_acq): Likewise.
1573         (__arch_exchange_and_add_body): Likewise.
1574         (__arch_add_body): Likewise.
1575         (atomic_add_negative): Likewise.
1576         (atomic_add_zero): Likewise.
1578 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
1580         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
1581         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
1582         (add_fdes): Likewise.
1583         (linear_search_fdes): Likewise.
1584         (binary_search_unencoded_fdes): Likewise.
1586 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
1588         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
1590 2012-11-24  Adam Conrad  <adconrad@0c3.net>
1592         * configure.in: Autodetect C++ header directories.
1593         * configure: Regenerated.
1595 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
1597         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
1599 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
1601         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1603 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
1605         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
1606         LDBL_MANT_DIG == 106]: Disable some tests.
1607         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1608         Likewise.
1609         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1610         Likewise.
1612         [BZ #14871]
1613         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
1614         input for small inputs.  Return +/- pi/2 for large inputs.
1615         * math/libm-test.inc (atan_test): Add more tests.
1617         * sysdeps/generic/unwind-dw2-fde-glibc.c
1618         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
1619         __attribute__ ((unused)).
1621         [BZ #14645]
1622         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
1623         x * y if x and y are nonzero and z is zero.
1625         [BZ #14811]
1626         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
1627         nonzero exponents with absolute value below 0x1p-117 to +/-
1628         0x1p-117.
1630         [BZ #14869]
1631         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
1632         up arguments below 2**-450, not just those below 2**-500.
1633         * math/libm-test.inc (hypot_test): Add another test.
1635         [BZ #14868]
1636         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
1637         Return a+b for ratio over 2**120, not 2**60.
1638         * math/libm-test.inc (hypot_test): Add another test.
1640         * math/libm-test.inc (clog_test): Use
1641         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
1642         (clog10_test): Likewise.
1644         [BZ #6778]
1645         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
1647 2012-11-22  Andreas Schwab  <schwab@suse.de>
1649         * sysdeps/i386/fpu/libm-test-ulps: Update.
1651 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
1653         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
1654         printf output with newline.
1656 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
1658         [BZ #14865]
1659         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
1660         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
1661         -z nodlopen, -z initfirst and -z execstack support.
1662         * configure: Regenerated.
1664         * elf/elf.h (DF_1_NODIRECT): New macro.
1665         (DF_1_IGNMULDEF): Likewise.
1666         (DF_1_NOKSYMS): Likewise.
1667         (DF_1_NOHDR): Likewise.
1668         (DF_1_EDITED): Likewise.
1669         (DF_1_NORELOC): Likewise.
1670         (DF_1_SYMINTPOSE): Likewise.
1671         (DF_1_GLOBAUDIT): Likewise.
1672         (DF_1_SINGLETON): Likewise.
1673         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
1674         DT_1_SUPPORTED_MASK bits.
1675         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
1677 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
1679         * sysdeps/unix/make-syscalls.sh: Document prefixes.
1681 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
1683         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
1684         macro.
1686         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
1687         (sendmmsg): Move declarations...
1688         * socket/sys/socket.h: ... here.
1689         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
1690         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
1691         include it from...
1692         * socket/recvmmsg.c: ... this new file.
1693         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
1694         (sendmmsg): Rename to __sendmmsg, create weak alias and make
1695         definition of __sendmmsg hidden.
1696         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1697         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
1698         Move ENOSYS stub into and include it from...
1699         * socket/sendmmsg.c: ... this new file.
1700         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
1701         (sysdep_routines): Move recvmmsg and sendmmsg...
1702         * socket/Makefile (routines): ... here.
1703         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
1704         (GLIBC_PRIVATE): Add __sendmmsg.
1705         * include/sys/socket.h (__sendmmsg): Add declarations.
1706         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
1707         sendmmsg.
1709 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
1711         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
1712         variable I1 with __attribute__ ((unused)).
1713         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1715 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
1717         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
1718         DUMMY variables with __attribute__ ((unused)).
1720         * bits/byteswap.h: Include <bits/types.h>.
1721         (__bswap_64): Use __uint64_t instead of unsigned long long int.
1723 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
1725         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
1726         string_t.  Do not manually set errno.
1727         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
1728         length with __strnlen.  Make sure to both set errno and return it on
1729         failure.
1731 2012-11-19  David S. Miller  <davem@davemloft.net>
1733         With help from Joseph Myers.
1734         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
1735         very large arguments properly.
1736         * math/libm-test.inc (atan_test): New tests.
1737         (atan2_test): New tests.
1738         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1739         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1741 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
1743         [BZ #14856]
1744         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
1745         Define to 3.
1747         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
1748         [POSIX] (EADDRNOTAVAIL): Likewise.
1749         [POSIX] (EAFNOSUPPORT): Likewise.
1750         [POSIX] (EALREADY): Likewise.
1751         [POSIX] (ECONNABORTED): Likewise.
1752         [POSIX] (ECONNREFUSED): Likewise.
1753         [POSIX] (ECONNRESET): Likewise.
1754         [POSIX] (EDESTADDRREQ): Likewise.
1755         [POSIX] (EDQUOT): Likewise.
1756         [POSIX] (EHOSTUNREACH): Likewise.
1757         [POSIX] (EIDRM): Likewise.
1758         [POSIX] (EISCONN): Likewise.
1759         [POSIX] (ELOOP): Likewise.
1760         [POSIX] (EMULTIHOP): Likewise.
1761         [POSIX] (ENETDOWN): Likewise.
1762         [POSIX] (ENETUNREACH): Likewise.
1763         [POSIX] (ENOBUFS): Likewise.
1764         [POSIX] (ENODATA): Likewise.
1765         [POSIX] (ENOLINK): Likewise.
1766         [POSIX] (ENOMSG): Likewise.
1767         [POSIX] (ENOPROTOOPT): Likewise.
1768         [POSIX] (ENOSR): Likewise.
1769         [POSIX] (ENOSTR): Likewise.
1770         [POSIX] (ENOTCONN): Likewise.
1771         [POSIX] (ENOTSOCK): Likewise.
1772         [POSIX] (EOPNOTSUPP): Likewise.
1773         [POSIX] (EOVERFLOW): Likewise.
1774         [POSIX] (EPROTO): Likewise.
1775         [POSIX] (EPROTONOSUPPORT): Likewise.
1776         [POSIX] (EPROTOTYPE): Likewise.
1777         [POSIX] (ESTALE): Likewise.
1778         [POSIX] (ETIME): Likewise.
1779         [POSIX] (ETXTBSY): Likewise.
1780         [POSIX] (EWOULDBLOCK): Likewise.
1781         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
1782         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
1783         [POSIX] (SEEK_CUR): Likewise.
1784         [POSIX] (SEEK_END): Likewise.
1785         [POSIX || UNIX98] (mode_t): Do not require.
1786         [POSIX] (off_t): Likewise.
1787         [POSIX] (pid_t): Likewise.
1788         [POSIX] (sys/stat.h): Do not allow header.
1789         [POSIX] (unistd.h): Likewise.
1790         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
1791         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
1792         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
1793         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
1794         require.
1795         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
1796         sigevent): Specify elements.
1797         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
1798         entry.
1799         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
1800         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
1802         * conform/data/cpio.h-data [POSIX]: Disable whole file.
1803         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
1804         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
1805         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
1806         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
1807         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
1808         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
1809         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
1810         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
1811         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
1812         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
1813         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
1814         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
1815         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
1816         Likewise.
1817         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
1818         Likewise.
1819         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
1820         Likewise.
1821         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
1822         Likewise.
1823         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
1824         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
1825         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
1826         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
1827         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
1828         Specify lower bound on value.
1829         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
1830         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
1831         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
1832         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
1833         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
1834         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
1835         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
1836         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
1837         value.
1838         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
1839         as optional.
1840         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
1841         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
1842         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
1843         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
1844         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
1845         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
1846         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
1847         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
1848         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
1849         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
1850         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
1851         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
1852         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
1853         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
1854         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
1855         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
1856         entry.
1857         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
1858         optional.
1859         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
1860         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
1861         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
1862         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
1863         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
1864         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
1865         Likewise.
1866         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
1867         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
1868         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
1869         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
1870         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
1871         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
1872         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
1873         as optional.
1874         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
1875         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
1876         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
1877         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
1878         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
1879         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
1880         specify as optional.
1881         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
1882         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
1883         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
1884         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
1885         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
1886         [XPG3] (NL_LANGMAX): Likewise.
1887         [POSIX || XPG3] (NL_MSGMAX): Likewise.
1888         [POSIX || XPG3] (NL_NMAX): Likewise.
1889         [POSIX || XPG3] (NL_SETMAX): Likewise.
1890         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
1891         [XPG3] (NZERO): Likewise.
1892         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
1893         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
1894         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
1895         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
1896         (REG_ERANGE): Expect.
1897         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
1898         optional-constant.
1899         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
1900         Use (void) in prototype.
1901         [POSIX] (*_t): Allow.
1902         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
1903         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
1904         (WRDE_BADVAL): Expect.
1906         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
1907         expect.
1908         [XPG3 || XPG4] (O_RSYNC): Likewise.
1909         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
1910         Likewise.
1911         [XPG3 || XPG4] (pthread_sigmask): Likewise.
1912         [XPG3 || XPG4] (sigqueue): Likewise.
1913         [XPG3 || XPG4] (sigtimedwait): Likewise.
1914         [XPG3 || XPG4] (sigwaitinfo): Likewise.
1915         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
1916         [XPG3 || XPG4] (vsnprintf): Likewise.
1917         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
1918         Likewise.
1919         [XPG3 || XPG4] (blksize_t): Likewise.
1920         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
1921         Likewise.
1922         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
1923         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1924         [XPG3 || XPG4] (struct itimerspec): Likewise.
1925         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
1926         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
1927         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
1928         [XPG3 || XPG4] (clockid_t): Likewise.
1929         [XPG3 || XPG4] (timer_t): Likewise.
1930         [XPG3 || XPG4] (clock_getres): Likewise.
1931         [XPG3 || XPG4] (clock_gettime): Likewise.
1932         [XPG3 || XPG4] (clock_settime): Likewise.
1933         [XPG3 || XPG4] (nanosleep): Likewise.
1934         [XPG3 || XPG4] (timer_create): Likewise.
1935         [XPG3 || XPG4] (timer_delete): Likewise.
1936         [XPG3 || XPG4] (timer_gettime): Likewise.
1937         [XPG3 || XPG4] (timer_getoverrun): Likewise.
1938         [XPG3 || XPG4] (timer_settime): Likewise.
1939         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
1940         [XPG3 || XPG4] (getlogin_r): Likewise.
1941         [XPG3 || XPG4] (pread): Likewise.
1942         [XPG3 || XPG4] (pthread_atfork): Likewise.
1943         [XPG3 || XPG4] (pwrite): Likewise.
1945         [BZ #14835]
1946         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
1947         <bits/siginfo.h>.
1949 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
1951         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
1952         finalizing MALLSTREAM.
1954         * sysdeps/mach/hurd/syncfs.c: New file.
1956 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1958         [BZ #14719]
1959         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
1960         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
1961         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
1962         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
1963         (_nss_dns_gethostbyname4_r): Likewise.
1964         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
1965         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
1967 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
1969         [BZ #13763]
1970         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
1972 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
1974         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
1975         * elf/cache.c (print_entry): Print ",AArch64" for
1976         FLAG_AARCH64_LIB64
1978         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
1979         * elf/cache.c (print_entry): Print ",hard-float" for
1980         FLAG_ARM_LIBHF.
1982 2012-11-18  David S. Miller  <davem@davemloft.net>
1984         With help from Joseph Myers.
1985         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
1986         cutoff to 2**-13.
1987         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
1988         cutoff to 2**-25.
1989         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
1990         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
1991         small.
1992         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1993         * math/libm-test.inc (y0_test): New tests.
1994         (y1_test): New tests.
1995         * sysdeps/i386/fpu/libm-test-ulps: Update.
1996         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1997         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1999 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
2001         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
2002         64-bit targets.
2003         * configure: Regenerated.
2005 2012-11-17  David S. Miller  <davem@davemloft.net>
2007         [BZ #14811]
2008         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
2009         nonzero exponents with absolute value below 0x1p-128 to +/-
2010         0x1p-128.
2012 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
2014         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
2016         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
2018         * posix/getconf-speclist.c: New file.
2019         * posix/posix-envs.def: Likewise.
2020         * posix/confstr.c (START_ENV_GROUP): New macro.
2021         (END_ENV_GROUP): Likewise.
2022         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2023         (KNOWN_PRESENT_ENV_STRING): Likewise.
2024         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2025         (UNKNOWN_ENVIRONMENT): Likewise.
2026         (confstr): Include posix-envs.def instead of handling
2027         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
2028         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
2029         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
2030         (END_ENV_GROUP): Likewise.
2031         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2032         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2033         (UNKNOWN_ENVIRONMENT): Likewise.
2034         (__sysconf): Include posix-envs.def instead of handling associated
2035         cases directly here.
2036         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
2037         preprocessing getconf-speclist.c rather than running getconf or
2038         generating empty file.
2040 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
2042         * scripts/check-local-headers.sh: Ignore 'mach' headers.
2044 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
2046         [BZ #14672]
2047         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
2049 2012-11-16  David S. Miller  <davem@davemloft.net>
2051         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
2052         smaller than LDBL_EPSILON/2.0L, just return xm1.
2054 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
2056         * elf/tst-array1.c (init): Set constructor priority to 1000.
2057         (fini): Set destructor priority to 1000.
2058         * elf/tst-array2dep.c: Likewise.
2060 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2062         [BZ #11741]
2063         * libio/fileops.c (_IO_new_file_write): Correctly return error.
2064         (_IO_new_file_xsputn): Also return EOF if none of the input
2065         data was written when overflow failed.
2066         * libio/iopadn.c (_IO_padn): Likewise.
2067         * libio/iowpadn.c (_IO_wpadn): Likewise.
2068         * stdio-common/tst-put-error.c: Add copyright notice.
2069         (do_test): Add case for printing padded string.
2070         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
2071         _IO_padn returned error.
2072         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
2073         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
2074         return EOF.
2076 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2078         * libio/libioP.h: Add comment note that the references to C++
2079         bits are now obsolete.
2081 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2083         * math/libm-test.inc (check_complex): Use asprintf.
2085 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
2087         * debug/pcprofiledump.c (print_version): Update copyright year.
2088         * malloc/memusagestat.c (print_version): Likewise.
2090 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
2092         [BZ #14831]
2093         * elf/Makefile (tests): Add tst-audit8.
2094         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
2095         ($(objpfx)tst-audit8.out): New target.
2096         (tst-audit8-ENV): New variable.
2097         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
2098         audit if l_reloc_result is NULL.
2099         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
2100         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
2101         * elf/tst-audit8.c: New file.
2103 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2105         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
2106         * misc/Makefile (CFLAGS-select.c): Define.
2107         * posix/Makefile (CFLAGS-pause.c): Define.
2109 2012-11-13  David S. Miller  <davem@davemloft.net>
2111         * crypt/Makefile: Move test targets after toplevel Rules
2112         inclusion.  Grab any necessary sysdep routines when linking.
2113         * crypt/md5.c (md5_process_block): Remove define, we will always
2114         name it __md5_process_block.
2115         (md5_finish_ctx): Update md5_process_block call.
2116         (md5_stream): Likewise.
2117         (md5_process_bytes): Likewise.
2118         (md5_process_block): Rename to __md5_process_block and move to ...
2119         * crypt/md5-block.c: ... here.
2120         * crypt/sha256.c (sha256_process_block): Move to ...
2121         * crypt/sha256-block.c: ... here.
2122         * crypt/sha512.c (sha512_process_block): Move to ...
2123         * crypt/sha512-block.c: ... here.
2124         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
2125         path.
2126         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
2127         * sysdeps/sparc/sparc64/multiarch/Makefile
2128         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
2129         crypt subdir.
2130         (localedef-aux): Add md5 crypto assembler when in locale subdir.
2131         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
2132         multiarch changes.
2133         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
2134         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
2135         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
2136         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
2137         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
2138         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
2139         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
2140         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
2141         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
2142         file.
2143         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
2144         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
2145         file.
2146         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
2148 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
2150         * timezone/tzselect.ksh: Update from tzcode git revision
2151         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
2152         * timezone/zdump.c: Likewise.
2153         * timezone/zic.c: Likewise.
2154         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
2155         in TZVERSION setting, not $(PKGVERSION).
2156         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
2157         REPORT_BUGS_TO settings.
2159         [BZ #14838]
2160         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
2161         macro.
2163 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2165         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
2166         detection to immediately after _FP_ROUND().
2167         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
2168         bits are 0.
2170 2012-11-11  David S. Miller  <davem@davemloft.net>
2172         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
2173         inttypes.h
2174         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
2175         __close rather than their public counterparts.
2177 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
2179         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
2180         file.
2181         [UNIX98] (sem_timedwait): Do not expect.
2182         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
2183         [XPG4 || UNIX98] (sockatmark): Do not expect.
2184         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
2185         (clock_getcpuclockid): Do not expect.
2186         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
2187         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
2188         Do not expect.
2189         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
2190         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
2191         [UNIX98] (vwscanf): Likewise.
2192         [UNIX98] (vswscanf): Likewise.
2194 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
2196         * timezone/version.h: Remove file.
2197         * timezone/README: Do not refer to version.h.
2198         * timezone/Makefile ($(objpfx)zic.o): New dependency on
2199         $(objpfx)version.h.
2200         ($(objpfx)zdump.o): Likewise.
2201         ($(objpfx)version.h): New target.
2203         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
2204         2012i.
2205         * timezone/README: Don't mention modification to tzselect.ksh.
2206         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
2207         work on unmodified tzselect.ksh.  Substitute version numbers in
2208         tzselect.ksh.
2210         * Makefile (format-me): Remove.
2211         (INSTALL): Adjust indentation.  Use commands directly instead of
2212         using $(format-me).
2214         * aclocal.m4 (ACX_PKGVERSION): New macro.
2215         (ACX_BUGURL): Likewise.
2216         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
2217         (PKGVERSION): New AC_DEFINE_UNQUOTED.
2218         (REPORT_BUGS_TO): Likewise.
2219         * configure: Regenerated.
2220         * config.h.in (PKGVERSION): New macro.
2221         (REPORT_BUGS_TO): Likewise.
2222         * config.make.in (PKGVERSION): New variable.
2223         (PKGVERSION_TEXI): Likewise.
2224         (REPORT_BUGS_TO): Likewise.
2225         (REPORT_BUGS_TEXI): Likewise.
2226         * Makefile (format-me): Use -I$(common-objpfx)manual.
2227         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
2228         ($(common-objpfx)manual/%): New target.
2229         (manual/%): Remove target.
2230         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
2231         (print_version): Use PKGVERSION.
2232         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
2233         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
2234         and REPORT_BUGS_TO.
2235         ($(objpfx)xtrace): Likewise.
2236         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
2237         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
2238         (print_version): Use PKGVERSION.
2239         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
2240         (do_version): Use PKGVERSION.
2241         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
2242         REPORT_BUGS_TO.
2243         (common-ldd-rewrite): Likewise.
2244         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
2245         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
2246         (print_version): Use PKGVERSION.
2247         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
2248         * elf/pldd.c (argp_program_bug_address): Remove variable.
2249         (more_help): New function.
2250         (argp): Use more_help.
2251         (print_version): Use PKGVERSION.
2252         * elf/sln.c (main): Use PKGVERSION.
2253         (usage): Use REPORT_BUGS_TO.
2254         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
2255         (top level): Use PKGVERSION.
2256         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
2257         (print_version): Use PKGVERSION.
2258         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
2259         (print_version): Use PKGVERSION.
2260         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
2261         (print_version): Use PKGVERSION.
2262         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
2263         (print_version): Use PKGVERSION.
2264         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
2265         (print_version): Use PKGVERSION.
2266         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
2267         (print_version): Use PKGVERSION.
2268         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
2269         and BUGURL.
2270         ($(objpfx)memusage): Likewise.
2271         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
2272         (do_version): Use PKGVERSION.
2273         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
2274         (print_version): Use PKGVERSION.
2275         * malloc/mtrace.pl ($PACKAGE): Remove variable.
2276         ($PKGVERSION): New variable.
2277         ($REPORT_BUGS_TO): Likewise.
2278         (usage): Use $REPORT_BUGS_TO.
2279         (top level): Use $PKGVERSION.
2280         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
2281         ($(objpfx)pkgvers.texi): New rule.
2282         ($(objpfx)stamp-pkgvers): Likewise.
2283         * manual/install.texi: Include pkgvers.texi.
2284         (--with-pkgversion): Document new configure option.
2285         (--with-bugurl): Likewise.
2286         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
2287         than necessarily for this particular distribution.  Use
2288         REPORT_BUGS_TO for where to report bugs.
2289         * INSTALL: Regenerated.
2290         * manual/libc.texinfo: Include pkgvers.texi.
2291         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
2292         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
2293         (print_version): Use PKGVERSION.
2294         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
2295         (print_version): Use PKGVERSION.
2296         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
2297         (print_version): Use PKGVERSION.
2298         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
2299         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
2300         macro.
2301         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
2302         (print_version): Use PKGVERSION.
2303         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
2304         (print_version): Use PKGVERSION.
2305         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
2306         and PKGVERSION.
2308         * timezone/checktab.awk: Update from tzcode 2012i.
2309         * timezone/ialloc.c: Likewise.
2310         * timezone/private.h: Likewise.
2311         * timezone/scheck.c: Likewise.
2312         * timezone/tzfile.h: Likewise.
2313         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
2314         (TZVERSION): Hardcode tzcode version number.
2315         * timezone/zdump.c: Update from tzcode 2012i.
2316         * timezone/zic.c: Likewise.
2317         * timezone/version.h: New file.
2318         * timezone/README: Describe version.h.  Update upstream location.
2320         [BZ #14824]
2321         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
2322         (mktemp): Enable declaration.
2323         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
2324         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
2325         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
2326         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
2327         Likewise.
2328         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
2329         Likewise.
2330         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
2331         Likewise.
2332         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
2333         Likewise.
2334         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
2335         Likewise.
2336         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
2337         Likewise.
2339         [BZ #14821]
2340         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
2341         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
2342         for copies of such integer values.
2343         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
2344         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
2346 2012-11-09  Andreas Jaeger  <aj@suse.de>
2348         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
2349         definitions and declarations that are provided by
2350         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2352 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2354         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
2355         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
2356         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
2357         definition.
2359 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2361         * elf/elf.h: Update comment before AArch64 relocations.
2363 2012-11-07  David S. Miller  <davem@davemloft.net>
2365         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
2366         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2367         (__start_context): Declare.
2368         (__makecontext_ret): Delete.
2369         (__makecontext): Hook up __start_context instead of
2370         __makecontext_ret.
2371         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2372         (sysdep_routines): Add __start_context when in stdlib.
2374 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
2376         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
2377         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
2378         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
2379         hardcoded "nm".
2380         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
2381         (READELF): New variable.  Use it instead of hardcoded "readelf".
2383 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
2385         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
2386         * sysdeps/x86/Makefile: Here.
2387         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
2388         * sysdeps/x86/tst-xmmymm.sh: This.
2390 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
2392         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
2393         expectations.
2394         [UNIX98] (pthread_barrier_t): Do not expect.
2395         [UNIX98] (pthread_barrierattr_t): Likewise.
2396         [UNIX98] (pthread_spinlock_t): Likewise.
2397         [UNIX98] (pthread_barrier_destroy): Likewise.
2398         [UNIX98] (pthread_barrier_init): Likewise.
2399         [UNIX98] (pthread_barrier_wait): Likewise.
2400         [UNIX98] (pthread_barrierattr_destroy): Likewise.
2401         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
2402         [UNIX98] (pthread_barrierattr_init): Likewise.
2403         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
2404         [UNIX98] (pthread_getcpuclockid): Likewise.
2405         [UNIX98] (pthread_mutex_timedlock): Likewise.
2406         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
2407         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
2408         [UNIX98] (pthread_sigmask): Likewise.
2409         [UNIX98] (pthread_spin_destroy): Likewise.
2410         [UNIX98] (pthread_spin_init): Likewise.
2411         [UNIX98] (pthread_spin_lock): Likewise.
2412         [UNIX98] (pthread_spin_trylock): Likewise.
2413         [UNIX98] (pthread_spin_unlock): Likewise.
2414         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
2415         Do not expect.
2416         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
2417         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
2418         [XPG3 || XPG4] (pthread_cond_t): Likewise.
2419         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
2420         [XPG3 || XPG4] (pthread_key_t): Likewise.
2421         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
2422         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
2423         [XPG3 || XPG4] (pthread_once_t): Likewise.
2424         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
2425         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
2426         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
2427         [XPG3 || XPG4] (pthread_t): Likewise.
2429         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
2430         not expect.
2431         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
2433         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
2434         Change function return type to int.
2436         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
2437         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
2438         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
2439         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
2440         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
2441         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
2442         [!POSIX] (posix_madvise): Likewise.
2443         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
2444         && !UNIX98].
2445         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
2446         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
2447         (mode_t): Likewise.
2448         (posix_mem_offset): Likewise.
2449         (posix_typed_mem_get_info): Likewise.
2450         (posix_typed_mem_open): Likewise.
2452         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
2453         Change condition to [XOPEN2K8].
2455         * conform/conformtest.pl: Preprocess allow-header data with -x c
2456         instead of from stdin.
2457         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
2458         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
2459         [C99-based standards] (cerfc): Likewise.
2460         [C99-based standards] (cexp2): Likewise.
2461         [C99-based standards] (cexpm1): Likewise.
2462         [C99-based standards] (clog10): Likewise.
2463         [C99-based standards] (clog1p): Likewise.
2464         [C99-based standards] (clog2): Likewise.
2465         [C99-based standards] (clgamma): Likewise.
2466         [C99-based standards] (ctgamma): Likewise.
2467         [C99-based standards] (cerff): Likewise.
2468         [C99-based standards] (cerfcf): Likewise.
2469         [C99-based standards] (cexp2f): Likewise.
2470         [C99-based standards] (cexpm1f): Likewise.
2471         [C99-based standards] (clog10f): Likewise.
2472         [C99-based standards] (clog1pf): Likewise.
2473         [C99-based standards] (clog2f): Likewise.
2474         [C99-based standards] (clgammaf): Likewise.
2475         [C99-based standards] (ctgammaf): Likewise.
2476         [C99-based standards] (cerfl): Likewise.
2477         [C99-based standards] (cerfcl): Likewise.
2478         [C99-based standards] (cexp2l): Likewise.
2479         [C99-based standards] (cexpm1l): Likewise.
2480         [C99-based standards] (clog10l): Likewise.
2481         [C99-based standards] (clog1pl): Likewise.
2482         [C99-based standards] (clog2l): Likewise.
2483         [C99-based standards] (clgammal): Likewise.
2484         [C99-based standards] (ctgammal): Likewise.
2485         * conform/data/inttypes.h-data [C99-based standards]: Include
2486         stdint.h-data.  Remove all expectations for stdint.h contents.
2487         [C99-based standards] (PRI*): Do not allow.
2488         [C99-based standards] (SCN*): Likewise.
2489         [C99-based standards] (*_t): Likewise.
2490         [C99-based-standards] (PRId8): Expect macro.
2491         [C99-based-standards] (PRIi8): Likewise.
2492         [C99-based-standards] (PRIo8): Likewise.
2493         [C99-based-standards] (PRIu8): Likewise.
2494         [C99-based-standards] (PRIx8): Likewise.
2495         [C99-based-standards] (PRIX8): Likewise.
2496         [C99-based-standards] (SCNd8): Likewise.
2497         [C99-based-standards] (SCNi8): Likewise.
2498         [C99-based-standards] (SCNo8): Likewise.
2499         [C99-based-standards] (SCNu8): Likewise.
2500         [C99-based-standards] (SCNx8): Likewise.
2501         [C99-based-standards] (PRIdLEAST8): Likewise.
2502         [C99-based-standards] (PRIiLEAST8): Likewise.
2503         [C99-based-standards] (PRIoLEAST8): Likewise.
2504         [C99-based-standards] (PRIuLEAST8): Likewise.
2505         [C99-based-standards] (PRIxLEAST8): Likewise.
2506         [C99-based-standards] (PRIXLEAST8): Likewise.
2507         [C99-based-standards] (SCNdLEAST8): Likewise.
2508         [C99-based-standards] (SCNiLEAST8): Likewise.
2509         [C99-based-standards] (SCNoLEAST8): Likewise.
2510         [C99-based-standards] (SCNuLEAST8): Likewise.
2511         [C99-based-standards] (SCNxLEAST8): Likewise.
2512         [C99-based-standards] (PRIdFAST8): Likewise.
2513         [C99-based-standards] (PRIiFAST8): Likewise.
2514         [C99-based-standards] (PRIoFAST8): Likewise.
2515         [C99-based-standards] (PRIuFAST8): Likewise.
2516         [C99-based-standards] (PRIxFAST8): Likewise.
2517         [C99-based-standards] (PRIXFAST8): Likewise.
2518         [C99-based-standards] (SCNdFAST8): Likewise.
2519         [C99-based-standards] (SCNiFAST8): Likewise.
2520         [C99-based-standards] (SCNoFAST8): Likewise.
2521         [C99-based-standards] (SCNuFAST8): Likewise.
2522         [C99-based-standards] (SCNxFAST8): Likewise.
2523         [C99-based-standards] (PRId16): Likewise.
2524         [C99-based-standards] (PRIi16): Likewise.
2525         [C99-based-standards] (PRIo16): Likewise.
2526         [C99-based-standards] (PRIu16): Likewise.
2527         [C99-based-standards] (PRIx16): Likewise.
2528         [C99-based-standards] (PRIX16): Likewise.
2529         [C99-based-standards] (SCNd16): Likewise.
2530         [C99-based-standards] (SCNi16): Likewise.
2531         [C99-based-standards] (SCNo16): Likewise.
2532         [C99-based-standards] (SCNu16): Likewise.
2533         [C99-based-standards] (SCNx16): Likewise.
2534         [C99-based-standards] (PRIdLEAST16): Likewise.
2535         [C99-based-standards] (PRIiLEAST16): Likewise.
2536         [C99-based-standards] (PRIoLEAST16): Likewise.
2537         [C99-based-standards] (PRIuLEAST16): Likewise.
2538         [C99-based-standards] (PRIxLEAST16): Likewise.
2539         [C99-based-standards] (PRIXLEAST16): Likewise.
2540         [C99-based-standards] (SCNdLEAST16): Likewise.
2541         [C99-based-standards] (SCNiLEAST16): Likewise.
2542         [C99-based-standards] (SCNoLEAST16): Likewise.
2543         [C99-based-standards] (SCNuLEAST16): Likewise.
2544         [C99-based-standards] (SCNxLEAST16): Likewise.
2545         [C99-based-standards] (PRIdFAST16): Likewise.
2546         [C99-based-standards] (PRIiFAST16): Likewise.
2547         [C99-based-standards] (PRIoFAST16): Likewise.
2548         [C99-based-standards] (PRIuFAST16): Likewise.
2549         [C99-based-standards] (PRIxFAST16): Likewise.
2550         [C99-based-standards] (PRIXFAST16): Likewise.
2551         [C99-based-standards] (SCNdFAST16): Likewise.
2552         [C99-based-standards] (SCNiFAST16): Likewise.
2553         [C99-based-standards] (SCNoFAST16): Likewise.
2554         [C99-based-standards] (SCNuFAST16): Likewise.
2555         [C99-based-standards] (SCNxFAST16): Likewise.
2556         [C99-based-standards] (PRId32): Likewise.
2557         [C99-based-standards] (PRIi32): Likewise.
2558         [C99-based-standards] (PRIo32): Likewise.
2559         [C99-based-standards] (PRIu32): Likewise.
2560         [C99-based-standards] (PRIx32): Likewise.
2561         [C99-based-standards] (PRIX32): Likewise.
2562         [C99-based-standards] (SCNd32): Likewise.
2563         [C99-based-standards] (SCNi32): Likewise.
2564         [C99-based-standards] (SCNo32): Likewise.
2565         [C99-based-standards] (SCNu32): Likewise.
2566         [C99-based-standards] (SCNx32): Likewise.
2567         [C99-based-standards] (PRIdLEAST32): Likewise.
2568         [C99-based-standards] (PRIiLEAST32): Likewise.
2569         [C99-based-standards] (PRIoLEAST32): Likewise.
2570         [C99-based-standards] (PRIuLEAST32): Likewise.
2571         [C99-based-standards] (PRIxLEAST32): Likewise.
2572         [C99-based-standards] (PRIXLEAST32): Likewise.
2573         [C99-based-standards] (SCNdLEAST32): Likewise.
2574         [C99-based-standards] (SCNiLEAST32): Likewise.
2575         [C99-based-standards] (SCNoLEAST32): Likewise.
2576         [C99-based-standards] (SCNuLEAST32): Likewise.
2577         [C99-based-standards] (SCNxLEAST32): Likewise.
2578         [C99-based-standards] (PRIdFAST32): Likewise.
2579         [C99-based-standards] (PRIiFAST32): Likewise.
2580         [C99-based-standards] (PRIoFAST32): Likewise.
2581         [C99-based-standards] (PRIuFAST32): Likewise.
2582         [C99-based-standards] (PRIxFAST32): Likewise.
2583         [C99-based-standards] (PRIXFAST32): Likewise.
2584         [C99-based-standards] (SCNdFAST32): Likewise.
2585         [C99-based-standards] (SCNiFAST32): Likewise.
2586         [C99-based-standards] (SCNoFAST32): Likewise.
2587         [C99-based-standards] (SCNuFAST32): Likewise.
2588         [C99-based-standards] (SCNxFAST32): Likewise.
2589         [C99-based-standards] (PRId64): Likewise.
2590         [C99-based-standards] (PRIi64): Likewise.
2591         [C99-based-standards] (PRIo64): Likewise.
2592         [C99-based-standards] (PRIu64): Likewise.
2593         [C99-based-standards] (PRIx64): Likewise.
2594         [C99-based-standards] (PRIX64): Likewise.
2595         [C99-based-standards] (SCNd64): Likewise.
2596         [C99-based-standards] (SCNi64): Likewise.
2597         [C99-based-standards] (SCNo64): Likewise.
2598         [C99-based-standards] (SCNu64): Likewise.
2599         [C99-based-standards] (SCNx64): Likewise.
2600         [C99-based-standards] (PRIdLEAST64): Likewise.
2601         [C99-based-standards] (PRIiLEAST64): Likewise.
2602         [C99-based-standards] (PRIoLEAST64): Likewise.
2603         [C99-based-standards] (PRIuLEAST64): Likewise.
2604         [C99-based-standards] (PRIxLEAST64): Likewise.
2605         [C99-based-standards] (PRIXLEAST64): Likewise.
2606         [C99-based-standards] (SCNdLEAST64): Likewise.
2607         [C99-based-standards] (SCNiLEAST64): Likewise.
2608         [C99-based-standards] (SCNoLEAST64): Likewise.
2609         [C99-based-standards] (SCNuLEAST64): Likewise.
2610         [C99-based-standards] (SCNxLEAST64): Likewise.
2611         [C99-based-standards] (PRIdFAST64): Likewise.
2612         [C99-based-standards] (PRIiFAST64): Likewise.
2613         [C99-based-standards] (PRIoFAST64): Likewise.
2614         [C99-based-standards] (PRIuFAST64): Likewise.
2615         [C99-based-standards] (PRIxFAST64): Likewise.
2616         [C99-based-standards] (PRIXFAST64): Likewise.
2617         [C99-based-standards] (SCNdFAST64): Likewise.
2618         [C99-based-standards] (SCNiFAST64): Likewise.
2619         [C99-based-standards] (SCNoFAST64): Likewise.
2620         [C99-based-standards] (SCNuFAST64): Likewise.
2621         [C99-based-standards] (SCNxFAST64): Likewise.
2622         [C99-based-standards] (PRIdMAX): Likewise.
2623         [C99-based-standards] (PRIiMAX): Likewise.
2624         [C99-based-standards] (PRIoMAX): Likewise.
2625         [C99-based-standards] (PRIuMAX): Likewise.
2626         [C99-based-standards] (PRIxMAX): Likewise.
2627         [C99-based-standards] (PRIXMAX): Likewise.
2628         [C99-based-standards] (SCNdMAX): Likewise.
2629         [C99-based-standards] (SCNiMAX): Likewise.
2630         [C99-based-standards] (SCNoMAX): Likewise.
2631         [C99-based-standards] (SCNuMAX): Likewise.
2632         [C99-based-standards] (SCNxMAX): Likewise.
2633         [C99-based-standards] (PRIdPTR): Likewise.
2634         [C99-based-standards] (PRIiPTR): Likewise.
2635         [C99-based-standards] (PRIoPTR): Likewise.
2636         [C99-based-standards] (PRIuPTR): Likewise.
2637         [C99-based-standards] (PRIxPTR): Likewise.
2638         [C99-based-standards] (PRIXPTR): Likewise.
2639         [C99-based-standards] (SCNdPTR): Likewise.
2640         [C99-based-standards] (SCNiPTR): Likewise.
2641         [C99-based-standards] (SCNoPTR): Likewise.
2642         [C99-based-standards] (SCNuPTR): Likewise.
2643         [C99-based-standards] (SCNxPTR): Likewise.
2644         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
2645         allow.
2646         * conform/data/stdint.h-data: Update comments to clarify
2647         requirements.
2648         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
2649         type.
2650         [C99-based standards] (INT8_MAX): Likewise.
2651         [C99-based standards] (INT16_MIN): Likewise.
2652         [C99-based standards] (INT16_MAX): Likewise.
2653         [C99-based standards] (INT32_MIN): Likewise.
2654         [C99-based standards] (INT32_MAX): Likewise.
2655         [C99-based standards] (INT64_MIN): Likewise.
2656         [C99-based standards] (INT64_MAX): Likewise.
2657         [C99-based standards] (UINT8_MAX): Likewise.
2658         [C99-based standards] (UINT16_MAX): Likewise.
2659         [C99-based standards] (UINT32_MAX): Likewise.
2660         [C99-based standards] (UINT64_MAX): Likewise.
2661         [C99-based standards] (INT_LEAST8_MIN): Likewise.
2662         [C99-based standards] (INT_LEAST8_MAX): Likewise.
2663         [C99-based standards] (INT_LEAST16_MIN): Likewise.
2664         [C99-based standards] (INT_LEAST16_MAX): Likewise.
2665         [C99-based standards] (INT_LEAST32_MIN): Likewise.
2666         [C99-based standards] (INT_LEAST32_MAX): Likewise.
2667         [C99-based standards] (INT_LEAST64_MIN): Likewise.
2668         [C99-based standards] (INT_LEAST64_MAX): Likewise.
2669         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
2670         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
2671         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
2672         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
2673         [C99-based standards] (INT_FAST8_MIN): Likewise.
2674         [C99-based standards] (INT_FAST8_MAX): Likewise.
2675         [C99-based standards] (INT_FAST16_MIN): Likewise.
2676         [C99-based standards] (INT_FAST16_MAX): Likewise.
2677         [C99-based standards] (INT_FAST32_MIN): Likewise.
2678         [C99-based standards] (INT_FAST32_MAX): Likewise.
2679         [C99-based standards] (INT_FAST64_MIN): Likewise.
2680         [C99-based standards] (INT_FAST64_MAX): Likewise.
2681         [C99-based standards] (UINT_FAST8_MAX): Likewise.
2682         [C99-based standards] (UINT_FAST16_MAX): Likewise.
2683         [C99-based standards] (UINT_FAST32_MAX): Likewise.
2684         [C99-based standards] (UINT_FAST64_MAX): Likewise.
2685         [C99-based standards] (INTPTR_MIN): Likewise.
2686         [C99-based standards] (INTPTR_MAX): Likewise.
2687         [C99-based standards] (UINTPTR_MAX): Likewise.
2688         [C99-based standards] (INTMAX_MIN): Likewise.
2689         [C99-based standards] (INTMAX_MAX): Likewise.
2690         [C99-based standards] (UINTMAX_MAX): Likewise.
2691         [C99-based standards] (PTRDIFF_MIN): Likewise.
2692         [C99-based standards] (PTRDIFF_MAX): Likewise.
2693         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
2694         [C99-based standards] (SIZE_MAX): Likewise.
2695         [C99-based standards] (WCHAR_MAX): Likewise.
2696         [C99-based standards] (WINT_MAX): Likewise.
2697         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
2698         constraint on value.
2699         [C99-based standards] (WCHAR_MIN): Likewise.
2700         [C99-based standards] (WINT_MIN): Likewise.
2701         [C99-based standards] (*_t): Allow.
2702         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
2703         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
2704         Include math.h-data and complex.h-data.  Remove all expectations
2705         of math.h and complex.h contents.
2706         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
2707         at end of line.
2708         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
2709         (struct tm): Expect tag.
2710         [C99-based-standards] (wcstof): Expect function.
2711         [C99-based-standards] (wcstold): Likewise.
2712         [C99-based-standards] (wcstoll): Likewise.
2713         [C99-based-standards] (wcstoull): Likewise.
2714         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
2715         macro-int-constant.  Specify type.
2716         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
2717         constraint on value.
2718         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2719         Specify type.
2720         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
2721         Specify value.
2722         [ISO C standards]: Do not allow headers.
2723         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
2724         wcs[abcdefghijklmnopqrstuvwxyz]*.
2725         [ISO C standards] (*_t): Do not allow.
2726         * conform/data/wctype.h-data [C99-based standards] (iswblank):
2727         Expect function.
2728         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
2729         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2730         Specify type.
2731         [ISO C standards]: Do not allow headers.
2732         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
2733         is[abcdefghijklmnopqrstuvwxyz]*.
2734         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
2735         to[abcdefghijklmnopqrstuvwxyz]*.
2736         [ISO C standards] (*_t): Do not allow.
2737         * conform/data/stdalign.h-data: New file.
2738         * conform/data/stdbool.h-data: Likewise.
2739         * conform/data/stdnoreturn.h-data: Likewise.
2741 2012-11-07  Roland McGrath  <roland@hack.frob.com>
2743         [BZ #14815]
2744         * manual/filesys.texi (Directory Entries): Typo fix.
2745         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
2747 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2749         * elf/elf.h (EM_AARCH64): New macro.
2750         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
2751         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
2752         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
2753         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
2754         (R_AARCH64_TLSDESC): Likewise.
2755         (NT_ARM_TLS): Likewise.
2756         (NT_ARM_HW_BREAK): Likewise.
2757         (NT_ARM_HW_WATCH): Likewise.
2759 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
2761         [BZ #14811]
2762         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
2763         (__ieee754_powl): Saturate nonzero exponents with absolute value
2764         below 0x1p-79 to +/- 0x1p-79.
2765         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
2766         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
2767         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
2768         nonzero exponents with absolute value below 0x1p-32 to +/-
2769         0x1p-32.
2770         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
2771         (__ieee754_powl): Saturate nonzero exponents with absolute value
2772         below 0x1p-79 to +/- 0x1p-79.
2773         * math/libm-test.inc (pow_test): Add more tests.
2775 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2777         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
2778         _dl_s390_cap_flags with kernel. Increase string length.
2779         (_dl_s390_platforms): Add z196 and zEC12.
2781 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
2783         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
2784         Change XOPEN21K to XOPEN2K.
2786 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
2788         * string/memmove.c: Use memcpy when possible.
2790 2012-11-06  Andreas Jaeger  <aj@suse.de>
2792         * po/eo.po: Update from translation team.
2794 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
2796         [BZ #14793]
2797         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
2798         exponent and small x and y exponents, scale x or y up.  Increase
2799         by 2 the exponent used in scaling up.
2800         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2801         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2802         * math/libm-test.inc (fma_test): Add more tests.
2803         (fma_test_towardzero): Likewise.
2804         (fma_test_downward): Likewise.
2805         (fma_test_upward): Likewise.
2807 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
2809         [BZ #14805]
2810         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
2811         fenv_t *.
2813         [BZ #14801]
2814         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
2815         namespace for names of struct fields.
2816         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
2817         fenv_t fields.
2818         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2819         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
2821 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2823         [BZ #3665]
2824         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
2826 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
2828         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
2829         PTR_DEMANGLE.
2831         [BZ #5246]
2832         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
2833         PTR_DEMANGLE.
2835 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
2837         [BZ #14797]
2838         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
2839         definitely overflow as x * y not x * y + z.
2840         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2841         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2842         * math/libm-test.inc (fma_test): Add more tests.
2843         (fma_test_towardzero): Likewise.
2844         (fma_test_downward): Likewise.
2845         (fma_test_upward): Likewise.
2847 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
2849         [BZ #157]
2851         * include/stub-tag.h: Remove file.
2852         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
2853         '#include' of it.
2854         * manual/maint.texi (Porting): Don't reference it.
2855         * Makerules ($(objpfx)stubs): Likewise.
2856         * dirent/closedir.c: Don't include <stub-tag.h>.
2857         * dirent/dirfd.c: Likewise.
2858         * dirent/fdopendir.c: Likewise.
2859         * dirent/getdents.c: Likewise.
2860         * dirent/getdents64.c: Likewise.
2861         * dirent/opendir.c: Likewise.
2862         * dirent/readdir.c: Likewise.
2863         * dirent/readdir64.c: Likewise.
2864         * dirent/readdir64_r.c: Likewise.
2865         * dirent/readdir_r.c: Likewise.
2866         * dirent/rewinddir.c: Likewise.
2867         * dirent/seekdir.c: Likewise.
2868         * dirent/telldir.c: Likewise.
2869         * gmon/profil.c: Likewise.
2870         * grp/setgroups.c: Likewise.
2871         * inet/if_index.c: Likewise.
2872         * io/access.c: Likewise.
2873         * io/chdir.c: Likewise.
2874         * io/chmod.c: Likewise.
2875         * io/chown.c: Likewise.
2876         * io/close.c: Likewise.
2877         * io/dup.c: Likewise.
2878         * io/dup2.c: Likewise.
2879         * io/dup3.c: Likewise.
2880         * io/euidaccess.c: Likewise.
2881         * io/faccessat.c: Likewise.
2882         * io/fchdir.c: Likewise.
2883         * io/fchmod.c: Likewise.
2884         * io/fchmodat.c: Likewise.
2885         * io/fchown.c: Likewise.
2886         * io/fchownat.c: Likewise.
2887         * io/fcntl.c: Likewise.
2888         * io/flock.c: Likewise.
2889         * io/fstatfs.c: Likewise.
2890         * io/fstatfs64.c: Likewise.
2891         * io/fstatvfs.c: Likewise.
2892         * io/fstatvfs64.c: Likewise.
2893         * io/futimens.c: Likewise.
2894         * io/fxstat.c: Likewise.
2895         * io/fxstat64.c: Likewise.
2896         * io/fxstatat.c: Likewise.
2897         * io/fxstatat64.c: Likewise.
2898         * io/getcwd.c: Likewise.
2899         * io/isatty.c: Likewise.
2900         * io/lchmod.c: Likewise.
2901         * io/lchown.c: Likewise.
2902         * io/link.c: Likewise.
2903         * io/linkat.c: Likewise.
2904         * io/lseek.c: Likewise.
2905         * io/lseek64.c: Likewise.
2906         * io/lxstat64.c: Likewise.
2907         * io/mkdir.c: Likewise.
2908         * io/mkdirat.c: Likewise.
2909         * io/mkfifo.c: Likewise.
2910         * io/mkfifoat.c: Likewise.
2911         * io/open.c: Likewise.
2912         * io/open64.c: Likewise.
2913         * io/openat.c: Likewise.
2914         * io/openat64.c: Likewise.
2915         * io/pipe.c: Likewise.
2916         * io/pipe2.c: Likewise.
2917         * io/poll.c: Likewise.
2918         * io/posix_fadvise.c: Likewise.
2919         * io/posix_fadvise64.c: Likewise.
2920         * io/posix_fallocate.c: Likewise.
2921         * io/posix_fallocate64.c: Likewise.
2922         * io/read.c: Likewise.
2923         * io/readlink.c: Likewise.
2924         * io/readlinkat.c: Likewise.
2925         * io/rmdir.c: Likewise.
2926         * io/sendfile.c: Likewise.
2927         * io/sendfile64.c: Likewise.
2928         * io/statfs.c: Likewise.
2929         * io/statfs64.c: Likewise.
2930         * io/statvfs.c: Likewise.
2931         * io/statvfs64.c: Likewise.
2932         * io/symlink.c: Likewise.
2933         * io/symlinkat.c: Likewise.
2934         * io/ttyname.c: Likewise.
2935         * io/ttyname_r.c: Likewise.
2936         * io/umask.c: Likewise.
2937         * io/unlink.c: Likewise.
2938         * io/unlinkat.c: Likewise.
2939         * io/utime.c: Likewise.
2940         * io/utimensat.c: Likewise.
2941         * io/write.c: Likewise.
2942         * io/xmknod.c: Likewise.
2943         * io/xmknodat.c: Likewise.
2944         * io/xstat.c: Likewise.
2945         * io/xstat64.c: Likewise.
2946         * login/getpt.c: Likewise.
2947         * login/grantpt.c: Likewise.
2948         * login/unlockpt.c: Likewise.
2949         * math/e_acoshl.c: Likewise.
2950         * math/e_acosl.c: Likewise.
2951         * math/e_asinl.c: Likewise.
2952         * math/e_atan2l.c: Likewise.
2953         * math/e_atanhl.c: Likewise.
2954         * math/e_coshl.c: Likewise.
2955         * math/e_expl.c: Likewise.
2956         * math/e_fmodl.c: Likewise.
2957         * math/e_gammal_r.c: Likewise.
2958         * math/e_hypotl.c: Likewise.
2959         * math/e_j0l.c: Likewise.
2960         * math/e_j1l.c: Likewise.
2961         * math/e_jnl.c: Likewise.
2962         * math/e_lgammal_r.c: Likewise.
2963         * math/e_log10l.c: Likewise.
2964         * math/e_log2l.c: Likewise.
2965         * math/e_logl.c: Likewise.
2966         * math/e_powl.c: Likewise.
2967         * math/e_rem_pio2l.c: Likewise.
2968         * math/e_sinhl.c: Likewise.
2969         * math/e_sqrtl.c: Likewise.
2970         * math/fclrexcpt.c: Likewise.
2971         * math/fedisblxcpt.c: Likewise.
2972         * math/feenablxcpt.c: Likewise.
2973         * math/fegetenv.c: Likewise.
2974         * math/fegetexcept.c: Likewise.
2975         * math/fegetround.c: Likewise.
2976         * math/feholdexcpt.c: Likewise.
2977         * math/fesetenv.c: Likewise.
2978         * math/fesetround.c: Likewise.
2979         * math/feupdateenv.c: Likewise.
2980         * math/fgetexcptflg.c: Likewise.
2981         * math/fraiseexcpt.c: Likewise.
2982         * math/fsetexcptflg.c: Likewise.
2983         * math/ftestexcept.c: Likewise.
2984         * math/k_cosl.c: Likewise.
2985         * math/k_rem_pio2l.c: Likewise.
2986         * math/k_sinl.c: Likewise.
2987         * math/k_tanl.c: Likewise.
2988         * math/s_asinhl.c: Likewise.
2989         * math/s_atanl.c: Likewise.
2990         * math/s_cbrtl.c: Likewise.
2991         * math/s_erfl.c: Likewise.
2992         * math/s_expm1l.c: Likewise.
2993         * math/s_log1pl.c: Likewise.
2994         * math/s_tanhl.c: Likewise.
2995         * misc/acct.c: Likewise.
2996         * misc/brk.c: Likewise.
2997         * misc/chflags.c: Likewise.
2998         * misc/chroot.c: Likewise.
2999         * misc/fchflags.c: Likewise.
3000         * misc/fgetxattr.c: Likewise.
3001         * misc/flistxattr.c: Likewise.
3002         * misc/fremovexattr.c: Likewise.
3003         * misc/fsetxattr.c: Likewise.
3004         * misc/fsync.c: Likewise.
3005         * misc/ftruncate.c: Likewise.
3006         * misc/futimes.c: Likewise.
3007         * misc/futimesat.c: Likewise.
3008         * misc/getdomain.c: Likewise.
3009         * misc/getdtsz.c: Likewise.
3010         * misc/gethostid.c: Likewise.
3011         * misc/gethostname.c: Likewise.
3012         * misc/getloadavg.c: Likewise.
3013         * misc/getpagesize.c: Likewise.
3014         * misc/getsysstats.c: Likewise.
3015         * misc/getxattr.c: Likewise.
3016         * misc/gtty.c: Likewise.
3017         * misc/ioctl.c: Likewise.
3018         * misc/lgetxattr.c: Likewise.
3019         * misc/listxattr.c: Likewise.
3020         * misc/llistxattr.c: Likewise.
3021         * misc/lremovexattr.c: Likewise.
3022         * misc/lsetxattr.c: Likewise.
3023         * misc/lutimes.c: Likewise.
3024         * misc/madvise.c: Likewise.
3025         * misc/mincore.c: Likewise.
3026         * misc/mlock.c: Likewise.
3027         * misc/mlockall.c: Likewise.
3028         * misc/mmap.c: Likewise.
3029         * misc/mprotect.c: Likewise.
3030         * misc/msync.c: Likewise.
3031         * misc/munlock.c: Likewise.
3032         * misc/munlockall.c: Likewise.
3033         * misc/munmap.c: Likewise.
3034         * misc/preadv.c: Likewise.
3035         * misc/preadv64.c: Likewise.
3036         * misc/ptrace.c: Likewise.
3037         * misc/pwritev.c: Likewise.
3038         * misc/pwritev64.c: Likewise.
3039         * misc/readv.c: Likewise.
3040         * misc/reboot.c: Likewise.
3041         * misc/remap_file_pages.c: Likewise.
3042         * misc/removexattr.c: Likewise.
3043         * misc/revoke.c: Likewise.
3044         * misc/select.c: Likewise.
3045         * misc/setdomain.c: Likewise.
3046         * misc/setegid.c: Likewise.
3047         * misc/seteuid.c: Likewise.
3048         * misc/sethostid.c: Likewise.
3049         * misc/sethostname.c: Likewise.
3050         * misc/setregid.c: Likewise.
3051         * misc/setreuid.c: Likewise.
3052         * misc/setxattr.c: Likewise.
3053         * misc/sstk.c: Likewise.
3054         * misc/stty.c: Likewise.
3055         * misc/swapoff.c: Likewise.
3056         * misc/swapon.c: Likewise.
3057         * misc/sync.c: Likewise.
3058         * misc/syncfs.c: Likewise.
3059         * misc/syscall.c: Likewise.
3060         * misc/truncate.c: Likewise.
3061         * misc/ualarm.c: Likewise.
3062         * misc/usleep.c: Likewise.
3063         * misc/ustat.c: Likewise.
3064         * misc/utimes.c: Likewise.
3065         * misc/vhangup.c: Likewise.
3066         * misc/writev.c: Likewise.
3067         * posix/_exit.c: Likewise.
3068         * posix/alarm.c: Likewise.
3069         * posix/execve.c: Likewise.
3070         * posix/fexecve.c: Likewise.
3071         * posix/fork.c: Likewise.
3072         * posix/fpathconf.c: Likewise.
3073         * posix/getaddrinfo.c: Likewise.
3074         * posix/getegid.c: Likewise.
3075         * posix/geteuid.c: Likewise.
3076         * posix/getgid.c: Likewise.
3077         * posix/getgroups.c: Likewise.
3078         * posix/getlogin.c: Likewise.
3079         * posix/getlogin_r.c: Likewise.
3080         * posix/getpgid.c: Likewise.
3081         * posix/getpid.c: Likewise.
3082         * posix/getppid.c: Likewise.
3083         * posix/getresgid.c: Likewise.
3084         * posix/getresuid.c: Likewise.
3085         * posix/getsid.c: Likewise.
3086         * posix/getuid.c: Likewise.
3087         * posix/glob64.c: Likewise.
3088         * posix/nanosleep.c: Likewise.
3089         * posix/pathconf.c: Likewise.
3090         * posix/pause.c: Likewise.
3091         * posix/posix_madvise.c: Likewise.
3092         * posix/pread.c: Likewise.
3093         * posix/pread64.c: Likewise.
3094         * posix/pwrite.c: Likewise.
3095         * posix/pwrite64.c: Likewise.
3096         * posix/sched_getaffinity.c: Likewise.
3097         * posix/sched_getp.c: Likewise.
3098         * posix/sched_gets.c: Likewise.
3099         * posix/sched_primax.c: Likewise.
3100         * posix/sched_primin.c: Likewise.
3101         * posix/sched_rr_gi.c: Likewise.
3102         * posix/sched_setaffinity.c: Likewise.
3103         * posix/sched_setp.c: Likewise.
3104         * posix/sched_sets.c: Likewise.
3105         * posix/sched_yield.c: Likewise.
3106         * posix/setgid.c: Likewise.
3107         * posix/setlogin.c: Likewise.
3108         * posix/setpgid.c: Likewise.
3109         * posix/setresgid.c: Likewise.
3110         * posix/setresuid.c: Likewise.
3111         * posix/setsid.c: Likewise.
3112         * posix/setuid.c: Likewise.
3113         * posix/sleep.c: Likewise.
3114         * posix/spawni.c: Likewise.
3115         * posix/sysconf.c: Likewise.
3116         * posix/times.c: Likewise.
3117         * posix/wait.c: Likewise.
3118         * posix/wait3.c: Likewise.
3119         * posix/wait4.c: Likewise.
3120         * posix/waitpid.c: Likewise.
3121         * resolv/gai_sigqueue.c: Likewise.
3122         * resource/getpriority.c: Likewise.
3123         * resource/getrlimit.c: Likewise.
3124         * resource/getrusage.c: Likewise.
3125         * resource/nice.c: Likewise.
3126         * resource/setpriority.c: Likewise.
3127         * resource/setrlimit.c: Likewise.
3128         * resource/ulimit.c: Likewise.
3129         * rt/aio_cancel.c: Likewise.
3130         * rt/aio_fsync.c: Likewise.
3131         * rt/aio_read.c: Likewise.
3132         * rt/aio_sigqueue.c: Likewise.
3133         * rt/aio_suspend.c: Likewise.
3134         * rt/aio_write.c: Likewise.
3135         * rt/clock_getres.c: Likewise.
3136         * rt/clock_gettime.c: Likewise.
3137         * rt/clock_nanosleep.c: Likewise.
3138         * rt/clock_settime.c: Likewise.
3139         * rt/lio_listio.c: Likewise.
3140         * rt/mq_close.c: Likewise.
3141         * rt/mq_getattr.c: Likewise.
3142         * rt/mq_notify.c: Likewise.
3143         * rt/mq_open.c: Likewise.
3144         * rt/mq_receive.c: Likewise.
3145         * rt/mq_send.c: Likewise.
3146         * rt/mq_setattr.c: Likewise.
3147         * rt/mq_timedreceive.c: Likewise.
3148         * rt/mq_timedsend.c: Likewise.
3149         * rt/mq_unlink.c: Likewise.
3150         * rt/shm_open.c: Likewise.
3151         * rt/shm_unlink.c: Likewise.
3152         * rt/timer_create.c: Likewise.
3153         * rt/timer_delete.c: Likewise.
3154         * rt/timer_getoverr.c: Likewise.
3155         * rt/timer_gettime.c: Likewise.
3156         * rt/timer_settime.c: Likewise.
3157         * setjmp/__longjmp.c: Likewise.
3158         * setjmp/setjmp.c: Likewise.
3159         * signal/kill.c: Likewise.
3160         * signal/killpg.c: Likewise.
3161         * signal/raise.c: Likewise.
3162         * signal/sigaction.c: Likewise.
3163         * signal/sigaltstack.c: Likewise.
3164         * signal/sigblock.c: Likewise.
3165         * signal/sigignore.c: Likewise.
3166         * signal/sigintr.c: Likewise.
3167         * signal/signal.c: Likewise.
3168         * signal/sigpause.c: Likewise.
3169         * signal/sigpending.c: Likewise.
3170         * signal/sigqueue.c: Likewise.
3171         * signal/sigreturn.c: Likewise.
3172         * signal/sigset.c: Likewise.
3173         * signal/sigsetmask.c: Likewise.
3174         * signal/sigstack.c: Likewise.
3175         * signal/sigsuspend.c: Likewise.
3176         * signal/sigtimedwait.c: Likewise.
3177         * signal/sigvec.c: Likewise.
3178         * signal/sigwait.c: Likewise.
3179         * signal/sigwaitinfo.c: Likewise.
3180         * signal/sysv_signal.c: Likewise.
3181         * socket/accept.c: Likewise.
3182         * socket/accept4.c: Likewise.
3183         * socket/bind.c: Likewise.
3184         * socket/connect.c: Likewise.
3185         * socket/getpeername.c: Likewise.
3186         * socket/getsockname.c: Likewise.
3187         * socket/getsockopt.c: Likewise.
3188         * socket/isfdtype.c: Likewise.
3189         * socket/listen.c: Likewise.
3190         * socket/recv.c: Likewise.
3191         * socket/recvfrom.c: Likewise.
3192         * socket/recvmsg.c: Likewise.
3193         * socket/send.c: Likewise.
3194         * socket/sendmsg.c: Likewise.
3195         * socket/sendto.c: Likewise.
3196         * socket/setsockopt.c: Likewise.
3197         * socket/shutdown.c: Likewise.
3198         * socket/sockatmark.c: Likewise.
3199         * socket/socket.c: Likewise.
3200         * socket/socketpair.c: Likewise.
3201         * stdio-common/ctermid.c: Likewise.
3202         * stdio-common/cuserid.c: Likewise.
3203         * stdio-common/remove.c: Likewise.
3204         * stdio-common/rename.c: Likewise.
3205         * stdio-common/renameat.c: Likewise.
3206         * stdio-common/tempname.c: Likewise.
3207         * stdlib/getcontext.c: Likewise.
3208         * stdlib/makecontext.c: Likewise.
3209         * stdlib/setcontext.c: Likewise.
3210         * stdlib/swapcontext.c: Likewise.
3211         * stdlib/system.c: Likewise.
3212         * streams/fattach.c: Likewise.
3213         * streams/fdetach.c: Likewise.
3214         * streams/getmsg.c: Likewise.
3215         * streams/getpmsg.c: Likewise.
3216         * streams/putmsg.c: Likewise.
3217         * streams/putpmsg.c: Likewise.
3218         * sysdeps/unix/bsd/getpt.c: Likewise.
3219         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
3220         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
3221         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
3223         Likewise.
3224         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
3225         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
3226         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3227         * sysvipc/msgctl.c: Likewise.
3228         * sysvipc/msgget.c: Likewise.
3229         * sysvipc/msgrcv.c: Likewise.
3230         * sysvipc/msgsnd.c: Likewise.
3231         * sysvipc/semctl.c: Likewise.
3232         * sysvipc/semget.c: Likewise.
3233         * sysvipc/semop.c: Likewise.
3234         * sysvipc/semtimedop.c: Likewise.
3235         * sysvipc/shmat.c: Likewise.
3236         * sysvipc/shmctl.c: Likewise.
3237         * sysvipc/shmdt.c: Likewise.
3238         * sysvipc/shmget.c: Likewise.
3239         * termios/tcdrain.c: Likewise.
3240         * termios/tcflow.c: Likewise.
3241         * termios/tcflush.c: Likewise.
3242         * termios/tcgetattr.c: Likewise.
3243         * termios/tcgetpgrp.c: Likewise.
3244         * termios/tcsendbrk.c: Likewise.
3245         * termios/tcsetattr.c: Likewise.
3246         * termios/tcsetpgrp.c: Likewise.
3247         * time/adjtime.c: Likewise.
3248         * time/clock.c: Likewise.
3249         * time/getitimer.c: Likewise.
3250         * time/gettimeofday.c: Likewise.
3251         * time/setitimer.c: Likewise.
3252         * time/settimeofday.c: Likewise.
3253         * time/stime.c: Likewise.
3254         * time/time.c: Likewise.
3256 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
3258         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
3259         /usr/old/bin.
3261         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
3262         instead of spaces.
3263         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
3265 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
3267         [BZ #14796]
3268         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
3269         FE_TONEAREST before applying Dekker multiplication and Knuth
3270         addition.  Clear inexact exceptions and check for exact zero
3271         results afterwards.
3272         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3273         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3274         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3275         * math/libm-test.inc (fma_test): Add more tests.
3276         (fma_test_towardzero): Likewise.
3277         (fma_test_downward): Likewise.
3278         (fma_test_upward): Likewise.
3279         * sysdeps/generic/math_private.h (default_libc_fesetround): New
3280         function.
3281         (libc_fesetround): New macro.
3282         (libc_fesetroundf): Likewise.
3283         (libc_fesetroundl): Likewise.
3284         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
3285         function.
3286         (libc_fesetround_387): Likewise.
3287         (libc_fesetroundf): New macro.
3288         (libc_fesetround): Likewise.
3289         (libc_fesetroundl): Likewise.
3290         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
3291         function.
3292         (libc_fesetroundf): New macro.
3293         (libc_fesetround): Likewise.
3294         (libc_fesetroundl): Likewise.
3295         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
3296         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
3297         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
3298         libm_hidden_ver.
3299         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
3300         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
3301         libm_hidden_def.
3302         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
3303         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
3304         libm_hidden_ver.
3305         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
3306         libm_hidden_def.
3308         [BZ #3439]
3309         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
3310         integer constant usable in #if and use that to give value to enum
3311         constant.
3312         (FE_DIVBYZERO): Likewise.
3313         (FE_UNDERFLOW): Likewise.
3314         (FE_OVERFLOW): Likewise.
3315         (FE_INVALID): Likewise.
3316         (FE_INVALID_SNAN): Likewise.
3317         (FE_INVALID_ISI): Likewise.
3318         (FE_INVALID_IDI): Likewise.
3319         (FE_INVALID_ZDZ): Likewise.
3320         (FE_INVALID_IMZ): Likewise.
3321         (FE_INVALID_COMPARE): Likewise.
3322         (FE_INVALID_SOFTWARE): Likewise.
3323         (FE_INVALID_SQRT): Likewise.
3324         (FE_INVALID_INTEGER_CONVERSION): Likewise.
3325         (FE_TONEAREST): Likewise.
3326         (FE_TOWARDZERO): Likewise.
3327         (FE_UPWARD): Likewise.
3328         (FE_DOWNWARD): Likewise.
3329         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
3330         (FE_DIVBYZERO): Likewise.
3331         (FE_OVERFLOW): Likewise.
3332         (FE_UNDERFLOW): Likewise.
3333         (FE_INEXACT): Likewise.
3334         (FE_TONEAREST): Likewise.
3335         (FE_DOWNWARD): Likewise.
3336         (FE_UPWARD): Likewise.
3337         (FE_TOWARDZERO): Likewise.
3338         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
3339         (FE_UNDERFLOW): Likewise.
3340         (FE_OVERFLOW): Likewise.
3341         (FE_DIVBYZERO): Likewise.
3342         (FE_INVALID): Likewise.
3343         (FE_TONEAREST): Likewise.
3344         (FE_TOWARDZERO): Likewise.
3345         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
3346         (FE_OVERFLOW): Likewise.
3347         (FE_UNDERFLOW): Likewise.
3348         (FE_DIVBYZERO): Likewise.
3349         (FE_INEXACT): Likewise.
3350         (FE_TONEAREST): Likewise.
3351         (FE_TOWARDZERO): Likewise.
3352         (FE_UPWARD): Likewise.
3353         (FE_DOWNWARD): Likewise.
3354         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
3355         (FE_DIVBYZERO): Likewise.
3356         (FE_OVERFLOW): Likewise.
3357         (FE_UNDERFLOW): Likewise.
3358         (FE_INEXACT): Likewise.
3359         (FE_TONEAREST): Likewise.
3360         (FE_DOWNWARD): Likewise.
3361         (FE_UPWARD): Likewise.
3362         (FE_TOWARDZERO): Likewise.
3364 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
3366         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
3368 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
3370         * scripts/cross-test-ssh.sh (command): Use newlines to separate
3371         commands.  Quote $PWD.
3372         (blacklist_exports): Don't use remove_newlines.  Replace "declare
3373         -x" by "export".
3374         (remove_newlines): Remove.
3376 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
3378         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
3379         * stdlib/stdlib.h (atof): Moved to ...
3380         * include/bits/stdlib-float.h: Here.  New file.
3381         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
3382         * stdlib/bits/stdlib-float.h: New file.
3383         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
3384         -mno-sse -mno-mmx.
3385         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
3386         <xmmintrin.h>.
3388 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
3390         * conform/conformtest.pl (@headers): Add fenv.h.
3391         * conform/data/fenv.h-data: New file.
3392         * include/fenv.h [_ISOMAC]: Disable all contents of file except
3393         include of <math/fenv.h>.
3395         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
3396         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
3397         && !UNIX98].  Enables tests for XOPEN2K8.
3398         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
3399         POSIX2008]: Likewise.
3401         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
3402         (struct rusage): Do not expect type or its members.
3404         [BZ #3439]
3405         * math/math.h (FP_NAN): Define macro to integer constant usable in
3406         #if and use that to give value to enum constant.
3407         (FP_INFINITE): Likewise.
3408         (FP_ZERO): Likewise.
3409         (FP_SUBNORMAL): Likewise.
3410         (FP_NORMAL): Likewise.
3412 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
3414         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
3415         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
3416         arguments.
3418 2012-11-02  Roland McGrath  <roland@hack.frob.com>
3420         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
3421         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
3422         autoconf-time if not.
3423         * configure.in: Remove AC_PREREQ.
3425 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3427         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
3428         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
3429         of the internal implementation.
3431 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
3433         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
3434         except include of <misc/sys/syslog.h>.
3436 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
3438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
3439         function returns with a NULL context exit with zero.
3441 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3443         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
3445 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
3447         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
3448         (run_program_cmd): This.
3449         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
3450         (tst_langinfo): New variable.  Use it.
3452 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
3454         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
3455         floating point opcodes.
3457 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
3459         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
3460         variable.
3462         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
3464         * sysdeps/mach/hurd/powerpc: Remove directory.
3465         * sysdeps/mach/powerpc: Likewise.
3467 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
3469         * scripts/check-local-headers.sh: Ignore c++ headers.
3471 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
3473         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
3474         __libc_cleanup_region_start argument.
3476 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
3478         [BZ #14784]
3479         [BZ #14785]
3480         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
3481         x * y using scaling, not as x * y + z.
3482         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3483         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3484         * math/libm-test.inc (fma_test): Add more tests.
3485         (fma_test_towardzero): Likewise.
3486         (fma_test_downward): Likewise.
3487         (fma_test_upward): Likewise.
3489 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
3491         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
3493 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
3495         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
3496         New variable.
3498 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
3500         * rt/tst-shm.c (worker): Correct checking for mmap failure.
3502 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
3504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3505         Fix sort order.
3506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3507         Likewise.
3509 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3512         Fix the order of the list for glibc 2.17.
3513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3514         Likewise.
3516 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
3518         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3520 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
3522         [BZ #14610]
3523         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
3524         for low part of x being zero before using __atanl (y).
3525         * math/libm-test.inc (atan2_test): Add another test.
3527         * manual/install.texi (Configuring and compiling): Document
3528         general use of test-wrapper and test-wrapper-env.
3529         * INSTALL: Regenerated.
3531         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
3532         (__fma): Do not extract and scale down low bits on after-rounding
3533         systems when result rounded to normal precision would have normal
3534         exponent.
3535         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
3536         (__fmal): Do not extract and scale down low bits on after-rounding
3537         systems when result rounded to normal precision would have normal
3538         exponent.
3539         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
3540         (__fmal): Do not extract and scale down low bits on after-rounding
3541         systems when result rounded to normal precision would have normal
3542         exponent.
3543         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
3544         macro.
3545         (fma_test): Add more tests.
3546         (fma_test_towardzero): Likewise.
3547         (fma_test_downward): Likewise.
3548         (fma_test_upward): Likewise.
3550 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
3552         * sysdeps/i386/tininess.h: Renamed to ...
3553         * sysdeps/x86/tininess.h: This.
3554         * sysdeps/x86_64/tininess.h: Removed.
3556 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
3558         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
3559         input.  Use $(build-program-cmd).
3560         ($(objpfx)tst-array1-static.out): Likewise.
3561         ($(objpfx)tst-array2.out): Likewise.
3562         ($(objpfx)tst-array3.out): Likewise.
3563         ($(objpfx)tst-array4.out): Likewise.
3564         ($(objpfx)tst-array5.out): Likewise.
3565         ($(objpfx)tst-array5-static.out): Likewise.
3567 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
3569         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
3570         if defined.
3572         * nss/nsswitch.h (nss_interface_function): Provide new
3573         macro for use with NSS functions.
3574         * grp/initgroups.c: Use new macro.
3575         * nss/getXXbyYY.c: Likewise.
3576         * nss/getXXbyYY_r.c: Likewise.
3577         * nss/getXXent.c: Likewise.
3578         * nss/getXXent_r.c: Likewise.
3579         * sysdeps/posix/getaddrinfo.c: Likewise.
3581 2012-10-30  Andreas Jaeger  <aj@suse.de>
3583         * po/ru.po: Update Russion translation from translation project.
3585 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
3587         [BZ #14152]
3588         [BZ #14783]
3589         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
3590         result and shift together with sticky bit instead of replicating
3591         round-to-nearest rounding.
3592         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3593         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3594         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
3595         missing underflow exceptions.
3596         (fma_test_towardzero): Add more tests.
3597         (fma_test_downward): Likewise.
3598         (fma_test_upward): Likewise.
3600         [BZ #14047]
3601         * sysdeps/generic/tininess.h: New file.
3602         * sysdeps/i386/tininess.h: Likewise.
3603         * sysdeps/sh/tininess.h: Likewise.
3604         * sysdeps/x86_64/tininess.h: Likewise.
3605         * stdlib/tst-strtod-underflow.c: Likewise.
3606         * stdlib/tst-tininess.c: Likewise.
3607         * stdlib/strtod_l.c: Include <tininess.h>.
3608         (round_and_return): Do not set errno for exact underflow cases.
3609         Force an underflow exception when setting errno for underflow.
3610         Determine underflow based on rounding to normal precision if
3611         TININESS_AFTER_ROUNDING.
3612         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
3613         ERANGE for exact underflow cases.
3614         * stdlib/Makefile (tests): Add tst-tininess and
3615         tst-strtod-underflow.
3616         ($(objpfx)tst-tininess): Use $(link-libm).
3617         ($(objpfx)tst-strtod-underflow): Likewise.
3619 2012-10-30  Andreas Jaeger  <aj@suse.de>
3621         [BZ#14767]
3622         * elf/Makefile (tests): Remove conditional for have-initfini-array
3623         since this is now always required and the variable does not exist
3624         anymore.
3625         (tests-static): Likewise.
3626         (modules-names): Likewise.
3628         * po/eo.po: Add Esperanto translation from translation project.
3630         * elf/tst-array1.c (fini_array): Make writeable so that it can be
3631         merged with constructor/destructor.
3632         (init_array): Likewise.
3633         * elf/tst-array2dep.c (fini_array): Likewise.
3634         (init_array): Likewise.
3636 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
3638         * manual/message.texi: Delete @cartouche tags.
3640 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
3642         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
3643         EOPNOTSUPP.
3644         * sysdeps/mach/hurd/fsync.c: Likewise.
3646         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
3647         [_POSIX_REALTIME_SIGNALS]: Change condition to
3648         [_POSIX_REALTIME_SIGNALS > 0].
3650 2012-10-27  Andreas Jaeger  <aj@suse.de>
3652         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
3653         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
3654         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
3655         [__WORDSIZE != 64]: Likewise.
3657 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
3659         *  iconvdata/tst-table.sh: Remove ${SHELL}.
3660         *  iconvdata/tst-tables.sh: Likewise.
3662 2012-10-25  David S. Miller  <davem@davemloft.net>
3664         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3665         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
3666         of strtoull.
3668         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
3669         ifunc-impl-list.c
3670         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3671         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
3672         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
3673         file.
3675 2012-10-25  Roland McGrath  <roland@hack.frob.com>
3677         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3678         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
3679         __getdirentries.
3681 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
3682             Jim Blandy  <jimb@codesourcery.com>
3684         * scripts/cross-test-ssh.sh: New file.
3685         * manual/install.texi (Configuring and compiling): Document use of
3686         cross-test-ssh.sh.
3687         * INSTALL: Regenerated.
3689 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
3691         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
3692         EOPNOTSUPP.
3694 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
3696         * Makeconfig (run-program-prefix): Fix comment.
3698 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
3699             Jim Blandy  <jimb@codesourcery.com>
3701         * Makeconfig (test-wrapper): New variable,
3702         (test-wrapper-env): Likewise.
3703         [$(cross-compiling) = yes && $(test-wrapper) != ""]
3704         (run-built-tests): Define to yes.
3705         (run-program-prefix): Use $(test-wrapper).
3706         (built-program-cmd): Likewise.
3707         * Rules (make-test-out): Use $(test-wrapper-env) and
3708         $(host-built-program-cmd).
3709         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
3710         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
3711         tst-pathopt.sh.
3712         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
3713         $(test-wrapper-env) to tst-rtld-load-self.sh.
3714         ($(objpfx)order2.out): Use $(test-wrapper).
3715         ($(objpfx)tst-initorder.out): Likewise.
3716         ($(objpfx)tst-initorder2.out): Likewise.
3717         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
3718         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
3719         (test_wrapper_env): New variable.  Use it to run ld.so.
3720         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
3721         Use it to run ld.so.
3722         (test_wrapper_env): Likewise.
3723         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
3724         $(test-wrapper) to run-iconv-test.sh.
3725         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
3726         (ICONV): Use $test_wrapper.
3727         * posix/Makefile ($(objpfx)globtest.out): Pass
3728         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
3729         globtest.sh, not $(run-program-prefix).
3730         * posix/globtest.sh (run_via_rtld_prefix): New variable.
3731         (test_wrapper): Likewise.
3732         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
3733         set together with run_via_rtld_prefix.
3734         (run_program_prefix): Define in terms of test_wrapper and
3735         run_via_rtld_prefix.
3737 2012-10-24  Roland McGrath  <roland@hack.frob.com>
3739         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
3740         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
3741         Targets removed.
3743         [BZ #14743]
3744         * include/time.h: Remove librt_hidden_proto (clock_gettime).
3745         Declare __clock_getres, __clock_gettime, __clock_settime,
3746         __clock_nanosleep, and __clock_getcpuclockid.
3747         * rt/clock_gettime.c: Define __clock_gettime as an alias.
3748         Remove librt_hidden_def (clock_gettime).
3749         * sysdeps/unix/clock_gettime.c: Likewise.
3750         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
3751         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3752         * rt/clock_getres.c: Define __clock_getres as an alias.
3753         * sysdeps/posix/clock_getres.c: Likewise.
3754         * rt/clock_settime.c: Define __clock_settime as an alias.
3755         * sysdeps/unix/clock_settime.c: Likewise.
3756         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
3757         * sysdeps/unix/clock_nanosleep.c: Likewise.
3758         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3759         * rt/clock-compat.c: New file.
3760         * rt/Makefile (librt-routines): Add clock-compat and move
3761         $(clock-routines) to ...
3762         (routines): ... here, new variable.
3763         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
3764         Don't add get_clockfreq here.
3765         * rt/Versions (libc: GLIBC_2.17): New version set.
3766         Add clock_* symbols here.
3767         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
3768         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
3769         (GLIBC_2.17): Add clock_* symbols.
3770         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3771         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3772         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3774         Likewise.
3775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3776         Likewise.
3777         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3778         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3779         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3780         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3781         * NEWS: Mention the move.
3783         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3784         Use __open, __read, __close rather than their public counterparts.
3785         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3786         (__get_clockfreq_via_cpuinfo): Likewise.
3787         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
3788         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
3790         * config.h.in (HAVE_IFUNC): New #undef.
3791         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
3792         was successful.
3793         * configure: Regenerated.
3795 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
3797         * configure.in: Move READELF check to start of file.
3798         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
3799         libc_cv_asm_gnu_indirect_function in the process.
3800         * configure: Regenerated.
3802 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
3804         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
3805         send the output to /dev/null.
3806         (libc_cv_cc_with_libunwind): Likewise.
3807         (libc_cv_as_noexecstack): Likewise.
3808         * configure: Regenerate.
3810 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
3812         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
3814         * posix/globtest.sh (TMPDIR): Do not set.
3815         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
3816         (testout): Likewise.
3818 2012-10-24  Andreas Jaeger  <aj@suse.de>
3820         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
3821         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
3822         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
3823         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
3824         posix_fadvise64, posix_fallocate64.
3826         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
3827         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
3828         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
3829         Likewise.
3830         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
3831         Likewise.
3832         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
3834         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
3835         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
3836         <bits/fcntl-linux.h>.
3837         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
3839         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
3840         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
3841         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
3842         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
3843         [__WORDSIZE != 64]: Likewise.
3845 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
3847         * Makeconfig (run-built-tests): New variable.
3848         * Rules [$(cross-compiling) = yes]: Change condition to
3849         [$(run-built-tests) = no].
3850         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
3851         to [$(run-built-tests) = yes].
3852         * elf/Makefile [$(cross-compiling) = no]: Likewise
3853         * grp/Makefile [$(cross-compiling) = no]: Likewise.
3854         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
3855         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
3856         * intl/Makefile [$(cross-compiling) = no]: Likewise.
3857         * io/Makefile [$(cross-compiling) = no]: Likewise.
3858         * libio/Makefile [$(cross-compiling) = no]: Likewise.
3859         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
3860         * misc/Makefile [$(cross-compiling) = no]: Likewise.
3861         * posix/Makefile [$(cross-compiling) = no]: Likewise.
3862         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
3863         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
3864         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
3865         * string/Makefile [$(cross-compiling) = no]: Likewise.
3867         * posix/Makefile ($(objpfx)globtest.out): Pass
3868         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
3869         $(rtld-installed-name).
3870         * posix/globtest.sh (elf_objpfx): Remove variable.
3871         (rtld_installed_name): Likewise.
3872         (library_path): Likewise.
3873         (run_program_prefix): New variable.  Use for running globtest
3874         binary.
3876 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
3877             Joseph Myers  <joseph@codesourcery.com>
3879         * Makeconfig (host-built-program-cmd): New variable.
3880         * elf/Makefile (tst-stackguard1-ARGS): Use
3881         $(host-built-program-cmd).
3882         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
3883         (tst-spawn-ARGS): Likewise.
3884         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
3886 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
3887             Jim Blandy  <jimb@codesourcery.com>
3889         * Makeconfig (run-via-rtld-prefix): New variable.
3890         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
3891         (built-program-cmd): Likewise.
3893 2012-10-22  Andreas Jaeger  <aj@suse.de>
3895         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
3896         __O_RSYNC if it exists, otherwise to O_SYNC.
3898 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
3899             Joseph Myers  <joseph@codesourcery.com>
3901         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
3902         /dev/null.
3903         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
3904         from /dev/null
3905         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
3906         /dev/null.
3908 2012-10-22  Andreas Jaeger  <aj@suse.de>
3910         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
3911         Define always.
3912         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
3914         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3915         bits/fcntl-linux.h.
3917         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
3918         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
3920         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
3921         to __O_LARGEFILE.
3922         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
3923         to __O_LARGEFILE.
3925 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
3926             Joseph Myers  <joseph@codesourcery.com>
3928         * config.make.in (NM): New variable.
3930 2012-10-21  Andreas Jaeger  <aj@suse.de>
3932         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
3933         definitions and declarations that are provided by
3934         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3936 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
3938         [BZ #14683]
3939         * elf/Makefile (tests-static): Add tst-leaks1-static.
3940         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
3941         ($(objpfx)tst-leaks1-static): New rule.
3942         ($(objpfx)tst-leaks1-static-mem): Likewise.
3943         (tst-leaks1-static-ENV): New macro.
3944         * elf/dl-open.c (dl_open_worker): Check the main application
3945         only if SHARED is defined.
3946         * elf/tst-leaks1-static.c: New file.
3948 2012-10-20  Andreas Jaeger  <aj@suse.de>
3950         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
3951         generic values for Linux.
3952         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
3953         and declarations that are provided by <bits/fcntl-linux.h> and
3954         include <bits/fcntl-linux.h>.
3955         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3956         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3958 2012-10-20  Roland McGrath  <roland@hack.frob.com>
3960         * io/fcntl.h: Move include of <bits/types.h> to the top and
3961         include it unconditionally.
3963 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
3965         * wcsmbs/Makefile (tests-ifunc): New variable.
3966         (tests): Add $(tests-ifunc).
3967         * wcsmbs/test-wcschr-ifunc.c: New file.
3968         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3969         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3970         * wcsmbs/test-wcslen-ifunc.c: Likewise.
3971         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3972         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3974         * string/Makefile (tests-ifunc): New variable.
3975         (tests): Add $(tests-ifunc).
3976         * string/test-memccpy.c (TEST_NAME): New macro.
3977         * string/test-memchr.c (TEST_NAME): Likewise.
3978         * string/test-memcmp.c (TEST_NAME): Likewise.
3979         * string/test-memcpy.c (TEST_NAME): Likewise.
3980         * string/test-memmem.c (TEST_NAME): Likewise.
3981         * string/test-memmove.c (TEST_NAME): Likewise.
3982         * string/test-memset.c (TEST_NAME): Likewise.
3983         * string/test-rawmemchr.c (TEST_NAME): Likewise.
3984         * string/test-stpcpy.c (TEST_NAME): Likewise.
3985         * string/test-stpncpy.c (TEST_NAME): Likewise.
3986         * string/test-strcasecmp.c (TEST_NAME): Likewise.
3987         * string/test-strcasestr.c (TEST_NAME): Likewise.
3988         * string/test-strcat.c (TEST_NAME): Likewise.
3989         * string/test-strchr.c (TEST_NAME): Likewise.
3990         * string/test-strcmp.c(TEST_NAME): Likewise.
3991         * string/test-strcpy.c (TEST_NAME): Likewise.
3992         * string/test-strcspn.c (TEST_NAME): Likewise.
3993         * string/test-strlen.c (TEST_NAME): Likewise.
3994         * string/test-strncasecmp.c (TEST_NAME): Likewise.
3995         * string/test-strncmp.c (TEST_NAME): Likewise.
3996         * string/test-strncpy.c (TEST_NAME): Likewise.
3997         * string/test-strnlen.c (TEST_NAME): Likewise.
3998         * string/test-strpbrk.c (TEST_NAME): Likewise.
3999         * string/test-strrchr.c (TEST_NAME): Likewise.
4000         * string/test-strspn.c (TEST_NAME): Likewise.
4001         * string/test-strstr.c (TEST_NAME): Likewise.
4002         * string/test-bcopy-ifunc.c: New file.
4003         * string/test-bzero-ifunc.c: Likewise.
4004         * string/test-memccpy-ifunc.c: Likewise.
4005         * string/test-memchr-ifunc.c: Likewise.
4006         * string/test-memcmp-ifunc.c: Likewise.
4007         * string/test-memcpy-ifunc.c: Likewise.
4008         * string/test-memmem-ifunc.c: Likewise.
4009         * string/test-memmove-ifunc.c: Likewise.
4010         * string/test-mempcpy-ifunc.c: Likewise.
4011         * string/test-memset-ifunc.c: Likewise.
4012         * string/test-rawmemchr-ifunc.c: Likewise.
4013         * string/test-stpcpy-ifunc.c: Likewise.
4014         * string/test-stpncpy-ifunc.c: Likewise.
4015         * string/test-strcasecmp-ifunc.c: Likewise.
4016         * string/test-strcasestr-ifunc.c: Likewise.
4017         * string/test-strcat-ifunc.c: Likewise.
4018         * string/test-strchr-ifunc.c: Likewise.
4019         * string/test-strchrnul-ifunc.c: Likewise.
4020         * string/test-strcmp-ifunc.c: Likewise.
4021         * string/test-strcpy-ifunc.c: Likewise.
4022         * string/test-strcspn-ifunc.c: Likewise.
4023         * string/test-strlen-ifunc.c: Likewise.
4024         * string/test-strncasecmp-ifunc.c: Likewise.
4025         * string/test-strncat-ifunc.c: Likewise.
4026         * string/test-strncmp-ifunc.c: Likewise.
4027         * string/test-strncpy-ifunc.c: Likewise.
4028         * string/test-strnlen-ifunc.c: Likewise.
4029         * string/test-strpbrk-ifunc.c: Likewise.
4030         * string/test-strrchr-ifunc.c: Likewise.
4031         * string/test-strspn-ifunc.c: Likewise.
4032         * string/test-strstr-ifunc.c: Likewise.
4034         * debug/Makefile (tests-ifunc): New variable.
4035         (tests): Add $(tests-ifunc).
4036         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
4037         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
4038         * debug/test-stpcpy_chk-ifunc.c: New file.
4039         * debug/test-strcpy_chk-ifunc.c: Likewise.
4041 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
4043         [BZ #13601]
4044         * elf/dl-load.c (open_verify): Retry read if the entire ELF
4045         header is not read in.
4047 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
4049         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
4050         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
4051         directly.  Pass built executable to script as
4052         $(built-program-cmd).
4053         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
4054         $testprogram without using LD_LIBRARY_PATH and $ldso.
4056         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
4057         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
4058         $(rtld-installed-name).
4059         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
4060         (rtld_installed_name): Likewise.
4061         (library_path): Likewise.
4062         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
4063         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
4064         $(run-program-prefix) to tst-tables.sh.
4065         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
4066         it to run tst-table-from and tst-table-to.
4067         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
4068         Pass it to tst-table.sh.
4069         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
4070         $(run-program-prefix) to tst-gettext.sh.
4071         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
4072         tst-translit.sh.
4073         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
4074         tst-gettext2.sh.
4075         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
4076         to run tst-gettext.
4077         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
4078         to run tst-gettext2.
4079         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
4080         to run tst-translit.
4081         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
4082         $(run-program-prefix) to tst-mtrace.sh.
4083         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
4084         to run tst-mtrace.
4085         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
4086         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
4087         $(rtld-installed-name).
4088         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
4089         (rtld_installed_name): Likewise.
4090         (run_program_prefix): New variable.  Use it to run wordexp-test.
4092         * Makeconfig (ARCH): Remove all definitions.
4093         (machine): Likewise.
4094         [ARCH]: Remove conditional code.
4095         [!objdir]: Give error.
4096         [!objdir] (objpfx): Remove.
4097         [!objdir] (common-objpfx): Likewise.
4098         [!objdir] (common-objdir): Likewise.
4099         * configure.in (config_makefile): Remove.  Hardcode Makefile in
4100         AC_CONFIG_FILES call.
4101         * configure: Regenerated.
4103         [BZ #13888]
4104         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
4105         or TMPDIR.
4106         (testout): Likewise.
4108         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
4109         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
4110         $(rtld-installed-name).
4111         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
4112         (rtld_installed_name): Likwise.
4113         (runit): Remove function.
4114         (run_getconf): New variable,  Use it for running getconf binary.
4116 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
4118         [BZ #14716]
4119         * string/test-memmem.c (check_result): New function.
4120         (do_one_test): Use it.
4121         (check1): New function.
4122         (test_main): Use it.
4124 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
4126         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
4128 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
4130         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
4131         (_G_LSEEK64): Likewise.
4132         (_G_MMAP64): Likewise.
4133         (_G_FSTAT64): Likewise.
4134         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
4135         (_G_LSEEK64): Likewise.
4136         (_G_MMAP64): Likewise.
4137         (_G_FSTAT64): Likewise.
4138         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
4139         unconditional.  Call __mmap64 directly.
4140         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
4141         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
4142         __lseek64 directly.
4143         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
4144         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
4145         __mmap64 directly.
4146         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
4147         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
4148         __lseek64 directly.
4149         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
4150         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
4151         __lseek64 directly.
4152         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
4153         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
4154         __lseek64 directly.
4155         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
4156         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
4157         __fxstat64 directly.
4158         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
4159         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
4160         unconditional.
4161         (freopen64) [!_G_OPEN64]: Remove conditional code.
4162         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
4163         unconditional.
4164         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
4165         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
4166         unconditional.
4167         (ftello64) [!_G_LSEEK64]: Remove conditional code.
4168         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
4169         unconditional.
4170         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4171         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
4172         unconditional.
4173         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
4174         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
4175         unconditional.
4176         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4177         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
4178         unconditional.
4179         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4180         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
4181         unconditional.
4182         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4184 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4186         [BZ #12140]
4187         * manual/memory.texi (Malloc Tunable Parameters): Add note
4188         about free list pointers overwriting some perturb bytes.
4189         Wording suggested by Roland McGrath.
4191 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
4193         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
4194         (lgamma_test): Likewise.
4195         (tgamma_test): Likewise.
4197 2012-10-16  Florian Weimer  <fweimer@redhat.com>
4199         [BZ #14700]
4200         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
4201         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
4203 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
4205         * NEWS: Mention BZ #14716.
4206         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
4207         when removing AVAILABLE1_USES_J macro.
4209 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
4211         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
4212         (__bswap_64): __uint64_t for unsigned 64-bit int.
4214 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
4216         * include/string.h (memmem): Declare libc hidden alias.
4217         * string/memmem.c (memmem): Define libc hidden alias.
4218         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
4219         __read, __close instead of open, read, close.
4221 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
4223         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
4224         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
4225         global and hidden.
4226         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
4227         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
4228         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
4229         Likewise.
4230         (__rawmemchr_sse2): Likewise.
4231         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
4232         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
4233         (__strchr_sse2): Likewise.
4234         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
4235         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
4236         (__strcasecmp_sse2): Likewise.
4237         (__strncasecmp_sse2): Likewise.
4238         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
4239         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
4240         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
4241         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
4242         (__strrchr_sse2): Likewise.
4243         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
4244         ifunc-impl-list.c.
4245         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4246         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4247         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4248         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4249         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4250         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4251         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4252         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4253         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
4254         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
4255         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
4256         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
4257         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
4258         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4259         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4260         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4261         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4262         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4263         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
4264         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
4265         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
4266         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
4267         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
4268         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4269         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
4270         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4271         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4272         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4273         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4274         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4276         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
4277         global and hidden.
4278         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
4279         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
4280         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
4281         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
4282         Likewise.
4283         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
4284         Likewise.
4285         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
4286         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
4287         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
4288         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
4289         ifunc-impl-list.c.
4290         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4291         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4292         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4293         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4294         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4295         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4296         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4297         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4298         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4299         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4300         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4301         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4302         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4303         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
4304         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
4305         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4306         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
4307         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
4308         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4309         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4310         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4311         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4312         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4313         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4314         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4315         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
4316         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
4317         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
4318         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
4319         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4320         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
4321         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4322         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4323         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
4324         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4325         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4326         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4327         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4328         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4329         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4330         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
4332         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
4333         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
4334         * include/ifunc-impl-list.h: New file.
4335         * misc/ifunc-impl-list.c: Likewise.
4336         * misc/Makefile (routines): Add ifunc-impl-list.
4337         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
4338         * string/test-string.h: Include <ifunc-impl-list.h>.
4339         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
4340         impl_array): New variables.
4341         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
4342         are defined.
4343         (test_init): Call __libc_ifunc_impl_list to initialize
4344         func_list if TEST_IFUNC and TEST_NAME are defined.
4346         * string/Makefile (strop-tests): Add bcopy and bzero.
4347         * string/test-bcopy.c: New file.
4348         * string/test-bzero.c: Likewise.
4349         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
4350         defined.
4351         * string/test-memset.c: Support bzero test if TEST_BZERO is
4352         defined.
4353         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
4354         __libc_memmove.
4355         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
4356         __libc_memset.
4357         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
4358         of memset.
4360 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
4362         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
4363         * configure: Regenerated.
4365         * Makeconfig (+link-static-before-libc): Don't include
4366         $(link-static-libc).
4368         * libio/libio.h (_IO_pos_t): Remove.
4370 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
4372         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
4373         McGrath.
4375 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
4377         * crypt/crypt-entry.c: Include fips-private.h.
4378         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
4379         * crypt/md5c-test.c (main): Tolerate disabled MD5.
4380         * sysdeps/unix/sysv/linux/fips-private.h: New file.
4381         * sysdeps/generic/fips-private.h: New file, dummy fallback.
4383 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
4385         * crypt/crypt-private.h: Include stdbool.h.
4386         (_ufc_setup_salt_r): Return bool.
4387         * crypt/crypt-entry.c: Include errno.h.
4388         (__crypt_r): Return NULL with EINVAL for bad salt.
4389         * crypt/crypt_util.c (bad_for_salt): New.
4390         (_ufc_setup_salt_r): Check that salt is long enough and within
4391         the specified alphabet.
4392         * crypt/badsalttest.c: New file.
4393         * crypt/Makefile (tests): Add it.
4394         ($(objpfx)badsalttest): New.
4396 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
4398         * NEWS: Add entry for BZ #14602.
4400 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
4402         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
4403         type-generic.
4404         * math/libm-test.inc: Update comment listing what functions and
4405         macros are tested.
4406         (isgreater_test): New function.
4407         (isgreaterequal_test): Likewise.
4408         (isless_test): Likewise.
4409         (islessequal_test): Likewise.
4410         (islessgreater_test): Likewise.
4411         (isunordered_test): Likewise.
4412         (main): Call the new functions.
4414 2012-10-09  Roland McGrath  <roland@hack.frob.com>
4416         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
4417         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
4418         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
4419         * sysdeps/i386/configure: Regenerated.
4420         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
4421         * sysdeps/mach/configure: Regenerated.
4422         * sysdeps/mach/hurd/configure: Regenerated.
4423         * sysdeps/powerpc/configure: Regenerated.
4424         * sysdeps/powerpc/powerpc32/configure: Regenerated.
4425         * sysdeps/powerpc/powerpc64/configure: Regenerated.
4426         * sysdeps/s390/s390-32/configure: Regenerated.
4427         * sysdeps/s390/s390-64/configure: Regenerated.
4428         * sysdeps/sh/configure: Regenerated.
4429         * sysdeps/sparc/configure: Regenerated.
4430         * sysdeps/unix/sysv/linux/configure: Regenerated.
4431         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4432         * sysdeps/x86_64/configure: Regenerated.
4434         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
4435         defined.  Don't check if MAP is NULL.
4437 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
4439         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
4440         (_G_stat64): Likewise.
4441         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
4442         (_G_stat64): Likewise.
4443         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
4444         instead of struct _G_stat64.
4445         * libio/fileops.c (mmap_remap_check): Likewise.
4446         (decide_maybe_mmap): Likewise.
4447         (_IO_new_file_seekoff): Likewise.
4448         (_IO_file_stat): Likewise.
4449         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
4450         _G_off64_t.
4451         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
4452         instead of struct _G_stat64.
4453         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4455 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
4457         [BZ #14602]
4458         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4459         Replace with ...
4460         (CHECK_EOL): New macro.
4461         (two_way_short_needle): Check beginning of haystack for EOL.  Use
4462         CHECK_EOL.
4463         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4464         Replace with CHECK_EOL.
4465         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4466         Replace with CHECK_EOL.
4468 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
4470         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
4471         type-generic.
4472         * math/libm-test.inc: Update comment listing what functions and
4473         macros are tested.
4474         (finite_test): New function.
4475         (isinf_test): Likewise.
4476         (isnan_test): Likewise.
4477         (fpclassify_test): Test subnormal input.
4478         (isfinite_test): Likewise.
4479         (isnormal_test): Likewise.
4480         (main): Call the new functions.
4482 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
4484         [BZ #14660]
4485         * Makerules (%.dynsym): Force C locale when running
4486         $(OBJDUMP) --dynamic-syms.
4488 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
4490         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
4491         <stdint.h>.
4493 2012-10-06  David S. Miller  <davem@davemloft.net>
4495         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
4496         upper 32-bits of the length value in %o2 since we use branch-on-register
4497         tests which consider the entire 64-bit register.
4499 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
4501         * string/test-strstr.c (check2): Add a test for page boundary.
4503 2012-10-05  David S. Miller  <davem@davemloft.net>
4505         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
4506         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
4507         file.
4508         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4509         sysdep_routines.
4510         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4511         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
4512         and bzero when HWCAP_SPARC_CRYPTO is present.
4514 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
4516         [BZ #14602]
4517         * string/test-strstr.c (check2): New function.
4518         (test_main): Call check2.
4520         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
4521         and bug-strchr1.
4522         * string/bug-strcasestr1.c (do_test): Moved to ...
4523         * string/test-strcasestr.c (check1): Here.  New function.
4524         (do_one_test): Break out result checking code into ...
4525         (check_result): This.  New function.
4526         (do_one_test): Call check_result.
4527         (test_main): Call check1.
4528         * string/bug-strchr1.c (do_test): Moved to ...
4529         * string/test-strchr.c (check1): Here.  New function.
4530         (do_one_test): Break out result checking code into ...
4531         (check_result): This.  New function.
4532         (do_one_test): Call check_result.
4533         (test_main): Call check1.
4534         * string/bug-strstr1.c (main): Moved to ...
4535         * string/test-strchr.c (check1): Here.  New function.
4536         (do_one_test): Break out result checking code into ...
4537         (check_result): This.  New function.
4538         (do_one_test): Call check_result.
4539         (test_main): Call check1.
4540         * string/bug-strcasestr1.c: Removed.
4541         * string/bug-strchr1.c: Likewise.
4542         * string/bug-strstr1.c: Likewise.
4544         * elf/Makefile (dl-routines): Add hwcaps.
4545         * elf/dl-support.c (_dl_important_hwcaps): Removed.
4546         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
4547         (_dl_important_hwcaps): Moved to ...
4548         * elf/dl-hwcaps.c: Here.  New file.
4549         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
4551         [BZ #14557]
4552         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
4553         if IS_IN_rtld isn't defined.
4555         * elf/dl-support.c (_dl_sysinfo_map): New.
4556         Include "get-dynamic-info.h" and "setup-vdso.h".
4557         (_dl_non_dynamic_init): Call setup_vdso.
4558         * elf/dynamic-link.h: Don't include <assert.h>.
4559         (elf_get_dynamic_info): Moved to ...
4560         * elf/get-dynamic-info.h: Here.  New file.
4561         * elf/dynamic-link.h: Include "get-dynamic-info.h".
4562         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
4563         * elf/setup-vdso.h: Here.  New file.
4564         * elf/rtld.c: Include "setup-vdso.h".
4565         (dl_main): Call setup_vdso.
4567 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
4569         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
4570         creal in comment listing functions tested.  List finite, isinf,
4571         isnan, isless, islessequal, isgreater, isgreaterequal,
4572         islessgreater, isunordered, lgamma_r and pow10 as functions and
4573         macros not tested.  Mention which functions not tested are aliases
4574         for other functions.  Fix typo.  Note that signs of NaNs are not
4575         tested.
4577         * scripts/config.guess: Update from config.git.
4578         * scripts/config.sub: Likewise.
4580 2012-10-04  Roland McGrath  <roland@hack.frob.com>
4582         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
4583         * misc/madvise.c (madvise): Renamed to __madvise.
4584         Make madvise a weak alias.
4585         * include/sys/mman.h: Declare __madvise.
4586         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
4587         * sysdeps/unix/syscalls.list
4588         (madvise): Make __madvise the strong name, and madvise a weak alias.
4589         * sysdeps/unix/sysv/linux/syscalls.list
4590         (madvise, mmap): Remove redundant entries.
4591         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
4592         * malloc/malloc.c (mtrim): Likewise.
4593         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
4595 2012-10-03  Roland McGrath  <roland@hack.frob.com>
4597         * sysdeps/mach/hurd/dl-cache.c: File removed.
4598         * config.h.in (USE_LDCONFIG): New #undef.
4599         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
4600         * configure: Regenerated.
4601         * elf/Makefile (dl-routines): Add dl-cache only under
4602         [$(use-ldconfig) = yes].
4603         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
4604         cache on [USE_LDCONFIG].
4605         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
4606         [USE_LDCONFIG].
4607         * elf/rtld.c (dl_main): Likewise.
4609 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
4611         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
4612         _SC_LEVEL4_CACHE_LINESIZE.
4614 2012-10-03  Roland McGrath  <roland@hack.frob.com>
4616         * sysdeps/unix/bsd/confstr.h: File removed.
4618 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
4620         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
4621         sys/sdt-config.h.
4623 2012-10-02  Roland McGrath  <roland@hack.frob.com>
4625         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
4626         Make 'mapoff' field ElfW(Off) rather than off_t.
4628 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
4630         * nscd/Makefile: Remove nscd-cflags and all its users.
4631         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
4632         (CFLAGS-nonlib): Add compiler flags for nscd modules.
4634         [BZ #10631]
4635         * malloc.c (malloc_printerr): Clarify error message.
4637 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
4639         [BZ #14648]
4640         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4641         Set bit_FMA_Usable if FMA is supported.
4642         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
4643         macro.
4644         (bit_FMA4_Usable): Updated.
4645         (index_FMA_Usable): New macro.
4646         (CPUID_FMA): Likewise
4647         (HAS_FMA): Defined with bit_FMA_Usable.
4649 2012-10-01  Roland McGrath  <roland@hack.frob.com>
4651         * bits/types.h (__swblk_t): Type removed.
4652         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
4653         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
4654         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4655         (__SWBLK_T_TYPE): Likewise.
4656         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4657         (__SWBLK_T_TYPE): Likewise.
4658         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4659         (__SWBLK_T_TYPE): Likewise.
4660         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4661         (__SWBLK_T_TYPE): Likewise.
4663 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
4664             Honza Horak <hhorak@redhat.com>
4666         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
4667         (xdr_mapname): Use YPMAXMAP as maxsize.
4668         (xdr_peername): Use YPMAXPEER as maxsize.
4669         (xdr_keydat): Use YPAXRECORD as maxsize.
4670         (xdr_valdat): Use YPMAXRECORD as maxsize.
4672 2012-10-01  Roland McGrath  <roland@hack.frob.com>
4674         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
4676         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
4677         * csu/init-first.c: ... here.
4678         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
4679         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4680         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4681         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4682         * sysdeps/i386/init-first.c: File removed.
4683         * sysdeps/sh/init-first.c: File removed.
4685 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
4687         [BZ #14645]
4688         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
4689         if x * y might underflow to zero and z is zero.
4690         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4691         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4692         * math/libm-test.inc (min_subnorm_value): New variable.
4693         (fma_test): Add more tests.
4694         (fma_test_towardzero): Likewise.
4695         (fma_test_downward): Likewise
4696         (fma_test_upward): Likewise.
4697         (initialize): Set min_subnorm_value.
4699 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
4701         [BZ #14638]
4702         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
4703         0 + 0.
4704         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
4705         mode for addition resulting in exact zero.
4706         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
4707         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
4708         exact 0 + 0.
4709         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4710         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4711         * math/libm-test.inc (fma_test): Add more tests.
4712         (fma_test_towardzero): New function.
4713         (fma_test_downward): Likewise.
4714         (fma_test_upward): Likewise.
4715         (main): Call the new functions.
4717 2012-09-28  David S. Miller  <davem@davemloft.net>
4719         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
4721 2012-09-28  Roland McGrath  <roland@hack.frob.com>
4723         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
4724         instead of SIGALRM.
4726         * sysdeps/gnu/_G_config.h: Moved to ...
4727         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
4728         * sysdeps/mach/hurd/_G_config.h: Moved to ...
4729         * sysdeps/generic/_G_config.h: ... here.
4731         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
4733         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
4735         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
4736         Conditionalize target on [libnss_test1.so-version].
4738         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
4740         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
4741         (elfobjdir): Move out of conditionals.
4743         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
4744         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
4745         (__nss_lookup_function): Conditionalize label remove_from_tree on
4746         [!DO_STATIC_NSS || SHARED], matching its only use.
4748 2012-09-28  David S. Miller  <davem@davemloft.net>
4750         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
4751         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
4752         file.
4753         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4754         sysdep_routines.
4755         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4756         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
4757         when HWCAP_SPARC_CRYPTO is present.
4759 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
4761         * io/tst-mknodat.c: Create a FIFO instead of a socket.
4763 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
4765         [BZ #6530]
4766         * stdio-common/vfprintf.c (process_string_arg): Revert
4767         2000-07-22 change.
4769 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
4771         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
4772         for testcase.
4773         * stdio-common/tst-sprintf.c: Include <locale.h>
4774         (main): Test sprintf's handling of incomplete multibyte
4775         characters.
4777 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
4779         * elf/dl-runtime.c (VERSYMIDX): Removed.
4780         * elf/dl-version.c (VERSYMIDX): Likewise.
4781         * elf/do-rel.h (VERSYMIDX): Likewise.
4782         (VALIDX): Likewise.
4783         * elf/dynamic-link.h (VERSYMIDX): Likewise.
4784         * elf/rtld.c (VALIDX): Likewise.
4785         (ADDRIDX): Likewise.
4786         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
4787         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
4788         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
4789         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
4790         (VALIDX): Likewise.
4791         (ADDRIDX): Likewise.
4793 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
4795         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
4797 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
4799         [BZ #11438]
4800         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
4801         to global scope.
4802         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
4803         addresses are in the same scope as 192.0.2/24.
4804         * posix/gai.conf: Document new scope table defaults.
4806 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4808         [BZ #5298]
4809         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
4810         for ftell.  Compute offsets from write pointers instead.
4811         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4813 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4815         [BZ #14543]
4816         * libio/Makefile (tests): New test case tst-fseek.
4817         * libio/tst-fseek.c: New test case to verify that fseek/ftell
4818         combination works in wide mode.
4819         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
4820         state when the external buffer state changes.
4822 2012-09-27  David S. Miller  <davem@davemloft.net>
4824         [BZ #14376]
4825         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
4826         pass reloc->r_addend in as the 'high' argument to
4827         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
4829         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4831 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
4833         * rt/tst-aio2.c: Include <pthread.h>.
4834         * rt/tst-aio3.c: Likewise.
4836 2012-09-27  Steve Ellcey  <sellcey@mips.com>
4838         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
4840 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
4842         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
4843         contents on [SHARED].
4845 2012-09-26  Marek Polacek  <polacek@redhat.com>
4847         [BZ #14530]
4848         [BZ #13741]
4849         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
4850         for C++ and GCC <4.3 as well as for non GCC compilers.
4852 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
4854         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4856 2012-09-25  Roland McGrath  <roland@hack.frob.com>
4858         * Makefile.in (all, install): Declare with .PHONY.
4859         Reported by Michael Hope <michael.hope@linaro.org>.
4861 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4863         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
4864         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
4865         system header.
4866         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
4867         Likewise.
4868         (sydep_routines): Add the new and the internal functions.
4869         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
4870         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
4871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
4872         (GLIBC_2.17): Add the new function.
4873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4874         (GLIBC_2.17): Likewise.
4875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4876         (GLIBC_2.17): Likewise.
4877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
4878         (GLIBC_2.17): Likewise.
4879         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
4881 2012-09-25  Alan Modra  <amodra@gmail.com>
4883         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
4884         Add release barrier before setting once_control to say
4885         initialisation is done.  Add hints on lwarx.  Use macro in
4886         place of isync.
4887         (clear_once_control): Add release barrier.
4889 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
4891         [BZ #13629]
4892         * math/s_clog.c (__clog): Handle more values close to |z| = 1
4893         specially.
4894         * math/s_clog10.c (__clog10): Likewise.
4895         * math/s_clog10f.c (__clog10f): Likewise.
4896         * math/s_clog10l.c (__clog10l): Likewise.
4897         * math/s_clogf.c (__clogf): Likewise.
4898         * math/s_clogl.c (__clogl): Likewise.
4899         * math/Makefile (libm-calls): Add x2y2m1.
4900         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
4901         (__x2y2m1): Likewise.
4902         (__x2y2m1l): Likewise.
4903         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
4904         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
4905         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4906         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4907         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4908         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
4909         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
4910         * sysdeps/i386/fpu/libm-test-ulps: Update.
4911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4913         [BZ #14621]
4914         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
4915         int as type of variable DEPTH.
4916         (glob): Use size_t instead of int as type of variables NEWCOUNT
4917         and OLD_PATHC.
4919 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4921         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4922         Add s_sincosf-sse2.
4923         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
4924         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
4925         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
4926         macros for using routine as __sincosf_ia32.
4927         Use macro for function declaration and weak_alias.
4928         * sysdeps/i386/fpu/libm-test-ulps: Update.
4930         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
4931         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4933         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
4934         subnormal argument.
4935         * math/s_cexpf.c (__cexpf): Likewise.
4936         * math/s_csinf.c (__csinf): Likewise.
4937         * math/s_csinhf.c (__csinhf): Likewise.
4938         * math/s_ctanf.c (__ctanf): Likewise.
4939         * math/s_ctanhf.c (__ctanhf): Likewise.
4940         * math/s_ccosh.c (__ccoshf): Likewise.
4941         * math/s_cexp.c (__cexpl): Likewise.
4942         * math/s_csin.c (__csin): Likewise.
4943         * math/s_csinh.c (__csinh): Likewise.
4944         * math/s_ctan.c (__ctan): Likewise.
4945         * math/s_ctanh.c (ctanh): Likewise.
4946         * math/s_ccoshl.c (__ccoshl): Likewise.
4947         * math/s_cexpl.c (__cexpl): Likewise.
4948         * math/s_csinl.c (__csinl): Likewise.
4949         * math/s_csinhl.c (__csinhl): Likewise.
4950         * math/s_ctanl.c (__ctanl): Likewise.
4951         * math/s_ctanhl.c (__ctanhl): Likewise.
4953 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
4955         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
4956         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
4957         (_IO_off_t): Define to __off_t, not _G_off_t.
4958         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
4959         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
4960         (_IO_wint_t): Define to wint_t, not _G_wint_t.
4961         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
4962         type of __dummy and __dummy2 fields.
4963         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
4964         (_G_ssize_t): Likewise.
4965         (_G_off_t): Likewise.
4966         (_G_pid_t): Likewise.
4967         (_G_uid_t): Likewise.
4968         (_G_wchar_t): Likewise.
4969         (_G_wint_t): Likewise.
4970         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
4971         (_G_ssize_t): Likewise.
4972         (_G_off_t): Likewise.
4973         (_G_pid_t): Likewise.
4974         (_G_uid_t): Likewise.
4975         (_G_wchar_t): Likewise.
4976         (_G_wint_t): Likewise.
4977         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
4978         (_G_ssize_t): Likewise.
4979         (_G_off_t): Likewise.
4980         (_G_pid_t): Likewise.
4981         (_G_uid_t): Likewise.
4982         (_G_wchar_t): Likewise.
4983         (_G_wint_t): Likewise.
4985 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4987         * malloc/arena.c: Include malloc-sysdep.h.
4988         (shrink_heap): Use check_may_shrink_heap to decide if madvise
4989         is sufficient to shrink the heap or an unmap is needed.
4990         * sysdeps/generic/malloc-sysdep.h: New file.  Define
4991         new function check_may_shrink_heap.
4992         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
4993         new function check_may_shrink_heap.
4995 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4997         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
4998         comments.
5000 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
5002         * catgets/test-gencat.sh: Add "set -e".
5003         * elf/tst-pathopt.sh: Likewise.
5004         * grp/tst_fgetgrent.sh: Likewise.
5005         * iconvdata/run-iconv-test.sh: Likewise.
5006         * intl/tst-gettext.sh: Likewise.
5007         * intl/tst-gettext2.sh: Likewise.
5008         * intl/tst-gettext4.sh: Likewise.
5009         * intl/tst-gettext6.sh: Likewise.
5010         * intl/tst-translit.sh: Likewise.
5011         * io/ftwtest-sh: Likewise.
5012         * libio/test-freopen.sh: Likewise.
5013         * malloc/tst-mtrace.sh: Likewise.
5014         * posix/globtest.sh: Likewise.
5015         * posix/tst-getconf.sh: Likewise.
5016         * posix/wordexp-tst.sh: Likewise.
5017         * stdio-common/tst-printf.sh: Likewise.
5018         * stdio-common/tst-unbputc.sh: Likewise.
5019         * stdlib/tst-fmtmsg.sh: Likewise.
5020         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5021         * catgets/Makefile: Do not specify -e option when running
5022         testsuite shell scripts.
5023         * elf/Makefile: Likewise.
5024         * grp/Makefile: Likewise.
5025         * iconvdata/Makefile: Likewise.
5026         * intl/Makefile: Likewise.
5027         * io/Makefile: Likewise.
5028         * libio/Makefile: Likewise.
5029         * malloc/Makefile: Likewise.
5030         * posix/Makefile: Likewise.
5031         * stdio-common/Makefile: Likewise.
5032         * stdlib/Makefile: Likewise.
5033         * sysdeps/x86_64/Makefile: Likewise.
5035         * io/ftwtest-sh: Add copyright header.
5036         * posix/globtest.sh: Likewise.
5037         * posix/tst-getconf.sh: Likewise.
5038         * posix/wordexp-tst.sh: Likewise.
5039         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5041 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
5043         [BZ #13679]
5044         * Makeconfig (+link): Defined as $(+link-static) if
5045         $(build-shared) isn't yes.
5046         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
5047         isn't yes.
5048         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
5050         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
5052         [BZ #14562]
5053         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
5054         new chunk size with MALLOC_ALIGN_MASK.
5056 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
5058         [BZ #5044]
5059         * stdio-common/printf_fphex.c: Include <stdbool.h> and
5060         <rounding-mode.h>.
5061         (__printf_fphex): Determine rounding using get_rounding_mode and
5062         round_away.
5063         * stdio-common/tst-printf-round.c (struct hex_test): New
5064         structure.
5065         (hex_tests): New variable.
5066         (test_hex_in_one_mode): New function.
5067         (do_test): Also run tests for hex float output.
5069 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
5071         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5072         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5073         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
5074         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5075         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5076         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
5077         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5078         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5080 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
5082         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
5083         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
5084         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
5085         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
5087 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
5089         [BZ #14579]
5090         * elf/rtld.c (dl_main): Limit the check for self loading to normal
5091         mode only.
5092         * elf/tst-rtld-load-self.sh: New test.
5093         * elf/Makefile: Run it.
5095 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
5097         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
5098         (tst-writev-ENV): Remove.
5099         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
5101 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
5103         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
5105 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
5107         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
5108         unconditional.
5109         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
5110         Likewise.
5111         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
5112         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
5113         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
5114         Likewise.
5116 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
5118         [BZ #14587]
5119         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
5120         * config.make.in (have-cpp-asm-debuginfo): Removed.
5121         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
5122         * configure: Regenerated.
5124 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
5126         [BZ #5044]
5127         * stdio-common/printf_fp.c: Include <stdbool.h> and
5128         <rounding-mode.h>.
5129         (___printf_fp): Determine rounding using get_rounding_mode and
5130         round_away.
5131         * stdio-common/tst-printf-round.c: New file.
5132         * stdio-common/Makefile (tests): Add tst-printf-round.
5133         (link-libm): New variable.
5134         ($(objpfx)tst-printf-round): Depend in $(link-libm).
5136 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
5138         [BZ #14576]
5139         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
5140         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
5141         Likewise.
5142         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
5143         Likewise.
5145 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
5147         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
5148         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5149         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5150         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5152 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
5154         [BZ #14518]
5155         * include/rounding-mode.h: New file.
5156         * sysdeps/generic/get-rounding-mode.h: Likewise.
5157         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
5158         * stdlib/strtod_l.c: Include <rounding-mode.h>.
5159         (MAX_VALUE): New macro.
5160         (MIN_VALUE): Likewise.
5161         (overflow_value): New function.
5162         (underflow_value): Likewise.
5163         (round_and_return): Use overflow_value and underflow_value to
5164         determine return values in overflow and underflow cases.  Use
5165         round_away to determine rounding depending on rounding mode.
5166         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
5167         determine return values in overflow and underflow cases.
5168         * stdlib/tst-strtod-round.c: Include <fenv.h>.
5169         (struct test_results): New structure.
5170         (struct test): Use struct test_results to store expected results
5171         for all rounding modes.
5172         (TEST): Include expected results for all rounding modes.
5173         (test_in_one_mode): New function.
5174         (do_test): Use test_in_one_mode to compute and check results.
5175         Check results for all rounding modes.
5176         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
5177         $(link-libm).
5179 2012-12-09  Allan McRae  <allan@archlinux.org>
5181         * sysdeps/i386/fpu/libm-test-ulps: Update
5183 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
5185         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
5186         (_G_int32_t): Likewise.
5187         (_G_uint16_t): Likewise.
5188         (_G_uint32_t): Likewise.
5189         (_G_HAVE_BOOL): Likewise.
5190         (_G_HAVE_ATEXIT): Likewise.
5191         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5192         (_G_HAVE_IO_FILE_OPEN): Likewise.
5193         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
5194         (_G_int32_t): Likewise.
5195         (_G_uint16_t): Likewise.
5196         (_G_uint32_t): Likewise.
5197         (_G_HAVE_BOOL): Likewise.
5198         (_G_HAVE_ATEXIT): Likewise.
5199         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5200         (_G_HAVE_IO_FILE_OPEN): Likewise.
5201         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
5202         (_G_int32_t): Likewise.
5203         (_G_uint16_t): Likewise.
5204         (_G_uint32_t): Likewise.
5205         (_G_HAVE_BOOL): Likewise.
5206         (_G_HAVE_ATEXIT): Likewise.
5207         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5208         (_G_HAVE_IO_FILE_OPEN): Likewise.
5210 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
5212         * csu/libc-tls.c: Update copyright years.
5214 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
5216         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
5217         [!_G_USING_THUNKS]: Remove conditional code.
5218         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
5219         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
5221         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
5222         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
5223         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5224         (_G_VTABLE_LABEL_PREFIX): Likewise.
5225         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5226         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5227         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5228         (_G_VTABLE_LABEL_PREFIX): Likewise.
5229         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5230         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5231         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5232         (_G_VTABLE_LABEL_PREFIX): Likewise.
5233         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5235 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
5237         * libio/Makefile: Include ../Makeconfig before tests.
5238         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
5239         only if $(build-shared) is yes.
5241         * iconv/gconv_db.c: Update copyright years.
5243 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5245         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
5246         unwind info if defined PIC. Fix special cases description.
5247         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
5249         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
5250         DP_HI_MASK entry.
5251         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
5253 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
5255         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
5257         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
5258         is NULL.
5260         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
5261         (LDLIBS-tst-chk4): This.
5262         (LDFLAGS-tst-chk5): Renamed to ...
5263         (LDLIBS-tst-chk5): This.
5264         (LDFLAGS-tst-chk6): Renamed to ...
5265         (LDLIBS-tst-chk6): This.
5266         (LDFLAGS-tst-lfschk4): Renamed to ...
5267         (LDLIBS-tst-lfschk4): This.
5268         (LDFLAGS-tst-lfschk5): Renamed to ...
5269         (LDLIBS-tst-lfschk5): This.
5270         (LDFLAGS-tst-lfschk6): Renamed to ...
5271         (LDLIBS-tst-lfschk6): This.
5273         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
5274         on $(common-objpfx)soversions.mk.
5276 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
5278         [BZ #10014]
5279         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
5280         example host name.
5282 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
5284         * malloc/arena.c (arena_get_retry): New function that gets
5285         another arena for the caller to try its request on.
5286         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
5287         current arena cannot fulfill the request.
5288         (__libc_memalign): Likewise.
5289         (__libc_memalign): Likewise.
5290         (__libc_pvalloc): Likewise.
5291         (__libc_calloc): Likewise.
5293 2012-09-05  John Tobey  <john.tobey@gmail.com>
5295         [BZ #13542]
5296         * manual/arith.texi (Operations on Complex): Fix description
5297         of carg branch cut.
5299 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
5301         [BZ #10014]
5302         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
5303         host name.
5305         [BZ #10038]
5306         * manual/memory.texi (Memory): Make order of menu items match
5307         order of sections.
5309 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
5311         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
5312         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
5313         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
5315 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
5317         * csu/libc-tls.c (static_dtv): Renamed to ...
5318         (_dl_static_dtv): This.  Make it global.
5319         (_dl_initial_dtv): Removed.
5320         (__libc_setup_tls): Updated.
5321         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
5322         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
5323         DL_INITIAL_DTV.
5325 2012-09-06  Petr Machata  <pmachata@redhat.com>
5327         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
5328         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
5329         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
5330         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
5332 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
5334         [BZ #14545]
5335         * csu/libc-tls.c (_dl_initial_dtv): New variable.
5336         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
5337         freeing dtv[-1].
5339 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
5341         [BZ #14544]
5342         * Makeconfig (link-static-before-libc): Replace $(+prector)
5343         with $(+prectorT).
5344         (link-static-after-libc): Replace $(+postctor) with
5345         $(+postctorT).
5346         (link-bounded): Replace $(+prector)/$(+postctor) with
5347         $(+prectorT)/$(+postctorT).
5348         (+prectorT): New macro.
5349         (+postctorT): Likewise.
5351 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
5353         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
5354         (round_str): Handle values above the maximum for IBM long double
5355         as inexact.
5356         * stdlib/tst-strtod-round.c (tests): Regenerated.
5358 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5360         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
5361         assembler flag.
5362         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
5363         zarch_nohighgprs around the zarch optimized routines.
5364         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5365         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5366         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
5367         for zarch.
5369 2012-09-05  David S. Miller  <davem@davemloft.net>
5371         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5373         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
5374         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
5375         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
5376         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5377         entries.
5379 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
5381         * malloc/arena.c: Fold copyright years.
5382         * malloc/mcheck.c, malloc/memusage.c: Likewise.
5384 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
5386         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
5388 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
5390         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
5392 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
5394         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
5395         change internal state upon failure.
5397 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
5399         * malloc/mcheck.c (mcheck_check_all): Fix typo.
5400         * malloc/memusage.c (mmap): Likewise.
5401         (mmap64, mremap): Likewise.  Adjust name in comment.
5403 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5405         * libio/fileops.c: Fix typos in comments.
5406         * libio/oldfileops.c: Likewise.
5407         * libio/wfileops.c: Likewise.
5409 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5411         [BZ #1349]
5412         * malloc/Makefile (tests): Add tst-malloc-usable test case.
5413         (tst-malloc-usable-ENV): Set environment for test case.
5414         * malloc/hooks.c (malloc_check_get_size): New function to get
5415         requested size.
5416         * malloc/malloc.c (musable): Use malloc_check_get_size.
5417         * malloc/tst-malloc-usable.c: New test case.
5419 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
5421         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
5423 2012-09-05  Allan McRae  <allan@archlinux.org>
5425         [BZ #13966]
5426         * configure.in (CXX_SYSINCLUDES): Use compiler output to
5427         determine header location.
5428         * configure: Regenerated.
5430 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
5432         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
5433         float format.
5434         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
5435         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
5436         format.
5437         (test): Regenerate.
5439 2012-09-04  David S. Miller  <davem@davemloft.net>
5441         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
5442         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
5443         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
5445 2012-09-04  Florian Weimer  <fweimer@redhat.com>
5447         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
5448         failures.
5450         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
5452 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
5454         [BZ #9914]
5455         * libio/iogetdelim.c: Include <limits.h>.
5456         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
5457         + len + 1 would overflow.
5459 2012-09-03  Andreas Jaeger  <aj@suse.de>
5461         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5462         * sysdeps/i386/fpu/libm-test-ulps: Update.
5464 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5466         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5467         Add s_sinf-sse2, s_conf-sse2.
5469         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
5470         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
5471         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
5472         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
5474         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
5475         for using routine as __sinf_ia32.
5476         Use macro for function declaration and weak_alias.
5477         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
5478         for using routine as __cosf_ia32.
5479         Use macro for function declaration and weak_alias.
5481         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
5482         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
5484         * sysdeps/x86_64/fpu/s_sinf.S: New file.
5485         * sysdeps/x86_64/fpu/s_cosf.S: New file.
5486         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5488         * math/libm-test.inc (cos_test): Add more test cases.
5489         (sin_test): Likewise.
5490         (sincos_test): Likewise.
5492 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5494         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5495         (IFUNC_RESOLVE): Make pointers to the specialized implementations
5496         hidden.
5497         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5499 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
5501         [BZ #14538]
5502         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
5503         first element of the GOT.
5504         (elf_machine_load_address): Return the difference between
5505         the runtime address of _DYNAMIC and elf_machine_dynamic ().
5507 2012-09-01  Allan McRae  <allan@archlinux.org>
5509         [BZ #13412]
5510         * configure.in (AWK): Require gawk version 3.0 or later.
5511         * configure: Regenerated.
5513 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
5515         * sysdeps/unix/sysv/linux/kernel-features.h
5516         (__ASSUME_POSIX_CPU_TIMERS): Remove.
5517         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5518         [__NR_clock_getres]: Make code unconditional.
5519         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
5520         (clock_getcpuclockid): Remove code left unreachable by removal of
5521         conditionals.
5522         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
5523         code unconditional.
5524         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5525         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5526         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
5527         Make code unconditional.
5528         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5529         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5530         * sysdeps/unix/sysv/linux/clock_settime.c
5531         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
5532         conditional code.
5533         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
5534         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5536 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
5538         [BZ #14476]
5539         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
5540         scripts/test-installation.pl.
5542         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
5543         and $ld_so_version if it is set.
5545 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5547         [BZ #14516]
5548         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
5549         failure if reading from procfs failed.
5550         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
5552 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
5554         * sysdeps/unix/sysv/linux/kernel-features.h
5555         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
5556         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5557         Remove conditional code.
5558         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5559         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
5560         Remove conditional code.
5561         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5562         * sysdeps/unix/sysv/linux/i386/fxstat.c
5563         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5564         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5565         * sysdeps/unix/sysv/linux/i386/fxstatat.c
5566         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5567         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5568         * sysdeps/unix/sysv/linux/i386/lxstat.c
5569         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5570         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5571         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
5572         Remove conditional code.
5573         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5574         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5575         Remove conditional code.
5576         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5577         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
5578         <kernel-features.h>.
5579         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
5580         Remove.
5581         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
5582         Remove conditional code.
5583         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5584         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
5585         Remove conditional.
5587 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
5589         [BZ #5400]
5590         * NEWS: Add fixed bug number.
5592 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
5594         [BZ #14519]
5595         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
5596         underflowing exponent in case of negative sign.
5597         * stdlib/tst-strtod-round-data: Add more tests.
5598         * stdlib/tst-strtod-round.c (tests): Regenerated.
5600         [BZ #3479]
5601         * stdlib/strtod_l.c (NDIG): Remove.
5602         (HEXNDIG): Likewise.
5603         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
5604         smallest representable value.
5605         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
5606         lie within an exact representation of 1/2 ulp of the result.
5607         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
5608         unconditionally.
5609         (TENS_P9_IDX): Define unconditionally.
5610         (TENS_P9_SIZE): Likewise.
5611         (TENS_P10_IDX): Likewise.
5612         (TENS_P10_SIZE): Likewise.
5613         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
5614         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
5615         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
5616         entries for 10^2^13 and 10^2^14.
5617         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
5618         (TENS_P13_IDX): Define.
5619         (TENS_P13_SIZE): Likewise.
5620         (TENS_P14_IDX): Likewise.
5621         (TENS_P14_SIZE): Likewise.
5622         (_fpioconst_pow10): Change array size to
5623         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
5624         unconditional.
5625         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
5626         1024]: Add entries for 10^2^13 and 10^2^14.
5627         [LAST_POW10 > _LAST_POW10]: Remove #error.
5628         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
5629         (_fpioconst_pow10): Change array size to
5630         FPIOCONST_POW10_ARRAY_SIZE.
5631         * stdlib/gen-fpioconst.c: New file.
5632         * stdlib/gen-tst-strtod-round.c: Likewise.
5633         * stdlib/tst-strtod-round-data: Likewise.
5634         * stdlib/tst-strtod-round.c: Likewise.
5635         * stdlib/Makefile (tests): Add tst-strtod-round.
5637         [BZ #14459]
5638         * stdlib/strtod_l.c: Include <stdint.h>.
5639         (NDEBUG): Do not define.
5640         (round_and_return): Change EXPONENT parameter to type intmax_t.
5641         Rearrange calculations to avoid internal overflow possibilities.
5642         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
5643         Rearrange calculations to avoid internal overflow possibilities.
5644         Assert that number fits inside MPNSIZE limbs.
5645         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
5646         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
5647         calculations and add assertions to avoid internal overflow
5648         possibilities.  Add casts to avoid signed/unsigned operations.
5649         * stdlib/tst-strtod-overflow.c: New file.
5650         * stdlib/Makefile (tests): Add tst-strtod-overflow.
5652 2012-08-25  Marek Polacek  <polacek@redhat.com>
5654         * time/time.h: Fix some typos in comments.
5656 2012-08-23  Roland McGrath  <roland@hack.frob.com>
5658         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
5659         * posix/tst-rfc3484-2.c: Likewise.
5660         * posix/tst-rfc3484-3.c: Likewise.
5662 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
5664         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
5665         (EF_ARM_ABI_FLOAT_HARD): Likewise.
5667 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
5669         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
5670         #include of fxstatat64.c.
5672 2012-08-22  Roland McGrath  <roland@hack.frob.com>
5674         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
5675         * shadow/getspent_r.c: Likewise.
5676         * shadow/getspnam.c: Likewise.
5677         * shadow/getspnam_r.c: Likewise.
5678         * gshadow/getsgent.c: Likewise.
5679         * gshadow/getsgent_r.c: Likewise.
5680         * gshadow/getsgnam.c: Likewise.
5681         * gshadow/getsgnam_r.c: Likewise.
5682         * inet/getnetbyad.c: Likewise.
5683         * inet/getnetbyad_r.c: Likewise.
5684         * inet/getnetbynm.c: Likewise.
5685         * inet/getnetbynm_r.c: Likewise.
5686         * inet/getnetent.c: Likewise.
5687         * inet/getnetent_r.c: Likewise.
5688         * inet/getproto.c: Likewise.
5689         * inet/getproto_r.c: Likewise.
5690         * inet/getprtent.c: Likewise.
5691         * inet/getprtent_r.c: Likewise.
5692         * inet/getprtname.c: Likewise.
5693         * inet/getprtname_r.c: Likewise.
5694         * inet/getrpcbyname.c: Likewise.
5695         * inet/getrpcbyname_r.c: Likewise.
5696         * inet/getrpcbynumber.c: Likewise.
5697         * inet/getrpcbynumber_r.c: Likewise.
5698         * inet/getrpcent.c: Likewise.
5699         * inet/getrpcent_r.c: Likewise.
5700         * inet/getaliasent.c: Likewise.
5701         * inet/getaliasent_r.c: Likewise.
5702         * inet/getaliasname.c: Likewise.
5703         * inet/getaliasname_r.c: Likewise.
5704         * nscd/getgrgid_r.c: Likewise.
5705         * nscd/getgrnam_r.c: Likewise.
5706         * nscd/gethstbyad_r.c: Likewise.
5707         * nscd/gethstbynm3_r.c: Likewise.
5708         * nscd/getpwnam_r.c: Likewise.
5709         * nscd/getpwuid_r.c: Likewise.
5710         * nscd/getsrvbynm_r.c: Likewise.
5711         * nscd/getsrvbypt_r.c: Likewise.
5712         * nscd/gai.c: Likewise.
5714         * configure.in (build_nscd): New substituted variable, set
5715         by --disable-build-nscd and defaults to $use_nscd.
5716         * configure: Regenerated.
5717         * config.make.in (build-nscd): New substituted variable.
5718         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
5719         Change conditional to require [$(build-nscd) = yes] as well.
5720         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
5722         [BZ# 13696]
5723         * configure.in (use_nscd): New substituted variable, set by
5724         --disable-nscd.  If enabled, define USE_NSCD.
5725         * configure: Regenerated.
5726         * config.h.in: Add USE_NSCD.
5727         * config.make.in (use-nscd): New substituted variable.
5728         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
5729         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
5730         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
5731         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
5732         (CFLAGS-getgrnam_r.c): Likewise.
5733         (CFLAGS-initgroups.c): Likewise.
5734         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
5735         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
5736         Variables removed.
5737         * inet/getnetgrent_r.c
5738         (nscd_setnetgrent): New function, broken out of ...
5739         (setnetgrent): ... here.  Call it.
5740         (innetgr): Conditionalize nscd bits on [USE_NSCD].
5741         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
5742         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
5743         * nscd/Makefile (routines, aux): Move definitions after include of
5744         Makeconfig.  Conditionalize on [$(use-nscd) != no].
5745         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
5746         Conditionalize on [USE_NSCD].
5747         (is_nscd, nscd_init_cb): Likewise.
5748         (nss_load_library): Conditionalize init callback on [USE_NSCD].
5749         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
5750         * nss/nss_db/db-init.c: Likewise.
5751         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
5752         [USE_NSCD].
5753         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
5754         (make_request): Use it.
5755         (cache_valid_p): New function.
5756         (__check_pf): Use it.
5757         * NEWS: Add item for --disable-nscd.
5759 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
5761         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
5762         to support sed >= 4.2.1-20-ga9bf076.
5763         * configure: Regenerated.
5765 2012-08-22  Roland McGrath  <roland@hack.frob.com>
5767         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
5768         Conditionalize whole body on [IREL].
5770 2012-08-22  Jeff Law <law@redhat.com>
5772         [BZ #14505]
5773         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
5774         if the family is PF_UNSPEC.
5776 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
5778         * Makerules (lib-version): Rename from V.
5779         (install-lib-nosubdir): Change V to lib-version.
5781 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
5783         [BZ #14252]
5784         * powerpc32/power6/wcschr.c: New file.
5785         * powerpc32/power6/wcscpy.c: New file.
5786         * powerpc32/power6/wcsrchr.c: New file.
5787         * powerpc64/power6/wcschr.c: New file.
5788         * powerpc64/power6/wcscpy.c: New file.
5789         * powerpc64/power6/wcsrchr.c: New file.
5791 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
5793         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
5794         (two_way_short_needle): Use it.
5795         * string/strstr.c (AVAILABLE1_USES_J): Define.
5796         * string/strcasestr.c: Likewise.
5798         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
5799         array references.
5800         * string/strcasestr.c (TOLOWER): Make side-effect safe.
5802         [BZ #11607]
5803         * NEWS: Add an entry.
5804         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
5805         define their defaults.
5806         (two_way_short_needle): Detect end-of-string on-the-fly.
5807         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
5808         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
5809         * string/bug-strcasestr1.c: New test.
5810         * string/Makefile: Run it.
5812 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
5814         [BZ #11607]
5815         * string/str-two-way.h (two_way_short_needle): Optimize matching of
5816         the first character.
5818 2012-08-21  Roland McGrath  <roland@hack.frob.com>
5820         * csu/elf-init.c (__libc_csu_irel): Function removed.
5821         * csu/libc-start.c (apply_irel): New function.
5822         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
5824 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
5826         * sysdeps/unix/sysv/linux/kernel-features.h
5827         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
5828         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5829         <kernel-features.h>.
5830         [__NR_fadvise64_64]: Make code unconditional.
5831         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
5832         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5833         !__NR_fadvise64_64)]: Likewise.
5834         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5835         !__NR_fadvise64_64))]: Likewise.
5836         [__NR_fadvise64]: Make code unconditional.
5837         [!__NR_fadvise64]: Remove conditional code.
5838         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
5839         <kernel-features.h>.
5840         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5841         unconditional.
5842         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5843         conditional code.
5844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
5845         not include <kernel-features.h>.
5846         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5847         unconditional.
5848         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5849         conditional code.
5850         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
5851         include <kernel-features.h>.
5852         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5853         unconditional.
5854         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5855         conditional code.
5857 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
5859         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
5860         slight instruction rearrangements per scrollpipe analysis.
5861         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5863 2012-08-20  Roland McGrath  <roland@hack.frob.com>
5865         * manual/syslog.texi (syslog; vsyslog, closelog):
5866         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
5867         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
5869         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
5870         DSOCAPS to match condition on defining it.
5872 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
5874         * sysdeps/unix/sysv/linux/kernel-features.h
5875         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
5876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
5877         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5878         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
5880         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5881         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
5883         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5884         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5886         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
5887         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
5889         * sysdeps/unix/sysv/linux/kernel-features.h
5890         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
5891         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
5892         unconditional.
5893         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5894         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
5895         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5896         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5897         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
5898         Make code unconditional.
5899         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5900         (__mmap64) [!__NR_mmap2]: Likewise.
5901         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
5902         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5903         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5904         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
5905         [__NR_mmap2]: Make code unconditional.
5906         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5907         (__mmap64) [!__NR_mmap2]: Likewise.
5909 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5911         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
5913 2012-08-18  Andreas Jaeger  <aj@suse.de>
5915         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
5917 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
5919         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
5920         * include/unistd.h (__have_sock_cloexec): Likewise.
5921         (__have_pipe2): Likewise.
5922         (__have_dup3): Likewise.
5924 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
5926         [BZ #9685]
5927         * include/unistd.h (__have_pipe2): Change define into an extern int.
5928         (__have_dup3): Likewise.
5929         * socket/have_sock_cloexec.c: Include fcntl.h.
5930         (__have_pipe2): New variable.
5931         (__have_dup3): Likewise.
5933 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
5935         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
5937 2012-08-17  Marek Polacek  <polacek@redhat.com>
5939         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
5940         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
5942 2012-08-17  Roland McGrath  <roland@hack.frob.com>
5944         * configure.in: Add AC_SUBST for sysheaders.
5945         * configure: Regenerated.
5946         * config.make.in (sysheaders): New substituted variable.
5948         * sysdeps/unix/mkfifo.c: Moved ...
5949         * sysdeps/posix/mkfifo.c: ... here.
5950         * sysdeps/unix/mkfifoat.c: Moved ...
5951         * sysdeps/posix/mkfifoat.c: ... here.
5953         * sysdeps/unix/utime.c: Moved ...
5954         * sysdeps/posix/utime.c: ... here.
5956         * sysdeps/unix/time.c: Moved ...
5957         * sysdeps/posix/time.c: ... here.
5958         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
5959         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
5961         * sysdeps/unix/nice.c: Moved ...
5962         * sysdeps/posix/nice.c: ... here.
5964         * sysdeps/unix/alarm.c: Moved ...
5965         * sysdeps/posix/alarm.c: ... here.
5967         * intl/Makefile ($(codeset_mo)): Depend on the input file.
5969 2012-08-17  Jeff Law <law@redhat.com>
5971         * intl/Makefile (codeset_mo): New variable.
5972         ($(codeset_mo)): New target.
5973         (tst-codeset.out): Depend on that.  Remove explicit rule.
5974         (tst-gettext3.out, tst-gettext5.out): Likewise.
5975         (LOCPATH-ENV, tst-codeset-ENV): New variables.
5976         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
5977         * intl/tst-codeset.sh: Remove.
5978         * intl/tst-gettext3.sh: Likewise.
5979         * intl/tst-gettext5.sh: Likewise.
5981 2012-08-17  Roland McGrath  <roland@hack.frob.com>
5983         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
5984         * sysdeps/unix/syscalls.list: ... here.
5986         * sysdeps/posix/getaddrinfo.c
5987         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
5988         (gaiconf_init, gaiconf_reload): Use them.
5989         [!_STATBUF_ST_NSEC]
5990         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
5991         Define using time_t rather than struct timespec.
5993         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
5994         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
5995         Macros removed.
5996         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
5997         [!NO_THREADS].
5998         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
5999         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
6000         Likewise.
6002         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
6003         __libc_cleanup_push argument.
6005         * bits/param.h: New file.
6006         * misc/sys/param.h: New file.
6007         * include/sys/param.h: New file.
6008         * misc/Makefile (headers): Add bits/param.h.
6009         * sysdeps/generic/sys/param.h: File removed.
6010         * sysdeps/unix/sysv/linux/bits/param.h: New file.
6011         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
6012         * sysdeps/mach/hurd/bits/param.h: New file.
6013         * sysdeps/mach/hurd/sys/param.h: File removed.
6015         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
6016         last change.
6018         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
6019         [_IO_MTSAFE_IO].
6020         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
6021         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
6022         New macros.
6024         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
6025         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
6026         rather than -D_IO_MTSAFE_IO conditionally.
6027         * stdio-common/Makefile (CPPFLAGS): Likewise.
6028         * wcsmbs/Makefile (CPPFLAGS): Likewise.
6029         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
6030         Use $(libio-mtsafe).
6031         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
6032         of -D_IO_MTSAFE_IO.
6033         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
6034         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
6035         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
6036         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
6037         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
6038         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
6039         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
6040         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
6041         (CFLAGS-fread_u_chk.c): Likewise.
6042         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
6043         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
6044         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
6045         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
6046         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
6047         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
6048         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
6049         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
6050         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
6052         * libio/Makefile: Test [$(libc-reentrant) = yes]
6053         instead of [$(filter %REENTRANT, $(defines)) nonempty].
6055         * Makeconfig
6056         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
6057         * sysdeps/pthread/configure: File removed.
6058         * sysdeps/pthread/Makeconfig: New file.
6059         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
6060         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
6062 2012-08-16  Gary Benson  <gbenson@redhat.com>
6064         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
6065         unmapping the first object in a namespace.
6067 2012-08-16  Roland McGrath  <roland@hack.frob.com>
6069         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
6070         (__internal_setnetgrent): ... this.  Add internal_function to
6071         definition.  Add libc_hidden_def.
6072         (setnetgrent): Update caller.
6073         (internal_endnetgrent): Renamed to ...
6074         (__internal_endnetgrent): ... this.  Add internal_function to
6075         definition.  Add libc_hidden_def.
6076         (endnetgrent): Update caller.
6077         (internal_getnetgrent_r): Renamed to ...
6078         (__internal_getnetgrent_r): ... this.  Add internal_function to
6079         definition.  Add libc_hidden_def.
6080         (__getnetgrent_r): Update caller.
6081         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
6083 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
6085         * stdlib/longlong.h: Update from GCC.
6087 2012-08-16  Roland McGrath  <roland@hack.frob.com>
6089         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
6090         on _QL, which is set by umul_ppmm but never used.
6091         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
6092         variables, which are set by GMP macros but never used.
6093         * stdio-common/_itowa.c (_itowa): Likewise.
6094         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
6095         * stdlib/mod_1.c (mpn_mod_1): Likewise.
6097 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
6099         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
6100         struct La_sh_regs is not constant.
6101         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
6102         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
6103         and struct La_sparc64_regs are not constant.
6105 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
6107         * sysdeps/unix/sysv/linux/kernel-features.h
6108         (__ASSUME_POSIX_TIMERS): Remove.
6109         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6110         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6111         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
6112         Make code unconditional.
6113         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6114         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
6115         Make code unconditional.
6116         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6117         * sysdeps/unix/sysv/linux/clock_nanosleep.c
6118         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
6119         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6120         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
6121         Make code unconditional.
6122         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6123         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
6124         (__libc_missing_posix_timers): Remove.
6126 2012-08-15  Roland McGrath  <roland@hack.frob.com>
6128         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
6129         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
6131         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
6133         * elf/dl-sym.c: Include <stdlib.h>.
6135         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
6136         constants, which avoids warnings in 32-bit builds.
6138         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
6139         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
6141         * misc/lseek.c: File moved to ...
6142         * io/lseek.c: ... here.
6144         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
6146         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
6147         shifting LEN more than 31 bits at once.
6149 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6151         [BZ #14195]
6152         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
6153         segmentation fault for a case of two empty input strings.
6154         * string/test-strncasecmp.c (check1): Renamed to...
6155         (bz12205): ...this.
6156         (bz14195): Add new testcase for two empty input strings and N > 0.
6157         (test_main): Call new testcase, adapt for renamed function.
6159 2012-08-15  Andreas Jaeger  <aj@suse.de>
6161         [BZ #14090]
6162         * crypt/md5test2.c: New test, based on test supplied by Serge
6163         Belyshev <belyshev@depni.sinp.msu.ru>.
6164         * crypt/Makefile (xtests): Add md5test-giant..
6165         * crypt/Makefile ($(objpfx)md5test-giant): Add.
6167 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
6169         [BZ #14090]
6170         * crypt/md5.c (md5_process_block): Don't assume the buffer
6171         length is less than 2**32.
6172         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
6173         length is less than 2**64.
6175 2012-08-15  Roland McGrath  <roland@hack.frob.com>
6177         * string/str-two-way.h: Include <sys/param.h>.
6178         (MAX): Macro removed.
6180         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
6181         Move #define and #undef of memmove to just before and after
6182         including <string.h>.
6184         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
6185         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
6186         and after including <string.h>.  Move declarations of
6187         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
6188         to before #include "string/memmove.c".
6190         * include/dirent.h: Declare __getdirentries.
6192         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
6193         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
6195 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
6197         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
6198         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
6199         * sysdeps/i386/configure: Regenerated.
6200         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
6201         STABS_CURRENT_FILE, and STABS_FUN.
6202         (END): Remove call to STABS_FUN_END.
6203         (STABS_CURRENT_FILE1): Delete.
6204         (STABS_CURRENT_FILE): Likewise.
6205         (STABS_FUN): Likewise.
6206         (STABS_FUN_END): Likewise.
6207         (STABS_FUN2): Likewise.
6208         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
6209         * sysdeps/x86_64/configure: Regenerated.
6211 2012-08-14  Roland McGrath  <roland@hack.frob.com>
6213         * elf/dl-open.c: Include <atomic.h>.
6214         * elf/dl-lookup.c: Likewise.
6216 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
6218         * sysdeps/unix/sysv/linux/kernel-features.h
6219         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
6220         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
6221         unconditionally.
6222         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
6223         unconditionally.
6224         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
6225         condition on __ASSUME_CLONE_THREAD_FLAGS.
6227 2012-08-14  Andreas Jaeger  <aj@suse.de>
6229         * sysdeps/i386/fpu/libm-test-ulps: Update.
6231 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
6233         * include/atomic.h (atomic_exchange_and_add): Split into ...
6234         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
6235         New atomic macros.
6237 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
6239         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6241 2012-08-13  Jeff Law <law@redhat.com>
6243         * manual/stdio.texi (snprintf): Clarify handling of the trailing
6244         null byte in the output string.
6246 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
6248         * sysdeps/unix/sysv/linux/kernel-features.h
6249         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
6250         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
6251         (__ASSUME_ARG_MAX_STACK_BASED): Define.
6252         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6253         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
6254         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
6255         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
6257 2012-08-09  Jeff Law <law@redhat.com>
6259         [BZ #13939]
6260         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
6261         When avoid_arena is set, don't retry in the that arena.  Pick the
6262         next one, whatever it might be.
6263         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
6264         (arena_lock): Pass in new parameter to arena_get2.
6265         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
6266         arena_get2.
6267         (__libc_malloc): Unify retrying after main arena failure with
6268         __libc_memalign version.
6269         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
6271 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
6273         [BZ #14166]
6274         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
6275         to __redirect_strstr.
6276         (__strstr_sse42): Use typeof __redirect_strstr.
6277         (__strstr_ia32): Likewise.
6278         (__libc_strstr): New prototype.
6279         (strstr): Renamed to ...
6280         (__libc_strstr): This.
6281         (strstr): New strong alias of __libc_strstr.
6282         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6283         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
6284         __redirect_time.
6285         Include <time.h>.
6286         (__libc_time): New prototype.
6287         (time_ifunc): Replace time with __libc_time.
6288         (time): New strong alias and hidden definition of __libc_time.
6289         (__GI_time): Remove strong alias.
6290         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
6291         Include <stddef.h>.
6292         (memmove): Redefined to __redirect_memmove.
6293         (__memmove_sse2): Use typeof __redirect_memmove.
6294         (__memmove_ssse3): Likewise.
6295         (__memmove_ssse3_back): Likewise.
6296         (__libc_memmove): New prototype.
6297         (memmove): Renamed to ...
6298         (__libc_memmove): This.
6299         (memmove): New strong alias of __libc_memmove.
6301 2012-08-08  Mark Salter  <msalter@redhat.com>
6303         * elf/elf.h
6304         (R_MN10300_TLS_GD): Define.
6305         (R_MN10300_TLS_LD): Likewise.
6306         (R_MN10300_TLS_LDO): Likewise.
6307         (R_MN10300_TLS_GOTIE): Likewise.
6308         (R_MN10300_TLS_IE): Likewise.
6309         (R_MN10300_TLS_LE): Likewise.
6310         (R_MN10300_TLS_DTPMOD): Likewise.
6311         (R_MN10300_TLS_DTPOFF): Likewise.
6312         (R_MN10300_TLS_TPOFF): Likewise.
6313         (R_MN10300_SYM_DIFF): Likewise.
6314         (R_MN10300_ALIGN): Likewise.
6315         (R_MN10300_NUM): Update.
6317 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
6319         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
6320         Remove.
6322 2012-08-08  Roland McGrath  <roland@hack.frob.com>
6324         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
6326         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
6327         sysdeps/unix -> sysdeps/posix move.
6328         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6330 2012-08-07      Allan McRae     <allan@archlinux.org>
6332         [BZ #14303]
6333         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
6334         (SUNOS_CPP): Likewise.
6335         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
6336         not found.
6337         (open_input): Call CPP using execvp.
6339 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
6341         * sysdeps/unix/sysv/linux/kernel-features.h
6342         (__ASSUME_PROT_GROWSUPDOWN): Remove.
6343         (__ASSUME_NO_CLONE_DETACHED): Likewise.
6344         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6345         (__ASSUME_WAITID_SYSCALL): Likewise.
6346         * sysdeps/unix/sysv/linux/dl-execstack.c
6347         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
6348         code unconditional.
6349         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
6350         conditional code.
6351         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
6352         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
6353         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
6354         code.
6355         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
6356         unconditional.
6357         [__ASSUME_WAITID_SYSCALL]: Likewise.
6358         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
6360 2012-08-07  Roland McGrath  <roland@hack.frob.com>
6362         * sysdeps/unix/closedir.c: Renamed to ...
6363         * sysdeps/posix/closedir.c: ... here.
6364         * sysdeps/unix/dirfd.c: Renamed to ...
6365         * sysdeps/posix/dirfd.c: ... here.
6366         * sysdeps/unix/dirstream.h: Renamed to ...
6367         * sysdeps/posix/dirstream.h: ... here.
6368         * sysdeps/unix/fdopendir.c: Renamed to ...
6369         * sysdeps/posix/fdopendir.c: ... here.
6370         * sysdeps/unix/opendir.c: Renamed to ...
6371         * sysdeps/posix/opendir.c: ... here.
6372         * sysdeps/unix/readdir.c: Renamed to ...
6373         * sysdeps/posix/readdir.c: ... here.
6374         * sysdeps/unix/readdir_r.c: Renamed to ...
6375         * sysdeps/posix/readdir_r.c: ... here.
6376         * sysdeps/unix/rewinddir.c: Renamed to ...
6377         * sysdeps/posix/rewinddir.c: ... here.
6378         * sysdeps/unix/seekdir.c: Renamed to ...
6379         * sysdeps/posix/seekdir.c: ... here.
6380         * sysdeps/unix/telldir.c: Renamed to ...
6381         * sysdeps/posix/telldir.c: ... here.
6382         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
6383         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6384         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
6385         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
6387         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
6388         * bits/fcntl.h: ... here.
6390         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
6391         not 0.
6392         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
6393         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
6394         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
6395         (struct flock): Move l_start, l_len to the beginning.
6396         Use __pid_t for l_pid.
6397         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
6398         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
6399         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
6400         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
6401         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
6402         [__USE_LARGEFILE64] (struct flock64): New type.
6403         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
6405         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
6406         * bits/dirent.h: ... here.
6408         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
6409         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
6411 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
6413         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6414         Change from 2.6.0 to 2.6.16.
6415         * sysdeps/unix/sysv/linux/configure: Regenerated.
6416         * sysdeps/unix/sysv/linux/kernel-features.h
6417         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
6418         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
6419         version.
6420         (__ASSUME_UTIMES): Likewise.
6421         (__ASSUME_CLONE_STOPPED): Remove.
6422         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
6423         architectures, not kernel version.
6424         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
6425         (__ASSUME_NO_CLONE_DETACHED): Likewise.
6426         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6427         (__ASSUME_WAITID_SYSCALL): Likewise.
6428         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
6429         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
6430         * README: State 2.6.16 as minimum Linux kernel version.  Do not
6431         refer to older versions.
6433 2012-08-06  Roland McGrath  <roland@hack.frob.com>
6435         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
6436         Define alphasort64 as an alias.
6437         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
6438         Define versionsort64 as an alias.
6439         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
6440         Define scandir64 as an alias.
6441         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
6442         Define scandirat64 as an alias.
6443         * dirent/alphasort64.c (alphasort64):
6444         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
6445         * dirent/versionsort64.c: Likewise.
6446         * dirent/scandir64.c: Likewise.
6447         * dirent/scandirat64.c: Likewise.
6448         * sysdeps/wordsize-64/alphasort.c: File removed.
6449         * sysdeps/wordsize-64/alphasort64.c: File removed.
6450         * sysdeps/wordsize-64/scandir.c: File removed.
6451         * sysdeps/wordsize-64/scandir64.c: File removed.
6452         * sysdeps/wordsize-64/scandirat.c: File removed.
6453         * sysdeps/wordsize-64/scandirat64.c: File removed.
6454         * sysdeps/wordsize-64/versionsort.c: File removed.
6455         * sysdeps/wordsize-64/versionsort64.c: File removed.
6456         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
6457         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
6458         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
6459         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
6460         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
6461         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
6462         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
6463         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
6465         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
6466         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6467         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
6468         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6469         [defined __arch64__ || defined __sparcv9]
6470         (__INO_T_MATCHES_INO64_T): New macro.
6471         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6472         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
6473         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
6474         * sysdeps/unix/sysv/linux/bits/dirent.h
6475         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
6476         (_DIRENT_MATCHES_DIRENT64): New macro.
6478         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
6479         Define lockf64 as an alias.
6480         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
6481         Define fseeko64 as an alias.
6482         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
6483         Define ftello64 as an alias.
6484         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
6485         Define _IO_fgetpos64 and fgetpos64 as aliases.
6486         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
6487         Define _IO_fsetpos64 and fsetpos64 as aliases.
6488         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
6489         Conditionalize body on this.
6490         * libio/fseeko64.c: Likewise.
6491         * libio/ftello64.c: Likewise.
6492         * libio/iofgetpos64.c: Likewise.
6493         * libio/iofsetpos64.c: Likewise.
6494         * sysdeps/wordsize-64/lockf.c: File removed.
6495         * sysdeps/wordsize-64/lockf64.c: File removed.
6496         * sysdeps/wordsize-64/fseeko.c: File removed.
6497         * sysdeps/wordsize-64/fseeko64.c: File removed.
6498         * sysdeps/wordsize-64/ftello.c: File removed.
6499         * sysdeps/wordsize-64/ftello64.c: File removed.
6500         * sysdeps/wordsize-64/iofgetpos.c: File removed.
6501         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
6502         * sysdeps/wordsize-64/iofsetpos.c: File removed.
6503         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
6504         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
6505         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
6506         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
6507         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
6508         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
6509         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
6510         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
6511         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
6512         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
6513         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
6515         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6516         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6517         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
6518         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6519         [defined __arch64__ || defined __sparcv9]
6520         (__OFF_T_MATCHES_OFF64_T): New macro.
6521         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6522         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6523         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6524         (__OFF_T_MATCHES_OFF64_T): New macro.
6526 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
6528         * stdlib/secure-getenv.c (__secure_getenv): Replace
6529         GLIBC_2_16 with GLIBC_2_17.
6531 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
6533         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
6534         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6536 2012-08-03  David S. Miller  <davem@davemloft.net>
6538         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6540 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
6542         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
6543         Remove.
6544         (__ASSUME_CORRECT_SI_PID): Likewise.
6545         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
6546         (__ASSUME_TMPFS_NAME): Likewise.
6547         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
6548         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
6549         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
6550         (HAVE_AUX_SECURE): Make definition unconditional.
6551         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
6552         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
6554 2012-08-03  Roland McGrath  <roland@hack.frob.com>
6556         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
6557         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
6558         * sysdeps/mach/hurd/eloop-threshold.h: New file.
6559         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6560         __eloop_threshold instead of SYMLOOP_MAX.
6562         * sysdeps/generic/eloop-threshold.h: New file.
6563         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
6564         of MAXSYMLINKS.
6565         * elf/chroot_canon.c (chroot_canon): Likewise.
6567 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
6569         [BZ #13717]
6570         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6571         Change to 2.6.0 everywhere.
6572         * sysdeps/unix/sysv/linux/configure: Regenerated.
6573         * sysdeps/unix/sysv/linux/kernel-features.h
6574         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
6575         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
6576         kernel versions.
6577         (__ASSUME_POSIX_TIMERS): Define unconditionally.
6578         (__ASSUME_FUTEX_REQUEUE): Remove.
6579         (__ASSUME_STATFS64): Define unconditionally.
6580         (__ASSUME_AT_SECURE): Likewise.
6581         (__ASSUME_CORRECT_SI_PID): Likewise.
6582         (__ASSUME_TGKILL): Define without depending on kernel version for
6583         i386.
6584         (__ASSUME_UTIMES): Likewise.
6585         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
6586         kernel version.
6587         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
6588         (__ASSUME_TMPFS_NAME): Likewise.
6589         * README: Update reference to Linux kernel versions.
6591 2012-08-02  Marek Polacek  <polacek@redhat.com>
6593         [BZ# 14150]
6594         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
6595         libc_cv_asm_type_prefix with %.
6596         * configure: Regenerated.
6597         * include/libc-symbols.h: Remove comment about
6598         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6599         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
6600         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
6601         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
6602         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
6603         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6604         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
6605         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
6606         * elf/tst-unique2mod1.c: Likewise.
6607         * elf/tst-unique1mod2.c: Likewise.
6608         * elf/tst-unique1mod1.c: Likewise.
6609         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
6610         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
6611         Replace ASM_TYPE_DIRECTIVE with .type.
6612         * sysdeps/s390/s390-64/sysdep.h: Likewise.
6613         * sysdeps/i386/sysdep.h: Likewise.
6614         * sysdeps/x86_64/sysdep.h: Likewise.
6615         * sysdeps/sh/sysdep.h: Likewise.
6616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6617         Do not define ASM_TYPE_DIRECTIVE.
6618         * sysdeps/powerpc/sysdep.h: Likewise.
6619         * sysdeps/powerpc/powerpc32/sysdep.h:
6620         Replace ASM_TYPE_DIRECTIVE with .type.
6621         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6622         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6623         * sysdeps/i386/fpu/e_powf.S: Likewise.
6624         * sysdeps/i386/fpu/e_expl.S: Likewise.
6625         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6626         * sysdeps/i386/fpu/e_acosh.S: Likewise.
6627         * sysdeps/i386/fpu/e_pow.S: Likewise.
6628         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6629         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6630         * sysdeps/i386/fpu/s_expm1.S: Likewise.
6631         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6632         * sysdeps/i386/fpu/e_log2.S: Likewise.
6633         * sysdeps/i386/fpu/e_log2l.S: Likewise.
6634         * sysdeps/i386/fpu/e_scalb.S: Likewise.
6635         * sysdeps/i386/fpu/e_powl.S: Likewise.
6636         * sysdeps/i386/fpu/e_log10f.S: Likewise.
6637         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6638         * sysdeps/i386/fpu/e_logl.S: Likewise.
6639         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6640         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6641         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6642         * sysdeps/i386/fpu/e_log2f.S: Likewise.
6643         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6644         * sysdeps/i386/fpu/e_log.S: Likewise.
6645         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6646         * sysdeps/i386/fpu/e_logf.S: Likewise.
6647         * sysdeps/i386/fpu/e_log10l.S: Likewise.
6648         * sysdeps/i386/fpu/e_atanh.S: Likewise.
6649         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6650         * sysdeps/i386/fpu/e_log10.S: Likewise.
6651         * sysdeps/i386/fpu/s_frexp.S: Likewise.
6652         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6653         * sysdeps/i386/fpu/s_asinh.S: Likewise.
6654         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6655         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6656         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
6657         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6658         * sysdeps/i386/i686/strtok.S: Likewise.
6659         * sysdeps/i386/i386-mcount.S: Likewise.
6660         * sysdeps/i386/strtok.S: Likewise.
6661         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
6662         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6663         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6664         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6665         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6666         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6667         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6668         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6669         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6670         * sysdeps/x86_64/_mcount.S: Likewise.
6671         * sysdeps/x86_64/strtok.S: Likewise.
6672         * sysdeps/sh/_mcount.S: Likewise.
6674 2012-08-01  Roland McGrath  <roland@hack.frob.com>
6676         * libio/iofopen.c: Include <fcntl.h>.
6677         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
6678         (_IO_fopen64, fopen64): Define as aliases.
6679         * libio/iofopen64.c: Include <fcntl.h>.
6680         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
6681         Conditionalize body on this.
6682         * sysdeps/wordsize-64/iofopen.c: File removed.
6683         * sysdeps/wordsize-64/iofopen64.c: File removed.
6685 2012-08-01  Marek Polacek  <polacek@redhat.com>
6687         * libc/Makeconfig: Use elf in place of binfmt-subdir.
6688         Use dlfcn directly instead of a variable.
6689         (binfmt-subdir): Do not define.
6690         (dlfcn): Likewise.
6692 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
6694         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
6695         Remove all definitions.
6696         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
6697         <kernel-features.h>.
6698         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6699         (miss_F_GETOWN_EX): Remove all definitions.
6700         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
6701         macro definition.
6702         [!__ASSUME_FCNTL64]: Remove conditional code.
6703         [__ASSUME_FCNTL64]: Make code unconditional.
6704         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
6705         <kernel-features.h>.
6706         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6707         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
6708         (lockf64) [__NR_fcntl64]: Make code unconditional.
6709         (lockf64) [__ASSUME_FCNTL64]: Likewise.
6711         * sysdeps/unix/sysv/linux/kernel-features.h
6712         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
6713         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
6714         Make code unconditional.
6715         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6716         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
6718         [__NR_vfork]: Make code unconditional.
6719         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6720         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
6722         [__NR_vfork]: Make code unconditional.
6723         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6724         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6726 2012-08-01  Roland McGrath  <roland@hack.frob.com>
6728         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
6729         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
6731         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6732         Define mkstemp64 as an alias.
6733         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6734         Define mkstemps64 as an alias.
6735         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6736         Define mkostemp64 as an alias.
6737         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6738         Define mkostemps64 as an alias.
6739         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
6740         Conditionalize body on this.
6741         * misc/mkostemp64.c: Likewise.
6742         * misc/mkostemps64.c: Likewise.
6743         * misc/mkstemps64.c: Likewise.
6744         * sysdeps/wordsize-64/mkstemp64.c: File removed.
6745         * sysdeps/wordsize-64/mkostemp64.c: File removed.
6746         * sysdeps/wordsize-64/mkostemp.c: File removed.
6747         * sysdeps/wordsize-64/mkstemp.c: File removed.
6748         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
6749         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
6750         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
6751         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
6753         [BZ #14138]
6754         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
6755         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
6756         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
6757         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
6759         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
6760         compat_symbol macros from <shlib-compat.h> rather than the underlying
6761         default_symbol_version and symbol_version macros, so that DEFAULT
6762         lines in shlib-versions are respected.
6763         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
6765 2012-08-01  Florian Weimer  <fweimer@redhat.com>
6767         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
6768         Declare with warn_unused_result.
6769         (setgid, setregid, setegid, setresgid): Likewise.
6770         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
6771         Likewise.
6772         * WUR-REPORT: Remove set*id functions.
6774 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
6776         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
6778 2012-07-31  Roland McGrath  <roland@hack.frob.com>
6780         * include/sys/socket.h (__libc_accept, __libc_accept4):
6781         Add attribute_hidden.
6782         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
6784         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
6785         use of PTR_MANGLE.
6786         * inet/getnetgrent_r.c (setup): Likewise.
6788         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
6790 2012-07-31  David S. Miller  <davem@davemloft.net>
6792         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6794 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
6796         [BZ #13629]
6797         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
6798         value between 1.0 and 2.0 and smaller part has absolute value less
6799         than 1.0.
6800         * math/s_clog10.c (__clog10): Likewise.
6801         * math/s_clog10f.c (__clog10f): Likewise.
6802         * math/s_clog10l.c (__clog10l): Likewise.
6803         * math/s_clogf.c (__clogf): Likewise.
6804         * math/s_clogl.c (__clogl): Likewise.
6805         * math/libm-test.inc (clog_test): Add more tests.
6806         (clog10_test): Likewise.
6807         * sysdeps/i386/fpu/libm-test-ulps: Update.
6808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6810 2012-07-31  Florian Weimer  <fweimer@redhat.com>
6812         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
6813         Exit with zero in case no suitable GID is found, and write a
6814         message to standard error.
6816 2012-07-30  Roland McGrath  <roland@hack.frob.com>
6818         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
6819         rather than to 1.
6820         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
6821         (MAXPATHLEN): Removed.
6822         (NOGROUP, NODEV): New macros.
6823         (setbit, clrbit, isset, isclr): New macros.
6824         (howmany, roundup, powerof2): New macros.
6825         (DEV_BSIZE): New macro.
6827         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
6828         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
6830         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
6831         definition on [!__NO_LONG_DOUBLE_MATH].
6833         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
6834         PTR_MANGLE and PTR_DEMANGLE.
6836         * socket/accept4.c (accept4): Rename to __libc_accept4.
6837         Define accept4 as a weak alias.
6839         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
6840         on [_DIRENT_HAVE_D_TYPE].
6841         * io/ftw.c (ftw_dir): Likewise.
6843         * io/xmknod.c (__xmknod): Don't check PATH for being null.
6845         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
6847         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
6848         Use the BSD numbers rather than the arbitrary ones we had.
6849         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
6850         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
6851         (SIGXCPU, SIGXFSZ): New macros.
6852         (_NSIG): Now 32.
6854         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
6855         initializer on [_LIBC_REENTRANT].
6857         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
6858         definitions inside [_POSIX_MAPPED_FILES].
6860         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
6862         * dirent/opendir.c: Include <fcntl.h>.
6864         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
6865         (__libc_getspecific): Likewise.
6866         (__libc_key_create): Likewise.
6868         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
6869         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
6870         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
6871         (tmpfile64): Define as alias.
6872         * sysdeps/wordsize-64/tmpfile.c: File removed.
6873         * sysdeps/wordsize-64/tmpfile64.c: File removed.
6874         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
6875         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
6877         * stdio-common/vfscanf.c: Include <stdbool.h>.
6878         * nss/makedb.c: Likewise.
6879         * stdio-common/_i18n_number.h: Likewise.
6880         * argp/argp-help.c: Likewise.
6881         * posix/wordexp.c: Likewise.
6882         * sysdeps/posix/spawni.c: Likewise.
6883         * nss/nss_files/files-initgroups.c: Likewise.
6884         * stdio-common/reg-modifier.c: Include <stdlib.h>.
6885         * nss/nss_files/files-initgroups.c: Likewise.
6886         * nss/nss_db/db-netgrp.c: Likewise.
6887         * nss/nss_db/db-initgroups.c: Likewise.
6888         * io/fchmodat.c: Include <sys/stat.h>.
6890         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
6891         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
6893         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
6894         [HAVE_MMAP].
6896         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
6897         Add multiple inclusion protection.
6899 2012-07-27  David S. Miller  <davem@davemloft.net>
6901         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6903 2012-07-27  Gary Benson  <gbenson@redhat.com>
6905         [BZ #14298]
6906         * elf/rtld.c: Include <stap-probe.h>.
6907         (dl_main): Added static probes "init_start" and "init_complete".
6908         * elf/dl-load.c: Include <stap-probe.h>.
6909         (lose): Take new parameter "nsid".
6910         Added static probe "map_failed".
6911         (_dl_map_object_from_fd): Pass namespace id to lose.
6912         Added static probe "map_start".
6913         (open_verify): Pass namespace id to lose.
6914         * elf/dl-open.c: Include <stap-probe.h>.
6915         (dl_open_worker) Added static probes "map_complete", "reloc_start"
6916         and "reloc_complete".
6917         * elf/dl-close.c: Include <stap-probe.h>.
6918         (_dl_close_worker): Added static probes "unmap_start" and
6919         "unmap_complete".
6920         * elf/rtld-debugger-interface.txt: New file documenting the above.
6922 2012-07-26  Roland McGrath  <roland@hack.frob.com>
6924         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
6925         rather than a string variable.
6926         * sunrpc/rpc_main.c (h_output): Likewise.
6927         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
6929 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
6931         * inet/check_native.c: New file.
6933 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
6935         [BZ #13629]
6936         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
6937         if larger part has absolute value 1.0.
6938         * math/s_clog10.c (__clog10): Likewise.
6939         * math/s_clog10f.c (__clog10f): Likewise.
6940         * math/s_clog10l.c (__clog10l): Likewise.
6941         * math/s_clogf.c (__clogf): Likewise.
6942         * math/s_clogl.c (__clogl): Likewise.
6943         * math/libm-test.inc (clog_test): Add more tests.
6944         (clog10_test): Likewise.
6945         * sysdeps/i386/fpu/libm-test-ulps: Update.
6946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6948         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
6949         (pltexit): Likewise.
6950         (La_regs): Likewise.
6951         (La_retval): Likewise.
6952         (int_retval): Likewise.
6953         Update #error for removed macros to refer only to definitions in
6954         tst-audit.h.
6955         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
6956         macro.
6957         (pltexit): Likewise.
6958         (La_regs): Likewise.
6959         (La_retval): Likewise.
6960         (int_retval): Likewise.
6961         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
6962         macro.
6963         (pltexit): Likewise.
6964         (La_regs): Likewise.
6965         (La_retval): Likewise.
6966         (int_retval): Likewise.
6967         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
6968         macro.
6969         (pltexit): Likewise.
6970         (La_regs): Likewise.
6971         (La_retval): Likewise.
6972         (int_retval): Likewise.
6973         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
6974         macro.
6975         (pltexit): Likewise.
6976         (La_regs): Likewise.
6977         (La_retval): Likewise.
6978         (int_retval): Likewise.
6979         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
6980         macro.
6981         (pltexit): Likewise.
6982         (La_regs): Likewise.
6983         (La_retval): Likewise.
6984         (int_retval): Likewise.
6985         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
6986         macro.
6987         (pltexit): Likewise.
6988         (La_regs): Likewise.
6989         (La_retval): Likewise.
6990         (int_retval): Likewise.
6991         * sysdeps/generic/tst-audit.h: Update comment to refer only to
6992         macro definitions in tst-audit.h.
6993         * sysdeps/i386/tst-audit.h: New file.
6994         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
6995         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
6996         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
6997         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
6998         * sysdeps/sh/tst-audit.h: Likewise.
6999         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
7000         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
7001         * sysdeps/x86_64/tst-audit.h: Likewise.
7003 2012-07-26  Andreas Jaeger  <aj@suse.de>
7005         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
7006         ptrace.
7008         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
7009         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
7010         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
7011         PTRACE_O_MASK.
7012         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
7013         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
7014         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
7016         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
7017         value.
7019         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
7020         _sigsys.
7021         (si_call_addr, si_syscall, si_arch): Define new macro.
7022         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
7023         _sigsys.
7024         (si_call_addr, si_syscall, si_arch): Define new marcro.
7025         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
7026         _sigsys.
7027         (si_call_addr, si_syscall, si_arch): Define new macro.
7028         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
7029         _sigsys.
7030         (si_call_addr, si_syscall, si_arch): Define new macro.
7032 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
7034         [BZ #13717]
7035         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7036         Change to 2.4.21 where previously 2.4.1.
7037         * sysdeps/unix/sysv/linux/configure: Regenerated.
7038         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
7039         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
7040         Linux kernel version.
7041         (__ASSUME_STD_AUXV): Remove.
7042         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
7043         kernel version.
7044         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
7045         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
7046         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
7047         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
7048         (__ASSUME_NETLINK_SUPPORT): Likewise.
7049         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
7050         (__no_netlink_support): Remove conditional definition.
7051         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
7052         Remove.
7053         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7054         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
7055         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
7056         (if_nameindex_ioctl): Remove.
7057         (if_nameindex_netlink): Do not handle __no_netlink_support.
7058         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7059         code.
7060         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
7061         Remove conditional code.
7062         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7063         code.
7064         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
7065         unconditional.
7066         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7067         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
7068         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
7069         Remove.
7070         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
7071         [!__ASSUME_STD_AUXV]: Remove conditional code.
7072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
7073         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
7074         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
7075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
7076         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
7077         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7078         code.
7079         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7081         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
7082         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7083         conditional code.
7084         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7086         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7087         code.
7088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7089         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7090         conditional code.
7091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
7092         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7093         code unconditional.
7094         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7095         conditional code.
7096         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7097         unconditional.
7098         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7099         conditional code.
7100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7101         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7102         unconditional.
7103         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7104         conditional code.
7105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
7106         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7107         code unconditional.
7108         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7109         conditional code.
7110         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7111         unconditional.
7112         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7113         conditional code.
7114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
7115         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7116         code unconditional.
7117         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7118         conditional code.
7119         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7120         unconditional.
7121         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7122         conditional code.
7124 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
7126         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
7127         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
7128         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7129         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
7130         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
7131         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7132         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7133         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
7134         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
7135         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7136         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
7137         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7138         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
7139         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7140         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7141         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
7142         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
7143         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
7144         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
7145         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
7146         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
7147         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7148         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7150 2012-07-25  Florian Weimer  <fweimer@redhat.com>
7152         * Versions.def: Add GLIBC_2.17.
7153         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
7154         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
7155         Introduce __libc_secure_getenv.
7156         * stdlib/Versions (2.17): Add secure_getenv
7157         (GLIBC_PRIVATE): Add __libc_secure_getenv.
7158         * stdlib/secure-getenv.c: Rename __secure_getenv to
7159         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
7160         symbol __secure_getenv for GLIBC_2.0.
7161         * stdlib/tst-secure-getenv.c: New.
7162         * stdlib/Makefile (tests): Add testcase.
7163         * manual/startup.texi (Environment Access): Document
7164         secure_getenv.
7165         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
7166         __libc_secure_getenv.
7167         * inet/ruserpass.c (ruserpass): Likewise.
7168         * malloc/mtrace.c (mtrace): Likewise.
7169         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
7170         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
7171         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
7172         * sysdeps/posix/tempname.c: Likewise.  Evaluate
7173         HAVE_SECURE_GETENV.
7174         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
7175         __secure_getenv to __libc_secure_getenv.
7176         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
7177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7178         Likewise.
7179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7180         Likewise.
7181         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7182         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7183         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7184         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7185         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7186         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7187         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7189 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
7191         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
7192         (struct La_i86_retval): Likewise.
7193         (struct La_x86_64_regs): Likewise.
7194         (struct La_x86_64_retval): Likewise.
7195         (struct La_x32_regs): Likewise.
7196         (struct La_x32_retval): Likewise.
7197         (struct La_ppc32_regs): Likewise.
7198         (struct La_ppc32_retval): Likewise.
7199         (struct La_ppc64_regs): Likewise.
7200         (struct La_ppc64_retval): Likewise.
7201         (struct La_sh_regs): Likewise.
7202         (struct La_sh_retval): Likewise.
7203         (struct La_s390_32_regs): Likewise.
7204         (struct La_s390_32_retval): Likewise.
7205         (struct La_s390_64_regs): Likewise.
7206         (struct La_s390_64_retval): Likewise.
7207         (struct La_sparc32_regs): Likewise.
7208         (struct La_sparc32_retval): Likewise.
7209         (struct La_sparc64_regs): Likewise.
7210         (struct La_sparc64_retval): Likewise.
7211         (struct audit_ifaces): Remove architecture-specific pltenter and
7212         pltexit members.
7213         * sysdeps/i386/ldsodefs.h: New file.
7214         * sysdeps/powerpc/ldsodefs.h: Likewise.
7215         * sysdeps/s390/ldsodefs.h: Likewise.
7216         * sysdeps/sh/ldsodefs.h: Likewise.
7217         * sysdeps/sparc/ldsodefs.h: Likewise.
7218         * sysdeps/x86_64/ldsodefs.h: Likewise.
7220 2012-07-25  Marek Polacek  <polacek@redhat.com>
7222         [BZ #6808]
7223         * math/libm-test.inc (yn_test): Add another test.
7224         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
7225         to ERANGE when the result is +-Inf.
7226         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7227         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7228         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
7229         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
7231 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
7233         * conform/data/time.h-data (NULL): Use macro-constant.  Require
7234         equal to 0.
7235         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
7236         clock_t.
7237         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
7239 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
7241         * configure.in <sysdeps resolving>: Correct printing
7242         Implies_before.
7243         * configure: Regenerate.
7245 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
7247         * math/w_ilogb.c: Include <limits.h>.
7248         * math/w_ilogbl.c: Likewise.
7250 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
7252         * manual/lang.texi (__va_copy): Document primarily as ISO C99
7253         va_copy.  Document allowing for unavailable va_copy only as
7254         pre-C99 compatibility.
7255         * manual/string.texi (Copying and Concatenation): Use va_copy
7256         instead of __va_copy in concat example.
7258 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
7260         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
7261         (__sendto): Use create_address_port.  Initialize APORT and deallocate
7262         it if not null.
7264         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
7265         with O_NOLINK passed to __file_name_lookup.
7267         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
7268         with O_NOLINK passed to __file_name_lookup.
7270         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
7271         negative N or less than NGIDS.
7273         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
7274         type to string_t.  Set ERANGE as errno and return it if NAME is not big
7275         enough.  Use memcpy instead of strncpy.
7277 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
7279         * elf/Makefile (check-data): Remove.
7280         (localplt.data): New vpath directive.
7281         ($(objpfx)check-localplt.out): Use localplt.data from vpath
7282         instead of $(check-data).
7283         * scripts/data/localplt-generic.data: Move to ...
7284         * sysdeps/generic/localplt.data: ... here.
7285         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
7286         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
7287         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
7288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7289         ... here.
7290         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
7291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7292         ... here.
7293         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
7294         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
7295         ... here.
7296         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
7297         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7298         ... here.
7299         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
7300         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
7301         ... here.
7302         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
7303         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
7304         ... here.
7306 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7308         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
7309         PPC32 and PPC64 files.
7310         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
7311         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
7313 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7315         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
7316         __makecontext_ret to ...
7317         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
7318         ... here and call exit if uc_link is NULL.  New file.
7319         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
7320         __makecontext_ret.S.
7321         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
7322         __makecontext_ret to ...
7323         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
7324         ... here and call exit if uc_link is NULL.  New file.
7325         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
7326         __makecontext_ret.S.
7328 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7330         * elf/elf.h (R_390_IRELATIVE): New definition.
7331         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
7332         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
7333         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
7334         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7335         (elf_machine_lazy_rel): Likewise.
7336         * sysdeps/s390/dl-irel.h: New file.
7337         * sysdeps/s390/s390-64/memcpy.S: New asm code.
7338         * sysdeps/s390/s390-64/memset.S: New asm code.
7339         * sysdeps/s390/s390-64/memcmp.S: New asm code.
7340         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
7341         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
7342         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
7343         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
7344         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
7345         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
7346         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
7347         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
7348         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
7349         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
7350         * sysdeps/s390/s390-32/memcpy.S: New asm code.
7351         * sysdeps/s390/s390-32/memset.S: New asm code.
7352         * sysdeps/s390/s390-32/memcmp.S: New asm code.
7354 2012-07-17  Marek Polacek  <polacek@redhat.com>
7356         [BZ #14349]
7357         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
7358         * sysdeps/s390/s390-64/configure.in: Likewise.
7359         * sysdeps/sparc/configure.in: Likewise.
7360         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
7361         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
7362         * sysdeps/i386/configure.in: Likewise.
7363         * sysdeps/x86_64/configure.in: Likewise.
7364         * sysdeps/sh/configure.in: Likewise.
7365         * sysdeps/s390/s390-32/configure: Regenerated.
7366         * sysdeps/s390/s390-64/configure: Likewise.
7367         * sysdeps/x86_64/configure: Likewise.
7368         * sysdeps/sh/configure: Likewise.
7369         * sysdeps/powerpc/powerpc64/configure: Likewise.
7370         * sysdeps/powerpc/powerpc32/configure: Likewise.
7371         * sysdeps/sparc/configure: Likwise.
7372         * sysdeps/i386/configure: Likewise.
7374         * elf/dl-open.c: Comment fixes.
7376 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
7378         * Makefile [CXX] (check-data): Remove.
7379         [CXX] (c++-types.data): New vpath directive.
7380         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
7381         vpath.  Do not allow for C++ type data being missing.
7382         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
7383         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
7384         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
7385         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
7386         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
7387         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
7388         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
7389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7390         ... here.
7391         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
7392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7393         ... here.
7394         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
7395         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
7396         ... here.
7397         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
7398         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
7399         ... here.
7400         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
7401         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
7402         ... here.
7403         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
7404         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
7405         ... here.
7406         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
7407         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
7408         ... here.
7409         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
7410         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
7412         * elf/tls-macros.h (TLS_LE): Move architecture-specific
7413         definitions to architecture-specific files.
7414         (TLS_IE): Likewise.
7415         (TLS_LD): Likewise.
7416         (TLS_GD): Likewise.
7417         * sysdeps/i386/tls-macros.h: New file.
7418         * sysdeps/powerpc/tls-macros.h: Likewise.
7419         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7420         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7421         * sysdeps/sh/tls-macros.h: Likewise.
7422         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
7423         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
7424         * sysdeps/x86_64/tls-macros.h: Likewise.
7426 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
7428         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
7429         zero value for regular exit case.
7431         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7432         (__start_context): Preserve zero value for regular exit case.
7434 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
7435             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7437         * manual/setjmp.texi (setcontext): Clarify normal process
7438         termination when uc_link is the null pointer.
7439         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
7440         exit call.
7442 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
7444         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
7445         preprocessor.  Test for each exception mask separately.
7447 2012-07-16  Andreas Jaeger  <aj@suse.de>
7449         * po/ru.po: Update from translation team.
7451 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
7453         * conform/data/string.h-data (NULL): Use macro-constant.  Require
7454         equal to 0.
7455         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7456         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7457         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
7458         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
7459         [ISO || ISO99 || ISO11] (*_t): Do not allow.
7461 2012-07-13  Andreas Jaeger  <aj@suse.de>
7463         * po/fr.po: Update from translation team.
7465 2012-07-12  Marek Polacek  <polacek@redhat.com>
7467         [BZ #14173]
7468         * math/libm-test.inc (yn_test): Add test for BZ #14173.
7469         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
7470         loop condition.
7472 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
7474         [BZ #13717]
7475         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7476         Change to 2.4.1 where previously 2.4.0.
7477         * sysdeps/unix/sysv/linux/configure: Regenerated.
7478         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
7479         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
7480         version.
7481         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
7482         (__ASSUME_AT_CLKTCK): Remove.
7483         (__ASSUME_AT_PAGESIZE): Likewise.
7484         (__ASSUME_AT_XID): Likewise.
7485         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
7486         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
7487         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
7488         unconditionally.
7489         (HAVE_AUX_PAGESIZE): Likewise.
7490         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
7491         [__ASSUME_AT_CLKTCK]: Make code unconditional.
7492         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
7494 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
7496         [BZ #14307]
7497         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
7498         the temporary buffer used to invoke __gethostbyname2_r,
7499         __gethostbyaddr_r and gethostbyname4_r to make room for struct
7500         host_data / struct gaih_addrtuple.
7501         * resolv/nss_dns/dns-host.c (global scope): Move definition of
7502         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
7503         header file nss/nsswitch.h.
7504         * nss/nsswitch.h (global scope): Add definition of implementation
7505         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
7506         resolv/nss_dns/dns-host.c).
7508 2012-07-11  Andreas Jaeger  <aj@suse.de>
7510         * po/fr.po: Update from translation team.
7512         * po/sv.po: Update from translation team
7513         * po/fr.po: Another update from translation team.
7515 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7517         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
7518         for subnormals or multiply small sinh result by itself.
7519         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7520         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7522 2012-07-11  David S. Miller  <davem@davemloft.net>
7524         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7526 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
7528         [BZ #14347]
7529         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
7530         (INTERNAL_MARK): Shift it here.
7532 2012-07-10  Marek Polacek  <polacek@redhat.com>
7534         [BZ #14151]
7535         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
7536         libc_cv_asm_global_directive with .globl.
7537         * configure: Regenerated.
7538         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
7539         with .globl.
7540         * sysdeps/i386/configure: Regenerated.
7541         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
7542         with .globl.
7543         * sysdeps/x86_64/configure: Regenerated.
7544         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
7545         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
7546         * elf/tst-unique2mod2.c: Likewise.
7547         * elf/tst-unique2mod1.c: Likewise.
7548         * elf/tst-unique1mod2.c: Likewise.
7549         * elf/tst-unique1mod1.c: Likewise.
7550         * sysdeps/s390/s390-32/sysdep.h: Likewise.
7551         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7552         * sysdeps/s390/s390-64/sysdep.h: Likewise.
7553         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7554         * sysdeps/mach/sysdep.h: Likewise.
7555         * sysdeps/i386/sysdep.h: Likewise.
7556         * sysdeps/i386/i386-mcount.S: Likewise.
7557         * sysdeps/x86_64/_mcount.S: Likewise.
7558         * sysdeps/x86_64/sysdep.h: Likewise.
7559         * sysdeps/sh/_mcount.S: Likewise.
7560         * sysdeps/sh/sysdep.h: Likewise.
7561         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
7562         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
7563         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
7564         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7565         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
7566         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
7567         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
7568         * locale/localeinfo.h: Likewise.
7569         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
7570         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
7572 2012-07-09  Roland McGrath  <roland@hack.frob.com>
7574         [BZ #14336]
7575         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
7576         system".
7577         * manual/message.texi (The Uniforum approach): Likewise.
7578         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
7579         (glibc iconv Implementation): Likewise.
7581 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
7583         [BZ #14337]
7584         * math/s_clog.c (__clog): Avoid scaling a value down where that
7585         could result in underflow.
7586         * math/s_clog10.c (__clog10): Likewise.
7587         * math/s_clog10f.c (__clog10f): Likewise.
7588         * math/s_clog10l.c (__clog10l): Likewise.
7589         * math/s_clogf.c (__clogf): Likewise.
7590         * math/s_clogl.c (__clogl): Likewise.
7591         * math/libm-test.inc (clog_test): Add more tests.
7592         (clog10_test): Likewise.
7593         * sysdeps/i386/fpu/libm-test-ulps: Update.
7594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7596 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
7598         [BZ #14283]
7599         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
7600         by 7 not 8 to examine high bit of fractional part.
7602         [BZ #14042]
7603         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
7604         for call to __mcount_internal.
7605         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
7606         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
7607         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
7609 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
7611         [BZ #14154]
7612         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
7613         approximation for values within 0x1p-13f of an odd multiple of
7614         pi/4.
7615         * math/libm-test.inc (tan_test): Do not allow spurious underflow
7616         exception.  Add more tests.
7617         * sysdeps/i386/fpu/libm-test-ulps: Update.
7619         [BZ #6778]
7620         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
7621         inputs and return -1 for them.  Do not check for +Inf in case not
7622         reachable for +Inf.
7623         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7624         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
7625         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7626         and return -1 for them.  Do not check for +Inf in case not
7627         reachable for +Inf.
7628         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
7629         define.
7630         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7631         and return -1 for them.  Do not check for +Inf in case not
7632         reachable for +Inf.
7633         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
7634         spurious underflow.
7635         * sysdeps/i386/fpu/libm-test-ulps: Update.
7636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7638 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
7640         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
7642 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
7644         [BZ #14157]
7645         [BZ #14331]
7646         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
7647         could result in spurious underflow.  Scale down values above
7648         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
7649         * math/s_csqrtf.c (__csqrtf): Likewise.
7650         * math/s_csqrtl.c (__csqrtl): Likewise.
7651         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
7652         spurious underflow.
7653         * sysdeps/i386/fpu/libm-test-ulps: Update.
7654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7656 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
7658         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
7659         xopen-msg.sed.
7660         * catgets/xopen-msg.awk: New file.
7661         * catgets/xopen-msg.sed: Removed.
7663         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
7664         po2text.sed.
7665         * intl/po2test.awk: New file.
7666         * intl/po2test.sed: Removed.
7668 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
7670         [BZ #14328]
7671         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
7672         or multiply small sinh result by itself.
7673         * math/s_ctanf.c (__ctanf): Likewise.
7674         * math/s_ctanh.c (__ctanh): Likewise.
7675         * math/s_ctanhf.c (__ctanhf): Likewise.
7676         * math/s_ctanhl.c (__ctanhl): Likewise.
7677         * math/s_ctanl.c (__ctanl): Likewise.
7678         * math/libm-test.inc (ctan_test_tonearest): New function.
7679         (ctan_test_towardzero): Likewise.
7680         (ctan_test_downward): Likewise.
7681         (ctan_test_upward): Likewise.
7682         (ctanh_test_tonearest): Likewise.
7683         (ctanh_test_towardzero): Likewise.
7684         (ctanh_test_downward): Likewise.
7685         (ctanh_test_upward): Likewise.
7686         (main): Call these new functions.
7687         * sysdeps/i386/fpu/libm-test-ulps: Update.
7688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7690 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
7692         * .gitignore: Delete /ports entry.
7694 2012-07-03  Andreas Jaeger  <aj@suse.de>
7696         * po/bg.po: Update from translation team.
7697         * po/cs.po: Likewise.
7698         * po/de.po: Likewise.
7699         * po/hr.po: Likewise.
7700         * po/nl.pl: Likewise.
7701         * po/pl.po: Likewise.
7702         * po/vi.po: Likewise.
7704 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
7706         * Makeconfig [!+link] (+link-before-libc): New variable.
7707         [!+link] (+link-after-libc): Likewise.
7708         [!+link] (+link-tests): Likewise.
7709         [!+link] (+link): Define in terms of $(+link-before-libc) and
7710         $(+link-after-libc).
7711         [!+link-static] (+link-static-before-libc): New variable.
7712         [!+link-static] (+link-static-after-libc): Likewise.
7713         [!+link-static] (+link-static-tests): Likewise.
7714         [!+link-static] (+link-static): Define in terms of
7715         $(+link-static-before-libc) and $(+link-static-after-libc).
7716         [build-shared] (link-libc-before-gnulib): New variable.
7717         [build-shared] (link-libc-tests): Likewise.
7718         [build-shared] (link-libc): Define in terms of
7719         $(link-libc-before-gnulib).
7720         [!build-shared] (link-libc-tests): New variable.
7721         (link-libc-static-tests): New variable.
7722         [!gnulib] (gnulib-arch): New variable.
7723         [!gnulib] (gnulib-tests): Likewise.
7724         [!gnulib] (static-gnulib-arch): Likewise.
7725         [!gnulib] (static-gnulib-tests): Likewise.
7726         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
7727         Define with "=" instead of ":=".
7728         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
7729         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
7730         * Rules (binaries-all-notests): New variable.
7731         (binaries-all-tests): Likewise.
7732         (binaries-static-notests): Likewise.
7733         (binaries-static-tests): Likewise.
7734         (binaries-all): Define using $(binaries-all-notests) and
7735         $(binaries-all-tests).
7736         (binaries-static): Define using $(binaries-static-notests) and
7737         $(binaries-static-tests).
7738         (binaries-shared-tests): New variable.
7739         (binaries-shared-notests): Likewise.
7740         (binaries-shared): Remove variable.
7741         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
7742         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
7743         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
7744         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
7745         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
7746         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
7747         * elf/Makefile (sln-modules): New variable.
7748         (extra-objs): Add $(sln-modules:=.o).
7749         (ldconfig-modules): Add static-stubs.
7750         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
7751         * elf/static-stubs.c: New file.
7753         [BZ #14283]
7754         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
7755         by 7 not 8 to examine high bit of fractional part.  Use volatile
7756         variables when splitting into final array of floats if
7757         __FLT_EVAL_METHOD__ != 0.
7758         * math/libm-test.inc (cos_test): Add another test.
7759         (sin_test): Likewise.
7760         * sysdeps/i386/fpu/libm-test-ulps: Update.
7762         [BZ #14273]
7763         * math/libm-test.inc (cosh_test): Add more tests.
7765         * version.h (RELEASE): Set to "development".
7766         (VERSION): Set to "2.16.90".
7768 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
7770         * NEWS: Update copyright. Remove last-updated date.
7771         Mention math library bug fixes and timezone data changes.
7772         * README: Mention GNU/Hurd, x32, and HPPA support status.
7774 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
7776         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
7778 2012-06-27  Andreas Jaeger  <aj@suse.de>
7780         * manual/contrib.texi (Contributors): Add Samuel Thibault.
7782 2012-06-25  Andreas Jaeger  <aj@suse.de>
7784         * sysdeps/s390/fpu/libm-test-ulps: Update.
7786 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
7787             Thomas Schwinge  <thomas@codesourcery.com>
7789         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
7790         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
7791         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
7792         fanotify_mark.
7794 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
7796         * sysdeps/mach/start.c: Remove file.
7797         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
7798         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
7799         * sysdeps/sh/init-first.c: Likewise.
7801         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
7802         registers for frame unwinding purposes, add CFI directives.
7803         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7804         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
7805         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
7806         Likewise.
7808         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
7809         __fortify_fail returning.
7810         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7812         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
7813         sysdeps/sh/____longjmp_chk.S.
7814         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
7815         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
7816         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
7817         (gen-as-const-headers): Append sigaltstack-offsets.sym.
7819         * sysdeps/sh/abort-instr.h: New file.
7820         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
7821         process in case exit returns.
7823         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
7824         initialize the GOT register before use.
7826         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
7827         calculation of ARGC > 4.
7829         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
7830         meaningful names to some local labels.
7832 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
7833             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7835         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
7836         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
7837         (__arch_compare_and_exchange_val_16_acq): Likewise.
7838         (__arch_compare_and_exchange_val_32_acq): Likewise.
7839         (atomic_exchange_and_add): Fix gUSA sequence.
7840         (atomic_add): Likewise.
7841         (atomic_add_negative): Likewise.
7842         (atomic_add_zero): Likewise.
7843         (atomic_bit_test_set): Likewise.
7845 2012-06-22  Andreas Schwab  <schwab@redhat.com>
7847         [BZ #13579]
7848         * include/link.h (struct link_map): Add l_free_initfini.
7849         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
7850         l_initfini.
7851         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
7852         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
7853         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
7854         set.
7856 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
7858         * configure.in: Use AC_LANG_SOURCE.
7859         * configure: Regenerate.
7861 2012-06-22  Roland McGrath  <roland@hack.frob.com>
7863         * configure.in (libc_cv_localstatedir): New substituted variable.
7864         * configure: Regenerated.
7865         * config.make.in (localstatedir): New variable, substituted from
7866         libc_cv_localstatedir.
7867         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
7868         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
7869         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
7870         * sysdeps/gnu/configure: Regenerated.
7872 2012-06-21  Jeff Law  <law@redhat.com>
7874         [BZ #14277]
7875         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
7876         free.  Simplify list management for _LIBC case.
7878 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
7880         [BZ #14273]
7881         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7882         Clear sign bit of 64-bit integer value before comparing against
7883         overflow value.
7885         * sysdeps/mach/configure: Regenerated.
7887 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
7889         [BZ #14278]
7890         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
7892 2012-06-21  Jeff Law  <law@redhat.com>
7894         [BZ #13882]
7895         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
7896         uint16_t for elements in the "seen" array to avoid char overflows.
7897         * elf/dl-fini.c (_dl_sort_fini): Likewise.
7898         * elf/dl-open.c (dl_open_worker): Likewise.
7900 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
7902         * scripts/list-sources.sh: Scan PORTS for translations.
7903         * po/libc.pot: Regenerated.
7905 2012-06-21  Andreas Jaeger  <aj@suse.de>
7907         [BZ #12194]
7908         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
7909         warning.
7910         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
7911         * bits/byteswap-16.h (__bswap_16): Likewise.
7912         * bits/byteswap.h (__bswap_constant_16): Likewise.
7914 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
7916         [BZ #14117]
7917         * sysdeps/i386/fpu_control.h: Removed.
7918         * sysdeps/x86_64/fpu_control.h: Moved to ...
7919         * sysdeps/x86/fpu_control.h: Here.
7921         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
7922         (_FPU_SETCW): Likewise.
7924 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
7926         [BZ #14117]
7927         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
7928         * sysdeps/x86/fpu/bits/mathinline.h: This.
7929         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
7931         [BZ #14050]
7932         [BZ #14117]
7933         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
7934         functions if __x86_64__ is defined.
7936 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
7938         * string/endian.h: Add !__ASSEMBLER__ condition for including
7939         conversion interfaces.
7941 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
7943         [BZ #14241]
7944         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
7945         of ABS(x) in calculating zero to negative powers other than odd
7946         integers.
7947         * math/libm-test.inc (pow_test): Add more tests.
7949 2012-06-15  Andreas Jaeger  <aj@suse.de>
7951         * manual/contrib.texi (Contributors): Update entry of Liubov
7952         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
7953         Machado Filho.
7955 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
7957         * string/string.h: Add __wur to GNU version of strerror_r.
7959 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
7961         [BZ #14229]
7962         * string/Makefile (tests): Add tst-strtok_r.
7963         * string/tst-strtok_r.c: New file.
7964         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
7965         RAX_LP/RDX_LP on SAVE_PTR.
7967 2012-06-14  Roland McGrath  <roland@hack.frob.com>
7969         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
7971 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
7973         * libm_test.inc (csqrt_test): Allow more spurious underflow
7974         exceptions.
7975         (j0_test): Likewise.
7976         (j1_test): Likewise.
7977         (y0_test): Likewise.
7978         (y1_test): Likewise.
7980 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
7982         * po/Makefile (libc.pot): Use UTF-8 charset.
7984 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
7986         [BZ #14210]
7987         Suppress sign-conversion warning from FD_SET.
7988         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
7989         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
7990         not unsigned long int.
7991         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
7993 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
7995         [BZ #14050]
7996         [BZ #14117]
7997         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
7998         __extern_always_inline instead of __extern_inline.
7999         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
8000         (__signbit): Likewise.
8001         (__signbitl): Support C++ namespace.
8002         (lrintf): New inline function.
8003         (lrint): Likewise.
8004         (llrintf): Likewise.
8005         (llrint): Likewise.
8006         (fmaxf): Likewise.
8007         (fmax): Likewise.
8008         (fminf): Likewise.
8009         (fmin): Likewise.
8010         (rint): Likewise.
8011         (rintf): Likewise.
8012         (ceil): Likewise.
8013         (ceilf): Likewise.
8014         (floor): Likewise.
8015         (floorf): Likewise.
8016         (nearbyint): Likewise.
8017         (nearbyintf): Likewise.
8019 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
8021         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
8022         non-default versions.
8024 2012-06-11  Roland McGrath  <roland@hack.frob.com>
8026         [BZ #14218]
8027         * manual/argp.texi (Argp): Reword argp_parse description slightly.
8029 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
8031         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
8032         (FE_UPWARD, FE_DOWNWARD): Don't define.
8033         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
8034         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8036         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
8037         reading it.
8038         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8039         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8041 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8043         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8044         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
8045         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
8046         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
8048 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
8050         [BZ #14117]
8051         * sysdeps/i386/fpu/bits/fenv.h: Removed.
8052         * sysdeps/i386/fpu/Implies: New file.
8053         * sysdeps/x86_64/fpu/Implies: Likewise.
8054         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
8055         * sysdeps/x86/fpu/bits/fenv.h: This.
8057         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
8058         __SSE_MATH__.
8060 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
8062         [BZ #14134]
8063         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
8064         character 0xffff that matches the last element of the
8065         conversion table.
8067 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8069         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
8070         fmodl commit.
8072 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8074         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
8075         values higher than 25.6283.
8077 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8079         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
8080         subnormal exponent extraction and add some __builtin_expect.
8081         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
8082         Fix for subnormal mantissa calculation.
8084 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
8086         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
8087         cpu2 is -1 and errno is not ENOSYS.
8089 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
8091         [BZ #14117]
8092         * sysdeps/i386/i486/bits/string.h: Renamed to ...
8093         * sysdeps/x86/bits/string.h: This.
8094         * sysdeps/x86_64/bits/string.h: Removed.
8096         * sysdeps/i386/i486/bits/string.h: Define inline functions only
8097         if not compiling for x86-64, but compiling for >= i486.
8099         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
8100         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
8102         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
8103         New macro from Linux kernel 3.4.0.
8104         (FP_XSTATE_MAGIC2): Likewise.
8105         (FP_XSTATE_MAGIC2_SIZE): Likewise.
8106         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
8107         (struct _fpx_sw_bytes): New struct.
8108         (struct _xsave_hdr): Likewise.
8109         (struct _ymmh_state): Likewise.
8110         (struct _xstate): Likewise.
8112         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
8113         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
8114         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
8115         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
8116         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
8117         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
8119         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
8120         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
8121         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
8122         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
8123         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
8124         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
8126 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8128         [BZ #13743]
8129         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
8130         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
8131         (sysdep_headers): Include sys/platform/ppc.h.
8132         * sysdeps/powerpc/test-gettimebase.c: Test for
8133         __ppc_get_timebase() to catch future ISA opcode/insn changes.
8134         * manual/Makefile (appendices): Include platform.texi.
8135         * manual/contrib.texi (Contributors): Update @node pointers.
8136         * manual/maint.texi (Maintenance): Likewise.
8137         (Platform): New node.
8138         * manual/platform.texi: New file.  Document the new features.
8140 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8141             Jakub Jelinek  <jakub@redhat.com>
8143         [BZ #14188]
8144         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
8145         where __builtin_expect is unavailable.
8147 2012-06-03  David S. Miller  <davem@davemloft.net>
8149         * stdlib/longlong.h: Updated from GCC.
8151 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
8153         [BZ #14042]
8154         * sysdeps/powerpc/powerpc32/mcount.c: New file.
8155         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
8156         __mcount_internal.
8157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8158         (GLIBC_2.16): Likewise.
8160 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
8162         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
8164 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
8166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8167         (default-abi): New variable.
8168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
8169         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
8170         variable.
8171         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
8172         Likewise.
8173         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
8174         Likewise.
8175         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
8176         Likewise.
8178         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
8179         definition.  Document in comment.
8181 2012-06-01  David S. Miller  <davem@davemloft.net>
8183         * stdlib/longlong.h: Updated from GCC.
8185 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
8187         [BZ #14117]
8188         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
8189         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
8190         sys/debugreg.h sys/io.h here.
8191         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
8192         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
8193         sys/io.h.
8194         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
8195         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
8196         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
8197         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
8198         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
8199         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
8201         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
8202         Define only if __x86_64__ is defined.
8204 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
8206         [BZ #14048]
8207         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
8208         Use int64_t for variable i.
8209         * math/libm-test.inc (fmod_test): Add more tests.
8211         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
8212         z computation is not scheduled after fetestexcept.
8213         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
8214         Use math_force_eval instead of asm to ensure calculation scheduled
8215         before exception test.
8216         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
8217         Ensure a1 + u.d computation is not scheduled after fetestexcept.
8219 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
8221         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
8222         computation is not scheduled after fetestexcept.
8224 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
8226         [BZ #14117]
8227         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
8228         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
8230 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8232         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
8233         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8235 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
8237         [BZ #14117]
8238         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
8239         <bits/wordsize.h>.
8240         (__WCHAR_MIN): Support __WORDSIZE == 64.
8241         (__WCHAR_MAX): Likewise.
8243         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
8244         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
8246         [BZ #14183]
8247         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
8248         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
8250         [BZ #14117]
8251         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
8252         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
8254         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
8255         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
8257         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
8258         Defined to 1 if __x86_64__ isn't defined.
8259         (_STAT_VER_LINUX_OLD): New.
8260         (st_atime): Remove duplicate.
8261         (st_mtime): Likewise.
8262         (st_ctime): Likewise.
8264 2012-05-31  David S. Miller  <davem@davemloft.net>
8266         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
8267         entries.
8269 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
8271         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
8272         gen-libm-test.pl.
8274         [BZ #14132]
8275         * elf/dl-reloc.c: Include <_itoa.h>.
8276         (_dl_reloc_bad_type): Remove use of INTUSE.
8277         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
8278         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
8279         * stdio-common/psiginfo.c (psiginfo): Likewise.
8280         * stdio-common/psignal.c (psignal): Likewise.
8281         * string/strsignal.c (strsignal): Likewise.
8282         * include/signal.h (_sys_siglist): Declare hidden proto.
8283         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
8284         INTVARDEF with libc_hidden_data_def.
8285         * stdio-common/itoa-udigits.c: Likewise.
8286         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
8287         (_itoa_lower_digits_internal): Remove declaration.
8288         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
8289         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
8290         (_sys_sigabbrev_internal): Remove aliases.
8291         (_sys_siglist): Define hidden alias.
8293 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
8295         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8296         bits/sysctl.h.
8298 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
8300         [BZ #14117]
8301         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
8302         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
8304         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
8305         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
8306         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
8307         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
8308         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
8309         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
8311         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
8312         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
8313         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
8315         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
8316         with __addr.
8317         (insw): Likewise.
8318         (insl): Likewise.
8319         (outsb): Likewise.
8320         (outsw): Likewise.
8321         (outsl): Likewise.
8323         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
8324         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
8325         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
8327         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
8328         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
8329         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
8330         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
8331         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
8332         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
8334         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
8335         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
8337         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
8338         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
8340         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
8341         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
8342         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
8344         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
8345         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
8346         to ...
8347         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
8349         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
8350         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
8351         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
8353         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
8354         for x86-64.
8355         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
8357 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
8359         * math/math.h (M_El): Use two more decimal places.
8360         (M_LOG2El): Likewise.
8361         (M_LOG10El): Likewise.
8362         (M_LN2l): Likewise.
8363         (M_LN10l): Likewise.
8364         (M_PIl): Likewise.
8365         (M_PI_2l): Likewise.
8366         (M_PI_4l): Likewise.
8367         (M_1_PIl): Likewise.
8368         (M_2_PIl): Likewise.
8369         (M_2_SQRTPIl): Likewise.
8370         (M_SQRT2l): Likewise.
8371         (M_SQRT1_2l): Likewise.
8373 2012-05-31  David S. Miller  <davem@davemloft.net>
8375         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
8376         values between float registers.
8377         * sysdeps/sparc/sparc64/memset.S: Likewise.
8378         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8380 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
8382         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
8383         -D_FORTIFY_SOURCE=1.
8384         (CPPFLAGS-tst-longjmp_chk.c): Define.
8385         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
8386         (CPPFLAGS-tst-longjmp_chk2.c): Define.
8387         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
8388         CFLAGS-tst-wchar-h.c.
8390 2012-05-31  Marek Polacek  <polacek@redhat.com>
8392         [BZ #14132]
8393         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
8394         __endmntent_internal): Remove declaration.
8395         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
8396         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
8397         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
8399 2012-05-30  David S. Miller  <davem@davemloft.net>
8401         * sysdeps/sparc/sparc32/soft-fp/q_util.c
8402         (___Q_simulate_exceptions): Use real FP ops rather than writing
8403         into the %fsr.
8404         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
8405         Likewise.
8407 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
8409         [BZ #14117]
8410         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
8411         * sysdeps/x86/bits/xtitypes.h: This.
8413         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
8414         * sysdeps/x86/bits/wordsize.h: This.
8416         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
8417         * sysdeps/x86/bits/huge_vall.h: This.
8419         * sysdeps/i386/bits/select.h: Removed.
8420         * sysdeps/x86_64/bits/select.h: Renamed to ...
8421         * sysdeps/x86/bits/select.h: This.
8423         * sysdeps/i386/bits/setjmp.h: Removed.
8424         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
8425         * sysdeps/x86/bits/setjmp.h: This.
8427         * sysdeps/i386/bits/mathdef.h: Removed.
8428         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
8429         * sysdeps/x86/bits/mathdef.h: This.
8431 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
8433         [BZ #14132]
8434         * include/sys/socket.h (__connect_internal)
8435         (__libc_sa_len_internal): Remove declaration.
8436         (__connect, __libc_sa_len): Declare hidden_proto.
8437         (SA_LEN): Remove use of INTUSE.
8438         * socket/connect.c: Add libc_hidden_def.
8439         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
8440         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
8441         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
8442         alias.
8443         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8444         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8445         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
8446         of adding _internal alias.
8448 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
8450         [BZ #14117]
8451         * sysdeps/i386/bits/link.h: Removed.
8452         * sysdeps/i386/bits/linkmap.h: Likewise.
8453         * sysdeps/x86_64/bits/link.h: Renamed to ...
8454         * sysdeps/x86/bits/link.h: This.
8455         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
8456         * sysdeps/x86/bits/linkmap.h: This.
8458         * sysdeps/i386/bits/endian.h: Removed.
8459         * sysdeps/x86_64/bits/endian.h: Renamed to ...
8460         * sysdeps/x86/bits/endian.h: This.
8462         * sysdeps/i386/bits/byteswap.h: Removed.
8463         * sysdeps/i386/bits/byteswap-16.h: Likewise.
8464         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
8465         * sysdeps/x86/bits/byteswap.h: This.
8466         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
8467         * sysdeps/x86/bits/byteswap-16.h: This.
8468         * sysdeps/i386/Implies: Add x86.
8469         * sysdeps/x86_64/Implies: Likewise.
8471 2012-05-30  David S. Miller  <davem@davemloft.net>
8473         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
8474         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
8475         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8476         (FP_TRAPPING_EXCEPTIONS): Define.
8477         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8478         (FP_TRAPPING_EXCEPTIONS): Define.
8479         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
8480         subnormals only when inexact has been signalled or underflow
8481         exceptions are enabled.
8482         (_FP_PACK_CANONICAL): Likewise.
8484 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
8486         [BZ #14183]
8487         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
8488         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
8490 2012-05-30  Richard Henderson  <rth@twiddle.net>
8492         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
8493         with #ifndef NOT_IN_libc.
8495         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
8496         marked to avoid plt entry.
8498 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
8500         [BZ #14112]
8501         * Makeconfig (default-abi): New macro.
8502         (abi-includes): Likewise.
8503         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
8504         $(abi-$(default-abi)-lib-soname) for soname if defined.
8505         ($(common-objpfx)gnu/lib-names.stmp): Generate from
8506         abi-variants.
8507         * Makefile (installed-stubs): Likewise.
8508         * include/stubs-biarch.h: Removed.
8509         * scripts/lib-names.awk: Only handle one library at a time.
8510         * scripts/soversions.awk: Remove WORDSIZE support.
8511         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
8512         entries.
8513         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
8514         Removed.
8515         (syscall-list-default-condition): Likewise.
8516         (syscall-list-default-condition): Likewise.
8517         (syscall-list-includes): Likewise.
8518         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
8519         syscall-list-* with abi-*.  Handle undefined abi-variants.
8520         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
8521         * sysdeps/unix/sysv/linux/i386/Implies: New file.
8522         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
8523         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
8524         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
8525         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
8526         Removed.
8527         (syscall-list-32-options): Likewise.
8528         (syscall-list-32-condition): Likewise.
8529         (syscall-list-64-options): Likewise.
8530         (syscall-list-64-condition): Likewise.
8531         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
8532         macro.
8533         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
8534         Renamed to ...
8535         (abi-*): This.
8536         (abi-64-ld-soname): New macro.
8537         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
8538         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
8539         Renamed to ...
8540         (abi-*): This.
8541         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
8542         * sysdeps/x86_64/x32/shlib-versions: Likewise.
8544 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
8546         * sysdeps/unix/sysv/linux/kernel-features.h
8547         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
8548         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
8549         include <kernel-features.h>.
8550         [!__NR_ftruncate64]: Remove conditional code.
8551         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8552         [__NR_ftruncate64]: Make code unconditional.
8553         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8554         * sysdeps/unix/sysv/linux/truncate64.c: Do not
8555         include <kernel-features.h>.
8556         [!__NR_ftruncate64]: Remove conditional code.
8557         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8558         [__NR_ftruncate64]: Make code unconditional.
8559         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
8561         include <kernel-features.h>.
8562         [!__NR_ftruncate64]: Remove conditional code.
8563         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8564         [__NR_ftruncate64]: Make code unconditional.
8565         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8567         include <kernel-features.h>.
8568         [!__NR_ftruncate64]: Remove conditional code.
8569         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8570         [__NR_ftruncate64]: Make code unconditional.
8571         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8573         * configure.in (libc_cv_fpie): Weaken to a compile test using
8574         LIBC_TRY_CC_OPTION.
8575         * configure: Regenerated.
8577 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8579         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
8580         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
8581         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
8582         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8583         Refreshed.
8584         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
8585         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
8586         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
8587         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
8588         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
8589         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8590         Refreshed.
8592 2012-05-27  David S. Miller  <davem@davemloft.net>
8594         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
8595         (___Q_zero): New.
8596         (__Q_simulate_exceptions): Return void.  Change to simulate
8597         exceptions by writing into the %fsr.
8598         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
8599         (__Qp_handle_exceptions): Likewise.
8600         (numbers): Delete.
8601         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
8602         __Qp_handle_exceptions.
8603         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
8604         __Qp_handle_exceptions.
8605         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8606         as unused and give dummy FP_RND_NEAREST initializer.
8607         (FP_INHIBIT_RESULTS): Define.
8608         (___Q_simulate_exceptions): Update declaration.
8609         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
8610         formatting.
8611         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8612         as unused and give dummy FP_RND_NEAREST initializer.
8613         (__Qp_handle_exceptions): Update declaration.
8614         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
8615         formatting.
8617 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
8619         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
8620         the temporary FPU control word.
8621         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8622         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
8623         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8624         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8625         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8626         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8627         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8628         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8629         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8630         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8631         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8633 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8635         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
8636         fields.
8638 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
8640         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
8641         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
8642         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
8643         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
8644         Likewise.
8645         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
8646         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
8647         Likewise.
8649 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
8651         * po/h.po: Update from translation team.
8653 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
8655         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
8657         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
8658         handling of denormals.
8659         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8660         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8661         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8662         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8663         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8664         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
8665         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
8666         Likewise.
8668 2012-05-26  Marek Polacek  <polacek@redhat.com>
8670         [BZ #14152]
8671         * math/libm-test.inc (fma_test): Don't always expect underflow
8672         exception.
8674 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8676         [BZ #12416]
8677         * elf/tst-execstack.c: Include stackinfo.h.
8678         (do_test): Adjust test case to ensure that pthread_getattr_np
8679         behaviour remains the same after marking stack executable.
8681 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
8683         * sysdeps/unix/sysv/linux/kernel-features.h
8684         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
8685         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
8686         kernel-features.h.
8687         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8688         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8689         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
8690         kernel-features.h.
8691         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8692         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8694 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
8696         * configure.in: Define the default includes to being none.
8697         * configure: Regenerated.
8699 2012-05-25  Roland McGrath  <roland@hack.frob.com>
8701         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
8702         * sysdeps/x86_64/setjmp.S: Likewise.
8703         * sysdeps/i386/bsd-setjmp.S: Likewise.
8704         * sysdeps/i386/bsd-_setjmp.S: Likewise.
8705         * sysdeps/i386/setjmp.S: Likewise.
8706         * sysdeps/i386/__longjmp.S: Likewise.
8707         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8708         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
8710         * include/stap-probe.h: New file.
8711         * configure.in: Handle --enable-systemtap.
8712         * configure: Regenerated.
8713         * config.h.in (USE_STAP_PROBE): New #undef.
8714         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
8715         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
8716         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8718 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
8720         [BZ #13717]
8721         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8722         to 2.4.0 where earlier.
8723         * sysdeps/unix/sysv/linux/configure: Regenerated.
8724         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8725         <kernel-features.h>.
8726         [__ASSUME_32BITUIDS]: Make code unconditional.
8727         [!__ASSUME_32BITUIDS]: Remove conditional code.
8728         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
8729         <kernel-features.h>.
8730         [__ASSUME_32BITUIDS]: Make code unconditional.
8731         [!__ASSUME_32BITUIDS]: Remove conditional code.
8732         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
8733         [__ASSUME_32BITUIDS]: Make code unconditional.
8734         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
8735         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
8736         <kernel-features.h>.
8737         [__ASSUME_32BITUIDS]: Make code unconditional.
8738         [!__ASSUME_32BITUIDS]: Remove conditional code.
8739         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
8740         <kernel-features.h>.
8741         [__ASSUME_32BITUIDS]: Make code unconditional.
8742         [!__ASSUME_32BITUIDS]: Remove conditional code.
8743         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
8744         <kernel-features.h>.
8745         [__ASSUME_32BITUIDS]: Make code unconditional.
8746         [!__ASSUME_32BITUIDS]: Remove conditional code.
8747         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
8748         <kernel-features.h>.
8749         [__ASSUME_32BITUIDS]: Make code unconditional.
8750         [!__ASSUME_32BITUIDS]: Remove conditional code.
8751         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8752         <kernel-features.h>.
8753         [__ASSUME_32BITUIDS]: Make code unconditional.
8754         [!__ASSUME_32BITUIDS]: Remove conditional code.
8755         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8756         <kernel-features.h>.
8757         [__ASSUME_32BITUIDS]: Make code unconditional.
8758         [!__ASSUME_32BITUIDS]: Remove conditional code.
8759         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
8760         <kernel-features.h>.
8761         [__ASSUME_32BITUIDS]: Make code unconditional.
8762         [!__ASSUME_32BITUIDS]: Remove conditional code.
8763         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8764         <kernel-features.h>.
8765         [__ASSUME_32BITUIDS]: Make code unconditional.
8766         [!__ASSUME_32BITUIDS]: Remove conditional code.
8767         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8768         <kernel-features.h>.
8769         [__ASSUME_32BITUIDS]: Make code unconditional.
8770         [!__ASSUME_32BITUIDS]: Remove conditional code.
8771         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
8772         <kernel-features.h>.
8773         [__ASSUME_32BITUIDS]: Make code unconditional.
8774         [!__ASSUME_32BITUIDS]: Remove conditional code.
8775         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
8776         <kernel-features.h>.
8777         [__NR_setresgid] (__setresgid): Do not declare.
8778         [__ASSUME_32BITUIDS]: Make code unconditional.
8779         [!__ASSUME_32BITUIDS]: Remove conditional code.
8780         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
8781         <kernel-features.h>.
8782         [__NR_setresuid] (__setresuid): Do not declare.
8783         [__ASSUME_32BITUIDS]: Make code unconditional.
8784         [!__ASSUME_32BITUIDS]: Remove conditional code.
8785         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
8786         <kernel-features.h>.
8787         [__ASSUME_32BITUIDS]: Make code unconditional.
8788         [!__ASSUME_32BITUIDS]: Remove conditional code.
8789         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
8790         <kernel-features.h>.
8791         [__ASSUME_32BITUIDS]: Make code unconditional.
8792         [!__ASSUME_32BITUIDS]: Remove conditional code.
8793         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
8794         <kernel-features.h>.
8795         [__ASSUME_32BITUIDS]: Make code unconditional.
8796         [!__ASSUME_32BITUIDS]: Remove conditional code.
8797         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
8798         <kernel-features.h>.
8799         [__ASSUME_32BITUIDS]: Make code unconditional.
8800         [!__ASSUME_32BITUIDS]: Remove conditional code.
8801         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
8802         <kernel-features.h>.
8803         [__ASSUME_32BITUIDS]: Make code unconditional.
8804         [!__ASSUME_32BITUIDS]: Remove conditional code.
8805         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
8806         <kernel-features.h>.
8807         [__ASSUME_32BITUIDS]: Make code unconditional.
8808         [!__ASSUME_32BITUIDS]: Remove conditional code.
8809         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
8810         <kernel-features.h>.
8811         [__ASSUME_32BITUIDS]: Make code unconditional.
8812         [!__ASSUME_32BITUIDS]: Remove conditional code.
8813         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
8814         <kernel-features.h>.
8815         [__ASSUME_32BITUIDS]: Make code unconditional.
8816         [!__ASSUME_32BITUIDS]: Remove conditional code.
8817         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
8818         <kernel-features.h>.
8819         [__ASSUME_32BITUIDS]: Make code unconditional.
8820         [!__ASSUME_32BITUIDS]: Remove conditional code.
8821         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8822         <kernel-features.h>.
8823         [__ASSUME_32BITUIDS]: Make code unconditional.
8824         [!__ASSUME_32BITUIDS]: Remove conditional code.
8825         * sysdeps/unix/sysv/linux/kernel-features.h
8826         (__ASSUME_SETRESUID_SYSCALL): Remove.
8827         (__ASSUME_SETRESGID_SYSCALL): Likewise.
8828         (__ASSUME_32BITUIDS): Likewise.
8829         (__ASSUME_LDT_WORKS): Likewise.
8830         (__ASSUME_O_DIRECTORY): Likewise.
8831         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
8832         architecture but not kernel version.
8833         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8834         (__ASSUME_MMAP2_SYSCALL): Likewise.
8835         (__ASSUME_STAT64_SYSCALL): Likewise.
8836         (__ASSUME_IPC64): Likewise.
8837         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
8838         <kernel-features.h>.
8839         [__ASSUME_32BITUIDS]: Make code unconditional.
8840         [!__ASSUME_32BITUIDS]: Remove conditional code.
8841         * sysdeps/unix/sysv/linux/opendir.c: Do not include
8842         <kernel-features.h>.
8843         [__ASSUME_O_DIRECTORY]: Make code unconditional.
8844         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
8845         132096]: Remove conditional code.
8846         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
8847         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8848         <kernel-features.h>.
8849         [__ASSUME_32BITUIDS]: Make code unconditional.
8850         [!__ASSUME_32BITUIDS]: Remove conditional code.
8851         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8852         <kernel-features.h>.
8853         [__ASSUME_32BITUIDS]: Make code unconditional.
8854         [!__ASSUME_32BITUIDS]: Remove conditional code.
8855         * sysdeps/unix/sysv/linux/setegid.c: Do not include
8856         <kernel-features.h>.
8857         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
8858         unconditional.
8859         (__setresgid): Do not declare.
8860         [__ASSUME_32BITUIDS]: Make code unconditional.
8861         [!__ASSUME_32BITUIDS]: Remove conditional code.
8862         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
8863         <kernel-features.h>.
8864         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
8865         unconditional.
8866         (__setresuid): Do not declare.
8867         [__ASSUME_32BITUIDS]: Make code unconditional.
8868         [!__ASSUME_32BITUIDS]: Remove conditional code.
8869         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8870         <kernel-features.h>.
8871         [__ASSUME_32BITUIDS]: Make code unconditional.
8872         [!__ASSUME_32BITUIDS]: Remove conditional code.
8873         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
8874         <kernel-features.h>.
8875         [__ASSUME_32BITUIDS]: Make code unconditional.
8876         [!__ASSUME_32BITUIDS]: Remove conditional code.
8878 2012-05-25  Richard Henderson  <rth@twiddle.net>
8880         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
8881         dl_hwcap to ifunc resolver.
8882         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
8883         elf_ifunc_invoke.
8884         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
8885         dl_hwcap to ifunc resolver.
8886         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
8888 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
8890         [BZ #14153]
8891         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
8892         for |x| <= 2**-26, not 2**-57.
8893         * math/libm-test.inc (acos_test): Do not allow spurious underflow
8894         exception.
8896 2012-05-24  Jeff Law  <law@redhat.com>
8898         * stdio-common/Makefile (tests): Add bug25.
8899         * stdio-common/bug25.c: New test.
8901 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
8903         [BZ #13576]
8904         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
8905         multiple of MALLOC_ALIGNMENT in size.
8906         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
8908 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
8910         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
8911         Require >= 256.
8912         (FILENAME_MAX): Use macro-int-constant.
8913         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
8914         (_IOFBF): Use macro-int-constant.
8915         (_IOLBF): Likewise.
8916         (_IONBF): Likewise.
8917         (SEEK_CUR): Likewise.
8918         (SEEK_END): Likewise.
8919         (SEEK_SET): Likewise.
8920         (TMP_MAX): Likewise.
8921         (EOF): Use macro-int-constant.  Require < 0.
8922         (NULL): Use macro-constant.  Require == 0.
8923         (stdin): Require type to be FILE *.
8924         (stdout): Likewise.
8925         (stderr): Likewise.
8926         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
8927         macro-int-constant.
8928         (EXIT_SUCCESS): Likewise.
8929         (NULL): Use macro-constant.  Require == 0.
8930         (RAND_MAX): Use macro-int-constant.
8931         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
8932         [C99-based standards] (strtof): Require function.
8933         [C99-based standards] (strtold): Likewise.
8934         [C99-based standards] (strtoll): Likewise.
8935         [C99-based standards] (strtoull): Likewise.
8936         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8937         [ISO || ISO99 || ISO11] (limits.h): Likewise.
8938         [ISO || ISO99 || ISO11] (math.h): Likewise.
8939         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
8940         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8941         [ISO || ISO99 || ISO11] (*_t): Do not allow.
8943 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
8945         [BZ #14132]
8946         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
8947         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
8948         * intl/dgettext.c (DCGETTEXT): Likewise.
8949         * intl/gettext.c (DCGETTEXT): Likewise.
8950         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
8951         * posix/regex_internal.h (gettext): Likewise.
8952         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
8953         Remove declaration.
8954         * include/argz.h (__argz_count_internal)
8955         (__argz_stringify_internal): Remove declaration.
8956         (__argz_count, __argz_stringify): Declare hidden proto.
8957         * intl/dcgettext.c: Remove use of INTDEF.
8958         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
8959         * string/argz-stringify.c: Likewise.
8960         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8961         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8962         Declare hidden proto.
8963         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8964         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8965         Declare hidden proto.
8966         * include/stdio.h (__asprintf_internal): Don't declare.
8967         (__asprintf): Don't define as macro.  Declare hidden proto.
8968         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
8969         (__fsetlocking): Declare hidden proto.
8970         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
8971         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
8972         hidden proto.
8973         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
8974         (_IO_setlinebuf): Remove use of INTUSE.
8975         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
8976         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
8977         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
8978         Remove declaration.
8979         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
8980         (_IO_do_flush): Remove use of INTUSE.
8981         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
8982         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
8983         (_IO_adjust_column, _IO_least_wmarker)
8984         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
8985         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
8986         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
8987         (_IO_default_doallocate, _IO_wdefault_doallocate)
8988         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
8989         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
8990         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
8991         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
8992         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
8993         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
8994         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
8995         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
8996         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
8997         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
8998         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
8999         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
9000         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
9001         proto.
9002         (_IO_flush_all_internal, _IO_adjust_column_internal)
9003         (_IO_default_uflow_internal, _IO_default_finish_internal)
9004         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
9005         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
9006         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
9007         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
9008         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
9009         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
9010         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
9011         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
9012         (_IO_file_close_internal, _IO_file_close_it_internal)
9013         (_IO_file_underflow_internal, _IO_file_overflow_internal)
9014         (_IO_file_init_internal, _IO_file_attach_internal)
9015         (_IO_file_fopen_internal, _IO_file_read_internal)
9016         (_IO_file_sync_internal, _IO_file_seek_internal)
9017         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
9018         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
9019         (_IO_str_underflow_internal, _IO_str_overflow_internal)
9020         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
9021         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
9022         (_IO_list_all_internal, _IO_link_in_internal)
9023         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
9024         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
9025         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
9026         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
9027         (_IO_do_write_internal, _IO_padn_internal)
9028         (_IO_getline_info_internal, _IO_getline_internal)
9029         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
9030         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
9031         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
9032         (_IO_vfscanf_internal, _IO_vfprintf_internal)
9033         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
9034         (_IO_init_internal, _IO_un_link_internal): Don't declare.
9035         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
9036         with libc_hidden_ver, remove use of INTUSE.
9037         * libio/genops.c: Likewise.
9038         * libio/freopen.c: Likewise.
9039         * libio/freopen64.c: Likewise.
9040         * libio/iofclose.c: Likewise.
9041         * libio/iofdopen.c: Likewise.
9042         * libio/iofflush.c: Likewise.
9043         * libio/iofflush_u.c: Likewise.
9044         * libio/iofgets.c: Likewise.
9045         * libio/iofgets_u.c: Likewise.
9046         * libio/iofopen.c: Likewise.
9047         * libio/iofopncook.c: Likewise.
9048         * libio/iofread.c: Likewise.
9049         * libio/iofread_u.c: Likewise.
9050         * libio/ioftell.c: Likewise.
9051         * libio/iofwrite.c: Likewise.
9052         * libio/iogetline.c: Likewise.
9053         * libio/iogets.c: Likewise.
9054         * libio/iogetwline.c: Likewise.
9055         * libio/iopadn.c: Likewise.
9056         * libio/iopopen.c: Likewise.
9057         * libio/ioseekoff.c: Likewise.
9058         * libio/ioseekpos.c: Likewise.
9059         * libio/iosetbuffer.c: Likewise.
9060         * libio/iosetvbuf.c: Likewise.
9061         * libio/ioungetc.c: Likewise.
9062         * libio/ioungetwc.c: Likewise.
9063         * libio/iovdprintf.c: Likewise.
9064         * libio/iovsprintf.c: Likewise.
9065         * libio/iovsscanf.c: Likewise.
9066         * libio/memstream.c: Likewise.
9067         * libio/obprintf.c: Likewise.
9068         * libio/oldfileops.c: Likewise.
9069         * libio/oldiofclose.c: Likewise.
9070         * libio/oldiofdopen.c: Likewise.
9071         * libio/oldiofopen.c: Likewise.
9072         * libio/oldiopopen.c: Likewise.
9073         * libio/oldstdfiles.c: Likewise.
9074         * libio/putc.c: Likewise.
9075         * libio/setbuf.c: Likewise.
9076         * libio/setlinebuf.c: Likewise.
9077         * libio/stdfiles.c: Likewise.
9078         * libio/strops.c: Likewise.
9079         * libio/vasprintf.c: Likewise.
9080         * libio/vscanf.c: Likewise.
9081         * libio/vsnprintf.c: Likewise.
9082         * libio/vswprintf.c: Likewise.
9083         * libio/wfiledoalloc.c: Likewise.
9084         * libio/wfileops.c: Likewise.
9085         * libio/wgenops.c: Likewise.
9086         * libio/wmemstream.c: Likewise.
9087         * libio/wstrops.c: Likewise.
9088         * libio/__fpurge.c: Likewise.
9089         * libio/__fsetlocking.c: Likewise.
9090         * assert/assert.c: Likewise.
9091         * debug/fgets_chk.c: Likewise.
9092         * debug/fgets_u_chk.c: Likewise.
9093         * debug/fread_chk.c: Likewise.
9094         * debug/fread_u_chk.c: Likewise.
9095         * debug/gets_chk.c: Likewise.
9096         * debug/obprintf_chk.c: Likewise.
9097         * debug/vasprintf_chk.c: Likewise.
9098         * debug/vdprintf_chk.c: Likewise.
9099         * debug/vsnprintf_chk.c: Likewise.
9100         * debug/vsprintf_chk.c: Likewise.
9101         * malloc/mtrace.c: Likewise.
9102         * misc/error.c: Likewise.
9103         * misc/syslog.c: Likewise.
9104         * stdio-common/asprintf.c: Likewise.
9105         * stdio-common/fxprintf.c: Likewise.
9106         * stdio-common/getw.c: Likewise.
9107         * stdio-common/isoc99_fscanf.c: Likewise.
9108         * stdio-common/isoc99_scanf.c: Likewise.
9109         * stdio-common/isoc99_vfscanf.c: Likewise.
9110         * stdio-common/isoc99_vscanf.c: Likewise.
9111         * stdio-common/isoc99_vsscanf.c: Likewise.
9112         * stdio-common/printf-prs.c: Likewise.
9113         * stdio-common/printf_fp.c: Likewise.
9114         * stdio-common/printf_fphex.c: Likewise.
9115         * stdio-common/printf_size.c: Likewise.
9116         * stdio-common/putw.c: Likewise.
9117         * stdio-common/scanf.c: Likewise.
9118         * stdio-common/sprintf.c: Likewise.
9119         * stdio-common/tmpfile.c: Likewise.
9120         * stdio-common/vfprintf.c: Likewise.
9121         * stdio-common/vfscanf.c: Likewise.
9122         * stdlib/strfmon_l.c: Likewise.
9123         * sunrpc/openchild.c: Likewise.
9124         * sunrpc/xdr_stdio.c: Likewise.
9125         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
9126         * sysdeps/mach/hurd/tmpfile.c: Likewise.
9128 2012-05-24  Roland McGrath  <roland@hack.frob.com>
9130         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9132         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
9133         in the third column, to generate for the shared library an IFUNC
9134         that uses _dl_vdso_vsym.
9135         * Makerules (COMPILE.c, compile-stdin.c): New variables.
9136         * Makeconfig (object-suffixes-noshared): New variable.
9138         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
9139         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
9140         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
9141         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
9143         [BZ #14132]
9144         * include/sys/time.h (__gettimeofday): Remove macro.
9145         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
9146         * time/gettimeofday.c (__gettimeofday): Remove #undef.
9147         Remove INTDEF.
9148         (__gettimeofday): Add libc_hidden_def.
9149         (gettimeofday): Add libc_hidden_weak.
9150         * sysdeps/mach/gettimeofday.c: Likewise.
9151         * sysdeps/posix/gettimeofday.c: Likewise.
9152         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
9153         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9154         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
9155         (__gettimeofday_internal): Remove strong_alias.
9156         (__gettimeofday): Add libc_hidden_def.
9157         (gettimeofday): Add libc_hidden_weak.
9158         * sysdeps/unix/syscalls.list (gettimeofday):
9159         Remove __gettimeofday_internal alias.
9161 2012-05-24  Daniel Jacobowitz  <drow@false.org>
9162             H.J. Lu  <hongjiu.lu@intel.com>
9164         [BZ #12495]
9165         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
9166         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
9167         (largebin_index_32_big): New.
9168         (largebin_index): Use it for 16-byte alignment.
9169         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
9170         correction with front_misalign.
9172 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
9174         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
9175         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9176         Likewise.
9177         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
9178         Likewise.
9179         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9180         Likewise.
9181         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
9182         Likewise.
9183         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
9184         Likewise.
9185         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
9186         Likewise.
9187         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
9188         Likewise.
9189         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
9190         Likewise.
9191         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
9192         Likewise.
9193         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
9194         Likewise.
9195         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9196         Likewise.
9197         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
9198         Likewise.
9200         * scripts/data/c++-types-x32-linux-gnu.data: New file.
9201         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
9203 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
9205         [BZ #10846]
9206         [BZ #14036]
9207         * math/libm-test.inc (exp_test): Add test from bug 14036.
9208         (pow_test): Add test from bug 10846.
9210         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
9211         and other flags.
9212         (special_function): Do not include flags in test name.
9213         (parse_args): Likewise.
9214         * sysdeps/i386/fpu/libm-test-ulps: Update.
9215         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9216         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9217         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9220         * math/gen-libm-test.pl (%beautify): Add entries for underflow
9221         exceptions.
9222         * math/libm-test.inc ("Philosophy"): Update comment about
9223         exception testing.
9224         (UNDERFLOW_EXCEPTION): New macro.
9225         (UNDERFLOW_EXCEPTION_OK): Likewise.
9226         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9227         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9228         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9229         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9230         (INVALID_EXCEPTION_OK): Update value.
9231         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9232         (OVERFLOW_EXCEPTION_OK): Likewise.
9233         (IGNORE_ZERO_INF_SIGN): Likewise.
9234         (test_exceptions): Handle underflow exceptions.
9235         (acos_test): Update for underflow exception expectations.
9236         (cexp_test): Likewise.
9237         (clog_test): Likewise.
9238         (clog10_test): Likewise.
9239         (csqrt_test): Likewise.
9240         (ctan_test): Likewise.
9241         (ctanh_test): Likewise.
9242         (exp_test): Likewise.
9243         (exp10_test): Likewise.
9244         (exp2_test): Likewise.
9245         (expm1_test): Likewise.
9246         (fma_test): Likewise.
9247         (j0_test): Likewise.
9248         (jn_test): Likewise.
9249         (nexttoward_test): Likewise.
9250         (pow_test): Likewise.
9251         (scalbn_test): Likewise.
9252         (scalbln_test): Likewise.
9253         (tan_test): Likewise.
9254         (y1_test): Likewise.
9255         * sysdeps/i386/fpu/libm-test-ulps: Update.
9256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9258 2012-05-23  David S. Miller  <davem@davemloft.net>
9260         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9261         (__libc_sigaction): Remove unused local variables.
9263 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
9265         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
9267 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
9269         mktime: avoid signed integer overflow
9270         * time/mktime.c (__mktime_internal): Do not mishandle the case
9271         where diff == INT_MIN.
9273         mktime: simplify computation of average
9274         * time/mktime.c (ranged_convert): Use new time_t_avg function
9275         instead of rolling our own (probably-slower) code.
9277         mktime: do not assume signed right shift propagates sign bit
9278         * time/mktime.c (isdst_differ): New static function.
9279         (__mktime_internal): No need to normalize tm_isdst now.
9280         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
9281         tm_isdst values.
9283         mktime: merge another wrapv change from gnulib
9284         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
9285         from some compilers.
9287         mktime: remove incorrect attempt at unusual arithmetics
9288         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
9289         The code didn't really work on such machines anyway.
9290         (TYPE_MINIMUM): Assume two's complement.
9291         (twos_complement_arithmetic): Verify that long_int and time_t
9292         are two's complement (or unsigned, in the latter case).
9294         mktime: check signed shifts on long_int and time_t, too
9295         * time/mktime.c (SHR): Check that shifts work as desired
9296         on the types long_int and time_t too, as SHR is used on
9297         such types.
9299         mktime: do not assume 'long' is wide enough
9300         * time/mktime.c (verify): Move decl up.
9301         (long_int): New type.
9302         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
9303         to remove assumption in the code that 'long' is wide enough to
9304         store year values.  This assumption is not true on x32 and on
9305         some non-glibc platforms.
9307         mktime: merge wrapv change from gnulib
9308         * time/mktime.c (WRAPV): New macro.
9309         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
9310         (guess_time_tm, __mktime_internal): Do not assume that signed
9311         integer overflow wraps around; modern compilers generate code
9312         where this assumption is no longer valid.
9314 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
9316         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9317         Replace "jmp L(pseudo_end)" with "ret".
9318         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
9319         Likewise.
9321 2012-05-23  Andreas Jaeger  <aj@suse.de>
9323         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
9324         * sysdeps/unix/sysv/linux/poll.c: Remove file.
9326 2012-05-23  Andreas Jaeger  <aj@suse.de>
9327             Maximilian Attems  <max@stro.at>
9329         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
9330         New macros.
9332 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
9334         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
9335         code so that pseudo_end is just ret and the stack pointer is
9336         correct also for static library in error case.
9338 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
9340         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
9341         move to syscalls.list.
9342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9347         * manual/install.texi (Running make install): Do not mention Linux
9348         kernel version for which pt_chown is not needed.
9349         (Linux): Do not mention problems with nscd with 2.0 kernels.
9350         * INSTALL: Regenerated.
9352 2012-05-23  Andreas Jaeger  <aj@suse.de>
9354         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
9355         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
9356         macro.
9357         * sysdeps/unix/sysv/linux/s390/bits/mman.h
9358         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9359         * sysdeps/unix/sysv/linux/sh/bits/mman.h
9360         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9361         * sysdeps/unix/sysv/linux/i386/bits/mman.h
9362         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9363         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
9364         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9365         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
9366         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9367         * sysdeps/unix/sysv/linux/bits/in.h
9368         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
9370 2012-05-22  Roland McGrath  <roland@hack.frob.com>
9372         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
9373         (PREPARE_VERSION): Just use assert instead, it will be elided
9374         under [NDEBUG] anyway.
9376 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
9378         * sysdeps/unix/sysv/linux/Makefile: Include
9379         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
9380         (sysdep_routines): Remove sysctl.
9381         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
9382         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
9383         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
9384         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
9385         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
9387 2012-05-22  Andreas Jaeger  <aj@suse.de>
9389         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
9390         that pseudo_end is just ret and the stack pointer is correct also
9391         for static library in error case.
9393 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
9395         [BZ #14122]
9396         * nss/nsswitch.c (defconfig_entries): New variable.
9397         (__nss_database_lookup): Don't leak defconfig entries.
9398         (nss_parse_service_list): Don't leak on error paths.
9399         (free_database_entries): New function.
9400         (free_defconfig): New function.
9401         (free_mem): Move common code to free_database_entries.
9403 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
9405         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
9406         Add arch_prctl.
9407         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
9409         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9410         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
9411         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
9412         New macro.
9413         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9414         (INTERNAL_SYSCALL_TYPES): Likewise.
9415         (LOAD_ARGS_TYPES_[1-6]): Likewise.
9416         (LOAD_REGS_TYPES_[1-6]): Likewise.
9417         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
9418         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
9420 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9422         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
9423         copysignl for GLIBC_2_0.
9424         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
9425         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
9426         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
9427         logbl for GLIBC_2_0.
9428         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9429         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9431 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
9433         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
9434         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
9436         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9437         Use "neg %eax".
9439         * time/mktime.c: Update copyright years.
9441 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
9443         mktime: merge comment-quoting-style change from gnulib
9444         * time/mktime.c: Quote 'like this' in comments.
9445         The GNU coding standards suggest that we no longer quote `like this',
9446         as "`" and "'" are typically rendered asymmetrically nowadays.
9447         The typical gnulib style is to quote 'like this' when quoting
9448         code, and "like this" when quoting English.
9450         * time/mktime.c (compile-command): Add "-I.".
9452         mktime: merge mktime-internal.h change from gnulib
9453         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
9455         mktime: merge time_r change from gnulib
9456         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
9458         mktime: merge DEBUG change from gnulib
9459         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
9460         case system <time.h> has a #define.
9462         mktime: merge <sys/types.h> change from gnulib
9463         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
9464         since <time.t> is now guaranteed to define time_t.
9466         mktime: merge HAVE_CONFIG_H change from gnulib
9467         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
9469 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
9471         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9472         Use "neg %eax".
9474         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
9475         __rlim_t cast.
9476         (struct rusage): Use anonymous union to pad each field to
9477         __syscall_slong_t.
9479 2012-05-21  David S. Miller  <davem@davemloft.net>
9481         * Makefules (o-iterator): Remove .s cases.
9482         (compile-command.s): Delete.
9483         (COMPILE.s): Delete.
9484         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
9486 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
9488         * configure.in (libc_cv_predef_stack_protector): Only consider
9489         "foobar" and "__stack_chk_fail" lines in libc_undefs.
9490         * configure: Regenerated.
9492 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
9494         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9495         New macro.  Use R*LP on int and pointer.
9496         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
9497         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
9498         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
9499         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
9501         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
9502         [__WORDSIZE_TIME64_COMPAT32] instead of
9503         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
9504         (struct utmp): Likewise.
9505         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
9506         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
9507         Renamed to ...
9508         (__WORDSIZE_TIME64_COMPAT32): This.
9509         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
9510         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
9511         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
9512         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
9513         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
9514         (__WORDSIZE_TIME64_COMPAT32): New macro.
9516 2012-05-21  Andreas Jaeger  <aj@suse.de>
9518         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
9519         only if [SHARED]. Add prototype for __wcschr_ia32.
9521 2012-05-21  Roland McGrath  <roland@hack.frob.com>
9523         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
9524         of %rbp unmolested in the jmp_buf while mangling the low bits.
9525         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
9526         unmolested high bits of %rbp while demangling the low bits.
9527         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9529 2012-05-21  Andreas Jaeger  <aj@suse.de>
9531         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
9532         * sunrpc/svc_simple.c: Use it for registerrpc.
9533         * sunrpc/xcrypt.c: Use it for passwd2des.
9535         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
9537 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
9539         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
9540         Don't define if [__SYSCALL_WORDSIZE != 32].
9541         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
9542         New macro.
9544 2012-05-21  Bruno Haible  <bruno@clisp.org>
9545             Andreas Jaeger  <aj@suse.de>
9547         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
9548         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
9549         inptr and inend for must_buffer_ch.
9550         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
9551         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
9552         * stdio-common/Makefile (tests): Remove bug15.
9553         (bug15-ENV): Remove macro.
9554         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
9555         anymore.
9557 2012-05-19  Andreas Jaeger  <aj@suse.de>
9558             Roland McGrath  <roland@hack.frob.com>
9560         * manual/contrib.texi: Completely rewritten. It contains now an
9561         alphabetical list of contributors and their contributions.
9563 2012-05-21  Richard Henderson  <rth@twiddle.net>
9565         * misc/getauxval.c (__getauxval): Use unsigned long int.
9566         * misc/sys/auxv.h: Include <sys/cdefs.h>.
9567         (getauxval): Use unsigned long int.
9569 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
9571         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9573 2012-05-21  Roland McGrath  <roland@hack.frob.com>
9575         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
9576         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
9577         __alignof__ (long double).
9579 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9581         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9583 2012-05-20  Richard Henderson  <rth@twiddle.net>
9585         * misc/getauxval.c: New file.
9586         * misc/sys/auxv.h: New file.
9587         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
9588         (routines): Add getauxval.
9589         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
9590         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
9591         * elf/dl-sysdep.c (_dl_auxv): Remove.
9592         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
9593         * elf/dl-support.c (_dl_auxv): New variable.
9594         (_dl_aux_init): Initialize it.
9595         * manual/startup.texi (Auxiliary Vector): New node.
9596         * sysdeps/generic/bits/hwcap.h: New file.
9597         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
9598         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
9599         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
9600         * sysdeps/sparc/sysdep.h: ... here.  Include it.
9601         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
9602         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
9603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9604         Update.
9605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
9606         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
9607         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
9608         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
9609         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9610         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9611         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
9612         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
9614 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9616         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9618 2012-05-19  David S. Miller  <davem@davemloft.net>
9620         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9622 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
9624         [BZ #14123]
9625         * math/s_ccosh.c: Include <float.h>
9626         (__ccosh): Avoid internal overflow calculating sinh and cosh
9627         values before multiplying by sin and cos values.
9628         * math/s_ccoshf.c: Likewise.
9629         * math/s_ccoshl.c: Likewise.
9630         * math/s_csin.c: Likewise.
9631         * math/s_csinf.c: Likewise.
9632         * math/s_csinl.c: Likewise.
9633         * math/s_csinh.c: Likewise.
9634         * math/s_csinhf.c: Likewise.
9635         * math/s_csinhl.c: Likewise.
9636         * math/libm-test.inc (ccos_test): Add more tests.
9637         (ccosh_test): Likewise.
9638         (csin_test): Likewise.
9639         (csinh_test): Likewise.
9640         * sysdeps/i386/fpu/libm-test-ulps: Update.
9641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9643 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
9645         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
9646         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9648         * sysdeps/x86_64/x32/_itoa.h: Add comment.
9650 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
9652         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
9653         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
9654         * sysdeps/powerpc/soft-fp/Versions: Likewise.
9655         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
9656         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
9657         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
9658         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
9659         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
9660         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
9661         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
9662         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
9663         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
9664         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
9665         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
9666         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
9667         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
9668         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
9669         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
9670         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
9671         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
9672         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
9673         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
9674         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
9675         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
9676         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
9677         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
9678         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
9679         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
9680         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
9681         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
9682         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
9684 2012-05-18  Andreas Jaeger  <aj@suse.de>
9686         * csu/.gitignore: Delete.
9688 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
9690         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
9691         (timex): Use __syscall_slong_t.
9693 2012-05-18  Andreas Jaeger  <aj@suse.de>
9694             Carlos O'Donell  <carlos_odonell@mentor.com>
9696         * manual/install.texi (Configuring and compiling): Update
9697         description about files modified in the source directory.
9698         * INSTALL: Regenerated.
9700 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
9702         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
9703         value.  Use "or" to set return value to -1.
9704         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
9705         negate return value.
9707 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9709         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
9710         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
9711         failure if the compiler has Graphite support disabled.
9712         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
9713         Likewise.
9714         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
9715         CFLAGS-memmove.c): Likewise.
9716         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
9717         Likewise.
9719 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
9721         * sysdeps/x86_64/x32/_itoa.h: New file.
9723         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
9724         getdents system call only if kernel and user dirents have the
9725         same d_ino and d_off.
9727         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9728         LLONG_MAX != LONG_MAX.
9729         (_itoa_word): Use _ITOA_WORD_TYPE on value.
9730         (_fitoa_word): Likewise.
9732         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
9733         years.
9734         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
9735         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
9736         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
9738         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
9739         include <bits/wordsize.h>.  Check __x86_64__ instead of
9740         __WORDSIZE.
9741         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
9742         if __x86_64__ is defined.  Use anonymous union on fpstate.
9744         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
9745         anonymous union.
9747 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
9749         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9750         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
9751         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
9752         Refer to _rtld_local_ro instead of _rtld_global_ro.
9753         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
9754         Likewise.
9755         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
9756         Likewise.
9757         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
9758         Likewise.
9759         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
9760         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
9761         of _rtld_global, and rtld_progname instead of _dl_argv[0].
9763         * sysdeps/powerpc/powerpc32/dl-machine.c
9764         (__elf_machine_runtime_setup) [PROF]: Don't reference
9765         _dl_prof_resolve.
9767 2012-05-18  Andreas Jaeger  <aj@suse.de>
9769         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
9770         function only available for GCCs before 3.4 since GCC 3.4
9771         introduced a builtin.
9772         (lrint): Likewise.
9773         (llrintf): Likewise.
9774         (llrint): Likewise.
9775         (fmaxf): Likewise.
9776         (fmax): Likewise.
9777         (fminf): Likewise.
9778         (fmin): Likewise.
9779         (rint): Likewise.
9780         (rintf): Likewise.
9781         (nearbyint): Likewise.
9782         (nearbyintf): Likewise.
9783         (ceil): Likewise.
9784         (ceilf): Likewise.
9785         (floor): Likewise.
9786         (floorf): Likewise.
9788 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
9790         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
9791         on both fields and cast pointer to __syscall_ulong_t.
9793         * bits/types.h (__fsword_t): New type.
9794         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
9795         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
9796         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9797         (__FSWORD_T_TYPE): Likewise.
9798         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9799         (__FSWORD_T_TYPE): Likewise.
9800         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9801         (__FSWORD_T_TYPE): Likewise.
9802         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
9803         (__FSWORD_T_TYPE): Likewise.
9804         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
9805         __SWORD_TYPE with __fsword_t.
9806         (statfs64): Likewise.
9808 2012-05-17  David S. Miller  <davem@davemloft.net>
9810         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
9812 2012-05-17  Andreas Jaeger  <aj@suse.de>
9814         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
9815         warning.
9817 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
9819         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
9821 2012-05-17  Andreas Jaeger  <aj@suse.de>
9823         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
9824         when it is used.
9826 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
9828         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
9830 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
9832         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
9833         * sysdeps/x86_64/tst-mallocalign1.c: New file.
9835 2012-05-17  Andreas Jaeger  <aj@suse.de>
9836             Carlos O'Donell  <carlos_odonell@mentor.com>
9838         [BZ #14059]
9839         * sysdeps/x86_64/multiarch/init-arch.h
9840         (bit_YMM_Usable): Rename to...
9841         (bit_AVX_Usable): ... this.
9842         (bit_FMA4_Usable): New macro.
9843         (bit_XMM_state): New macro.
9844         (bit_YMM_state): New macro.
9845         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
9846         [__ASSEMBLER__] (index_AVX_Usable): ... this.
9847         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
9848         (CPUID_OSXSAVE): New macro.
9849         (CPUID_AVX): New macro.
9850         (CPUID_FMA4): New macro.
9851         (index_YMM_Usable): Rename to...
9852         (index_AVX_Usable): ... this.
9853         (HAS_AVX): Use HAS_ARCH_FEATURE.
9854         (HAS_FMA4): Likewise.
9855         (HAS_YMM_USABLE): Remove.
9856         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9857         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
9858         are present.
9859         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
9860         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
9861         * sysdeps/x86_64/multiarch/Makefile: Likewise.
9862         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
9863         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
9865 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
9867         * math/libm-test.c: Support platforms without multiple rounding modes.
9868         * math/bug-nextafter.c: Support platforms without FP exceptions.
9869         * math/bug-nexttoward.c: Likewise.
9870         * math/test-fenv.c: Likewise.
9871         * math/test-misc.c: Likewise.
9872         * stdlib/bug-getcontext.c: Likewise.
9874 2012-05-17  Andreas Jaeger  <aj@suse.de>
9876         * manual/examples/search.c (critter_cmp): Change signature to
9877         avoid warnings.
9878         * manual/string.texi (Collation Functions): Likewise.
9880 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9882         * bits/types.h: Fold copyright years.
9883         * bits/typesizes.h: Likewise.
9884         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
9885         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9886         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
9887         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
9888         * time/time.h: Likewise.
9890 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
9892         [BZ #208]
9893         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
9894         in instead of returning them.  Return void.
9895         (__libc_mallinfo): Accumulate over all arenas.
9896         (__malloc_stats): Adjust for change in int_mallinfo interface.
9898 2012-05-16  Roland McGrath  <roland@hack.frob.com>
9900         [BZ #10375]
9901         * configure.in (NM): Add AC_CHECK_TOOL for it.
9902         (libc_extra_cflags): New substituted variable.
9903         Check for -fstack-protector being used implicitly.
9904         * configure: Regenerated.
9905         * config.make.in (config-extra-cflags): New variable,
9906         gets @libc_extra_cflags@.
9907         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
9909         [BZ #10375]
9910         * configure.in: Check for _FORTIFY_SOURCE being predefined.
9911         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
9912         * configure: Regenerated.
9913         * config.make.in (CPPUNDEFS): New substituted variable.
9914         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
9915         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
9916         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
9918 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9920         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
9921         (mq_attr): Use __syscall_slong_t.
9923 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9925         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
9926         Check __x86_64__ instead of __WORDSIZE.
9927         (_STAT_VER_LINUX): Likewise.
9928         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
9929         __syscall_ulong_t and __syscall_slong_t.
9930         (stat64): Likewise.
9932 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9934         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
9936 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9938         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
9940 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9942         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
9943         __syscall_ulong_t.
9945         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
9946         include <bits/wordsize.h>.  Check __x86_64__ instead of
9947         __WORDSIZE.
9948         (greg_t): Use "__extension__ long long int" if __x86_64__ is
9949         defined.
9950         (mcontext_t): Replace "unsigned long" with "unsigned long long".
9952         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
9953         include <bits/wordsize.h>.  Check __x86_64__ instead of
9954         __WORDSIZE.
9955         (user_regs_struct): Use "__extension__ unsigned long long"
9956         instead of "unsigned long" if __x86_64__ is defined.
9957         (user): Likewise.  Pad after pointer field if __ILP32__ is
9958         defined.
9960 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
9962         * configure.in (makeinfo): Require version 4.5 or later.  Allow
9963         versions 5 to 9.
9964         * configure: Regenerated.
9965         * manual/install.texi (texinfo): Increase version requirement to
9966         4.5 or later.
9967         * INSTALL: Regenerated.
9969         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
9971 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9973         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
9975         * sysdeps/x86_64/x32/ffs.c: New file.
9977         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
9978         __syscall_ulong_t.
9979         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
9980         defined.  Use __syscall_ulong_t.
9981         (shminfo): Use __syscall_ulong_t.
9982         (shm_info): Likewise.
9984         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
9985         __syscall_ulong_t.
9987         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
9988         <bits/wordsize.h>.
9989         (msgqnum_t): Use __syscall_ulong_t.
9990         (msglen_t): Likewise.
9991         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
9992         __syscall_ulong_t.
9994         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
9995         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
9997         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
9999         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
10000         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
10002         * sysvipc/sys/msg.h (msgbuf): Replace long int with
10003         __syscall_slong_t.
10005         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
10006         include <bits/wordsize.h>.  Check __x86_64__ instead of
10007         __WORDSIZE.
10009         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
10010         "unsigned long long int" if __x86_64__ is defined.
10011         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
10013         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
10014         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
10015         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
10017         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
10018         <stdint.h>.
10019         (GET_PC): Cast to uintptr_t first.
10020         (GET_FRAME): Likewise.
10021         (GET_STACK): Likewise.
10023         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
10024         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
10025         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
10026         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
10027         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
10028         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
10029         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
10030         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
10031         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
10032         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
10033         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
10034         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
10035         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10036         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
10037         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
10038         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
10039         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
10040         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
10041         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
10042         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
10043         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
10044         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
10045         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
10046         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
10047         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
10048         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
10049         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
10050         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
10051         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
10053 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
10055         * Makerules (+depfiles): Also collect depfiles from .oS in
10056         $(extra-objs).
10057         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
10058         .oS, $(libnldbl-routines)).
10060         * Makerules (native-compile-mkdep-flags): Define.
10061         * sunrpc/Makefile (extra-objs): Add $(addprefix
10062         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
10063         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
10064         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
10065         calling $(make-target-directory).
10067 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10069         * bits/types.h (__snseconds_t): Removed.
10070         * time/time.h (struct timespec): Replace __snseconds_t with
10071         __syscall_slong_t.
10072         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
10073         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
10074         Likewise.
10075         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10076         (__SNSECONDS_T_TYPE): Likewise.
10077         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10078         (__SNSECONDS_T_TYPE): Likewise.
10079         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10080         (__SNSECONDS_T_TYPE): Likewise.
10082 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10084         * sysdeps/mach/hurd/bits/typesizes.h
10085         (__SYSCALL_SLONG_TYPE): New macro.
10086         (__SYSCALL_ULONG_TYPE): Likewise.
10088 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10090         * bits/types.h (__syscall_slong_t): New type.
10091         (__syscall_ulong_t): Likewise.
10093         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
10094         (__SYSCALL_ULONG_TYPE): Likewise.
10095         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10096         (__SYSCALL_SLONG_TYPE): Likewise.
10097         (__SYSCALL_ULONG_TYPE): Likewise.
10098         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10099         (__SYSCALL_SLONG_TYPE): Likewise.
10100         (__SYSCALL_ULONG_TYPE): Likewise.
10101         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10102         (__SYSCALL_SLONG_TYPE): Likewise.
10103         (__SYSCALL_ULONG_TYPE): Likewise.
10105 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10107         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
10108         Add sigaltstack-offsets.sym.
10109         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10110         <sigaltstack-offsets.h>.
10111         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
10112         longjmp_msg pointer.
10113         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
10114         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
10115         signal stack.
10116         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
10118 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
10120         * elf/stackguard-macros.h: Remove file.
10121         * sysdeps/generic/stackguard-macros.h: New file.
10122         * sysdeps/i386/stackguard-macros.h: Likewise.
10123         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10124         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10125         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10126         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10127         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10128         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10129         * sysdeps/x86_64/stackguard-macros.h: Likewise.
10130         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
10131         <elf/stackguard-macros.h>.
10133         [BZ #14109]
10134         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
10135         __aligned__ in attribute.
10136         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
10137         (gregset_t): Likewise.
10139 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10141         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
10142         * sysdeps/x86_64/64/Implies-after: Here.  New file.
10143         * sysdeps/x86_64/x32/Implies-after: New file.
10145 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10147         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
10148         and access return value for _dl_profile_fixup.  Use R10_LP to
10149         load frame size.
10151 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10153         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
10155 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10157         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
10158         * sysdeps/x86_64/x32/sysdep.h: New file.
10160 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10162         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
10163         * sysdeps/x86_64/setjmp.S: Likewise.
10165 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10167         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
10168         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
10169         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
10170         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
10171         remove unused global constant.
10173 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
10175         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
10176         include of <not-cancel.h>.
10178 2012-05-15  Roland McGrath  <roland@hack.frob.com>
10180         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
10182 2012-05-15  Jeff Law  <law@redhat.com>
10183             Andreas Jaeger  <aj@suse.de>
10185         [BZ #13594]
10186         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
10187         out from...
10188         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
10189         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
10190         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
10191         code changing __hst_map_handle.map.
10193 2012-05-15  Roland McGrath  <roland@hack.frob.com>
10195         * configure.in (sysnames): Look for Implies-before and Implies-after
10196         files.
10197         * configure: Regenerated.
10199 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10201         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
10202         8-byte data alignment with LP_SIZE alignment.
10204 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10206         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
10207         into R10_LP.
10209 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10211         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
10213 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10215         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
10216         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
10217         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
10218         Likewise.
10219         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10221 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10223         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
10224         (stackinfo_sub_sp): Likewise.
10226 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10228         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
10229         RAX_LP.
10231 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10233         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
10234         into R*_LP.
10236 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10238         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
10239         sizes into R*_LP.
10241 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10243         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
10245 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10247         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
10248         into R11_LP and load __x86_64_shared_cache_size_half into
10249         R8_LP.
10251 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10253         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
10254         R8_LP.
10256 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10258         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
10259         logb for POWER7.
10260         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
10261         logbf for POWER7.
10262         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
10263         logbl for POWER7.
10264         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
10265         powerpc32/power7/fpu/s_logb.c via #include.
10266         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
10267         powerpc32/power7/fpu/s_logbf.c via #include.
10268         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
10269         powerpc32/power7/fpu/s_logbl.c via #include.
10271 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
10273         * README.libm: Remove file.
10275 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10277         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
10278         count for x32.  Use R*_LP and omit operand-size suffix.
10280 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10282         * shlib-versions: Move x86_64-.*-linux.* entries to ...
10283         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
10284         * sysdeps/x86_64/x32/shlib-versions: New file.
10286 2012-05-14  Roland McGrath  <roland@hack.frob.com>
10288         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
10289         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
10290         Use _dl_fatal_printf instead.
10292 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
10294         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
10295         set if not set by the user.  Do not allow for being unset.
10296         * sysdeps/unix/sysv/linux/configure: Regenerated.
10298 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10300         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
10301         the `q' suffix from lea and replace .quad with ASM_ADDR.
10303 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10305         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
10306         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
10307         instead of $17.
10308         (PTR_DEMANGLE): Likewise.
10310 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10312         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
10313         (LP_OP): Likewise.
10314         (ASM_ADDR): Likewise.
10315         (RAX_LP): Likewise.
10316         (RBP_LP): Likewise.
10317         (RBX_LP): Likewise.
10318         (RCX_LP): Likewise.
10319         (RDI_LP): Likewise.
10320         (RSI_LP): Likewise.
10321         (RSP_LP): Likewise.
10322         (R8_LP): Likewise.
10323         (R9_LP): Likewise.
10324         (R10_LP): Likewise.
10325         (R10_LP): Likewise.
10326         (R11_LP): Likewise.
10327         (R12_LP): Likewise.
10328         (R13_LP): Likewise.
10329         (R14_LP): Likewise.
10330         (R15_LP): Likewise.
10332 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10334         * sysdeps/x86_64/x32/dl-machine.h: New file.
10336 2012-05-14  Andreas Jaeger  <aj@suse.de>
10338         * manual/Makefile (subdir): Remove export of subdir.
10339         (all): Remove target.
10340         (.PHONY): Remove all from list.
10341         (mkinstalldirs): Remove.
10342         (.PHONY): Remove installdirs from list.
10343         ($(inst_infodir)/libc.info): Use make-target-directory.
10344         (installdirs): Remove.
10345         (subdir_%): Remove.
10346         (glibc-targets): Remove.
10347         (lib): Remove.
10348         (stubs): Remove.
10349         ($(objpfx)stubs ../po/manual.pot): Remove.
10350         ($(objpfx)stamp%): Remove.
10351         (make-target-directory): Remove.
10352         (subdir_install): Remove.
10353         (routines): Remove.
10354         (aux): Remove.
10355         (sources): Remove.
10356         (objects): Remove.
10357         (headers): Remove.
10359         [BZ #13750]
10360         * manual/.gitignore: Remove, it's not needed anymore.
10361         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
10362         all files in it.
10363         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
10364         directory.
10365         (texis): Renamed to $(objpfx)texis.
10366         (texis-path): New, contains path to generated files.
10367         (chapters.%): Use texis-path for complete path, add extra argument
10368         libc-texinfo.sh.
10369         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
10370         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
10371         (summary,texi, stamp-summary): Use complete path of
10372         files. Generate files in build dir.
10373         (dir-add.texi): Build in build dir.
10374         (libm-err.texi,stamp-libm-err): Likewise.
10375         (version.texi, stamp-version): Likewise.
10376         (.%c.texi): Likewise.
10377         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
10378         (mostlyclean): Remove target.
10379         (realclean): Remove target.
10380         (generated): Add new variable with contents from mostlyclean and
10381         realclean, remove entries duplicated in common-mostlyclean, add
10382         stamp-libm-err and stamp-version.
10383         (generated-dirs): Add libc directory.
10384         ($(inst_infodir)/libc.info): Install files from build dir.
10386         * manual/install.texi (Configuring and compiling): Adjust since
10387         the info files are not part of the tar ball anymore.
10389 2012-05-14  Andreas Jaeger  <aj@suse.de>
10391         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
10392         variable.
10394 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
10396         [BZ #13717]
10397         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10398         to 2.2.0 where earlier.
10399         * sysdeps/unix/sysv/linux/configure: Regenerated.
10400         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
10401         Remove conditional code.
10402         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
10403         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
10404         Remove conditional code.
10405         [!__NR_lchown]: Likewise.
10406         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10407         [__NR_lchown]: Likewise.
10408         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
10409         comment referencing __ASSUME_LCHOWN_SYSCALL.
10410         * sysdeps/unix/sysv/linux/i386/sigaction.c
10411         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10412         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10413         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
10414         Remove conditional code.
10415         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
10416         (__protocol_available): Remove #if 0 code.
10417         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
10418         conditional code.
10419         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
10420         * sysdeps/unix/sysv/linux/kernel-features.h
10421         (__ASSUME_GETCWD_SYSCALL): Don't define.
10422         (__ASSUME_REALTIME_SIGNALS): Likewise.
10423         (__ASSUME_PREAD_SYSCALL): Likewise.
10424         (__ASSUME_PWRITE_SYSCALL): Likewise.
10425         (__ASSUME_POLL_SYSCALL): Likewise.
10426         (__ASSUME_LCHOWN_SYSCALL): Likewise.
10427         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
10428         non-SPARC.
10429         (__ASSUME_SIOCGIFNAME): Don't define.
10430         (__ASSUME_MSG_NOSIGNAL): Likewise.
10431         (__ASSUME_SENDFILE): Define unconditionally.
10432         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
10433         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
10434         conditional code.
10435         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
10436         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
10437         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10438         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10439         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
10440         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10441         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
10443         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10444         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10446         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10447         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
10449         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10450         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10452         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10453         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
10455         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10456         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
10458         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10459         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
10461         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10462         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
10464         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10465         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10466         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
10467         Remove conditional code.
10468         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10469         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10470         Remove conditional code.
10471         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10472         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
10473         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
10474         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10475         Remove conditional code.
10476         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10477         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
10478         Remove conditional code.
10479         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10480         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
10481         Remove conditional code.
10482         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10483         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10484         Remove conditional code.
10485         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10486         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10487         Remove conditional code.
10488         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10489         * sysdeps/unix/sysv/linux/sh/pwrite64.c
10490         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10491         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10492         * sysdeps/unix/sysv/linux/sigaction.c
10493         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10494         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10495         * sysdeps/unix/sysv/linux/sigpending.c
10496         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10497         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10498         * sysdeps/unix/sysv/linux/sigprocmask.c
10499         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10500         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10501         * sysdeps/unix/sysv/linux/sigsuspend.c
10502         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10503         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10504         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10505         (__libc_missing_rt_sigs): Remove.
10506         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
10507         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
10508         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
10509         Remove conditional code.
10510         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
10511         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
10512         return 1.
10513         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
10514         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
10515         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
10516         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
10518 2012-05-14  Andreas Jaeger  <aj@suse.de>
10520         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
10521         it's not used in glibc.
10522         (__coshm1): Likewise.
10523         (__acosh1p): Likewise.
10524         (__sgn): Likewise.
10526         * manual/string.texi (Copying and Concatenation): Add missing
10527         variable in concat example.
10528         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10530 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10532         [BZ #14103]
10533         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
10534         __builtin_clzl with __builtin_clzll.
10536 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10538         [BZ #14104]
10539         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
10540         libc_freeres_ptr.
10542 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10544         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
10545         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
10546         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
10547         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
10549 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
10551         * NEWS: Update ia64 info.
10553 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
10555         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
10556         used as bcopy.
10558 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
10560         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
10561         * sysdeps/unix/syscalls.list (dup3): Likewise.
10562         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
10563         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
10565 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
10567         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
10568         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
10570 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
10572         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
10573         thread pointer.
10574         (TLS_IE): Use mov/add instead of movq/addq to load thread
10575         pointer.
10576         (TLS_GD_PREFIX): New.
10577         (TLS_GD): Use it.
10579 2012-05-11  David S. Miller  <davem@davemloft.net>
10581         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
10582         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
10583         (_FPU_SETCW): Likewise.
10585 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
10587         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
10588         is 32-byte aligned.
10590 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
10592         [BZ #11837]
10593         * iconvdata/gb18030.c: Update tables.
10594         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
10595         characters specially.
10596         (BODY for TO_LOOP): Add encoding of missing ranges.
10598 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
10600         [BZ #13673]
10601         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
10602         * sysdeps/mach/hurd/dup3.c: Likewise.
10603         * sysdeps/mach/hurd/readlinkat.c: Likewise.
10604         * sysdeps/powerpc/memmove.c:: Likewise.
10606 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
10608         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
10609         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
10611 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
10613         * elf/elf.h (R_X86_64_RELATIVE64): New.
10614         (R_X86_64_NUM): Updated.
10615         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10616         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
10617         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
10618         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
10619         tst-quad1pie tst-quad2pie
10620         (modules-names): Add tst-quadmod1 tst-quadmod2.
10621         ($(objpfx)tst-quad1): New dependency.
10622         ($(objpfx)tst-quad2): Likewise.
10623         ($(objpfx)tst-quad1pie): Likewise.
10624         ($(objpfx)tst-quad2pie): Likewise.
10625         * sysdeps/x86_64/tst-quad1.c: New file.
10626         * sysdeps/x86_64/tst-quad1pie.c: New file.
10627         * sysdeps/x86_64/tst-quad2.c: Likewise.
10628         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
10629         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
10630         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
10631         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
10632         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
10634 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10636         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
10637         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
10638         * streams/stropts.h (t_scalar_t): Define type.
10640         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
10641         (_PATH_PRESERVE): Set to "/var/lib".
10642         (_PATH_RWHODIR): Set to "/var/spool/rwho".
10644         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
10645         instead of int.
10647         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
10648         if __dir_mkfile succeeded.
10650         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
10651         checking for _hurd_dtablesize.  Unlock it right after having
10652         finished _hurd_dtable allocation.
10654 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10656         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
10657         * sysdeps/mach/hurd/configure: Regenerated.
10658         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
10659         special-casing to...
10660         * sysdeps/gnu/configure.in: ... this new file.
10661         * sysdeps/unix/sysv/linux/configure: Regenerated.
10662         * sysdeps/gnu/configure: New generated file.
10664         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
10665         for Linux: use nsec instead of usec, as well as:
10666         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
10667         members of type struct timespec.
10668         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
10669         New macros.
10670         (struct stat64): Likewise.
10671         (_STATBUF_ST_NSEC): New macro.
10672         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
10674         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10675         __strtoul_internal rather than strtoul.
10677 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10679         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
10680         and reject them.
10682 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10684         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
10685         which preserves existing values.
10686         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
10688 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10690         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
10691         TIMEOUT values.  Return EINVAL for NFDS values either negative or
10692         greater than FD_SETSIZE.
10694 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10696         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
10697         allocated, call __vm_protect to finish enabling the existing space, and
10698         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
10699         allocate the remainder.
10701 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10703         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
10704         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
10706 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10708         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
10709         sysdeps/mach/hurd/readlink.c.
10711         * posix/tst-sysconf.c (posix_options): Only use
10712         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
10713         _POSIX_SYNCHRONIZED_IO when they are defined
10714         * sysdeps/mach/hurd/bits/posix_opt.h:
10715         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
10716         (_XOPEN_REALTIME): Undefine macro.
10717         (_XOPEN_REALTIME_THREADS): Undefine macro.
10718         (_XOPEN_SHM): Undefine macro.
10719         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
10720         macro to -1.
10721         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
10722         macro to -1.
10723         (_POSIX_ASYNC_IO): Undefine macro.
10724         (_POSIX_PRIORITIZED_IO): Undefine macro.
10725         (_POSIX_SPIN_LOCKS): Define macro to -1.
10727         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
10728         SA_NODEFER, SA_RESETHAND.
10729         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
10730         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
10731         F_DUPFD_CLOEXEC.
10733 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10735         * elf/Makefile (pldd-modules): Define unconditionally.
10737 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10739         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
10741 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10743         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
10744         Return ENOENT when name is empty.
10745         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
10747 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10749         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
10751         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
10753 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10755         Fix mlock in all cases except non-readable pages.
10756         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
10757         instead of VM_PROT_ALL as parameter to __vm_wire function.
10759         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
10760         (__mkdir): When path is `/', just fail with EEXIST.
10761         * sysdeps/mach/hurd/mkdirat.c: Likewise.
10763 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10765         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
10766         <sys/uio.h> (for writev).
10767         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
10768         and <sys/param.h> (for MIN).
10770 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10772         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
10773         REQUESTED_TIME.  Properly set the remaining time and return EINTR
10774         if interrupted.
10776 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10778         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
10779         Depend on against $(link-rpcuserlibs).
10781 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10783         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
10784         (__libc_stack_end): Do not use attribute_relro.
10785         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
10786         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
10787         to libthread-provided value.
10788         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
10789         attribute_relro.
10791 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10793         [BZ #3748]
10794         * bits/libc-lock.h (__libc_once_get): New macro.
10795         * sysdeps/mach/bits/libc-lock.h: Likewise.
10796         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
10797         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
10798         instead of using implementation details.
10800         * libio/fileops.c: Unconditionally include <kernel-features.h>.
10801         * libio/freopen.c: Likewise.
10802         * libio/freopen64.c: Likewise.
10803         * misc/syslog.c: Likewise.
10804         * nscd/connections.c: Likewise.
10805         * nscd/netgroupcache.c: Likewise.
10806         * sysdeps/posix/getcwd.c: Likewise.
10808 2012-05-10  Roland McGrath  <roland@hack.frob.com>
10810         * math/w_ilogbf.c: Add #include <limits.h>.
10812 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10814         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
10815         path instead of returning without unlocking.
10817         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
10818         immediate-write ioctls.
10819         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
10821 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10823         * sysdeps/mach/hurd/i386/init-first.c (init): Use
10824         __builtin_frame_address instead of making assumptions about the
10825         location of the return address relative to DATA.  Force early load of
10826         the return address.
10827         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
10828         __builtin_frame_address.
10830         dup3 for GNU Hurd.
10831         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
10832         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
10833         implement dup3 and do some further code clean-ups.
10834         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
10835         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
10837 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10839         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
10841         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
10842         HURD_CRITICAL_END around holding _hurd_dtable_lock.
10843         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
10844         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
10845         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
10846         d->port.lock.
10848         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
10849         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
10850         when handler == SIG_ERR, not when handler != SIG_ERR.
10852 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10854         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
10855         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
10856         definitions.
10858         accept4 for GNU Hurd.
10859         * include/sys/socket.h (__libc_accept4): New prototype.
10860         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
10861         to implement __libc_accept4.
10862         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
10863         __libc_accept4.
10864         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
10866         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
10867         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
10868         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
10869         signal-defines.sym.
10871 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10873         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
10875 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10877         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
10878         assertion on O_CLOEXEC flag.
10879         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
10880         * hurd/intern-fd.c: Likewise.
10881         * hurd/port2fd.c: Likewise.
10883 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10885         [BZ #3906]
10886         * bits/in.h (IPV6_PKTINFO): Define new macro.
10887         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
10889 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10891         [BZ #13954]
10892         [BZ #13955]
10893         [BZ #13956]
10894         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
10895         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10896         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
10897         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10898         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10899         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10900         * math/libm-test.inc (logb_test) : Additional logb tests.
10902 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
10903             Andreas Jaeger  <aj@suse.de>
10905         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
10906         * configure: Regenerated.
10907         * config.h.in (LINK_OBSOLETE_RPC): New macro.
10908         * config.make.in (link-obsolete-rpc): New substituted variable.
10909         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
10910         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
10911         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10912         (shared-only-routines): Don't set it under [link-obsolete-rpc],
10913         so that libc.a contains the symbols.
10914         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10915         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
10916         * sunrpc/auth_none.c: Likewise.
10917         * sunrpc/auth_unix.c: Likewise.
10918         * sunrpc/authdes_prot.c: Likewise.
10919         * sunrpc/authuxprot.c: Likewise.
10920         * sunrpc/clnt_gen.c: Likewise.
10921         * sunrpc/clnt_perr.c: Likewise.
10922         * sunrpc/clnt_raw.c: Likewise.
10923         * sunrpc/clnt_simp.c: Likewise.
10924         * sunrpc/clnt_tcp.c: Likewise.
10925         * sunrpc/clnt_udp.c: Likewise.
10926         * sunrpc/clnt_unix.c: Likewise.
10927         * sunrpc/des_crypt.c: Likewise.
10928         * sunrpc/des_soft.c: Likewise.
10929         * sunrpc/get_myaddr.c: Likewise.
10930         * sunrpc/key_call.c: Likewise.
10931         * sunrpc/key_prot.c: Likewise.
10932         * sunrpc/netname.c: Likewise.
10933         * sunrpc/pm_getmaps.c: Likewise.
10934         * sunrpc/pm_getport.c: Likewise.
10935         * sunrpc/pmap_clnt.c: Likewise.
10936         * sunrpc/pmap_prot.c: Likewise.
10937         * sunrpc/pmap_prot2.c: Likewise.
10938         * sunrpc/pmap_rmt.c: Likewise.
10939         * sunrpc/publickey.c: Likewise.
10940         * sunrpc/rpc_cmsg.c: Likewise.
10941         * sunrpc/rpc_common.c: Likewise.
10942         * sunrpc/rpc_dtable.c: Likewise.
10943         * sunrpc/rpc_prot.c: Likewise.
10944         * sunrpc/rpc_thread.c: Likewise.
10945         * sunrpc/rtime.c: Likewise.
10946         * sunrpc/svc.c: Likewise.
10947         * sunrpc/svc_auth.c: Likewise.
10948         * sunrpc/svc_raw.c: Likewise.
10949         * sunrpc/svc_run.c: Likewise.
10950         * sunrpc/svc_tcp.c: Likewise.
10951         * sunrpc/svc_udp.c: Likewise.
10952         * sunrpc/svc_unix.c: Likewise.
10953         * sunrpc/svcauth_des.c: Likewise.
10954         * sunrpc/xcrypt.c: Likewise.
10955         * sunrpc/xdr.c: Likewise.
10956         * sunrpc/xdr_array.c: Likewise.
10957         * sunrpc/xdr_float.c: Likewise.
10958         * sunrpc/xdr_intXX_t.c: Likewise.
10959         * sunrpc/xdr_mem.c: Likewise.
10960         * sunrpc/xdr_rec.c: Likewise.
10961         * sunrpc/xdr_ref.c: Likewise.
10962         * sunrpc/xdr_sizeof.c: Likewise.
10963         * sunrpc/xdr_stdio.c: Likewise.
10965 2012-05-10  Roland McGrath  <roland@hack.frob.com>
10967         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
10968         change.  Update copyright years.
10970 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
10972         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
10974 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
10975             Joseph Myers  <joseph@codesourcery.com>
10976             Paul Pluzhnikov  <ppluzhnikov@google.com>
10978         [BZ #14012]
10979         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
10980         requiring rpcgen.
10981         [cross-compiling] (extra-libs): Likewise.
10982         [cross-compiling] (extra-libs-others): Likewise.
10983         [cross-compiling] (librpcsvc-routines): Likewise.
10984         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
10985         [cross-compiling] (omit-deps): Likewise.
10986         (sunrpc-CPPFLAGS): New variable.
10987         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
10988         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
10989         (cross-rpcgen-objs): New variable.
10990         (extra-objs): Append $(cross-rpcgen-objs).
10991         ($(cross-rpcgen-objs)): New rule.
10992         ($(objpfx)cross-rpcgen): Likewise.
10993         (rpcgen-cmd): Define to use $(built-program-file).  Expand
10994         comment.
10995         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
10996         ($(objpfx)x%.stmp): Likewise.
10997         * sunrpc/proto.h [IS_IN_build] (_): Define.
10998         [IS_IN_build] (_libc_intl_domainname): Likewise.
11000 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
11002         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
11003         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
11004         and R_X86_64_TPOFF64.
11006 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
11008         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
11009         sysdeps/unix/sysv/syscalls.list.
11010         (stime): Likewise.
11011         (utime): Likewise.
11012         * sysdeps/unix/sysv/syscalls.list: Remove file.
11014 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
11016         [BZ #3440]
11017         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
11018         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
11019         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
11020         (__LC_IDENTIFICATION): Make these macros useful in #if
11021         expressions, as required by C99.
11023 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
11025         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
11026         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
11027         after this.
11029 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
11031         * stdlib/longlong.h: Updated from GCC.
11033 2012-05-09  Andreas Jaeger  <aj@suse.de>
11035         * nscd/nscd.c (run_modes): Make named enum, reorder so that
11036         default is first entry.
11037         (run_mode): Set type.
11038         (main): Remove informal message about syslog.
11039         (options): Fix typo.
11041         [BZ #14053]
11042         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
11043         to asm.
11044         (lrint): Likewise.
11045         (llrintf): Likewise.
11046         (llrint): Likewise.
11047         (rint): Likewise.
11048         (rintf): Likewise.
11049         (nearbyint): Likewise.
11050         (nearbyintf): Likewise.
11052 2012-05-09  Andreas Jaeger  <aj@suse.de>
11053             Pedro Alves  <palves@redhat.com>
11055         * nscd/nscd.c (run_mode): Use enum.
11056         (main): Cleanup coding style issue.
11058 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
11059             Andreas Jaeger  <aj@suse.de>
11061         * nscd/nscd.c (go_background): Replaced with...
11062         (run_mode): ... this.
11063         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
11064         (options): Add -F --foreground.
11065         (main): Implement it.
11066         (parse_opt): Parse it.
11068 2012-05-09  Andreas Jaeger  <aj@suse.de>
11070         [BZ #14083]
11071         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
11072         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
11073         -Wconversion warning.
11074         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
11075         Likewise.
11077 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
11079         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
11080         == 0.
11081         (LC_ALL): Use macro-int-constant.
11082         (LC_COLLATE): Likewise.
11083         (LC_CTYPE): Likewise.
11084         (LC_MESSAGES): Likewise.
11085         (LC_MONETARY): Likewise.
11086         (LC_NUMERIC): Likewise.
11087         (LC_TIME): Likewise.
11088         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
11089         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11090         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11091         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
11092         Specify type.
11093         [C99-based standards] (float_t): Expect type.
11094         [C99-based standards] (double_t): Expect type.
11095         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
11096         type.
11097         [C99-based standards] (HUGE_VALL): Likewise.
11098         [C99-based standards] (INFINITY): Likewise.
11099         [C99-based standards] (NAN): Likewise.
11100         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
11101         [C99-based standards] (FP_NAN): Likewise.
11102         [C99-based standards] (FP_NORMAL): Likewise.
11103         [C99-based standards] (FP_SUBNORMAL): Likewise.
11104         [C99-based standards] (FP_ZERO): Likewise.
11105         [C99-based standards] (FP_FAST_FMA): Use
11106         optional-macro-int-constant.  Specify type.  Require == 1.
11107         [C99-based standards] (FP_FAST_FMAF): Likewise.
11108         [C99-based standards] (FP_FAST_FMAL): Likewise.
11109         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
11110         [C99-based standards] (FP_ILOGBNAN): Likewise.
11111         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
11112         Specify type.
11113         [C99-based standards] (MATH_ERREXCEPT): Likewise.
11114         [C99-based standards] (math_errhandling): Specify type.
11115         [ISO99 || ISO11] (signgam): Do not allow.
11116         [non-C99-based standards] (copysignf): Do not allow.
11117         [non-C99-based standards] (exp2f): Likewise.
11118         [non-C99-based standards] (log2f): Likewise.
11119         [non-C99-based standards] (modff): Allow.
11120         [non-C99-based standards] (erff): Do not allow.
11121         [non-C99-based standards] (erfcf): Likewise.
11122         [non-C99-based standards] (gammaf): Likewise.
11123         [non-C99-based standards] (hypotf): Likewise.
11124         [non-C99-based standards] (j0f): Likewise.
11125         [non-C99-based standards] (j1f): Likewise.
11126         [non-C99-based standards] (jnf): Likewise.
11127         [non-C99-based standards] (lgammaf): Likewise.
11128         [non-C99-based standards] (tgammaf): Likewise.
11129         [non-C99-based standards] (y0f): Likewise.
11130         [non-C99-based standards] (y1f): Likewise.
11131         [non-C99-based standards] (ynf): Likewise.
11132         [non-C99-based standards] (isnanf): Likewise.
11133         [non-C99-based standards] (acoshf): Likewise.
11134         [non-C99-based standards] (asinhf): Likewise.
11135         [non-C99-based standards] (atanhf): Likewise.
11136         [non-C99-based standards] (cbrtf): Likewise.
11137         [non-C99-based standards] (expm1f): Likewise.
11138         [non-C99-based standards] (ilogbf): Likewise.
11139         [non-C99-based standards] (log1pf): Likewise.
11140         [non-C99-based standards] (logbf): Likewise.
11141         [non-C99-based standards] (nextafterf): Likewise.
11142         [non-C99-based standards] (remainderf): Likewise.
11143         [non-C99-based standards] (rintf): Likewise.
11144         [non-C99-based standards] (scalbf): Likewise.
11145         [non-C99-based standards] (copysignl): Likewise.
11146         [non-C99-based standards] (exp2l): Likewise.
11147         [non-C99-based standards] (log2l): Likewise.
11148         [non-C99-based standards] (modfl): Allow.
11149         [non-C99-based standards] (erfl): Do not allow.
11150         [non-C99-based standards] (erfcl): Likewise.
11151         [non-C99-based standards] (gammal): Likewise.
11152         [non-C99-based standards] (hypotl): Likewise.
11153         [non-C99-based standards] (j0l): Likewise.
11154         [non-C99-based standards] (j1l): Likewise.
11155         [non-C99-based standards] (jnl): Likewise.
11156         [non-C99-based standards] (lgammal): Likewise.
11157         [non-C99-based standards] (tgammal): Likewise.
11158         [non-C99-based standards] (y0l): Likewise.
11159         [non-C99-based standards] (y1l): Likewise.
11160         [non-C99-based standards] (ynl): Likewise.
11161         [non-C99-based standards] (isnanl): Likewise.
11162         [non-C99-based standards] (acoshl): Likewise.
11163         [non-C99-based standards] (asinhl): Likewise.
11164         [non-C99-based standards] (atanhl): Likewise.
11165         [non-C99-based standards] (cbrtl): Likewise.
11166         [non-C99-based standards] (expm1l): Likewise.
11167         [non-C99-based standards] (ilogbl): Likewise.
11168         [non-C99-based standards] (log1pl): Likewise.
11169         [non-C99-based standards] (logbl): Likewise.
11170         [non-C99-based standards] (nextafterl): Likewise.
11171         [non-C99-based standards] (remainderl): Likewise.
11172         [non-C99-based standards] (rintl): Likewise.
11173         [non-C99-based standards] (scalbl): Likewise.
11174         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11175         [non-C99-based standards] (FP_*): Do not allow.
11176         [C99-based standards] (FP_*): Change to
11177         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11178         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11179         allow.
11180         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
11181         (SIG_ERR): Likewise.
11182         [X/Open-based standards] (SIG_HOLD): Likewise.
11183         (SIG_IGN): Likewise.
11184         (SIGABRT): Use macro-int-constant.  Specify type.  Require
11185         positive value.
11186         (SIGFPE): Likewise.
11187         (SIGILL): Likewise.
11188         (SIGINT): Likewise.
11189         (SIGSEGV): Likewise.
11190         (SIGTER): Likewise.
11191         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
11192         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
11193         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
11194         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
11195         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
11196         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
11197         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
11198         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
11199         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
11200         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
11201         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
11202         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
11203         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
11204         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
11205         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
11206         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
11207         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
11208         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
11209         [X/Open-based standards] (SIGTRAP): Likewise.
11210         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
11211         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
11212         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
11213         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
11214         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11215         allow.
11217 2012-05-08  Ian Wienand  <ianw@vmware.com>
11219         [BZ #14080]
11220         * time/tzset.c (__tzset_parse_tz): Update default rules for
11221         daylight time changes in the Energy Policy Act of 2005.
11223 2012-05-09  Andreas Jaeger  <aj@suse.de>
11225         [BZ #13983]
11226         * elf/ldconfig.c (parse_conf): Change string to make clear that
11227         ldconfig only issued a warning if ld.so.conf does not exist.
11229 2012-05-08  David S. Miller  <davem@davemloft.net>
11231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
11232         movxtod instead of popping the value on the stack.
11234         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11236 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
11238         * config.h.in: Add HAVE_ARM_PCS_VFP.
11240 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
11242         [BZ #13979]
11243         * include/features.h: Warn if user requests __FORTIFY_SOURCE
11244         checking but the checks are disabled for any reason.
11246 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
11248         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
11249         and ELF64_R_TYPE with ELFW(R_TYPE).
11251 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
11253         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
11254         (ulimit): Likewise.
11256         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
11257         (settimeofday): Likewise.
11259 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
11261         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
11262         a struct th_u2 inside the union, and move tu_block/tu_code into
11263         a new th_u3 union of tu_block/tu_code inside of that.  Move
11264         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
11265         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
11266         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
11267         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
11268         (th_stuff): Change to th_u1.tu_stuff.
11269         (th_data): Define.
11270         (th_msg): Change to th_u1.th_u2.tu_data.
11272 2012-05-07  David S. Miller  <davem@davemloft.net>
11274         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11276         [BZ #14074]
11277         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
11278         (SETUP_PIC_REG): Use it.
11279         (SETUP_PIC_REG_LEAF): Use it.
11281 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
11283         [BZ #13885]
11284         [BZ #13923]
11285         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11286         USE_AS_EXPM1L.
11287         (EXPL_FINITE): Likewise.
11288         (FLDLOG): Likewise.
11289         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11290         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11291         e_expl.S.
11292         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11293         USE_AS_EXPM1L.
11294         (EXPL_FINITE): Likewise.
11295         (FLDLOG): Likewise.
11296         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11297         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11298         e_expl.S.
11299         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
11300         test of -max_value argument for long double.
11301         * sysdeps/i386/fpu/libm-test-ulps: Update.
11302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11304 2012-05-06  David S. Miller  <davem@davemloft.net>
11306         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
11307         quad soft-float symbols whose references which are compiler
11308         generated.
11309         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11311 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
11313         [BZ #13884]
11314         [BZ #13914]
11315         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11316         USE_AS_EXP10L.
11317         (EXPL_FINITE): Likewise.
11318         (FLDLOG): Likewise.
11319         (c0): Likewise.
11320         (c1): Likewise.
11321         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
11322         Adjust comments for base varying.
11323         (__expl_finite): Change alias to EXPL_FINITE.
11324         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
11325         e_expl.S.
11326         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
11327         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11328         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11329         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
11330         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11331         USE_AS_EXP10L.
11332         (EXPL_FINITE): Likewise.
11333         (FLDLOG): Likewise.
11334         (c0): Likewise.
11335         (c1): Likewise.
11336         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
11337         Adjust comments for base varying.
11338         (__expl_finite): Change alias to EXPL_FINITE.
11339         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
11340         tests for bugs.
11341         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11343         [BZ #14064]
11344         * math/libm-test.inc (check_float_internal): Correct ulp
11345         calculation for subnormal expected results.
11347 2012-05-06  Andreas Jaeger  <aj@suse.de>
11349         * Makeconfig (+math-flags): New, set to -frounding-math.
11350         (+cflags): Add +math-flags so that all of glibc gets compiled with
11351         it.
11353         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
11355 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
11357         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
11358         Disable one test.
11360         [BZ #13787]
11361         [BZ #13922]
11362         [BZ #14036]
11363         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
11364         (__ieee754_expl): Allow for and saturate large arguments.
11365         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
11366         (u_threshold): Likewise.
11367         (__exp): Call __ieee754_exp before checking for overflow and
11368         underflow.
11369         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
11370         (u_threshold): Likewise.
11371         (__expf): Call __ieee754_expf before checking for overflow and
11372         underflow.
11373         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
11374         (u_threshold): Likewise.
11375         (__expl): Call __ieee754_expl before checking for overflow and
11376         underflow.
11377         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
11378         (__ieee754_expl): Allow for and saturate large arguments.
11379         * math/libm-test.inc (exp_test): Add another test.  Do not allow
11380         missing overflow exception on overflow.
11381         (expm1_test): Do not allow missing overflow exception on overflow.
11383         * sysdeps/i386/fpu/e_expl.c: Move to ...
11384         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
11385         rather than using inline asm.
11386         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
11387         * sysdeps/x86_64/fpu/e_expl.S: Copy from
11388         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
11390         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
11391         (nice): Likewise.
11392         (poll): Likewise.
11393         (signal): Likewise.
11394         (time): Likewise.
11395         (times): Likewise.
11397 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
11399         * sysdeps/unix/syscalls.list (adjtime): Add entry from
11400         sysdeps/unix/common/syscalls.list.
11401         (fchmod): Likewise.
11402         (fchown): Likewise.
11403         (ftruncate): Likewise.
11404         (getrusage): Likewise.
11405         (gettimeofday): Likewise.
11406         (setpgid): Likewise.
11407         (setregid): Likewise.
11408         (setreuid): Likewise.
11409         (sigaction): Likewise.
11410         (truncate): Likewise.
11411         (vhangup): Likewise.
11412         * sysdeps/unix/common/syscalls.list: Remove file.
11413         * sysdeps/unix/bsd/Implies: Don't include unix/common.
11414         * sysdeps/unix/sysv/linux/Implies: Likewise.
11416 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
11418         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
11419         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
11420         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
11421         Moved to ...
11422         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11423         Here.
11424         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
11425         to ...
11426         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
11427         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
11428         to ...
11429         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
11430         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
11431         to ...
11432         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
11433         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
11434         to ...
11435         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
11436         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
11437         to ...
11438         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
11439         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
11440         to ...
11441         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
11442         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
11443         to ...
11444         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11445         Here.
11446         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
11447         to ...
11448         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
11449         Here.
11450         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
11451         to ...
11452         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
11453         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
11454         Moved to ...
11455         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
11456         Here.
11457         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
11458         to ...
11459         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
11461 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
11463         * sysdeps/unix/common/bits/dirent.h: Remove file.
11464         * sysdeps/unix/common/bits/fcntl.h: Likewise.
11466         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
11467         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
11468         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
11469         * sysdeps/unix/bsd/isatty.c: Likewise.
11470         * sysdeps/unix/bsd/tcdrain.c: Likewise.
11471         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
11472         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
11474 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11476         [BZ #13563]
11477         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
11478         long double comparison inaccuracies.
11479         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11480         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11482 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
11484         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
11485         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
11487 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
11489         [BZ #14049]
11490         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
11491         nonzero digits before rounding a hex value.
11492         * stdlib/tst-strtod.c (tests): Add another test.
11494 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11496         * sysdeps/s390/fpu/libm-test-ulps: Update.
11498 2012-05-03  Andreas Jaeger  <aj@suse.de>
11500         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
11501         does not get optimized out.
11502         (malloc_opt_barrier): New.
11504 2012-05-03  Andreas Jaeger  <aj@suse.de>
11505             Roland McGrath  <roland@hack.frob.com>
11507         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
11508         intermediate file deletion.
11509         (generated): Add .symlist files.
11511 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
11513         [BZ #13775]
11514         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
11515         Redirect under this condition.
11516         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11517         [__USE_GNU] (__dprintf_chk): Not under this condition.
11518         [__USE_GNU] (__vdprintf_chk): Likewise.
11519         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
11520         under this condition.
11521         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11522         [__USE_XOPEN2K8] (dprintf): Define under this condition.
11523         [__USE_XOPEN2K8] (vdprintf): Likewise.
11524         [__USE_GNU] (__dprintf_chk): Not under this condition.
11525         [__USE_GNU] (__vdprintf_chk): Likewise.
11526         [__USE_GNU] (dprintf): Likewise.
11527         [__USE_GNU] (vdprintf): Likewise.
11529 2012-05-03  Roland McGrath  <roland@hack.frob.com>
11531         * elf/Makefile (common-generated): Set this instead of generated for
11532         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
11533         $(all-built-dso)-derived lists.
11535 2012-05-03  Andreas Jaeger  <aj@suse.de>
11537         * sysdeps/i386/fpu/libm-test-ulps: Update.
11539         * FAQ: Removed.
11540         * FAQ.in: Likewise.
11541         * scripts/gen-FAQ.pl: Likewise.
11542         * manual/install.texi (Installation): Point to online location of
11543         FAQ.
11544         * Makefile (files-for-dist): Remove FAQ.
11545         (FAQ): Remove.
11547 2012-05-02  Allan McRae  <allan@archlinux.org>
11549         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
11550         (LDFLAGS-reldepmod5.so): Likewise.
11551         (LDFLAGS-reldep6mod1.so): Likewise.
11552         (LDFLAGS-reldep6mod4.so): Likewise.
11553         (LDFLAGS-reldep8mod3.so): Likewise.
11554         (LDFLAGS-unload4mod1.so): Likewise.
11555         (LDFLAGS-unload4mod2.so): Likewise.
11556         (LDFLAGS-tst-initorder): Likewise.
11557         (LDFLAGS-tst-initordera2.so): Likewise.
11558         (LDFLAGS-tst-initordera3.so): Likewise.
11559         (LDFLAGS-tst-initordera4.so): Likewise.
11560         (LDFLAGS-tst-initorderb2.so): Likewise.
11561         (LDFLAGS-noload): Likewise.
11562         (LDFLAGS-next): Likewise.
11563         (LDFLAGS-order2mod1.so): Likewise.
11564         (LDFLAGS-order2mod2.so): Likewise.
11565         (LDFLAGS-tst-initorder2): Likewise.
11566         (LDFLAGS-tst-initorder2a.so): Likewise.
11567         (LDFLAGS-tst-initorder2b.so): Likewise.
11568         (LDFLAGS-tst-initorder2c.so): Likewise.
11569         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
11571 2012-05-02  David S. Miller  <davem@davemloft.net>
11573         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11575 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
11577         [BZ #14055]
11578         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
11580 2012-05-02  Andreas Jaeger  <aj@suse.de>
11582         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
11583         since we manipulate rounding mode.
11584         (CPPFLAGS-test-idouble.c): Likewise.
11585         (CPPFLAGS-test-ifloat.c): Likewise.
11586         (CFLAGS-test-ldouble.c): Likewise.
11587         (CFLAGS-test-double.c): Likewise.
11588         (CFLAGS-test-float.c): Likewise.
11589         (CFLAGS-test-misc.c): Likewise.
11590         (CFLAGS-test-test-fenv.c): Likewise.
11592 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11594         [BZ #2550]
11595         [BZ #2570]
11596         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
11597         comparisons to determine direction to adjust input.
11599 2012-05-01  Roland McGrath  <roland@hack.frob.com>
11601         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
11602         output to the target.
11604         * scripts/localplt.awk: New file.
11605         * elf/Makefile ($(objpfx)check-localplt): Target removed.
11606         (check-localplt-CFLAGS): Variable removed.
11607         ($(all-built-dso:=.jmprel)): New static pattern rule.
11608         (generated): Add those targets.
11609         (localplt-built-dso): New variable.
11610         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
11612         * elf/check-localplt.c: File removed.
11614         * scripts/check-execstack.awk: New file.
11615         * elf/Makefile ($(objpfx)check-execstack): Target removed.
11616         (check-execstack-CFLAGS): Variable removed.
11617         ($(objpfx)check-execstack.h): Target removed.
11618         ($(objpfx)execstack-default): New target.
11619         (generated): Add that instead of check-execstack.h.
11620         ($(all-built-dso:=.phdr)): New static pattern rule.
11621         (generated): Add those targets.
11622         * elf/check-execstack.c: File removed.
11624         * scripts/check-textrel.awk: New file.
11625         * elf/Makefile ($(objpfx)check-textrel): Target removed.
11626         (check-textrel-CFLAGS): Variable removed.
11627         (all-built-dso): Use := to define.o
11628         ($(all-built-dso:=.dyn)): New static pattern rule.
11629         (generated): Add those targets.
11630         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
11631         * config.make.in (READELF): New substituted variable.
11632         * elf/check-textrel.c: File removed.
11634 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
11636         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11637         allow.
11638         * conform/data/ctype.h-data [C99-based standards] (isblank):
11639         Expect function.
11640         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
11641         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
11642         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11643         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
11644         Specify type.  Require positive value.
11645         (EILSEQ): Likewise.
11646         (ERANGE): Likewise.
11647         [ISO || POSIX] (EILSEQ): Do not expect.
11648         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
11649         Specify type.  Require positive value.
11650         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
11651         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
11652         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
11653         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
11654         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
11655         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
11656         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
11657         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
11658         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
11659         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
11660         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
11661         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
11662         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
11663         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
11664         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
11665         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
11666         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
11667         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
11668         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
11669         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
11670         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
11671         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
11672         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
11673         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
11674         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
11675         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
11676         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
11677         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
11678         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
11679         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
11680         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
11681         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
11682         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
11683         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
11684         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
11685         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
11686         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
11687         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
11688         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
11689         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
11690         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
11691         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
11692         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
11693         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
11694         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
11695         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
11696         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
11697         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
11698         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
11699         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
11700         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
11701         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
11702         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
11703         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
11704         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
11705         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
11706         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
11707         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
11708         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
11709         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
11710         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
11711         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
11712         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
11713         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
11714         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
11715         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
11716         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
11717         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
11718         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
11719         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
11720         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
11721         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
11722         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
11723         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
11724         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
11725         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
11726         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
11727         Require >= 2.
11728         (FLT_ROUNDS): Expect as macro, not constant.
11729         (FLT_MANT_DIG): Use macro-int-constant.
11730         (DBL_MANT_DIG): Likewise.
11731         (LDBL_MANT_DIG): Likewise.
11732         (FLT_DIG): Likewise.
11733         (DBL_DIG): Likewise.
11734         (LDBL_DIG): Likewise.
11735         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
11736         (DBL_MIN_EXP): Likewise.
11737         (LDBL_MIN_EXP): Likewise.
11738         (FLT_MAX_EXP): Use macro-int-constant.
11739         (DBL_MAX_EXP): Likewise.
11740         (LDBL_MAX_EXP): Likewise.
11741         (FLT_MAX_10_EXP): Likewise.
11742         (DBL_MAX_10_EXP): Likewise.
11743         (LDBL_MAX_10_EXP): Likewise.
11744         (FLT_MAX): Use macro-constant.
11745         (DBL_MAX): Likewise.
11746         (LDBL_MAX): Likewise.
11747         (FLT_EPSILON): Use macro-constant.  Give upper bound.
11748         (DBL_EPSILON): Likewise.
11749         (LDBL_EPSILON): Likewise.
11750         (FLT_MIN): Likewise.
11751         (DBL_MIN): Likewise.
11752         (LDBL_MIN): Likewise.
11753         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
11754         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
11755         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
11756         [ISO11] (FLT_HAS_SUBNORM): Likewise.
11757         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
11758         [ISO11] (DBL_DECIMAL_DIG): Likewise.
11759         [ISO11] (FLT_DECIMAL_DIG): Likewise.
11760         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
11761         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
11762         [ISO11] (FLT_TRUE_MIN): Likewise.
11763         [ISO11] (LDBL_TRUE_MIN): Likewise.
11764         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11765         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
11766         (SCHAR_MIN): Use macro-int-constant.  Specify type.
11767         (SCHAR_MAX): Likewise.
11768         (UCHAR_MAX): Likewise.
11769         (CHAR_MIN): Likewise.
11770         (CHAR_MAX): Likewise.
11771         (MB_LEN_MAX): Use macro-int-constant.
11772         (SHRT_MIN): Use macro-int-constant.  Specify type.
11773         (SHRT_MAX): Likewise.
11774         (USHRT_MAX): Likewise.
11775         (INT_MAX): Likewise.
11776         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
11777         bound negative.
11778         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
11779         bound with "U".
11780         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
11781         bound with "L".
11782         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
11783         bound negative.  Suffix upper bound with "L".
11784         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
11785         bound with "UL".
11786         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
11787         Specify type.
11788         [C99-based standards] (LLONG_MAX): Likewise.
11789         [C99-based standards] (ULLONG_MAX): Likewise.
11790         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
11791         == 0.
11792         [ISO11] (max_align_t): Require type.
11793         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11795         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
11796         from $CFLAGS, without defining away __attribute__ calls.
11797         (checknamespace): Use $CFLAGS_namespace.
11799         * conform/conformtest.pl (@keywords): Only include C99 keywords
11800         for standards based on C99 or C11.
11802         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
11803         Disable tests.
11804         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
11805         UNIX98]: Likewise.
11807         * conform/conformtest.pl: Handle "macro-int-constant" and test for
11808         usability of symbols in #if.
11810         * conform/conformtest.pl: If macro or constant types start
11811         "promoted:", expect the symbol to be of the following type
11812         promoted by the integer promotions.
11814         * conform/conformtest.pl: Parse all "constant" and "macro" lines
11815         in one place.  Also handle "macro-constant".
11817         * conform/conformtest.pl: Only accept expected macro values with
11818         "==".  Parse all "macro" lines in one place.
11819         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
11821         * conform/conformtest.pl: Handle braced types on "constant" lines
11822         instead of handling "typed-constant".
11823         * conform/data/signal.h-data: Use "constant" instead of
11824         "typed-constant".
11826         * conform/conformtest.pl: Handle "optional-" at start of lines in
11827         one place rather than duplicating several cases.  Handle each
11828         format of "macro" line with initial "optional-".
11830         * conform/conformtest.pl: Only accept expected constant or
11831         optional-constant values with "==".  Parse all "constant" lines in
11832         one place.  Parse all "optional-constant" lines in one place.
11833         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
11834         * conform/data/fmtmsg.h-data: Likewise.
11835         * conform/data/netinet/in.h-data: Likewise.
11836         * conform/data/tar.h-data: Likewise.
11837         * conform/data/limits.h-data: Use "==" form on "constant" and
11838         "optional-constant" lines.
11840         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
11841         Use -std=c99 for XOPEN2K.
11842         (@knownproblems): Remove.
11843         (newtoken): Don't check %isknown.
11845         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
11846         Do not expect macro.
11847         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
11848         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
11849         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
11850         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
11851         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
11852         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
11853         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
11854         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
11855         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
11856         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
11857         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
11858         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
11859         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
11860         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
11861         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
11862         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
11863         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
11864         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
11865         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
11866         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
11867         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
11868         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
11869         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
11870         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
11871         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
11872         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
11873         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
11874         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
11875         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
11876         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
11877         [XPG3] (acosh): Likewise.
11878         [XPG3] (asinh): Likewise.
11879         [XPG3] (atanh): Likewise.
11880         [XPG3] (cbrt): Likewise.
11881         [XPG3] (expm1): Likewise.
11882         [XPG3] (ilogb): Likewise.
11883         [XPG3] (log1p): Likewise.
11884         [XPG3] (logb): Likewise.
11885         [XPG3] (nextafter): Likewise.
11886         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
11887         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
11888         [XPG3] (remainder): Likewise.
11889         [XPG3] (rint): Likewise.
11890         [XPG3 || XPG4 || UNIX98] (round): Likewise.
11891         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
11892         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
11893         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
11894         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
11895         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
11896         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
11897         [UNIX98 || XOPEN2K] (scalb): Expect.
11898         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
11899         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
11900         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
11901         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
11902         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
11903         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
11904         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
11905         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
11906         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
11907         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
11908         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
11909         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
11910         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
11911         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
11912         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
11913         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
11914         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
11915         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
11916         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
11917         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
11918         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
11919         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
11920         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
11921         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
11922         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
11923         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
11924         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
11925         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
11926         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
11927         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
11928         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
11929         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
11930         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
11931         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
11932         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
11933         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
11934         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
11935         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
11936         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
11937         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
11938         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
11939         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
11940         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
11941         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
11942         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
11943         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
11944         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
11945         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
11946         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
11947         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
11948         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
11949         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
11950         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
11951         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
11952         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
11953         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
11954         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
11955         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
11956         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
11957         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
11958         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
11959         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
11960         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
11961         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
11962         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
11963         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
11964         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
11965         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
11966         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
11967         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
11968         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
11969         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
11970         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
11971         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
11972         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
11973         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
11974         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
11975         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
11976         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
11977         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
11978         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
11979         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
11980         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
11981         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
11982         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
11983         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
11984         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
11985         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
11986         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
11987         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
11988         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
11989         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
11990         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
11991         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
11992         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
11993         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
11994         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
11995         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
11996         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
11997         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
11998         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
11999         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
12000         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
12001         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
12002         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
12003         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
12004         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
12005         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
12006         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
12007         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
12008         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
12009         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
12010         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
12011         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
12012         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
12013         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
12014         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
12015         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
12016         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
12017         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
12018         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
12019         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
12020         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
12021         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
12022         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
12023         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
12024         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
12025         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
12026         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
12027         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
12028         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
12029         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
12030         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
12031         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
12032         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
12033         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
12034         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
12036         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
12037         _XOPEN_SOURCE_EXTENDED for XPG4.
12039         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
12041         * Makeconfig (localtime): Remove variable.
12042         (inst_localtime-file): Likewise.
12044 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
12046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12047         Update.
12048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12049         Update.
12050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12051         Update.
12052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12053         Update.
12054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12055         Update.
12056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
12057         Update.
12058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12059         Update.
12060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
12061         Update.
12062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12063         Update.
12065 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
12067         [BZ #2550]
12068         [BZ #2570]
12069         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
12070         comparisons to determine direction to adjust input.
12071         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12072         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
12073         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
12074         Likewise.
12075         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
12076         Likewise.
12077         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12078         Likewise.
12079         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
12080         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12081         Likewise.
12082         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12083         Likewise.
12084         * math/libm-test.inc (nexttoward_test): Add more tests.
12086 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
12088         [BZ #14040]
12089         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
12090         in version GLIBC_2.1, not GLIBC_2.0.
12091         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
12092         Likewise.
12094 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
12096         [BZ #13942]
12097         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
12098         (1 - x) * (1 + x).
12099         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12100         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
12101         * math/libm-test.inc (acos_test): Add more tests.
12102         (asin_test): Likewise.
12103         * sysdeps/i386/fpu/libm-test-ulps: Update.
12104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12106         [BZ #14034]
12107         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
12108         of square root.
12109         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
12110         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12111         * math/libm-test.inc (acos_test_tonearest): New function.
12112         (acos_test_towardzero): Likewise.
12113         (acos_test_downward): Likewise.
12114         (acos_test_upward): Likewise.
12115         (asin_test_tonearest): Likewise.
12116         (asin_test_towardzero): Likewise.
12117         (asin_test_downward): Likewise.
12118         (asin_test_upward): Likewise.
12119         (main): Call the new functions.
12120         * sysdeps/i386/fpu/libm-test-ulps: Update.
12121         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12123         [BZ #13884]
12124         [BZ #13924]
12125         * math/e_exp10.c: Include <float.h>.
12126         (__ieee754_exp10): Handle underflow here rather than multiplying
12127         large negative argument by M_LN10.
12128         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
12129         of __ieee754_expf.
12130         * math/e_exp10l.c: Include <float.h>.
12131         (__ieee754_exp10l): Handle underflow here rather than multiplying
12132         large negative argument by M_LN10l.
12133         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
12134         spurious overflow exception on underflow.
12136 2012-04-29  Marek Polacek  <polacek@redhat.com>
12138         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
12139         (__fortify_function): New macro.
12140         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
12141         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
12142         __extern_always_inline.
12143         * libio/bits/stdio2.h: Likewise.
12144         * libio/bits/stdio.h: Likewise.
12145         * string/string.h: Likewise.
12146         * string/bits/string3.h: Likewise.
12147         * include/stdio.h: Likewise.
12148         * stdlib/bits/stdlib.h: Likewise.
12149         * stdlib/stdlib.h: Likewise.
12150         * rt/bits/mqueue2.h: Likewise.
12151         * rt/mqueue.h: Likewise.
12152         * posix/bits/unistd.h: Likewise.
12153         * posix/unistd.h: Likewise.
12154         * io/bits/poll2.h: Likewise.
12155         * io/bits/fcntl2.h: Likewise.
12156         * io/fcntl.h: Likewise.
12157         * io/sys/poll.h: Likewise.
12158         * misc/bits/syslog.h: Likewise.
12159         * misc/bits/syslog-ldbl.h: Likewise.
12160         * misc/sys/syslog.h: Likewise.
12161         * socket/bits/socket2.h: Likewise.
12162         * socket/sys/socket.h: Likewise.
12163         * debug/tst-chk1.c: Likewise.
12164         * wcsmbs/bits/wchar2.h: Likewise.
12165         * wcsmbs/bits/wchar-ldbl.h: Likewise.
12166         * wcsmbs/wchar.h: Likewise.
12168 2012-04-29  Andreas Jaeger  <aj@suse.de>
12170         * Makerules (tests): Remove enable-check-abi protection.
12171         (check-abi-warn): Remove.
12172         (check-abi-%): Remove check-abi-warn usage.
12174         * configure.in: Remove check-abi configure option.
12175         * configure: Regenerated.
12176         * config.make.in (enable-check-abi): Remove.
12178 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
12180         [BZ #14033]
12181         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
12182         double functions to double *_finite functions.
12184         [BZ #13941]
12185         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
12186         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
12187         LDBL_MIN_EXP.
12188         * stdio-common/Makefile (tests): Add tst-sprintf3.
12189         * stdio-common/tst-sprintf3.c: New file.
12191         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
12192         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
12194 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
12196         * conform/conformtest.pl: Remove duplicate typed-constant
12197         handling.
12199 2012-04-28  David S. Miller  <davem@davemloft.net>
12201         * Makerules (%.abilist): Add vpath on sysdep_dirs.
12202         (check-abi-%): Remove AWK script prerequisite and explicit
12203         abilist directory.
12204         (check-abi): Rewrite to just diff the symlist with the abilist.
12205         (config-tls, config-abi-config): Delete, no longer used.
12206         (update-abi-%): Remove AWK script and explicit abilist directory.
12207         (update-abi): Rewrite to simply compare and conditionally copy the
12208         symlist and the sysdep abilist file.  Remove update-abi-config
12209         checks.
12210         * abilist/ld.abilist: Remove.
12211         * abilist/libBrokenLocale.abilist: Remove.
12212         * abilist/libanl.abilist: Remove.
12213         * abilist/libcrypt.abilist: Remove.
12214         * abilist/libdl.abilist: Remove.
12215         * abilist/librt.abilist: Remove.
12216         * abilist/libthread_db.abilist: Remove.
12217         * abilist/libutil.abilist: Remove.
12218         * scripts/extract-abilist.awk: Remove.
12219         * scripts/merge-abilist.awk: Remove.
12220         * sysdeps/generic/libcidn.abilist: New file.
12221         * sysdeps/generic/libnss_compat.abilist: New file.
12222         * sysdeps/generic/libnss_db.abilist: New file.
12223         * sysdeps/generic/libnss_dns.abilist: New file.
12224         * sysdeps/generic/libnss_files.abilist: New file.
12225         * sysdeps/generic/libnss_hesiod.abilist: New file.
12226         * sysdeps/generic/libnss_nis.abilist: New file.
12227         * sysdeps/generic/libnss_nisplus.abilist: New file.
12228         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
12229         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
12230         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
12231         file.
12232         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
12233         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
12234         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
12235         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
12236         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
12237         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
12238         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
12239         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
12240         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
12241         file.
12242         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
12243         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
12244         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
12245         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
12246         file.
12247         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
12248         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
12249         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
12250         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
12251         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
12252         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
12253         file.
12254         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
12255         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
12256         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
12257         file.
12258         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
12259         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
12260         New file.
12261         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
12262         New file.
12263         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
12264         New file.
12265         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
12266         New file.
12267         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
12268         New file.
12269         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
12270         New file.
12271         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
12272         New file.
12273         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
12274         New file.
12275         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
12276         New file.
12277         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
12278         New file.
12279         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
12280         New file.
12281         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
12282         New file.
12283         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
12284         New file.
12285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
12286         file.
12287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
12288         New file.
12289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12290         New file.
12291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
12292         file.
12293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12294         New file.
12295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12296         New file.
12297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
12298         file.
12299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12300         New file.
12301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12302         New file.
12303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12304         New file.
12305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12306         New file.
12307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12308         New file.
12309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12310         New file.
12311         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
12312         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
12313         file.
12314         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12315         New file.
12316         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
12317         file.
12318         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
12319         file.
12320         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
12321         file.
12322         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
12323         file.
12324         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
12325         file.
12326         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12327         New file.
12328         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
12329         file.
12330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
12331         file.
12332         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12333         New file.
12334         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
12335         file.
12336         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
12337         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
12338         file.
12339         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12340         New file.
12341         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
12342         file.
12343         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
12344         file.
12345         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
12346         file.
12347         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
12348         file.
12349         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
12350         file.
12351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12352         New file.
12353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
12354         file.
12355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
12356         file.
12357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12358         New file.
12359         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
12360         file.
12361         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12362         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
12363         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
12364         file.
12365         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
12366         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
12367         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
12368         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
12369         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
12370         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
12371         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
12372         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
12373         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
12374         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
12375         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
12376         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
12377         file.
12378         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12379         New file.
12380         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
12381         file.
12382         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
12383         file.
12384         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
12385         file.
12386         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
12387         file.
12388         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
12389         file.
12390         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12391         New file.
12392         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12393         New file.
12394         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
12395         file.
12396         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12397         New file.
12398         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
12399         file.
12400         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
12401         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
12402         file.
12403         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12404         New file.
12405         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
12406         file.
12407         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
12408         file.
12409         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
12410         file.
12411         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
12412         file.
12413         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
12414         file.
12415         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12416         New file.
12417         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12418         New file.
12419         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
12420         file.
12421         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12422         New file.
12423         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
12424         file.
12426 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
12428         * conform/conformtest.pl: Fix typo in handling typed-constant from
12429         allow-header.
12431 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
12433         * README: Cut down references to pre-2.6 Linux kernels and
12434         Linuxthreads.  Update lists of configurations in libc and ports
12435         and sort alphabetically.  Say "or newer" with Linux kernel version
12436         requirements.
12438         * config.h.in [IS_IN_build]: Allow compiling without optimization.
12440 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12442         [BZ #887]
12443         * math/libm-test.inc (logb_test_downward): New test to expose
12444         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
12445         rounding mode.
12447 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
12449         [BZ #14027]
12450         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
12451         to be done.
12452         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
12453         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
12455 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
12457         * sysdeps/unix/i386/brk.S: Remove file.
12458         * sysdeps/unix/i386/dl-brk.S: Likewise.
12459         * sysdeps/unix/i386/pipe.S: Likewise.
12460         * sysdeps/unix/i386/sigreturn.S: Likewise.
12461         * sysdeps/unix/i386/syscall.S: Likewise.
12462         * sysdeps/unix/i386/vfork.S: Likewise.
12463         * sysdeps/unix/i386/wait.S: Likewise.
12465         * sysdeps/unix/common/tcsendbrk.c: Move to ...
12466         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
12468         * configure.in (arm*-none*): Do not allow without
12469         --enable-hacker-mode.
12470         (netbsd*): Remove case setting base_os.
12471         (386bsd*): Likewise.
12472         (freebsd*): Likewise.
12473         (bsdi*): Likewise.
12474         (osf*): Likewise.
12475         (sunos*): Likewise.
12476         (ultrix*): Likewise.
12477         (newsos*): Likewise.
12478         (dynix*): Likewise.
12479         (*bsd*): Likewise.
12480         (sysv*): Likewise.
12481         (isc*): Likewise.
12482         (esix*): Likewise.
12483         (sco*): Likewise.
12484         (minix*): Likewise.
12485         (irix4*): Likewise.
12486         (irix6*): Likewise.
12487         (solaris[2-9]*): Likewise.
12488         (none): Likewise.
12489         * configure: Regenerated.
12491 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12493         [BZ #11521]
12494         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
12495         overflow or cancellation in calculating denominator.
12496         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
12497         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
12498         down expression to avoid unexpected rounding in newer GCCs.
12499         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
12501 2012-04-26  David S. Miller  <davem@davemloft.net>
12503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
12504         long-double compat symbols.
12505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
12509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12510         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12511         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12512         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
12513         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
12514         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
12516         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
12517         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12519 2012-04-25  David S. Miller  <davem@davemloft.net>
12521         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
12522         HWCAP_* values only after the memory barriers have been defined.
12523         (atomic_full_barrier): Define.
12524         (atomic_read_barrier): Define.
12525         (atomic_write_barrier): Define.
12527 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12529         * shlib-versions: Add libgcc_s version information.
12530         * sysdeps/generic/libgcc_s.h: Remove.
12531         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
12532         libgcc_s.h.
12533         * sysdeps/gnu/unwind-resume.c: Likewise.
12534         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
12536 2012-04-25  David S. Miller  <davem@davemloft.net>
12538         * sysdeps/unix/sparc/brk.S: Delete.
12539         * sysdeps/unix/sparc/dl-brk.S: Delete.
12540         * sysdeps/unix/sparc/pipe.S: Delete.
12541         * sysdeps/unix/sparc/sysdep.S: Delete.
12542         * sysdeps/unix/sparc/sysdep.h: Delete.
12543         * sysdeps/unix/sparc/vfork.S: Delete.
12544         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
12545         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
12546         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
12547         ret_ERRVAL, r0, r1, MOVE): Define.
12548         (JUMPTARGET): Remove.
12549         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
12550         sysdeps/unix/sparc/sysdep.h
12551         (ENTRY, END): Remove.
12552         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12554 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
12556         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
12557         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
12558         -DIS_IN_build.
12560         * timezone/README: Update upstream location and email address for
12561         tzcode and tzdata.
12562         * timezone/zdump.c: Update from tzcode 2012b.
12563         * timezone/zic.c: Likewise.
12565         * configure.in (libc_cv_as_needed): Remove test.
12566         * configure: Regenerated.
12567         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
12568         conditional definition.
12569         [$(have-as-needed) != yes] (no-as-needed): Likewise.
12570         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
12571         * config.make.in (have-as-needed): Remove variable.
12573 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12574             Paul Pluzhnikov  <ppluzhnikov@google.com>
12576         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
12577         strings correctly.
12579 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
12581         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
12582         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
12583         * sysdeps/sh/strlen.S: Likewise.
12585 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
12587         * sysdeps/unix/fork.S: Remove file.
12588         * sysdeps/unix/i386/fork.S: Likewise.
12589         * sysdeps/unix/sparc/fork.S: Likewise.
12591         * sysdeps/unix/system.c: Remove file.
12592         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
12594         * sysdeps/unix/getegid.S: Remove file.
12595         * sysdeps/unix/geteuid.S: Likewise.
12597 2012-04-24  Roland McGrath  <roland@hack.frob.com>
12599         * scripts/check-localplt.awk: New file.
12600         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
12601         of diff.
12602         * scripts/data/localplt-generic.data: Add a comment.
12604         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
12605         NODE when __dir_mkfile failed.
12606         * sysdeps/mach/hurd/symlinkat.c: Likewise.
12607         Reported by Ludovic Courtès <ludo@gnu.org>.
12609 2012-04-24  Andreas Jaeger  <aj@suse.de>
12611         * Makerules (common-clean): Also remove gen-as-const-headers
12612         files.
12614 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
12616         * Makerules (native-compile): Do not change working directory for
12617         build.  Use $(OUTPUT_OPTION) in command.
12618         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
12620 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12622         [BZ #13886]
12623         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
12624         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
12625         * math/libm-test.inc (floor_test): Add more tests.
12626         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
12628 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
12630         * sysdeps/unix/getdents.c: Remove file.
12631         * sysdeps/unix/sysv/getdents.c: Likewise.
12632         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
12634         * sysdeps/unix/syscalls.list (madvise): Add syscall from
12635         sysdeps/unix/mman/syscalls.list.
12636         (mmap): Likewise.
12637         (mprotect): Likewise.
12638         (msync): Likewise.
12639         (munmap): Likewise.
12640         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
12641         * sysdeps/unix/mman/syscalls.list: Remove.
12642         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
12644         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
12645         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
12646         * configure: Regenerated.
12647         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
12648         $(libgcc_s_suffix).
12649         * config.make.in (libgcc_s_suffix): Remove variable.
12651 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
12653         * sysdeps/unix/sysv/gethostname.c: Move to ...
12654         * sysdeps/posix/gethostname.c: ... here.
12656         * sysdeps/unix/execve.S: Remove file.
12658         * sysdeps/unix/_exit.S: Remove file.
12660 2012-04-23  Andreas Jaeger  <aj@suse.de>
12662         [BZ #13739]
12663         * manual/Makefile: Remove make dist support, there's no
12664         need for a stand-alone documentation tar ball.
12665         (TEXI2DVI): Define always, it's not in Makeconfig.
12666         (dist): Removed.
12667         (tar-it): Removed.
12668         (edition): Removed.
12669         (glibc-doc-$(edition).tar): Removed
12670         (%.Z): Removed.
12671         (%.gz): Removed.
12672         (%.uu): Removed.
12673         (ETAGS): Remove, it's in Makeconfig.
12674         (move-if-change): Remove, it's in Makeconfig.
12676 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
12678         [BZ #13970]
12679         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
12680         (strtod, strtof, strtold, strtol, strtoul, strtoq)
12681         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
12682         (strtod_l, strtof_l, strtold_l): Remove __wur.
12683         It is not necessarily an error to ignore strtol's return value.
12684         One can reliably look at the stored endptr to decide whether
12685         the number had valid syntax.
12687 2012-04-21  Andreas Jaeger  <aj@suse.de>
12689         [BZ #13739]
12690         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
12692 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
12694         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
12695         * sysdeps/unix/sysv/Versions: Remove file.
12697 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
12699         [BZ #13927]
12700         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12702 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
12704         [BZ #7064]
12705         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
12706         version from __vm86.
12708 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
12710         * sysdeps/unix/common/lxstat.c: Remove file.
12711         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
12713         * sysdeps/unix/sysv/Makefile: Remove file.
12715         * sysdeps/unix/sysv/direct.h: Remove file.
12717         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
12718         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
12719         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
12720         * sysdeps/unix/sysv/bits/signum.h: Likewise.
12721         * sysdeps/unix/sysv/bits/stat.h: Likewise.
12722         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
12723         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
12725         * sysdeps/unix/sysv/setrlimit.c: Remove file.
12727         * sysdeps/unix/xmknod.c: Remove file.
12728         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
12730         * sysdeps/unix/sysv/settimeofday.c: Remove file.
12732         * sysdeps/unix/sysv/i386/time.S: Remove file.
12734         * sysdeps/unix/fxstat.c: Remove file.
12735         * sysdeps/unix/xstat.c: Likewise.
12736         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
12738         * sysdeps/unix/sysv/sigaction.c: Remove file.
12740         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
12741         (sysdep_headers): Remove variable.
12742         [termio.h not in sysdep_headers] (generated): Likewise.
12743         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
12744         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
12745         * sysdeps/unix/sysv/tcdrain.c: Likewise.
12746         * sysdeps/unix/sysv/tcflow.c: Likewise.
12747         * sysdeps/unix/sysv/tcflush.c: Likewise.
12748         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
12749         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
12750         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
12751         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
12752         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
12754         * sysdeps/unix/siglist.c: Remove file.
12756         * sysdeps/unix/getppid.S: Remove file.
12758         * sysdeps/unix/mkdir.c: Remove file.
12759         * sysdeps/unix/rmdir.c: Likewise.
12761 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
12763         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
12764         ERR_MAX value.
12765         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
12766         errlist-compat value.
12768 2012-04-18  David S. Miller  <davem@davemloft.net>
12770         * sysdeps/generic/memcopy.h (reg_char): Delete.
12771         * debug/strcat_chk.c: Use char, not reg_char.
12772         * debug/strcpy_chk.c: Likewise.
12773         * debug/strncat_chk.c: Likewise.
12774         * debug/strncpy_chk.c: Likewise.
12775         * string/memchr.c: Likewise.
12776         * string/memrchr.c: Likewise.
12777         * string/rawmemchr.c: Likewise.
12778         * string/strcat.c: Likewise.
12779         * string/strchr.c: Likewise.
12780         * string/strchrnul.c: Likewise.
12781         * string/strcmp.c: Likewise.
12782         * string/strcpy.c: Likewise.
12783         * string/strncat.c: Likewise.
12784         * string/strncmp.c: Likewise.
12785         * string/strncpy.c: Likewise.
12787 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
12789         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
12790         __builtin_memcopy is called when src and dest ranges are known to not
12791         overlap.
12793 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
12795         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
12796         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
12797         fwd_align_merge macro call.
12798         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
12799         bwd_align_merge macro call.
12800         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12802 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
12804         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
12805         bwd_align_merge macros.
12806         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
12807         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
12808         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12810 2012-04-18  David S. Miller  <davem@davemloft.net>
12812         * sysdeps/sparc/sparc64/memcopy.h: Delete.
12814 2012-04-18  Andreas Jaeger  <aj@suse.de>
12816         [BZ# 6794]
12817         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
12818         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
12819         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12821         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
12822         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
12823         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12825         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
12826         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
12827         Adjust for changed ldbl-128 files.
12829         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
12830         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
12831         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12833 2012-04-17  David S. Miller  <davem@davemloft.net>
12835         * sysdeps/sparc/sparc32/memcopy.h: Delete.
12837 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
12839         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
12840         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
12841         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
12842         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
12843         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12844         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
12846 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12848         [BZ #6794]
12849         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
12850         * math/libm-test.inc: Add ilogb errno and exception tests.
12851         * math/w_ilogb.c: New file: ilogb wrapper.
12852         * math/w_ilogbf.c: New file: ilogbf wrapper.
12853         * math/w_ilogbl.c: New file: ilogbl wrapper.
12854         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
12855         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
12856         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
12857         exception being thrown with 0.0 as argument.
12858         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
12859         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
12860         exception being thrown with 0.0 as argument.
12861         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
12862         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12863         exception being thrown with 0.0 as argument.
12864         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
12865         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12866         exception being thrown with 0.0 as argument.
12867         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
12868         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
12869         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
12870         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
12871         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
12872         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
12873         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
12874         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
12875         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
12877 2012-04-17  Petr Baudis  <pasky@ucw.cz>
12879         * include/sys/uio.h: Change __vector to __iovec to avoid clash
12880         with altivec.
12882 2012-04-16  Marek Polacek  <polacek@redhat.com>
12884         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
12886 2012-04-16  Marek Polacek  <polacek@redhat.com>
12888         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
12889         operands of fdivp instruction.
12891 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
12893         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
12894         * elf/tst-auditmod3b.c: Likewise.
12895         * elf/tst-auditmod4b.c: Likewise.
12896         * elf/tst-auditmod5b.c: Likewise.
12897         * elf/tst-auditmod6b.c: Likewise.
12898         * elf/tst-auditmod6c.c: Likewise.
12899         * elf/tst-auditmod7b.c: Likewise.
12900         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
12901         * sysdeps/x86_64/preconfigure.in: Likewise.
12902         * sysdeps/x86_64/preconfigure: Regenerated.
12904 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
12906         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
12907         __ILP32__.
12909 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
12911         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12912         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
12914 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
12916         [BZ #13973]
12917         * locale/iso-639.def: Fix gl language name. Spotted by
12918         Yaron Shahrabani.
12920 2012-04-12  Roland McGrath  <roland@hack.frob.com>
12922         [BZ #2074]
12923         * libio/libio.h (__io_write_fn): Update comment.
12925 2012-04-12  Petr Baudis  <pasky@ucw.cz>
12927         [BZ #2074]
12928         * stdio.texi (Hook Functions): The user provided writer function
12929         is not allowed to return -1.
12931 2012-04-11  David S. Miller  <davem@davemloft.net>
12933         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12935 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
12937         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
12938         Add a leading slash to rtkaio.
12940 2012-04-11  Jim Meyering  <meyering@redhat.com>
12942         [BZ #11959]
12943         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
12944         It is not necessarily an error to ignore fwrite's return
12945         value.  One can reliably use ferror to test for errors after
12946         the fact.
12948 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
12950         * bits/types.h (__snseconds_t): New type.
12951         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
12953         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
12954         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12955         (__SNSECONDS_T_TYPE): Likewise.
12956         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12957         (__SNSECONDS_T_TYPE): Likewise.
12958         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12959         (__SNSECONDS_T_TYPE): Likewise.
12961 2012-04-10  Andreas Jaeger  <aj@suse.de>
12963         [BZ #2636]
12964         * manual/time.texi (Processor Time): Return type of times is
12965         elapsed real time since an arbitrary point in the past.
12966         (CPU Time): Move CLK_TCK from here...
12967         (Processor Time): ...to here.  Correct description.
12968         * manual/conf.texi (Constants for Sysconf): Correct description of
12969         _SC_CLK_TCK.
12971 2012-04-10  David S. Miller  <davem@davemloft.net>
12973         [BZ #13967]
12974         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
12975         where the is a gap between DT_REL(A) and DT_JMPREL.
12977 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
12979         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
12980         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12981         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12983 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12985         * elf/dl-support.c (_dl_inhibit_cache): New variable.
12986         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
12987         (dl_main): Handle --inhibit-cache.
12988         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
12989         _dl_inhibit_cache.
12990         * elf/dl-load.c (_dl_map_object): Use it.
12991         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
12993 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
12995         [BZ #13872]
12996         * sysdeps/i386/fpu/e_powl.S (p78): New object.
12997         (__ieee754_powl): Saturate large exponents rather than testing for
12998         overflow of y*log2(x).
12999         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13000         * math/libm-test.inc (pow_test): Do not permit spurious overflow
13001         exceptions.
13003         [BZ #11521]
13004         * math/s_ctan.c: Include <float.h>.
13005         (__ctan): Avoid internal overflow or cancellation in calculating
13006         denominator.
13007         * math/s_ctanf.c: Likewise.
13008         * math/s_ctanl.c: Likewise.
13009         * math/s_ctanh.c: Likewise.
13010         * math/s_ctanhf.c: Likewise.
13011         * math/s_ctanhl.c: Likewise.
13012         * math/libm-test.inc (ctan_test): Add more tests.
13013         (ctanh_test): Likewise.
13014         * sysdeps/i386/fpu/libm-test-ulps: Update.
13015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13017 2012-04-09  Andreas Jaeger  <aj@suse.de>
13019         [BZ #6894]
13020         * manual/filesys.texi (Directory Entries): Mention that d_namlen
13021         is an optional BSD extension.
13023         [BZ #10254]
13024         * manual/stdio.texi (Opening Streams): Document additional fopen
13025         parameters.
13027 2012-04-09  Roland McGrath  <roland@hack.frob.com>
13029         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
13030         %eax without telling the compiler.
13032 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
13034         [BZ # 13963]
13035         * manual/install.texi: Use sourceware.org.
13037 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
13039         [BZ #13873]
13040         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
13041         (__ieee754_pow): Generate overflow and underflow using huge*huge
13042         and tiny*tiny rather than just returning constant infinity or zero
13043         for large exponents.
13044         * math/libm-test.inc (pow_test): Require overflow exceptions for
13045         applicable cases of large exponents.
13047         [BZ #706]
13048         * sysdeps/i386/fpu/e_pow.S (p10): New object.
13049         (__ieee754_pow): Use iterative multiplication algorithm only for
13050         integer exponents with absolute value below 1024.  Check for odd
13051         integer exponents when using algorithm for real exponents.
13052         * math/libm-test.inc (pow_test): Add more tests.
13053         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13055 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
13057         [BZ #13705]
13058         * math/libm-test.inc (exp_test): Do not allow overflow exception
13059         on underflow test.
13061 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
13063         [BZ #13705]
13064         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
13065         instead of __kernel_standard_f.
13067 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
13069         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
13070         * sysdeps/x86_64/memset_chk.S: Likewise.
13072 2012-04-08  Andreas Jaeger  <aj@suse.de>
13074         [BZ #10153]
13075         * manual/startup.texi (Environment Access): Describe return value
13076         for putenv and setenv.
13078         [BZ #6895]
13079         * manual/filesys.texi (Directory Entries): Add description for
13080         DT_LNK.
13082         [BZ #6890]
13083         * manual/filesys.texi (Directory Entries): Clarify that it's file
13084         system not operating system in the description of DT_UNKNOWN.
13086         [BZ #6578]
13087         * manual/syslog.texi (closelog): Fix reference, it's openlog.
13089 2012-04-08  Stephen Compall  <s11@member.fsf.org>
13091         [BZ #6649]
13092         * manual/llio.texi (Opening and Closing Files): Add cross
13093         reference to explain mode argument.
13095 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
13097         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
13098         * sysdeps/x86_64/memset_chk.S: Likewise.
13100 2012-04-07  David S. Miller  <davem@davemloft.net>
13102         * elf/elf.h (R_SPARC_WDISP10): Define.
13103         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
13104         R_SPARC_SIZE32.
13105         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
13106         R_SPARC_SIZE64 and R_SPARC_H34.
13108 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
13110         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
13111         conditions and remove no longer applicable assertion.
13113 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
13115         * bits/byteswap.h: Include <features.h>.
13116         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13117         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13119 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
13121         * bits/byteswap.h (__bswap_16): Removed.
13122         Include <bits/byteswap-16.h> to get __bswap_16.
13123         * sysdeps/i386/bits/byteswap.h: Likewise.
13124         * sysdeps/s390/bits/byteswap.h: Likewise.
13125         * sysdeps/x86_64/bits/byteswap.h: Likewise.
13126         * bits/byteswap-16.h: New file.
13127         * sysdeps/i386/bits/byteswap-16.h: Likewise.
13128         * sysdeps/s390/bits/byteswap-16.h: Likewise.
13129         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
13130         * string/Makefile (headers): Add bits/byteswap-16.h.
13132 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
13134         [BZ #13895]
13135         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
13136         extra indirection.
13137         * nss/Makefile (tests-static, tests): Add tst-nss-static.
13138         * nss/tst-nss-static.c: New.
13140 2012-04-06  Robert Millan  <rmh@gnu.org>
13142         [BZ #6486]
13143         * manual/llio.texi (File Position Primitive): lseek
13144         refers to WHENCE when it really means OFFSET.
13146 2012-04-06  Andreas Jaeger  <aj@suse.de>
13148         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
13149         strncmp declarations.
13151         * abilist/libc.abilist: Add __poll and __ppoll.
13153 2012-04-05  David S. Miller  <davem@davemloft.net>
13155         * scripts/check-local-headers.sh: Accept a host triplet in the
13156         path matched by the exclude regexp.
13158         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
13159         definition.
13160         * sysdeps/powerpc/powerpc32/dl-machine.h
13161         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
13162         * sysdeps/s390/s390-32/dl-machine.h
13163         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13164         * sysdeps/sparc/sparc32/dl-machine.h
13165         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13166         * sysdeps/sparc/sparc64/dl-machine.h
13167         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13169         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
13170         lazy binding.
13171         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
13172         undefined symbol errors.
13174         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
13175         DT_NEEDED entries.
13177 2012-04-05  Michael Matz  <matz@suse.de>
13179         [BZ #13592]
13180         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
13182 2012-04-05  Andreas Jaeger  <aj@suse.de>
13184         [BZ #13908]
13185         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
13186         comment.
13188 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
13190         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
13191         which ROUND is no valid rounding mode.
13193 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
13195         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
13196         read again.
13197         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
13199 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
13201         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
13202         an exception using FPU order intentionally.
13204 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
13206         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
13207         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
13208         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
13209         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
13211 2012-04-05  Simon Josefsson  <simon@josefsson.org>
13213         [BZ #12340]
13214         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
13215         EINVAL when BUFLEN is too smal.
13217 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
13219         [BZ #13553]
13220         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
13221         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
13223 2012-04-03  Andreas Jaeger  <aj@suse.de>
13225         [BZ #13938]
13226         * manual/setjmp.texi (System V contexts): Fix sentence.
13228         [BZ #13926]
13229         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
13230         New macro for this case.
13231         [!__GNUC__] (__bswap_64): New inline function for this case.
13232         * sysdeps/x86_64/bits/byteswap.h: Likewise.
13233         * bits/byteswap.h: Likewise.
13234         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
13235         ull, guard with __GLIBC_HAVE_LONG_LONG.
13237         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
13238         __GLIBC_HAVE_LONG_LONG.
13240         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
13241         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
13243 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13245         [BZ #13691]
13246         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
13247         inptr and inend, rather than using last_ch.
13249 2012-04-02  David S. Miller  <davem@davemloft.net>
13251         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
13252         * stdio-common/printf-parse.h (read_int): Change return type to
13253         'int', return -1 on INT_MAX overflow.
13254         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
13255         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
13256         overflows INT_MAX.  Check for overflow of in-format-string precision
13257         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
13258         SIZE_MAX not INT_MAX for integer overflow test.
13259         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
13260         skip the construct in the format string but do not record anything.
13261         * stdio-common/bug22.c: Adjust to test both width/prevision
13262         INT_MAX overflow as well as total length INT_MAX overflow.  Check
13263         explicitly for proper errno values.
13265 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
13267         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
13268         CHAR_MAX.
13269         * string/test-strcmp.c [! WIDE]: Likewise.
13270         * time/tst-mktime2.c: Likewise for INT_MAX.
13271         * string/test-string.h: #include <sys/param.h> for MIN.
13273         * csu/init-first.c (__libc_init_first): Call __ctype_init.
13274         * sysdeps/i386/init-first.c (init): Likewise.
13275         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
13276         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
13277         * sysdeps/sh/init-first.c (init): Likewise.
13279 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
13281         * po/ru.po: Update from translation team.
13282         * po/vi.po: Likewise.
13284 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
13286         * resolv/nss_dns/dns-host.c: Merge copyright years.
13288 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13290         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13291         Optimize memcpy with prefetch if
13292         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
13293         src, dst pointers have unequal 16 byte alignments.
13295 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13297         [BZ #13928]
13298         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
13299         from a CNAME entry and return the minimum ttl for the query.
13300         (gaih_getanswer_slice): Likewise.
13302 2012-03-30  Jeff Law  <law@redhat.com>
13304         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
13305         due to long keys.
13306         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13307         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13309         * resolv/nss_dns/dns-host.c: Update copyright year.
13311 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
13313         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
13314         requests to save a system call.  Fix check that all bytes are sent.
13316         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
13317         comments for sendmmsg.
13319 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13321         [BZ #13691]
13322         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
13323         with only 1 character between 0x0041 and 0x01b0.
13324         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
13325         * wcsmbs/tst-mbsnrtowcs.c: New file.
13327 2012-03-29  David S. Miller  <davem@davemloft.net>
13329         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
13330         small copies by hand.
13332 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13334         [BZ #13761]
13335         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
13336         _nss_compat_initgroups_dyn): Fall back to malloc/free
13337         for large group memberships.
13339 2012-03-28  David S. Miller  <davem@davemloft.net>
13341         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
13342         that branches into memcpy.
13343         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13344         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13345         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13346         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13347         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
13348         bits.
13349         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
13350         implementation too.
13351         * sysdeps/sparc/mempcpy.S: New file.
13353         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
13354         the IFUNC routine in the libc case.
13355         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13357         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
13358         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
13359         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
13360         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
13361         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
13362         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
13363         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
13364         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
13366         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
13367         loop to 256 bytes instead of 64 bytes and fix test signedness.
13369         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
13370         * sysdeps/sparc/sparc32/Makefile: rather than here...
13371         * sysdeps/sparc/sparc64/Makefile: and here.
13373 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
13375         * malloc/mallocbug.c: Avoid warnings about unused variables.
13377 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
13379         [BZ #13760]
13380         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
13381         in the right place. Discard and retry query if response is
13382         larger than input buffer size.
13384 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
13386         [BZ #369]
13387         [BZ #2678]
13388         [BZ #3866]
13389         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
13390         x for large integer exponent.
13391         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13392         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
13393         sign of result as needed afterwards.
13394         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13395         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
13396         result for underflowing pow the same as for overflow.
13397         (__kernel_standard_l): Handle powl overflow and underflow here
13398         rather than calling __kernel_standard.
13399         * math/libm-test.inc (pow_test): Add more tests.
13401         [BZ #3868]
13402         [BZ #13879]
13403         [BZ #13910]
13404         [BZ #13911]
13405         [BZ #13912]
13406         [BZ #13913]
13407         [BZ #13915]
13408         [BZ #13916]
13409         [BZ #13917]
13410         [BZ #13918]
13411         [BZ #13919]
13412         [BZ #13920]
13413         [BZ #13921]
13414         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
13415         * sysdeps/ieee754/k_standard.c: Include <float.h>.
13416         (__kernel_standard_l): New function.
13417         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
13418         __kernel_standard.
13419         * math/w_acosl.c (__acosl): Likewise.
13420         * math/w_asinl.c (__asinl): Likewise.
13421         * math/w_atan2l.c (__atan2l): Likewise.
13422         * math/w_atanhl.c (__atanhl): Likewise.
13423         * math/w_coshl.c (__coshl): Likewise.
13424         * math/w_exp10l.c (__exp10l): Likewise.
13425         * math/w_exp2l.c (__exp2l): Likewise.
13426         * math/w_fmodl.c (__fmodl): Likewise.
13427         * math/w_hypotl.c (__hypotl): Likewise.
13428         * math/w_j0l.c (__j0l, __y0l): Likewise.
13429         * math/w_j1l.c (__j1l, __y1l): Likewise.
13430         * math/w_jnl.c (__jnl, __ynl): Likewise.
13431         * math/w_lgammal.c (__lgammal): Likewise.
13432         * math/w_log10l.c (__log10l): Likewise.
13433         * math/w_log2l.c (__log2l): Likewise.
13434         * math/w_logl.c (__logl): Likewise.
13435         * math/w_powl.c (__powl): Likewise.
13436         * math/w_remainderl.c (__remainderl): Likewise.
13437         * math/w_scalbl.c (sysv_scalbl): Likewise.
13438         * math/w_sinhl.c (__sinhl): Likewise.
13439         * math/w_sqrtl.c (__sqrtl): Likewise.
13440         * math/w_tgammal.c (__tgammal): Likewise.
13441         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
13442         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
13443         * math/libm-test.inc (acos_test): Add more tests.
13444         (acosh_test): Likewise.
13445         (asin_test): Likewise.
13446         (atanh_test): Likewise.
13447         (exp_test): Likewise.
13448         (exp10_test): Likewise.
13449         (exp2_test): Likewise.
13450         (expm1_test): Likewise.
13451         (lgamma_test): Likewise.
13452         (log_test): Likewise.
13453         (log10_test): Likewise.
13454         (log1p_test): Likewise.
13455         (log2_test): Likewise.
13456         (pow_test): Do not allow some spurious overflow exceptions.
13457         (sqrt_test): Add more tests.
13458         (tgamma_test): Likewise.
13459         (y0_test): Likewise.
13460         (y1_test): Likewise.
13461         (yn_test): Likewise.
13463 2012-03-27  Anton Blanchard  <anton@samba.org>
13465         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
13466         MAP_HUGETLB.
13467         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13468         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13469         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13471 2012-03-27  David S. Miller  <davem@davemloft.net>
13473         * conform/Makefile: Run run-conformtest.sh using $(BASH).
13475         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
13476         have-as-vis3 check.
13478 2012-03-27  Andreas Jaeger  <aj@suse.de>
13480         * sysdeps/x86_64/elf/configure.in: Moved to ...
13481         * sysdeps/x86_64/configure.in: ... here.
13482         * sysdeps/x86_64/elf/start.S: Moved to ...
13483         * sysdeps/x86_64/start.S: ... here.
13484         * sysdeps/x86_64/elf/configure: Delete.
13486         * sysdeps/x86_64/configure.in: Merge contents from
13487         sysdeps/i386/configure.in (without i686 check).
13489         * sysdeps/i386/elf/Versions: Merge into ...
13490         * sysdeps/i386/Versions: ... this.
13491         * sysdeps/i386/elf/Versions: Delete file.
13492         * sysdeps/i386/elf/start.S: Moved to ...
13493         * sysdeps/i386/start.S: ...here.
13494         * sysdeps/i386/elf/configure.in: Merge into...
13495         * sysdeps/i386/configure.in: ...here.
13496         * sysdeps/i386/elf/configure.in: Delete file.
13497         * sysdeps/i386/elf/configure: Delete file.
13499         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
13500         * debug/backtracesyms.c: ... here.
13501         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
13502         * debug/backtracesymsfd.c: ... here.
13503         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
13504         * sysdeps/generic/ifunc-sel.h: ... here.
13506         * sysdeps/unix/i386/start.c: Delete file.
13507         * sysdeps/unix/sparc/start.c: Delete file.
13508         * sysdeps/unix/start.c: Delete file.
13510         * sysdeps/sh/elf/configure.in: Moved to ...
13511         * sysdeps/sh/configure.in: ... here.
13512         * sysdeps/sh/elf/start.S: Moved to ...
13513         * sysdeps/sh/start.S: ... here.
13514         * sysdeps/sh/elf/configure: Delete file.
13516         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
13517         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
13518         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
13519         * sysdeps/powerpc/powerpc64/entry.h: ... here.
13520         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
13521         * sysdeps/powerpc/powerpc64/start.S: here.
13522         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
13523         * sysdeps/powerpc/powerpc64/Makefile: ... this.
13524         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
13525         * sysdeps/powerpc/powerpc64/configure.in: ... this.
13526         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
13528         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
13529         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
13530         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
13531         * sysdeps/powerpc/powerpc32/start.S: ... here.
13532         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
13533         * sysdeps/powerpc/powerpc32/configure.in: ... this.
13534         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
13536         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
13537         * sysdeps/powerpc/ifunc-sel.h: ... here.
13538         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
13539         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
13541         * sysdeps/sparc/elf/configure.in: Moved to ...
13542         * sysdeps/sparc/configure.in: ... here.
13543         * sysdeps/sparc/elf/configure: Delete file.
13544         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
13545         * sysdeps/sparc/sparc32/start.S: ... here.
13546         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
13547         * sysdeps/sparc/sparc64/start.S: ... here.
13548         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
13549         * sysdeps/sparc/sparc32/Makefile: ... this.
13550         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
13551         * sysdeps/sparc/sparc64/Makefile: ... this.
13553         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
13554         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
13555         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
13556         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
13557         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
13558         * sysdeps/s390/s390-32/setjmp.S: ... here.
13559         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
13560         * sysdeps/s390/s390-32/configure.in: ... here.
13561         * sysdeps/s390/s390-32/elf/configure: Delete file.
13562         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
13563         * sysdeps/s390/s390-32/start.S: ... here.
13565         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
13566         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
13567         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
13568         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
13569         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
13570         * sysdeps/s390/s390-64/setjmp.S: ... here.
13571         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
13572         * sysdeps/s390/s390-64/configure.in: ... here
13573         * sysdeps/s390/s390-64/elf/configure: Delete file.
13574         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
13575         * sysdeps/s390/s390-64/start.S: ... here.
13576         * sysdeps/s390/s390-64/elf/configure: Delete.
13578         * configure.in: Remove support for elf directories in sysdeps.
13580         * configure: Regenerated.
13581         * sysdeps/i386/configure: Regenerated.
13582         * sysdeps/powerpc/powerpc32/configure: Regenerated.
13583         * sysdeps/powerpc/powerpc64/configure: Regenerated.
13584         * sysdeps/s390/s390-32/configure: Regenerated.
13585         * sysdeps/s390/s390-64/configure: Regenerated.
13586         * sysdeps/sh/configure: Regenerated.
13587         * sysdeps/sparc/configure: Regenerated.
13588         * sysdeps/x86_64/configure: Regenerated.
13590 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
13592         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13594         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
13595         denormal result into account.
13597 2012-03-25  Roland McGrath  <roland@hack.frob.com>
13599         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
13600         Reported by Allan McRae <allan@archlinux.org>.
13602 2012-03-23  Jeff Law  <law@redhat.com>
13604         * nss/getnssent.c (__nss_getent): Fix typo.
13606 2012-03-23  David S. Miller  <davem@davemloft.net>
13608         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13610 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
13612         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
13613         to pad to uint64_t for each field.
13614         (dl_tls_index): Replace unsigned long with uint64_t.
13616 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
13617         Paul Pluzhnikov  <ppluzhnikov@google.com>
13619         [BZ #6528]
13620         * grp/Makefile (otherlibs): Don't set it.
13621         * inet/Makefile (otherlibs): Likewise.
13622         * login/Makefile (otherlibs): Likewise.
13623         * nscd/Makefile (otherlibs): Likewise.
13624         * posix/Makefile (otherlibs): Likewise.
13625         * pwd/Makefile (otherlibs): Likewise.
13626         * rt/Makefile (otherlibs): Likewise.
13627         * sunrpc/Makefile (otherlibs): Likewise.
13628         * nss/Makefile (otherlibs): Likewise.
13629         Add libnss_files to routines and static-only-routines.
13630         ($(objpfx)getent): Remove rule.
13631         * resolv/Makefile: Add libnss_dns and libresolv to routines and
13632         static-only-routines.
13634 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
13636         [BZ #13892]
13637         * math/s_cexp.c: Include <float.h>.
13638         (__cexp): Handle exp result overflowing not necessarily
13639         overflowing both real and imaginary parts of result.
13640         * math/s_cexpf.c: Likewise.
13641         * math/s_cexpl.c: Likewise.
13642         * math/libm-test.inc (cexp_test): Add more tests.
13643         * sysdeps/i386/fpu/libm-test-ulps: Update.
13644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13646 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
13648         * include/link.h (ELFW): New macro.
13649         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
13650         Replace ELF64_R_TYPE with ELFW(R_TYPE).
13652 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
13654         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
13655         with uint64_t.
13657 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
13659         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
13660         declaration.
13661         (struct La_x32_retval): Likewise.
13663 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
13665         * sysdeps/x86_64/preconfigure.in: New file.
13666         * sysdeps/x86_64/preconfigure: New generated file.
13668 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
13670         [BZ #13824]
13671         * math/e_exp2l.c: Include <float.h>.
13672         (__ieee754_exp2l): Handle overflow and underflow cases
13673         separately.  Only pass fractional part of argument to
13674         __ieee754_expl.
13675         * math/libm-test.inc (exp2_test): Add more tests.
13677         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
13678         negating x to take absolute value.
13679         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13680         Likewise.
13681         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13682         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13683         Likewise.
13684         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
13685         computing low part if x was negated.
13686         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13688 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
13690         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
13691         la_x32_gnu_pltexit.
13692         (pltexit): Cast int_retval to ptrdiff_t.
13693         * elf/tst-auditmod3b.c: Likewise.
13694         * elf/tst-auditmod4b.c: Likewise.
13695         * elf/tst-auditmod5b.c: Likewise.
13696         * elf/tst-auditmod6b.c: Likewise.
13697         * elf/tst-auditmod6c.c: Likewise.
13698         * elf/tst-auditmod7b.c: Likewise.
13700         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
13701         and x32_gnu_pltexit.
13703         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
13704         __ELF_NATIVE_CLASS.
13705         (La_x32_regs): New macro.
13706         (La_x32_retval): Likewise.
13707         (la_x32_gnu_pltenter): New function prototype.
13708         (la_x32_gnu_pltexit): Likewise.
13710 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
13712         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
13713         exponent.
13715         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13717         * configure.in (libc_cv_cc_nofma): Check for option to disable
13718         generation of FMA instructions.
13719         * configure: Regenerate.
13720         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
13721         * sysdeps/ieee754/dbl-64/Makefile: New file.
13722         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13723         Remove brandred-fma4.
13724         (CFLAGS-brandred-fma4.c): Remove.
13725         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
13726         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
13727         define.
13728         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
13729         define.
13731 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
13733         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13734         LLONG_MAX != LONG_MAX.
13735         (_itoa_word): Use _ITOA_WORD_TYPE on value.
13736         (_fitoa_word): Likewise.
13737         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
13738         LLONG_MAX != LONG_MAX.
13739         * stdio-common/_itowa.h: Include <_itoa.h>.
13740         (_itowa_word): Use _ITOA_WORD_TYPE on value.
13741         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
13742         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
13743         only if not defined.
13744         (_ITOA_WORD_TYPE): Likewise.
13745         (_itoa_word): Use _ITOA_WORD_TYPE on value.
13746         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
13748 2012-03-21  David S. Miller  <davem@davemloft.net>
13750         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13752 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
13754         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
13755         of x86_64 when setting libc_cv_slibdir, libdir and
13756         libc_cv_localedir.
13757         * sysdeps/unix/sysv/linux/configure: Regenerated.
13759 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
13761         * manual/lang.texi (Old Varargs): Remove section.
13762         (How Variadic): Update menu.
13763         (va_start): Do not mention varargs.h.
13765 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
13766             Joseph Myers  <joseph@codesourcery.com>
13768         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
13769         link test.
13770         * configure: Regenerated.
13772 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
13774         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
13775         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
13776         conformtest.pl
13778 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
13780         * NOTES: Remove.
13781         * Makefile (files-for-dist): Remove NOTES.
13782         (NOTES): Remove rule.
13783         * README: Don't refer to NOTES.
13784         * manual/creature.texi: Don't include macros.texi.
13785         * manual/intro.texi (creature.texi): Remove comment referring to
13786         NOTES.
13788         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
13789         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
13790         * configure: Regenerated.
13791         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
13792         LIBC_TRY_CC_OPTION.
13793         (libc_cv_as_i686): Likewise.
13794         (libc_cv_cc_avx): Likewise.
13795         (libc_cv_cc_sse2avx): Likewise.
13796         (libc_cv_cc_fma4): Likewise.
13797         (libc_cv_cc_novzeroupper): Likewise.
13798         * sysdeps/i386/configure: Regenerated.
13800         [BZ #13883]
13801         * sysdeps/i386/fpu/s_cexp.S: Remove.
13802         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13803         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13804         * math/libm-test.inc (cexp_test): Add more tests.
13805         * sysdeps/i386/fpu/libm-test-ulps: Update.
13806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13808 2012-03-21  Allan McRae  <allan@archlinux.org>
13810         * timezone/Makefile: Do not install iso3166.tab and zone.tab
13812 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
13814         [BZ #13871]
13815         * math/w_exp2.c: Do not include <float.h>.
13816         (o_threshold, u_threshold): Remove.
13817         (__exp2): Calculate result before checking finiteness and calling
13818         __kernel_standard.
13819         * math/w_exp2f.c: Likewise.
13820         * math/w_exp2l.c: Likewise.
13821         * math/libm-test.inc (exp2_test): Require overflow exception for
13822         1e6 input.
13824         [BZ #3866]
13825         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
13826         range of signed 64-bit integers before using fistpll.  Remove
13827         checks for whether integers fit in mantissa bits.
13828         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
13829         the range of signed 32-bit integers before using fistpl.  Remove
13830         checks for whether integers fit in mantissa bits.
13831         * sysdeps/i386/fpu/e_powl.S (p64): New object.
13832         (__ieee754_powl): Test for y outside the range of signed 64-bit
13833         integers before using fistpll.  Reduce 64-bit values to 63-bit
13834         ones as needed.
13835         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
13836         divide-by-zero is raised for zero to large negative powers.
13837         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
13838         (__ieee754_powl): Test for y outside the range of signed 64-bit
13839         integers before using fistpll.  Reduce 64-bit values to 63-bit
13840         ones as needed.
13841         * math/libm-test.inc (pow_test): Add more tests.
13843 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
13845         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
13846         <stdio-common/_itoa.h>.
13847         * debug/segfault.c: Likewise.
13848         * elf/dl-cache.c: Likewise.
13849         * elf/dl-minimal.c: Likewise.
13850         * elf/dl-misc.c: Likewise.
13851         * elf/dl-sysdep.c: Likewise.
13852         * elf/dl-version.c: Likewise.
13853         * elf/rtld.c: Likewise.
13854         * hurd/hurdsock.c: Likewise.
13855         * hurd/lookup-retry.c: Likewise.
13856         * malloc/malloc.c: Likewise.
13857         * malloc/mtrace.c: Likewise.
13858         * nscd/nscd_getgr_r.c: Likewise.
13859         * nscd/nscd_getpw_r.c: Likewise.
13860         * nscd/nscd_getserv_r.c: Likewise.
13861         * posix/getopt_init.c: Likewise.
13862         * posix/wordexp.c: Likewise.
13863         * stdio-common/_itoa.c: Likewise.
13864         * stdio-common/printf_fphex.c: Likewise.
13865         * stdio-common/vfprintf.c: Likewise.
13866         * string/_strerror.c: Likewise.
13867         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
13868         * sysdeps/i386/i686/hp-timing.h: Likewise.
13869         * sysdeps/mach/_strerror.c: Likewise.
13870         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
13871         * sysdeps/mach/hurd/sethostid.c: Likewise.
13872         * sysdeps/mach/hurd/xmknodat.c: Likewise.
13873         * sysdeps/mach/xpg-strerror.c: Likewise.
13874         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13875         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13876         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
13877         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
13878         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13879         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
13880         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13881         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13882         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
13883         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
13884         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
13885         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13886         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
13887         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13888         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13889         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
13890         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
13891         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
13892         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13893         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13894         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
13896         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
13898         * stdio-common/_itoa.h: Moved to ...
13899         * sysdeps/generic/_itoa.h: Here.
13901         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
13903         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
13904         instead of "_itoa.h" and "_itowa.h".
13905         * stdio-common/vfprintf.: Likewise.
13907 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
13909         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
13910         <bits/wordsize.h>.
13911         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
13912         (__signbit): Likwise.
13913         (llrintf): Likwise.
13914         (llrint): Likwise.
13916 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
13918         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
13919         __WORDSIZE != 64.
13921 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
13923         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
13924         OVERFLOW_EXCEPTION_OK.
13925         * math/libm-test.inc ("Philosophy"): Update comment about
13926         exception testing.
13927         (OVERFLOW_EXCEPTION): Define.
13928         (OVERFLOW_EXCEPTION_OK): Likewise.
13929         (INVALID_EXCEPTION_OK): Renumber.
13930         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13931         (IGNORE_ZERO_INF_SIGN): Likewise.
13932         (test_exceptions): Handle FE_OVERFLOW.
13933         (exp10_test): Expect overflow exceptions.
13934         (exp2_test): Likewise.
13935         (expm1_test): Likewise.
13936         (nextafter_test): Likewise.
13937         (pow_test): Likewise.
13938         (scalbn_test): Likewise.
13939         (scalbln_test): Likewise.
13941 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13943         * sysdeps/x86_64/bits/atomic.h
13944         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
13945         64bit integer.
13946         (atomic_exchange_acq): Likewise.
13947         (__arch_exchange_and_add_body): Likewise.
13948         (__arch_add_body): Likewise.
13949         (atomic_add_negative): Likewise.
13950         (atomic_add_zero): Likewise.
13952 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13954         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
13955         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
13957 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13959         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
13960         Check __x86_64__ instead of __WORDSIZE.
13962 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13964         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
13966 2012-03-19  David S. Miller  <davem@davemloft.net>
13968         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13970         * sysdeps/sparc/fpu/fenv_private.h: New file.
13971         * sysdeps/sparc/fpu/math_private.h: Use it.
13972         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
13973         Remove.
13974         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
13975         (libc_feholdexcept_setroundl): Remove.
13976         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
13977         Remove.
13978         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
13979         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
13981 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13983         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
13984         int64_t instead of long int.
13985         (INSERT_WORDS64): Likwise.
13987 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13989         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
13990         _Unwind_GetCFA return to _Unwind_Ptr first.
13992 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
13994         [BZ #13629]
13995         * math/s_clog.c: Include <float.h>.
13996         (__clog): Scale large or subnormal inputs.
13997         * math/s_clogf.c: Likewise.
13998         * math/s_clogl.c: Likewise.
13999         * math/s_clog10.c: Include <float.h>.
14000         (M_LOG10_2): Define.
14001         (__clog10): Scale large or subnormal inputs.
14002         * math/s_clog10f.c: Likewise.
14003         * math/s_clog10l.c: Likewise.
14004         * math/libm-test.inc (clog_test): Add more tests.
14005         (clog10_test): Likewise.
14006         * sysdeps/i386/fpu/libm-test-ulps: Update.
14007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14009         [BZ #11451]
14010         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
14011         x and y.
14012         * math/libm-test.inc (atan2_test): Add another test.
14014         * Makerules (common-objdir-compile): Remove.
14015         * sysdeps/unix/Makefile (config-generated): Do not add
14016         $(unix-generated) to variable.
14017         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
14018         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
14019         Remove rule.
14020         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
14021         Likewise.
14022         [generic bits/local_lim.h] (before-compile): Do not append to
14023         variable.
14024         [generic bits/local_lim.h] (common-generated): Likewise.
14025         [generic sys/param.h] (before-compile): Do not append to variable.
14026         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
14027         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
14028         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
14029         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
14030         include.
14031         [generic sys/param.h] (sys/param.h-includes): Remove variable.
14032         [generic sys/param.h] (sys/param.h-includes): Remove rule.
14033         [generic sys/param.h] ($(addprefix
14034         $(common-objpfx),$(sys/param.h-includes))): Likewise.
14035         [generic sys/param.h] (common-generated): Do not append to
14036         variable.
14037         [generic sys/param.h] (sysdep_headers): Likewise.
14038         [generic bits/errno.h] (before-compile): Do not append to
14039         variable.
14040         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
14041         rule.
14042         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
14043         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
14044         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
14045         [generic bits/errno.h] (common-generated): Do not append to
14046         variable.
14047         [generic bits/ioctls.h] (before-compile): Do not append to
14048         variable.
14049         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
14050         rule.
14051         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
14052         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
14053         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
14054         rule.
14055         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
14056         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
14057         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
14058         [generic bits/ioctls.h] (common-generated): Do not append to
14059         variable.
14060         [generic sys/syscall.h] (syscall.h): Remove variable.
14061         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
14062         rule.
14063         [generic sys/syscall.h] (before-compile): Do not append to
14064         variable.
14065         [generic sys/syscall.h] (common-generated): Likewise.
14066         * sysdeps/unix/errnos-tmpl.c: Remove file.
14067         * sysdeps/unix/errnos.awk: Likewise.
14068         * sysdeps/unix/ioctls-tmpl.c: Likewise.
14069         * sysdeps/unix/ioctls.awk: Likewise.
14070         * sysdeps/unix/mk-local_lim.c: Likewise.
14071         * sysdeps/unix/snarf-ioctls: Likewise.
14073 2012-03-19  Richard Henderson  <rth@twiddle.net>
14075         * sysdeps/i386/fpu/fenv_private.h: New file.
14076         * sysdeps/i386/fpu/math_private.h: Use it.
14077         (math_opt_barrier, math_force_eval): Remove.
14078         (libc_feholdexcept_setround_53bit): Remove.
14079         (libc_feupdateenv_53bit): Remove.
14080         * sysdeps/x86_64/fpu/math_private.h: Likewise.
14081         (math_opt_barrier, math_force_eval): Remove.
14082         (libc_feholdexcept): Remove.
14083         (libc_feholdexcept_setround): Remove.
14084         (libc_fetestexcept, libc_fesetenv): Remove.
14085         (libc_feupdateenv_test): Remove.
14086         (libc_feupdateenv, libc_feholdsetround): Remove.
14087         (libc_feresetround): Remove.
14089         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
14090         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14092         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
14093         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
14094         (libc_feupdateenv_testl): New.
14095         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
14096         (libc_feupdateenv_testf): New.
14097         (libc_feupdateenv): Use libc_feupdateenv_test.
14098         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
14099         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
14101         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
14102         (libc_feholdsetroundf, libc_feholdsetroundl): New.
14103         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
14104         (libc_feresetround_noex): New.
14105         (libc_feresetround_noexf): New.
14106         (libc_feresetround_noexl): New.
14107         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
14108         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
14109         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
14110         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
14111         SET_RESTORE_ROUND.
14112         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14113         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
14114         (__cos): Likewise.
14115         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
14116         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14117         SET_RESTORE_ROUND_NOEX.
14118         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
14119         SET_RESTORE_ROUND_NOEXF.
14120         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
14121         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
14122         (libc_feholdsetroundf): New.
14123         (libc_feresetround, libc_feresetroundf): New.
14125         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
14126         (libc_feholdexcept_setround_53bit): Convert from macro to function.
14127         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
14129         * sysdeps/generic/math_private.h: Include <fenv.h>.
14130         (default_libc_feholdexcept): New.
14131         (default_libc_feholdexcept_setround): New.
14132         (default_libc_fesetenv, default_libc_feupdateenv): New.
14133         (libc_feholdexcept): Only define if undefined.
14134         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
14135         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
14136         (libc_feholdexcept_setroundl): Likewise.
14137         (libc_feholdexcept_setround_53bit): Likewise.
14138         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
14139         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
14140         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
14141         (libc_feupdateenv_53bit): Likewise.
14142         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
14143         (libc_feholdexcept): Convert from macro to inline function.
14144         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
14145         (libc_fesetenv, libc_feupdateenv): Likewise.
14147         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
14148         not previously defined.
14149         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
14150         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
14151         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
14152         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
14153         * sysdeps/ieee754/flt-32/math_private.h: New file.
14154         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
14155         math_private.h below SET_FLOAT_WORD.
14156         (__isnan, __isinf_ns, __finite): Remove.
14157         (__isnanf, __isinf_nsf, __finitef): Remove.
14159 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
14161         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14163 2012-03-17  David S. Miller  <davem@davemloft.net>
14165         [BZ #6471]
14166         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
14167         for 2.16.
14169 2012-03-16  David S. Miller  <davem@davemloft.net>
14171         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
14172         warnings.
14174         [BZ #6471]
14175         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
14176         properly.
14177         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
14178         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
14179         sysdep_routines when subdir is sysvipc.
14180         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
14181         __getshmlba helper.
14183         * sysdeps/sparc/fpu/libm-test/ulps: Update.
14185 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14187         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
14188         [__LP64__].
14190 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14192         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
14193         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
14194         (__lround): Renamed to ...
14195         (__llround): This.  Replace long int with long long int.
14196         Define lround functions as aliases of llround functions.
14197         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
14199 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14201         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
14202         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
14203         adresses to uintptr_t.  Replace "long int" and "unsigned long
14204         int" with "greg_t" on va_arg.
14206 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14208         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
14209         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
14211         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
14212         Move e_machine check before EI_CLASS check.  Handle x32
14213         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
14214         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
14215         SKIP_EM_IA_64 and include
14216         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
14218         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
14219         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
14220         (add_system_dir): New macro.
14222         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
14223         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
14225 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
14227         [BZ #2551]
14228         [BZ #2552]
14229         [BZ #2553]
14230         [BZ #2554]
14231         [BZ #2562]
14232         [BZ #2563]
14233         [BZ #2565]
14234         [BZ #2566]
14235         [BZ #2576]
14236         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
14237         (y0): Likewise.
14238         * math/w_j0f.c (j0f): Likewise.
14239         (y0f): Likewise.
14240         * math/w_j0l.c (__j0l): Likewise.
14241         (__y0l): Likewise.
14242         * math/w_j1.c (j1): Likewise.
14243         (y1): Likewise.
14244         * math/w_j1f.c (j1f): Likewise.
14245         (y1f): Likewise.
14246         * math/w_j1l.c (__j1l): Likewise.
14247         (__y1l): Likewise.
14248         * math/w_jn.c (jn): Likewise.
14249         (yn): Likewise.
14250         * math/w_jnf.c (jnf): Likewise.
14251         (ynf): Likewise.
14252         * math/w_jnl.c (__jnl): Likewise.
14253         (__ynl): Likewise.
14254         * math/libm-test.inc (j0_test): Add more tests.
14255         (j1_test): Likewise.
14256         (jn_test): Likewise.  Add trailing semicolon to existing test.
14257         (y0_test): Likewise.
14258         (y1_test): Likewise.
14259         * sysdeps/i386/fpu/libm-test-ulps: Update.
14260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14262         [BZ #13851]
14263         [BZ #13854]
14264         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14265         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
14266         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
14267         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
14268         (__tanl): Set errno for infinite argument.
14269         * sysdeps/i386/fpu/mptan.c: Remove.
14270         * sysdeps/i386/fpu/s_tan.S: Likewise.
14271         * sysdeps/i386/fpu/s_tanl.S: Likewise.
14272         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
14273         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
14274         * math/libm-test.inc (tan_test): Add more tests and enable more
14275         tests for double and long double.
14276         * sysdeps/i386/fpu/libm-test-ulps: Update.
14277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14279 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
14281         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
14282         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
14284 2012-03-16  Roland McGrath  <roland@hack.frob.com>
14286         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
14287         * configure.in: Use it for both main tree and add-ons.
14288         * configure: Regenerated.
14290 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14292         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
14294 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
14296         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
14297         in comment.
14299         [BZ #13851]
14300         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
14301         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
14302         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14303         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
14304         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
14305         infinite argument.
14306         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
14307         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
14308         != 0 for prec == 2.
14309         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
14310         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
14311         * sysdeps/i386/fpu/s_cosl.S: Likewise.
14312         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
14313         * sysdeps/i386/fpu/s_sinl.S: Likewise.
14314         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
14315         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
14316         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
14317         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
14318         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
14319         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
14320         * math/libm-test.inc (cos_test): Add more tests and enable more
14321         tests for long double.
14322         (sin_test): Likewise.
14323         (sincos_test): Likewise.
14324         * sysdeps/i386/fpu/libm-test-ulps: Update.
14325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14327 2012-03-16  David S. Miller  <davem@davemloft.net>
14329         * sysdeps/sparc/fpu/math_private.h: New file.
14331 2012-03-15  David S. Miller  <davem@davemloft.net>
14333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
14334         file.
14335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
14336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
14337         file.
14338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
14339         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
14340         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
14341         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
14342         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
14343         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
14344         sysdep routines.
14345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14347         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
14348         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
14350         * sysdeps/sparc/sparc-ifunc.h: New file.
14351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
14352         sparc-ifunc.h
14353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
14355         Likewise.
14356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
14357         Likewise.
14358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
14359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
14360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14362         Likewise.
14363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
14365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
14367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
14368         Likewise.
14369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
14370         Likewise.
14371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
14373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
14374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
14375         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14376         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14377         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
14378         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
14379         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14380         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14381         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
14382         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
14383         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
14384         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
14385         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
14386         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
14387         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
14388         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
14389         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
14390         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
14391         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
14392         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
14393         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
14394         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
14396 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
14398         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
14399         scaling.
14400         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14402 2012-03-15  Andreas Jaeger  <aj@suse.de>
14404         [BZ #13852]
14405         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
14406         ieee754/flt-32 implementation for sin, cos and sincos.
14407         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
14408         * sysdeps/i386/fpu/s_cosf.S: Likewise.
14409         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
14410         * sysdeps/i386/fpu/s_sinf.S: Likewise.
14411         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
14412         ieee754/flt-32 implementation for tan.
14414         * math/libm-test.inc (cos_test): Enable some large input tests for
14415         float as well
14416         (sin_test): Likewise.
14417         (sincos_test): Likewise.
14418         (tan_test): Add tests for large input.
14420         * sysdeps/i386/fpu/libm-test-ulps: Update.
14422 2012-03-15  Andreas Jaeger  <aj@suse.de>
14424         [BZ #13658]
14425         * math/libm-test.inc (cos_test): Add more test cases.
14426         (sin_test): Likewise.
14427         (sincos_test): Likewise.
14429 2012-03-15  Andreas Jaeger  <aj@suse.de>
14431         [BZ #13837]
14432         * math/libm-test.inc (cos_test): Add a test case for large input
14433         value.
14434         (sin_test): Likewise.
14435         (sincos_test): Likewise.
14437 2012-03-15  Andreas Jaeger  <aj@suse.de>,
14438         Joseph Myers  <joseph@codesourcery.com>
14440         [BZ #13658]
14441         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
14442         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
14443         * sysdeps/i386/fpu/branred.c: Likewise.
14444         * sysdeps/i386/fpu/dosincos.c: Likewise.
14445         * sysdeps/i386/fpu/mpa.c: Likewise.
14446         * sysdeps/i386/fpu/s_cos.S: Likewise.
14447         * sysdeps/i386/fpu/s_sin.S: Likewise.
14448         * sysdeps/i386/fpu/s_sincos.S: Likewise.
14449         * sysdeps/i386/fpu/sincos32.c: Likewise.
14451         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
14452         Define.
14453         (libc_feupdateenv_53bit): Define.
14454         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
14455         Define.
14456         (libc_feupdateenv_53bit): Define.
14458         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
14459         53 bit (without extend i386 double precision).
14461         * math/libm-test.inc (sincos_test): Add tests for large input.
14462         (sin): Likewise.
14463         (cos): Likewise.
14465         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14467 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
14469         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14471 2012-03-15  David S. Miller  <davem@davemloft.net>
14473         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
14474         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
14475         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
14476         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
14477         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
14478         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
14479         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
14480         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
14481         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
14482         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
14483         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
14484         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
14485         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
14486         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
14487         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
14488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
14489         file.
14490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
14491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
14492         file.
14493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
14494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
14495         file.
14496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
14497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
14498         file.
14499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
14500         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
14501         fmin/fmax sysdep routines.
14502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14504 2012-03-14  David S. Miller  <davem@davemloft.net>
14506         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
14507         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
14508         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
14509         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
14510         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
14511         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
14512         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
14513         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
14514         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
14515         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
14516         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
14517         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
14518         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
14519         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
14520         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
14521         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
14522         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
14523         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
14524         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
14525         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
14526         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
14527         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
14528         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
14529         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
14530         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
14531         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
14532         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
14533         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
14534         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
14535         routines.
14536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
14537         file.
14538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
14539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
14540         file.
14541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
14542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
14543         file.
14544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
14545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
14546         file.
14547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
14548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
14549         file.
14550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
14551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
14552         file.
14553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
14554         file.
14555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
14556         file.
14557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
14558         file.
14559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
14560         New file.
14561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
14562         file.
14563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
14564         file.
14565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
14566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
14567         file.
14568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
14569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
14570         file.
14571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
14572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
14573         file.
14574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
14575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
14576         VIS3 routines.
14578         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14579         New file.
14581         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14583         * sysdeps/sparc/configure.in: New file.
14584         * sysdeps/sparc/configure: Generate.
14585         * configure.in (libc_cv_sparc_as_vis3): Substitute.
14586         * configure: Regenerate.
14587         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
14588         * config.make.in (have-as-vis3): New.
14589         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
14590         available use -Av9d instead of -Av9a.
14591         * sysdeps/sparc/sparc64/Makefile: Likewise.
14592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
14593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
14594         New file.
14595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
14596         file.
14597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
14598         New file.
14599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
14600         file.
14601         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
14602         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
14603         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
14604         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
14605         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
14607         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
14608         fzeros/fnegs to load 0x80000000 into a float register instead of
14609         using the stack.
14610         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
14612 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
14614         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14615         bits/syscall.h.
14616         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
14617         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
14618         ($(inst_includedir)/bits/syscall.h): Remove rule.
14619         ($(objpfx)bits/syscall.d): Include instead of
14620         $(objpfx)syscall-list.d.
14621         (generated): Change syscall-list.h and syscall-list.d to
14622         bits/syscall.h and bits/syscall.d.
14624 2012-03-14  Roland McGrath  <roland@hack.frob.com>
14626         [BZ #13846]
14627         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
14629 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
14631         [BZ #13841]
14632         * math/s_csqrt.c: Include <float.h>.
14633         (__csqrt): Scale large or subnormal inputs.
14634         * math/s_csqrtf.c: Likewise.
14635         * math/s_csqrtl.c: Likewise.
14636         * math/libm-test.inc (csqrt_test): Add more tests.
14637         * sysdeps/i386/fpu/libm-test-ulps: Update.
14638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14640         [BZ #13840]
14641         * math/libm-test.inc (hypot_test): Add more tests.
14643 2012-03-13  David S. Miller  <davem@davemloft.net>
14645         [BZ #13840]
14646         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
14647         double-precision for the calculation instead of scaling.
14649 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
14651         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
14652         manipulate bits before adding and subtracting TWO52[sx].
14653         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
14654         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
14655         Likewise.
14656         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
14658 2012-03-13  David S. Miller  <davem@davemloft.net>
14660         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
14661         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
14662         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
14663         rtld-global-offsets.h
14664         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14666         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
14667         large parameters.
14669         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
14671         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
14672         'err' in the ifdef scope in which it is actually used.
14674         * nss/nss_db/db-init.c: Include string.h
14676 2012-03-12  David S. Miller  <davem@davemloft.net>
14678         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14679         masking out of the most significant byte of random value used.
14680         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14681         Fix coding style in previous change.
14683         * sysdeps/unix/sysv/linux/kernel-features.h
14684         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
14685         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
14686         expression.
14687         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
14688         later.
14690 2012-03-11  David S. Miller  <davem@davemloft.net>
14692         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14693         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
14694         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
14695         for 'resultvar' otherwise things get truncated on 64-bit.
14697         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14698         Fix masking out of the most significant byte of random value used.
14700         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14702 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
14704         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14706 2012-03-09  David S. Miller  <davem@davemloft.net>
14708         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
14709         variables with appropriate CPP guards.
14710         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
14711         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
14712         on resulting framesize and the management of the outregs buffer for pltexit.
14713         Preserve floating point return values across _dl_call_pltexit call.
14714         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
14715         framesize and the management of the outregs buffer for pltexit.
14716         Preserve floating point return values across _dl_call_pltexit
14717         call.
14718         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
14719         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
14720         (print_exit): Fix format string for return register value.
14722 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
14724         * sunrpc/Makefile (others): Add rpcgen.
14725         ($(objpfx)rpcgen): Remove special build rule and dependency on
14726         libc.
14727         * sunrpc/rpcgen.c: New file.
14729 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
14731         [BZ #13673]
14732         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
14733         * stdio-common/bug-vfprintf-nargs.c: Likewise.
14734         * sysdeps/i386/crti.S: Likewise.
14735         * sysdeps/i386/crtn.S: Likewise.
14736         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
14737         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
14738         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
14739         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
14740         * sysdeps/sh/crti.S: Likewise.
14741         * sysdeps/sh/crtn.S: Likewise.
14742         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14744         [BZ #13673]
14745         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
14746         with URL.
14747         * locale/programs/locfile-kw.gperf: Likewise.
14748         * locale/programs/charmap-kw.h: Regenerated.
14749         * locale/programs/locfile-kw.h: Likewise.
14751         [BZ #13673]
14752         * intl/plural.y: Replace FSF snail mail address with URL.
14753         * intl/plural.c: Regenerated.
14755 2012-03-09  Richard Henderson  <rth@twiddle.net>
14757         * include/math_private.h: Remove file.
14758         * math/math_private.h: Move file ...
14759         * sysdeps/generic/math_private.h: ... here.
14761         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
14762         * sysdeps/powerpc/fpu/math_private.h: Likewise.
14763         * sysdeps/x86_64/fpu/math_private.h: Likewise.
14765         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
14766         and <math_private.h>.
14767         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14768         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14769         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14770         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14771         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14772         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
14773         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14774         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14775         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14776         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14777         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14778         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14779         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14780         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14781         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14782         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14783         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14784         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14785         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14786         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14787         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14788         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14789         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14790         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14791         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14792         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14793         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14794         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14795         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14796         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14797         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14798         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14799         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14800         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14801         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14802         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14803         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14804         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14805         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14806         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14807         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
14808         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14809         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14810         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14811         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14812         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14813         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14814         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14815         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14816         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14817         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14818         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
14819         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14820         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14821         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14822         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14823         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14824         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14825         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14826         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
14827         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14828         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14829         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14830         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14831         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
14832         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14833         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14834         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14835         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
14836         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
14837         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14838         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14839         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14840         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14841         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
14842         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14843         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
14844         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14845         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
14846         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
14847         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14848         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14849         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14850         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14851         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14852         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14853         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
14854         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14855         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14856         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14857         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14858         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14859         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14860         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14861         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14862         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14863         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14864         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14865         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14866         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14867         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14868         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14869         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14870         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14871         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14872         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14873         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14874         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14875         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14876         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14877         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14878         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14879         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14880         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14881         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
14882         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14883         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14884         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14885         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14886         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14887         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14888         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14889         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14890         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
14891         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14892         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14893         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14894         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
14895         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14896         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14897         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
14898         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14899         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14900         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14901         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
14902         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14903         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14904         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14905         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
14906         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14907         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14908         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14909         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14910         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
14911         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
14912         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14913         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14914         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14915         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14916         * sysdeps/ieee754/k_standard.c: Likewise.
14917         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14918         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14919         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14920         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14921         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14922         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14923         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14924         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14925         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14926         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14927         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14928         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14929         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14930         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14931         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14932         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14933         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14934         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14935         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14936         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14937         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14938         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14939         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14940         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14941         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14942         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14943         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14944         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14945         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14946         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14947         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14948         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14949         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14950         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14951         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14952         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14953         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14954         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
14955         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14956         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14957         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14958         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14959         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14960         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14961         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14962         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14963         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14964         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14965         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14966         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14967         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14968         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14969         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14970         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14971         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14972         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14973         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
14974         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14975         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14976         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14977         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14978         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14979         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14980         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14981         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14982         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14983         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14984         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14985         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14986         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14987         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14988         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14989         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14990         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14991         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14992         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14993         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
14994         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14995         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14996         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14997         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14998         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14999         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15000         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15001         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
15002         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15003         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15004         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15005         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15006         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15007         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
15008         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15009         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
15010         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15011         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15012         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15013         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
15014         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
15015         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
15016         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
15017         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15018         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15019         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15020         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15021         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
15022         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15023         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15024         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
15025         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
15026         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15027         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15028         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15029         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15030         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15031         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15032         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15033         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15034         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15035         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15036         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15037         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15038         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15039         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15040         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15041         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15042         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
15043         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15044         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15045         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15046         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15047         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15048         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15049         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15050         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15051         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15052         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15053         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
15054         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15055         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15056         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
15057         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
15058         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15059         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
15060         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
15061         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15062         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15063         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15064         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15065         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15066         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
15067         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15068         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15069         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15070         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15071         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
15072         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
15073         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15074         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15075         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15076         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15077         * sysdeps/ieee754/s_lib_version.c: Likewise.
15078         * sysdeps/ieee754/s_matherr.c: Likewise.
15079         * sysdeps/ieee754/s_signgam.c: Likewise.
15080         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15081         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15082         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
15083         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
15084         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
15085         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15086         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
15087         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
15088         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
15089         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
15090         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15091         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
15092         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15093         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15094         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
15095         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15096         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15097         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15098         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15099         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15100         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15102 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
15104         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
15105         * sunrpc/rpc_main.c: Likewise.
15106         * sunrpc/rpc_svcout.c: Likewise.
15108 2012-03-09  David S. Miller  <davem@davemloft.net>
15110         * include/math_private.h: New file.
15112 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
15114         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
15115         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
15116         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
15117         from <bits/socket_type.h>.
15118         (enum __socket_type): Don't define here.
15119         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
15120         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15121         bits/socket_type.h.
15123         [BZ #13566]
15124         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
15125         checking __USE_GNU.
15127         * Makerules ($(inst_includedir)/%.h): New rule.
15128         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
15129         (install-others): Remove variable setting.
15130         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
15132 2012-03-08  Richard Henderson  <rth@twiddle.net>
15134         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
15135         from macro to inline function; merge with the
15136         !__LIBC_INTERNAL_MATH_INLINES version.
15137         (__ieee754_sqrtf): Likewise.
15139         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
15140         to inline function.
15141         (__rintf, __floor, __floorf): Likewise.
15143         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
15144         macro to inline function.
15145         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
15147         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
15148         not <math/math_private.h>.
15150 2012-03-08  David S. Miller  <davem@davemloft.net>
15152         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
15153         copyright year.
15154         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
15156 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
15158         * resolv/gai_misc.c (handle_requests): Fix struct timespec
15159         normalization.
15160         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
15161         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
15163 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
15165         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
15166         be defined individually, they must be defined as a block.  Define
15167         S for printing a string instead of hidint the different by using a
15168         macro for adding the 'l'.
15169         * stdio-common/tst-fphex-wide.c: Adjust.
15171 2012-03-07  Marek Polacek  <polacek@redhat.com>
15173         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
15175 2012-03-08  Marek Polacek  <polacek@redhat.com>
15177         [BZ #13806]
15178         * stdio-common/Makefile (tests): Add tst-fphex-wide.
15179         * stdio-common/tst-fphex.c: Define a few macros to make the
15180         test reusable.  Use them.
15181         * stdio-common/tst-fphex-wide.c: New file.
15183 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
15185         [BZ #6911]
15186         * manual/macros.texi (gnusystems): New macro.
15187         (nongnusystems): Likewise.
15188         (gnulinuxhurdsystems): Likewise.
15189         (gnuhurdsystems): Likewise..
15190         (gnulinuxsystems): Likewise.
15191         * manual/charset.texi: Use new macros or @theglibc{} to refer to
15192         variants of the GNU system, not "GNU system".
15193         * manual/conf.texi: Likewise.
15194         * manual/errno.texi: Likewise.  Update example of errno macro
15195         expansion.
15196         * manual/filesys.texi: Likewise.
15197         (getumask): Document as specific to GNU/Hurd.
15198         * manual/install.texi: Likewise.  Reword some references to
15199         GNU/Linux.
15200         * manual/intro.texi: Likewise.
15201         * manual/io.texi: Likewise.
15202         (File Name Portability): Detail which constraints are inapplicable
15203         to all GNU systems and which are only inapplicable to GNU/Hurd.
15204         * manual/job.texi: Likewise.
15205         * manual/llio.texi: Likewise.
15206         (O_NOCTTY): Document as present on GNU/Linux.
15207         * manual/maint.texi: Likewise.
15208         * manual/memory.texi: Likewise.
15209         * manual/pattern.texi: Likewise.
15210         * manual/pipe.texi: Likewise.
15211         * manual/process.texi: Likewise.
15212         * manual/resource.texi: Likewise.
15213         (RUSAGE_CHILDREN): Remove statement about specifying a particular
15214         child on GNU/Hurd.
15215         * manual/setjmp.texi: Likewise.
15216         * manual/signal.texi: Likewise.
15217         * manual/startup.texi: Likewise.
15218         * manual/stdio.texi: Likewise.
15219         * manual/terminal.texi: Likewise.
15220         (ONLCR): Document as POSIX.
15221         (OXTABS): Document availability on GNU/Linux as XTABS.
15222         (ONOEOT): Document availability separately from other bits.
15223         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
15224         * manual/time.texi: Likewise.
15225         * manual/users.texi: Likewise.
15226         * INSTALL: Regenerated.
15227         * sysdeps/gnu/errlist.c: Regenerated.
15229         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
15230         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
15231         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
15232         puts.
15233         * configure: Regenerated.
15235 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
15237         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
15238         default includes instead of AC_HEADER_CHECK.
15239         * sysdeps/i386/configure: Regenerated.
15241         [BZ #10716]
15242         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
15243         * math/s_cacoshf.c (__cacoshf): Likewise.
15244         * math/s_cacoshl.c (__cacoshl): Likewise.
15245         * math/s_casinh.c (__casinh): Set signs of result from argument.
15246         * math/s_casinhf.c (__casinhf): Likewise.
15247         * math/s_casinhl.c (__casinhl): Likewise.
15248         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
15249         (casinh_test): Add more tests.
15250         * sysdeps/i386/fpu/libm-test-ulps: Update.
15251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15253 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
15255         * po/zh_TW.po: Update from translation team.
15257         * login/Makefile (distribute): Remove variable.
15258         * catgets/Makefile: Likewise.
15259         * mach/Makefile: Likewise.
15260         * malloc/Makefile: Likewise.
15261         * misc/Makefile: Likewise.
15262         * iconv/Makefile: Likewise.
15263         * nscd/Makefile: Likewise.
15264         * hurd/Makefile: Likewise.
15265         * manual/Makefile: Likewise.
15266         * locale/Makefile: Likewise.
15267         * intl/Makefile: Likewise.
15268         * conform/Makefile: Likewise.
15269         * nss/Makefile: Likewise.
15270         * time/Makefile: Likewise.
15271         * soft-fp/Makefile: Likewise.
15272         * dirent/Makefile: Likewise.
15273         * gmon/Makefile: Likewise.
15274         * po/Makefile: Likewise.
15275         * rt/Makefile: Likewise.
15276         * socket/Makefile: Likewise.
15277         * math/Makefile: Likewise.
15278         * signal/Makefile: Likewise.
15279         * debug/Makefile: Likewise.
15280         * elf/Makefile: Likewise.
15281         * timezone/Makefile: Likewise.
15282         * stdlib/Makefile: Likewise.
15283         * iconvdata/Makefile: Likewise.
15284         * sunrpc/Makefile: Likewise.
15285         * io/Makefile: Likewise.
15286         * argp/Makefile: Likewise.
15287         * inet/Makefile: Likewise.
15288         * hesiod/Makefile: Likewise.
15289         * grp/Makefile: Likewise.
15290         * csu/Makefile: Likewise.
15291         * wctype/Makefile: Likewise.
15292         * crypt/Makefile: Likewise.
15293         * libio/Makefile: Likewise.
15294         * string/Makefile: Likewise.
15295         * nis/Makefile: Likewise.
15296         * resolv/Makefile: Likewise.
15297         * stdio-common/Makefile: Likewise.
15298         * wcsmbs/Makefile: Likewise.
15299         * dlfcn/Makefile: Likewise.
15300         * posix/Makefile: Likewise.
15302         [BZ #6959]
15303         * timezone/Makefile: Don't install timezone files, just the programs
15304         and scripts.
15306 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
15308         * nss/databases.def: Add missing gshadow entry.
15310         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
15312 2012-03-06  Marek Polacek  <polacek@redhat.com>
15314         [BZ #13726]
15315         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
15316         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15317         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
15318         * stdio-common/tst-long-dbl-fphex.c: New file.
15320 2012-03-06  David S. Miller  <davem@davemloft.net>
15322         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15323         (set_obp_int): New function.
15324         (get_obp_int): New function.
15325         (__get_clockfreq_via_dev_openprom): Likewise.
15326         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
15327         Avoid unused variable warnings on 'val' and use builtin_expect.
15328         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
15329         __builtin_expect.
15330         (INLINE_CLONE_SYSCALL): Likewise.
15332 2012-03-05  David S. Miller  <davem@davemloft.net>
15334         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15336 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
15338         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15340         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
15341         only for |x| >= 40.
15342         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15344 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
15346         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
15347         Replace gettimeofday with __vdso_gettimeofday.
15349         * sysdeps/unix/sysv/linux/x86_64/init-first.c
15350         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
15351         __vdso_clock_gettime and __vdso_getcpu.
15353         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
15354         time with __vdso_time.
15356 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
15358         * manual/lang.texi (size_t): Note types to which size_t may be
15359         equivalent with the GNU C Library, but do not describe when
15360         differences between them are significant.
15362 2012-03-05  Andreas Jaeger  <aj@suse.de>
15364         * sysdeps/i386/fpu/libm-test-ulps: Update.
15366 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
15368         [BZ #3976]
15369         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
15370         (__ieee754_pow): Save and restore rounding mode and use
15371         round-to-nearest for main computations.
15372         * math/libm-test.inc (pow_test_tonearest): New function.
15373         (pow_test_towardzero): Likewise.
15374         (pow_test_downward): Likewise.
15375         (pow_test_upward): Likewise.
15376         (main): Call the new functions.
15377         * sysdeps/i386/fpu/libm-test-ulps: Update.
15378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15380         [BZ #3976]
15381         * math/libm-test.inc (cosh_test_tonearest): New function.
15382         (cosh_test_towardzero): Likewise.
15383         (cosh_test_downward): Likewise.
15384         (cosh_test_upward): Likewise.
15385         (sinh_test_tonearest): Likewise.
15386         (sinh_test_towardzero): Likewise.
15387         (sinh_test_downward): Likewise.
15388         (sinh_test_upward): Likewise.
15389         (main): Call the new functions.
15390         * sysdeps/i386/fpu/libm-test-ulps: Update.
15391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15393 2012-03-05  Tom de Vries  <tom@codesourcery.com>
15395         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
15396         default stack guard is set in last bytes.
15397         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
15399 2012-03-05  Kees Cook  <keescook@chromium.org>
15401         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
15403         [BZ #13656]
15404         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
15405         possibly allocate from heap instead of stack.
15406         * stdio-common/bug-vfprintf-nargs.c: New file.
15407         * stdio-common/Makefile (tests): Add nargs overflow test.
15409 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
15411         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15413 2012-03-03  Marek Polacek  <polacek@redhat.com>
15415         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
15416         * math/math_private.h: Likewise.
15417         * stdlib/tst-strtod.c: Likewise.
15418         * sysdeps/i386/i486/bits/atomic.h: Likewise.
15419         * sysdeps/x86_64/bits/atomic.h: Likewise.
15421 2012-03-02  David S. Miller  <davem@davemloft.net>
15423         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
15424         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
15425         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
15426         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
15427         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
15428         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
15429         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
15430         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
15432 2012-03-02  Roland McGrath  <roland@hack.frob.com>
15434         [BZ #13792]
15435         * manual/examples/README: New file, says the example source files
15436         can be used under GPL>=2.
15437         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
15438         line containing just "*/".
15439         * manual/examples/add.c: Add copyright header (GPL>=2).
15440         * manual/examples/argp-ex1.c: Likewise.
15441         * manual/examples/argp-ex2.c: Likewise.
15442         * manual/examples/argp-ex3.c: Likewise.
15443         * manual/examples/argp-ex4.c: Likewise.
15444         * manual/examples/atexit.c: Likewise.
15445         * manual/examples/db.c: Likewise.
15446         * manual/examples/dir.c: Likewise.
15447         * manual/examples/dir2.c: Likewise.
15448         * manual/examples/execinfo.c: Likewise.
15449         * manual/examples/filecli.c: Likewise.
15450         * manual/examples/filesrv.c: Likewise.
15451         * manual/examples/fmtmsgexpl.c: Likewise.
15452         * manual/examples/genpass.c: Likewise.
15453         * manual/examples/inetcli.c: Likewise.
15454         * manual/examples/inetsrv.c: Likewise.
15455         * manual/examples/isockad.c: Likewise.
15456         * manual/examples/longopt.c: Likewise.
15457         * manual/examples/memopen.c: Likewise.
15458         * manual/examples/memstrm.c: Likewise.
15459         * manual/examples/mkfsock.c: Likewise.
15460         * manual/examples/mkisock.c: Likewise.
15461         * manual/examples/mygetpass.c: Likewise.
15462         * manual/examples/pipe.c: Likewise.
15463         * manual/examples/popen.c: Likewise.
15464         * manual/examples/rprintf.c: Likewise.
15465         * manual/examples/search.c: Likewise.
15466         * manual/examples/select.c: Likewise.
15467         * manual/examples/setjmp.c: Likewise.
15468         * manual/examples/sigh1.c: Likewise.
15469         * manual/examples/sigusr.c: Likewise.
15470         * manual/examples/stpcpy.c: Likewise.
15471         * manual/examples/strdupa.c: Likewise.
15472         * manual/examples/strftim.c: Likewise.
15473         * manual/examples/strncat.c: Likewise.
15474         * manual/examples/subopt.c: Likewise.
15475         * manual/examples/swapcontext.c: Likewise.
15476         * manual/examples/termios.c: Likewise.
15477         * manual/examples/testopt.c: Likewise.
15478         * manual/examples/testpass.c: Likewise.
15479         * manual/examples/timeval_subtract.c: Likewise.
15481         [BZ #13792]
15482         * manual/time.texi (Elapsed Time): Move timeval_subtract example
15483         function to ...
15484         * manual/timeval_subtract.c.texi: ... here, new file.
15486 2012-03-02  David S. Miller  <davem@davemloft.net>
15488         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
15490 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
15492         [BZ #3976]
15493         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
15494         (__sin): Save and restore rounding mode and use round-to-nearest
15495         for all computations.
15496         (__cos): Save and restore rounding mode and use round-to-nearest
15497         for all computations.
15498         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
15499         <fenv.h>.
15500         (tan): Save and restore rounding mode and use round-to-nearest for
15501         all computations.
15502         * math/libm-test.inc (cos_test_tonearest): New function.
15503         (cos_test_towardzero): Likewise.
15504         (cos_test_downward): Likewise.
15505         (cos_test_upward): Likewise.
15506         (sin_test_tonearest): Likewise.
15507         (sin_test_towardzero): Likewise.
15508         (sin_test_downward): Likewise.
15509         (sin_test_upward): Likewise.
15510         (tan_test_tonearest): Likewise.
15511         (tan_test_towardzero): Likewise.
15512         (tan_test_downward): Likewise.
15513         (tan_test_upward): Likewise.
15514         (main): Call the new functions.
15515         * sysdeps/i386/fpu/libm-test-ulps: Update.
15516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15518         [BZ #10135]
15519         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
15520         small n, then large n, before computing and testing k+n.
15521         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15522         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
15523         Likewise.
15524         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
15525         Likewise.
15526         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
15527         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
15528         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
15529         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
15530         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15531         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15532         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
15533         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
15534         * math/libm-test.inc (scalbn_test): Add more tests.
15535         (scalbln_test): Likewise.
15537         * manual/filesys.texi (mode_t): Describe constraints on size and
15538         signedness, not exact equivalence to a particular type.
15539         (ino_t): Likewise.
15540         (ino64_t): Likewise.
15541         (dev_t): Likewise.
15542         (nlink_t): Likewise.
15543         (blkcnt_t): Likewise.
15544         (blkcnt64_t): Likewise.
15545         * manual/llio.texi (off_t): Likewise.
15547         [BZ #3976]
15548         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
15549         (__ieee754_exp): Save and restore rounding mode and use
15550         round-to-nearest for all computations.
15551         * math/libm-test.inc (exp_test_tonearest): New function.
15552         (exp_test_towardzero): Likewise.
15553         (exp_test_downward): Likewise.
15554         (exp_test_upward): Likewise.
15555         (main): Call the new functions.
15556         * sysdeps/i386/fpu/libm-test-ulps: Update.
15557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15559 2012-03-01  Chris Demetriou  <cgd@google.com>
15561         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
15562         have predictable order.
15564 2012-03-01  David S. Miller  <davem@davemloft.net>
15566         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
15568         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
15569         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
15570         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
15571         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
15573         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
15574         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
15575         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
15576         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
15577         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
15578         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
15579         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
15580         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
15581         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
15583         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15585         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
15586         * sysdeps/sparc/fpu/libm-test-ulps: to here.
15587         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
15589         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
15590         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15591         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15592         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
15593         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
15594         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
15595         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
15596         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15597         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15598         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
15599         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
15600         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15601         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15602         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15603         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15604         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15605         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
15606         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
15607         * sysdeps/sparc/elf/configure: Regenerated.
15609 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
15611         * configure.in (AS, LD): Require binutils 2.20 or later.
15612         * configure: Regenerated.
15613         * manual/install.texi (Tools for Compilation): Give binutils 2.20
15614         as required minimum version.
15615         * INSTALL: Regenerated.
15617         [BZ #2541]
15618         [BZ #4108]
15619         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
15620         before squaring exponent.
15621         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
15622         bottom long double and 27 bits of top long double before squaring
15623         exponent.
15624         * math/libm-test.inc (erfc_test): Add more tests.
15625         * sysdeps/i386/fpu/libm-test-ulps: Update.
15626         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15629 2012-03-01  Kai Tietz  <ktietz@redhat.com>
15631         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
15632         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
15633         containing bit-fields.
15634         * soft-fp/extended.h (_FP_UNION_E): Likewise.
15635         * soft-fp/single.h (_FP_UNION_S): Likewise.
15636         * soft-fp/double.h (_FP_UNION_D): Likewise.
15638 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
15640         [BZ #13786]
15641         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
15642         not include ../strcmp.S.
15643         [USE_AS_STRNCASECMP_L]: Likewise.
15644         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
15645         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
15646         * sysdeps/i386/i686/multiarch/strncase_l-c.c
15647         (__strncasecmp_l_ia32): Define as alias to
15648         __strncasecmp_l_nonascii.
15650         [BZ #5794]
15651         * math/libm-test.inc (expm1_test): Add test for bug 5794.
15652         * sysdeps/i386/fpu/libm-test-ulps: Update.
15653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15655         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
15656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15658 2012-02-29  Jeff Law  <law@redhat.com>
15660         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
15661         out of bounds read.
15663 2012-02-29  Marek Polacek  <polacek@redhat.com>
15665         [BZ #13706]
15666         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
15667         * elf/Makefile: Add rules to run tst-unused-dep.out.
15669 2012-02-28  David S. Miller  <davem@davemloft.net>
15671         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
15672         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
15673         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
15674         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
15675         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
15676         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
15678 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
15680         * math/libm-test.inc (llround_test): Move one test from
15681         lround_test.  Use TEST_f_L in moved test.
15682         (lround_test): Move misplaced test to llround_test.  Add testcase
15683         from bug 2561.
15685 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
15687         * sysdeps/x86_64/fpu/e_expf.S: New file.
15688         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
15690 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
15692         [BZ #13637]
15693         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
15694         of remain_len that may cause incomplete multi-byte character and
15695         false match.
15696         * posix/bug-regex33.c: New file.
15697         * posix/Makefile (tests): Add bug-regex33.
15699 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
15701         * manual/macros.texi: New file.
15702         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
15703         * manual/libc.texinfo: Include macros.texi.
15704         * manual/creatute.texi: Likewise.
15705         * manual/install.texi: Likewise.
15706         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
15707         @glibcadj{} in references to the GNU C Library.
15708         * manual/charset.texi: Likewise.
15709         * manual/conf.texi: Likewise.
15710         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
15711         when not using those macros.
15712         * manual/creature.texi: Likewise.
15713         * manual/crypt.texi: Likewise.
15714         * manual/errno.texi: Likewise.
15715         * manual/filesys.texi: Likewise.
15716         * manual/header.texi: Likewise.
15717         * manual/install.texi: Likewise.
15718         * manual/intro.texi: Likewise.
15719         * manual/io.texi: Likewise.
15720         * manual/job.texi: Likewise.
15721         * manual/lang.texi: Likewise.
15722         * manual/libc.texiinfo: Likewise.
15723         * manual/llio.texi: Likewise.
15724         * manual/locale.texi: Likewise.
15725         * manual/maint.texi: Likewise.
15726         * manual/math.texi: Likewise.
15727         * manual/memory.texi: Likewise.
15728         * manual/message.texi: Likewise.
15729         * manual/nss.texi: Likewise.
15730         * manual/pattern.texi: Likewise.
15731         * manual/process.texi: Likewise.
15732         * manual/resource.texi: Likewise.
15733         * manual/search.texi: Likewise.
15734         * manual/setjmp.texi: Likewise.
15735         * manual/signal.texi: Likewise.
15736         * manual/socket.texi: Likewise.
15737         * manual/startup.texi: Likewise.
15738         * manual/stdio.texi: Likewise.
15739         * manual/string.texi: Likewise.
15740         * manual/sysinfo.texi: Likewise.
15741         * manual/syslog.texi: Likewise.
15742         * manual/terminal.texi: Likewise.
15743         * manual/time.texi: Likewise.
15744         * manual/users.texi: Likewise.
15745         * INSTALL: Regenerated.
15746         * NOTES: Regenerated.
15747         * sysdeps/gnu/errlist.c: Regenerated.
15749 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
15751         * include/dirent.h: Include <dirstream.h> before
15752         <dirent/dirent.h>.
15754 2012-02-28  David S. Miller  <davem@davemloft.net>
15756         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
15757         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
15758         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
15759         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
15761 2012-02-27  David S. Miller  <davem@davemloft.net>
15763         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
15764         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
15765         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
15766         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
15768         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
15769         frame pointer instead of stack pointer relative arg slot.
15770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15771         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15772         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15774 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
15776         [BZ #3992]
15777         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
15779 2012-02-27  David S. Miller  <davem@davemloft.net>
15781         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
15782         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15783         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15784         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
15785         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15786         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15787         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
15788         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
15790 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
15792         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
15793         later.  Allow versions 5-9.
15794         * configure: Regenerated.
15795         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
15796         required minimum version and 4.6 as recommended version.  Do not
15797         mention bugs in GCC 2.7 and 2.8.
15798         * INSTALL: Regenerated.
15800 2012-02-27  David S. Miller  <davem@davemloft.net>
15802         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
15803         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
15804         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
15805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
15806         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
15807         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
15808         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
15809         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
15811         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
15812         manipulate bits before adding and subtracting TWO112[sx].
15813         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15815 2012-02-27  Roland McGrath  <roland@hack.frob.com>
15817         [BZ #13775]
15818         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
15819         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
15820         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
15821         being in POSIX, because they are in 1003.1-2008.
15823         * rt/tst-aio.c: Include <fcntl.h>.
15824         * rt/tst-aio7.c: Likewise.
15825         * rt/tst-aio64.c: Likewise.
15827         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
15829 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
15831         * manual/install.texi (--with-headers): Describe headers as
15832         interface headers, not private headers.
15833         (Specific advice for GNU/Linux systems): Describe use of headers
15834         from "make headers_install", not private headers from older
15835         kernels.
15836         * INSTALL: Regenerated.
15837         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
15838         Change to 2.6.19.
15839         * sysdeps/unix/sysv/linux/configure: Regenerated.
15841         * manual/llio.texi (fclean): Remove documentation.
15843         * manual/Makefile (libc-texi-generated): New variable.  Include
15844         version.texi.
15845         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
15846         $(libc-texi-generated), not duplicated list of files.
15847         (version.texi, stamp-version): New rules.
15848         (realclean): Remove $(libc-texi-generated), not individual files
15849         from that list.  Do not remove dir-add.texinfo.
15850         * manual/libc.texinfo: Comment out uses of edition numbers and
15851         references to printed manual.  Remove last-updated dates.
15852         (EDITION): Comment out.
15853         (ISBN): Likewise.
15854         (VERSION, UPDATED): Remove.
15855         (version.texi): Include.
15857 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
15859         * sysdeps/posix/spawni.c: Include <signal.h>.
15860         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
15861         * sysdeps/pthread/aio_fsync.c: Likewise.
15863 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
15865         * conform/Makefile (tests): Run only when not cross-compiling and
15866         when fast-check is not defined.
15868         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
15869         * conform/data/limits.h-data: Fixes for POSIX2008.
15870         * conform/run-conformtest.sh: Run all tests.
15871         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
15872         headers.
15873         * include/bits/dlfcn.h: Likewise.
15874         * include/langinfo.h: Likewise.
15875         * include/monetary.h: Likewise.
15876         * include/sys/poll.h: Likewise.
15878         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
15879         for __USE_GNU.
15880         * posix/spawn.h: Define __need_sigset_t.
15881         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
15882         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
15883         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
15884         to get sigevent_t only.
15885         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
15886         only for __USE_GNU.
15887         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15888         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15889         process_vm_writev only for __USE_GNU.
15890         * termios/termios.h: Declare tcgetsid also for POSIX2008.
15892         * conform/Makefile: For now ignore errors from run-conformtest.
15893         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
15894         POSIX to avoid namespace pollution.  Don't prepend headers.
15895         * conform/data/aio.h-data: Fixes for POSIX testing.
15896         * conform/data/fcntl.h-data: Likewise.
15897         * conform/data/glob.h-data: Likewise.
15898         * conform/data/grp.h-data: Likewise.
15899         * conform/data/pthread.h-data: Likewise.
15900         * conform/data/pwd.h-data: Likewise.
15901         * conform/data/signal.h-data: Likewise.
15902         * conform/data/spawn.h-data: Likewise.
15903         * conform/data/stdio.h-data: Likewise.
15904         * conform/data/stdlib.h-data: Likewise.
15905         * conform/data/stropts.h-data: Likewise.
15906         * conform/data/sys/mman.h-data: Likewise.
15907         * conform/data/sys/stat.h-data: Likewise.
15908         * conform/data/sys/types.h-data: Likewise.
15909         * conform/data/sys/wait.h-data: Likewise.
15910         * conform/data/time.h-data: Likewise.
15911         * conform/data/unistd.h-data: Likewise.
15912         * conform/data/utime.h-data: Likewise.
15914         * io/sys/stat.h: fchmod was always in POSIX.
15915         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
15916         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
15917         * rt/aio.h: Define __need_timespec before including <time.h>.
15918         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
15919         struct.  Add forward declaration of pthread_attr_t and use it in
15920         sigevent.
15921         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15922         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15923         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
15924         always remove CLK_TCK definition.
15926 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
15928         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
15930 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
15932         * conform/run-conformtest.sh: New file.
15933         * conform/Makefile: Run run-conformtest for tests.
15934         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
15935         support.
15937         * conform/data/uchar.h-data: New file.
15938         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
15939         * conform/data/arpa/inet.h-data: Likewise.
15940         * conform/data/assert.h-data: Likewise.
15941         * conform/data/complex.h-data: Likewise.
15942         * conform/data/cpio.h-data: Likewise.
15943         * conform/data/ctype.h-data: Likewise.
15944         * conform/data/dirent.h-data: Likewise.
15945         * conform/data/dlfcn.h-data: Likewise.
15946         * conform/data/errno.h-data: Likewise.
15947         * conform/data/fcntl.h-data: Likewise.
15948         * conform/data/float.h-data: Likewise.
15949         * conform/data/fmtmsg.h-data: Likewise.
15950         * conform/data/fnmatch.h-data: Likewise.
15951         * conform/data/ftw.h-data: Likewise.
15952         * conform/data/glob.h-data: Likewise.
15953         * conform/data/grp.h-data: Likewise.
15954         * conform/data/iconv.h-data: Likewise.
15955         * conform/data/inttypes.h-data: Likewise.
15956         * conform/data/langinfo.h-data: Likewise.
15957         * conform/data/libgen.h-data: Likewise.
15958         * conform/data/limits.h-data: Likewise.
15959         * conform/data/locale.h-data: Likewise.
15960         * conform/data/math.h-data: Likewise.
15961         * conform/data/monetary.h-data: Likewise.
15962         * conform/data/mqueue.h-data: Likewise.
15963         * conform/data/ndbm.h-data: Likewise.
15964         * conform/data/net/if.h-data: Likewise.
15965         * conform/data/netdb.h-data: Likewise.
15966         * conform/data/netinet/in.h-data: Likewise.
15967         * conform/data/nl_types.h-data: Likewise.
15968         * conform/data/poll.h-data: Likewise.
15969         * conform/data/pthread.h-data: Likewise.
15970         * conform/data/pwd.h-data: Likewise.
15971         * conform/data/regex.h-data: Likewise.
15972         * conform/data/sched.h-data: Likewise.
15973         * conform/data/search.h-data: Likewise.
15974         * conform/data/semaphore.h-data: Likewise.
15975         * conform/data/setjmp.h-data: Likewise.
15976         * conform/data/signal.h-data: Likewise.
15977         * conform/data/spawn.h-data: Likewise.
15978         * conform/data/stdarg.h-data: Likewise.
15979         * conform/data/stdio.h-data: Likewise.
15980         * conform/data/stdlib.h-data: Likewise.
15981         * conform/data/string.h-data: Likewise.
15982         * conform/data/strings.h-data: Likewise.
15983         * conform/data/stropts.h-data: Likewise.
15984         * conform/data/sys/ipc.h-data: Likewise.
15985         * conform/data/sys/mman.h-data: Likewise.
15986         * conform/data/sys/msg.h-data: Likewise.
15987         * conform/data/sys/resource.h-data: Likewise.
15988         * conform/data/sys/select.h-data: Likewise.
15989         * conform/data/sys/sem.h-data: Likewise.
15990         * conform/data/sys/shm.h-data: Likewise.
15991         * conform/data/sys/socket.h-data: Likewise.
15992         * conform/data/sys/stat.h-data: Likewise.
15993         * conform/data/sys/statvfs.h-data: Likewise.
15994         * conform/data/sys/time.h-data: Likewise.
15995         * conform/data/sys/timeb.h-data: Likewise.
15996         * conform/data/sys/times.h-data: Likewise.
15997         * conform/data/sys/types.h-data: Likewise.
15998         * conform/data/sys/uio.h-data: Likewise.
15999         * conform/data/sys/un.h-data: Likewise.
16000         * conform/data/sys/utsname.h-data: Likewise.
16001         * conform/data/sys/wait.h-data: Likewise.
16002         * conform/data/syslog.h-data: Likewise.
16003         * conform/data/tar.h-data: Likewise.
16004         * conform/data/termios.h-data: Likewise.
16005         * conform/data/utime.h-data: Likewise.
16006         * conform/data/utmpx.h-data: Likewise.
16007         * conform/data/varargs.h-data: Likewise.
16008         * conform/data/wchar.h-data: Likewise.
16009         * conform/data/wctype.h-data: Likewise.
16010         * conform/data/wordexp.h-data: Likewise.
16012         * include/stropts.h: New file.
16013         * include/uchar.h: New file.
16014         * include/aio.h: Changes to allow conformtest.pl to use the headers.
16015         * include/assert.h: Likewise.
16016         * include/ctype.h: Likewise.
16017         * include/dirent.h: Likewise.
16018         * include/dlfcn.h: Likewise.
16019         * include/fcntl.h: Likewise.
16020         * include/fnmatch.h: Likewise.
16021         * include/glob.h: Likewise.
16022         * include/grp.h: Likewise.
16023         * include/libio.h: Likewise.
16024         * include/locale.h: Likewise.
16025         * include/math.h: Likewise.
16026         * include/net/if.h: Likewise.
16027         * include/netdb.h: Likewise.
16028         * include/netinet/in.h: Likewise.
16029         * include/pthread.h: Likewise.
16030         * include/pwd.h: Likewise.
16031         * include/regex.h: Likewise.
16032         * include/sched.h: Likewise.
16033         * include/search.h: Likewise.
16034         * include/setjmp.h: Likewise.
16035         * include/signal.h: Likewise.
16036         * include/stdio.h: Likewise.
16037         * include/stdlib.h: Likewise.
16038         * include/string.h: Likewise.
16039         * include/sys/cdefs.h: Likewise.
16040         * include/sys/mman.h: Likewise.
16041         * include/sys/msg.h: Likewise.
16042         * include/sys/resource.h: Likewise.
16043         * include/sys/select.h: Likewise.
16044         * include/sys/socket.h: Likewise.
16045         * include/sys/stat.h: Likewise.
16046         * include/sys/statvfs.h: Likewise.
16047         * include/sys/time.h: Likewise.
16048         * include/sys/times.h: Likewise.
16049         * include/sys/uio.h: Likewise.
16050         * include/sys/utsname.h: Likewise.
16051         * include/sys/wait.h: Likewise.
16052         * include/termios.h: Likewise.
16053         * include/time.h: Likewise.
16054         * include/ulimit.h: Likewise.
16055         * include/unistd.h: Likewise.
16056         * include/utime.h: Likewise.
16057         * include/wchar.h: Likewise.
16058         * include/wctype.h: Likewise.
16059         * include/wordexp.h: Likewise.
16061         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
16063         * time/time.h: TIME_UTC must be a macro.
16064         Make timespec_get available for ISO C11 only as well.
16066 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
16068         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
16069         Reported by Peng Haitao <penght@cn.fujitsu.com>.
16071 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
16073         * configure.in: Use -o not -a in test for unsupported multi-arch.
16075 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
16077         * manual/texinfo.tex: Update to version 2012-01-19.16.
16079 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
16081         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
16083 2012-02-24  Roland McGrath  <roland@hack.frob.com>
16085         [BZ #13738]
16086         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
16087         * manual/fdl-1.3.texi: New file.
16088         * manual/fdl-1.1.texi: File removed.
16090         [BZ #13738]
16091         * manual/libc.texinfo (FDL_VERSION): New @set.
16092         Use it for mention of FDL in cover text.
16093         (Documentation License): Use it in @include file name.
16095 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
16096             Roland McGrath  <roland@hack.frob.com>
16098         [BZ #5461]
16099         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
16100         not LONG_LONG_MAX and LONG_LONG_MIN.
16101         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
16102         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
16103         name.
16104         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
16106 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
16108         [BZ #2547]
16109         [BZ #11365]
16110         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
16111         manipulate bits before adding and subtracting TWO23[sx].
16112         * math/libm-test.inc (nearbyint_test): Add more tests.
16114 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
16116         [BZ #2548]
16117         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
16118         bits before adding and subtracting TWO23[sx].
16119         * math/libm-test.inc (rint_test): Add more tests.
16120         (rint_test_tonearest): Likewise.
16121         (rint_test_towardzero): Likewise.
16122         (rint_test_downward): Likewise.
16123         (rint_test_upward: Likewise.
16125 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
16127         [BZ #10110]
16128         * include/stdc-predef.h: New file.  Extracted from features.h.
16129         * include/features.h: Include stdc-predef.h.
16130         * Makefile (headers): Add stdc-predef.h.
16131         * CONFORMANCE (Compiler limitations): Update.
16133 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
16135         * manual/libc.texinfo (VERSION, UPDATED): Revert.
16137 2012-02-21  David S. Miller  <davem@davemloft.net>
16139         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
16140         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16142 2012-02-20  David S. Miller  <davem@davemloft.net>
16144         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
16145         using a normal save/restore sequence, rather than allocating a
16146         dummy stack frame just to store a frame pointer and restore.
16147         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16149 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
16151         * manual/install.texi: Fix stray word in line-wrapped comment.
16153 2012-02-20  David S. Miller  <davem@davemloft.net>
16155         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
16156         both binutils and gcc support GOTDATA.
16158         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
16159         "rd %pc" in the PIC register setup sequences.
16161         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
16162         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
16163         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16164         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
16165         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16166         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16167         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16168         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16169         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
16170         (SYSCALL_ERROR_HANDLER): Likewise.
16171         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16172         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16173         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
16174         (SYSCALL_ERROR_HANDLER): Likewise.
16176         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
16177         (HAVE_GCC_GOTDATA): New.
16178         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
16179         relocation support in both binutils and gcc.
16180         * sysdeps/sparc/elf/configure: Regenerate.
16182         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
16183         * sysdeps/sparc/sparc32/elf/configure: Delete.
16184         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
16185         * sysdeps/sparc/sparc64/elf/configure: Delete.
16186         * sysdeps/sparc/elf/configure.in: New file.
16187         * sysdeps/sparc/elf/configure: Generate.
16189         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
16190         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
16191         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16192         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
16193         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
16195 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
16197         * manual/install.texi: Do not mention specific glibc version
16198         numbers.
16199         * manual/libc.texinfo (VERSION, UPDATED): Update.
16200         (@copying): Use @copyright{} and range of years.
16202 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
16204         [BZ #13695]
16205         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
16206         [crti.S not in sysdirs] (generated): Do not append.
16207         [crti.S not in sysdirs] (omit-deps): Likewise.
16208         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
16209         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
16210         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
16211         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
16212         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
16213         Likewise.
16214         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
16215         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
16216         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
16217         * csu/defs.awk: Remove file.
16218         * sysdeps/generic/initfini.c: Likewise.
16219         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
16220         variable.
16221         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
16222         Likewise.
16224 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
16226         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
16227         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
16228         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
16229         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
16230         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16231         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
16232         <bits/epoll.h>.
16233         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
16234         (__EPOLL_PACKED): Define to empty if not defined by
16235         <bits/epoll.h>.
16236         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
16237         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16238         bits/epoll.h.
16240 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
16242         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
16243         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
16244         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
16245         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
16246         <bits/timerfd.h>.
16247         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
16248         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16249         bits/timerfd.h.
16251 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
16253         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
16254         in C locale.
16255         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16256         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16257         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
16258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16260 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
16262         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16263         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16265 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
16267         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
16268         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
16269         defined.
16270         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
16271         Likewise.
16272         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
16273         entry for 2.16.
16275 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
16277         * math/w_acos.c: Use non-signaling floating-point comparisons.
16278         * math/w_acosf.c: Likewise.
16279         * math/w_acosh.c: Likewise.
16280         * math/w_acoshf.c: Likewise.
16281         * math/w_acoshl.c: Likewise.
16282         * math/w_acosl.c: Likewise.
16283         * math/w_asin.c: Likewise.
16284         * math/w_asinf.c: Likewise.
16285         * math/w_asinl.c: Likewise.
16286         * math/w_atanh.c: Likewise.
16287         * math/w_atanhf.c: Likewise.
16288         * math/w_atanhl.c: Likewise.
16289         * math/w_exp2.c: Likewise.
16290         * math/w_exp2f.c: Likewise.
16291         * math/w_exp2l.c: Likewise.
16292         * math/w_j0.c: Likewise.
16293         * math/w_j0f.c: Likewise.
16294         * math/w_j0l.c: Likewise.
16295         * math/w_j1.c: Likewise.
16296         * math/w_j1f.c: Likewise.
16297         * math/w_j1l.c: Likewise.
16298         * math/w_jn.c: Likewise.
16299         * math/w_jnf.c: Likewise.
16300         * math/w_log.c: Likewise.
16301         * math/w_log10.c: Likewise.
16302         * math/w_log10f.c: Likewise.
16303         * math/w_log10l.c: Likewise.
16304         * math/w_log2.c: Likewise.
16305         * math/w_log2f.c: Likewise.
16306         * math/w_log2l.c: Likewise.
16307         * math/w_logf.c: Likewise.
16308         * math/w_logl.c: Likewise.
16309         * math/w_sqrt.c: Likewise.
16310         * math/w_sqrtf.c: Likewise.
16311         * math/w_sqrtl.c: Likewise.
16312         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16313         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16314         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16315         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16316         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16318 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
16320         [BZ #9739]
16321         * manual/string.texi (strnlen): Use correct parameter name in
16322         equivalent expression.
16324 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
16326         [BZ #11174]
16327         * manual/users.texi (seteuid): Consistently use neweuid for
16328         argument name.
16330 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
16332         [BZ #13704]
16333         * manual/nss.texi (Services in the NSS configuration): Correct
16334         list of services in example configuration file.
16336 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
16338         [BZ #11322]
16339         * manual/arith.texi: Remove statements about negative zero
16340         behaving identically to zero.
16342 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
16344         [BZ #5993]
16345         * manual/install.texi: Do not document upgrading from libc5.
16347 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
16349         [BZ #4596]
16350         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
16352 2012-02-18  David S. Miller  <davem@davemloft.net>
16354         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
16355         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
16356         %o7 across the call.
16357         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
16358         instead.
16359         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
16360         SETUP_PIC_REG_LEAF.
16361         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16362         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
16363         * sysdeps/sparc/crtn.S: Likewise.
16365 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
16367         * aout/Makefile: Remove.
16369 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
16371         [BZ #13058]
16372         * manual/examples/argp-ex1.c (main): Format definition in GNU
16373         style.
16374         * manual/examples/argp-ex2.c (main): Likewise.
16375         * manual/examples/argp-ex3.c (main): Likewise.
16376         * manual/examples/argp-ex4.c (main): Likewise.
16377         * manual/examples/longopt.c (main): Use new-style prototype
16378         definition.
16379         * manual/examples/strncat.c (main): Specify return type and use
16380         (void) for arguments.
16381         * manual/examples/subopt.c (main): Use char **argv argument.
16383 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
16385         [BZ #5077]
16386         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
16387         rounding modes.
16389 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
16391         [BZ #6907]
16392         * manual/string.texi (strchr): Change when strchrnul is
16393         recommended.
16395 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
16397         [BZ #174]
16398         * manual/locale.texi (setlocale): Document LOCPATH.
16400 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
16402         [BZ #10210]
16403         * manual/process.texi (execle): Move @dots{} before last argument.
16405 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
16407         [BZ #12047]
16408         * manual/charset.texi (Generic Charset Conversion): Fix typo
16409         (LC_TYPE -> LC_CTYPE).
16411 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
16413         [BZ #5805]
16414         * manual/arith.texi (scalbn): Use @var{} on parameter names.
16415         (scalbnf): Likewise.
16416         (scalbnl): Likewise.
16417         (scalbln): Likewise.
16418         (scalblnf): Likewise.
16419         (scalblnl): Likewise.
16420         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
16421         (vwarnx): Likewise.
16422         (verr): Likewise.
16423         (verrx): Likewise.
16424         * manual/filesys.texi (telldir): Use braces around return type.
16425         * manual/llio.texi (mmap): Add space after comma.
16426         (mmap64): Likewise.
16427         * manual/math.texi (jn): Use @var{} on parameter names.
16428         (jnf): Likewise.
16429         (jnl): Likewise.
16430         (yn): Likewise.
16431         (ynf): Likewise.
16432         (ynl): Likewise.
16433         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
16434         line.
16435         * manual/resource.texi (ulimit): Use @dots{} instead of literal
16436         "...".
16437         (sched_get_priority_min): Remove semicolon on @deftypefun line.
16438         (sched_get_priority_max): Likewise.
16439         * manual/signal.texi (sigvec): Add space after comma.
16440         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
16441         names.
16442         (if_indextoname): Likewise.
16443         (if_freenameindex): Likewise.
16444         (sendto): Use ',' instead of '.' in prototype.
16445         * manual/startup.texi (syscall): Use @dots{} instead of literal
16446         "...".
16447         * manual/stdio.texi (__fpending): Separate initial words of
16448         paragraph from @deftypefun line.
16449         * manual/syslog.texi (syslog): Use @dots{} instead of literal
16450         "...".
16451         (vsyslog): Use @var{} on parameter names.
16452         * manual/terminal.texi (stty): Use @var{} on parameter names.
16453         * manual/users.texi (getutmp): Use @var{} on parameter names.
16454         (getutmpx): Likewise.
16456 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
16458         [BZ #6884]
16459         * manual/stdio.texi (fopen): Fix typos in description of
16460         ",ccs=STRING".
16462 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
16464         [BZ #4026]
16465         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
16466         get clock_id definition.
16468 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
16470         [BZ #4822]
16471         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
16472         (madvise): Cast every argument to void on its own.
16474 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
16476         [BZ #9902]
16477         * manual/startup.texi (Exit Status): Fix typo.
16479 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
16481         [BZ #10140]
16482         * manual/examples/argp-ex1.c: Include <stdlib.h>.
16483         * manual/examples/argp-ex2.c: Likewise.
16484         * manual/examples/argp-ex3.c: Likewise.
16486 2012-02-16  Richard Henderson  <rth@redhat.com>
16488         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
16489         * sysdeps/s390/s390-32/initfini.c: Remove.
16490         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
16491         * sysdeps/s390/s390-64/initfini.c: Remove.
16493 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16495         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
16496         compiler output for sysdeps/generic/initfini.c.
16497         * sysdeps/sh/elf/initfini.c: Remove file.
16499 2012-02-16  David S. Miller  <davem@davemloft.net>
16501         [BZ #11494]
16502         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
16504         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
16505         * sysdeps/sparc/crti.S: New file.
16506         * sysdeps/sparc/crtn.S: New file.
16507         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
16508         * sysdeps/sparc/sparc64/Makefile: Likewise.
16510 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
16512         [BZ #3335]
16513         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
16515 2012-02-15  Roland McGrath  <roland@hack.frob.com>
16517         [BZ #4822]
16518         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
16520         * mach/devstream.c (cookie_io_functions_t): Macro removed.
16521         (write, read, close): Likewise.
16522         Patch by Aurelien Jarno <aurelien@aurel32.net>.
16524 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
16526         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
16527         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
16528         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
16529         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
16530         <bits/signalfd.h>.
16531         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
16532         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16533         bits/signalfd.h.
16535 2012-02-14  Marek Polacek  <polacek@redhat.com>
16537         * sysdeps/x86_64/crti.S: New file.
16538         * sysdeps/x86_64/crtn.S: New file.
16539         * sysdeps/x86_64/elf/initfini.c: Remove file.
16541 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
16543         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
16544         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
16545         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
16546         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
16547         <bits/inotify.h>.
16548         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
16549         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16550         bits/inotify.h.
16552 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
16554         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
16555         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
16556         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
16557         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
16558         <bits/eventfd.h>.
16559         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
16560         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16561         bits/eventfd.h.
16563 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
16565         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
16566         __feraiseexcept instead of feraiseexcept.
16568         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
16569         nanosleep invocations.
16570         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
16571         strings, and add error checking for a nanosleep invocations.
16573 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
16575         Replace FSF snail mail address with URLs, as per GNU coding standards.
16576         Most of the snail mail addresses were wrong anyway, and omitting
16577         them makes the source code easier to maintain.  Almost all of the
16578         changes are to license notices and to locale LC_IDENTIFICATION
16579         addresses, except for this one:
16580         * manual/libc.texinfo: In "Published by", give the FSF's URL,
16581         not its snail mail address.
16583 2012-02-09  Richard Henderson  <rth@twiddle.net>
16585         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
16586         of kernel-features.h.
16588         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
16590 2012-02-08  Marek Polacek  <polacek@redhat.com>
16592         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
16593         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
16594         * sysdeps/gnu/_G_config.h: Likewise.
16595         * sysdeps/generic/_G_config.h: Likewise.
16597 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
16599         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
16600         tests.
16601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16603         * sysdeps/powerpc/powerpc32/crti.S: New file.
16604         * sysdeps/powerpc/powerpc32/crtn.S: New file.
16605         * sysdeps/powerpc/powerpc64/crti.S: New file.
16606         * sysdeps/powerpc/powerpc64/crtn.S: New file.
16608         * Makeconfig (have-initfini): Don't set.
16609         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
16610         * configure.in (nopic_initfini): Don't substitute.
16611         * config.h.in (HAVE_INITFINI): Don't #undef.
16612         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
16613         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
16615 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
16617         Support crti.S and crtn.S provided directly by architectures.
16618         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
16619         [crti.S in sysdirs] (omit-deps): Likewise.
16620         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
16621         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
16622         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
16623         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
16624         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
16625         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
16626         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
16627         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
16628         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
16629         compiler output for sysdeps/generic/initfini.c.
16630         * sysdeps/i386/elf/Makefile: Remove file.
16631         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
16633 2012-02-07  Marek Polacek  <polacek@redhat.com>
16635         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
16636         * sysdeps/gnu/_G_config.h: Likewise.
16637         * sysdeps/mach/hurd/_G_config.h: Likewise.
16639 2012-02-07  Marek Polacek  <polacek@redhat.com>
16641         * math/Makefile (tests): Add tst-CMPLX2.
16642         * math/tst-CMPLX2.c: New file.
16644 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
16646         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16648         * math/libm-test.inc (jn_test): Add missing L suffix.
16650 2012-02-06  Marek Polacek  <polacek@redhat.com>
16652         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
16653         * sysdeps/i386/fpu/e_powf.S: Likewise.
16654         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16655         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16656         * sysdeps/i386/fpu/e_acosh.S: Likewise.
16657         * sysdeps/i386/fpu/e_pow.S: Likewise.
16658         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16659         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16660         * sysdeps/i386/fpu/s_expm1.S: Likewise.
16661         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16662         * sysdeps/i386/fpu/e_log2.S: Likewise.
16663         * sysdeps/i386/fpu/e_log2l.S: Likewise.
16664         * sysdeps/i386/fpu/e_scalb.S: Likewise.
16665         * sysdeps/i386/fpu/e_powl.S: Likewise.
16666         * sysdeps/i386/fpu/s_log1p.S: Likewise.
16667         * sysdeps/i386/fpu/e_log10f.S: Likewise.
16668         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16669         * sysdeps/i386/fpu/e_logl.S: Likewise.
16670         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16671         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
16672         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16673         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16674         * sysdeps/i386/fpu/e_log2f.S: Likewise.
16675         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16676         * sysdeps/i386/fpu/e_log.S: Likewise.
16677         * sysdeps/i386/fpu/s_cexp.S: Likewise.
16678         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16679         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
16680         * sysdeps/i386/fpu/e_logf.S: Likewise.
16681         * sysdeps/i386/fpu/e_log10l.S: Likewise.
16682         * sysdeps/i386/fpu/e_atanh.S: Likewise.
16683         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
16684         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16685         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16686         * sysdeps/i386/fpu/e_log10.S: Likewise.
16687         * sysdeps/i386/fpu/s_frexp.S: Likewise.
16688         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16689         * sysdeps/i386/fpu/s_asinh.S: Likewise.
16690         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16691         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16692         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16693         * sysdeps/i386/asm-syntax.h: Likewise.
16694         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16695         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16696         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16697         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
16698         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
16699         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16700         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16701         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16702         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16703         * sysdeps/powerpc/sysdep.h: Likewise.
16704         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
16705         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16707 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
16709         [BZ #411]
16710         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
16712 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
16714         * sysdeps/i386/sysdep.h: Include <features.h>.
16715         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
16716         version.
16718 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
16720         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
16721         Define.
16722         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
16723         LOAD_PIC_REG_STR.
16725 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
16727         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
16728         (SETUP_PIC_REG): Use GET_PC_THUNK.
16729         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
16730         macro.
16732 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
16734         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
16735         for non-PIC compilation.
16736         (SETUP_PIC_REG): Add .p2align directive.
16737         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
16738         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
16739         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16740         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16741         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16742         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16743         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16744         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16745         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16746         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16747         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16748         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16749         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16750         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16751         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16752         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16753         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16754         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16755         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16756         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16757         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16758         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16759         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16760         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16761         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16762         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16763         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16764         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16765         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16766         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16767         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16768         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16769         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16770         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16771         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16772         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16773         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16774         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16775         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16776         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16777         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16779 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
16781         * math/tst-CMPLX.c: Include <stdio.h>.
16783 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
16785         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
16786         float.
16787         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16788         * sysdeps/sparc/bits/mathdef.h: Likewise.
16790 2012-01-31  Marek Polacek  <polacek@redhat.com>
16792         * libio/libio.h: Don't define _PARAMS.
16793         * locale/programs/config.h: Don't define PARAMS.
16794         * stdlib/strtol_l.c: Likewise.
16795         (__strtol_l): Remove PARAMS from the prototype.
16797 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
16799         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
16800         names.  Just use the correct names.  Remove unnecessary wrapper
16801         functions.
16802         * malloc/arena.c: Likewise.
16803         * malloc/hooks.c: Likewise.
16805         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
16806         ARENA_TEST says not to.  Simplify test for creation of a new arena.
16807         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
16809 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
16811         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
16812         into tail calls.
16813         (update_get_addr): New function.
16814         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
16815         GET_ADDR_MODULE parameter.
16817 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
16819         * crypt/cert.c: Remove __STDC__ conditionals.
16820         * crypt/crypt-entry.c: Likewise.
16821         * crypt/crypt_util.c: Likewise.
16822         * libio/filedoalloc.c: Likewise.
16823         * libio/fileops.c: Likewise.
16824         * libio/genops.c: Likewise.
16825         * libio/iofclose.c: Likewise.
16826         * libio/iofdopen.c: Likewise.
16827         * libio/iofopen.c: Likewise.
16828         * libio/iofopen64.c: Likewise.
16829         * libio/iogetdelim.c: Likewise.
16830         * libio/iopopen.c: Likewise.
16831         * libio/obprintf.c: Likewise.
16832         * libio/oldfileops.c: Likewise.
16833         * libio/oldiofclose.c: Likewise.
16834         * libio/oldiofdopen.c: Likewise.
16835         * libio/oldiofopen.c: Likewise.
16836         * libio/oldiopopen.c: Likewise.
16837         * libio/wfiledoalloc.c: Likewise.
16838         * libio/wgenops.c: Likewise.
16839         * locale/programs/xmalloc.c: Likewise.
16840         * misc/syslog.c: Likewise.
16841         * stdio-common/xbug.c: Likewise.
16842         * string/memchr.c: Likewise.
16843         * string/memcmp.c: Likewise.
16844         * string/memrchr.c: Likewise.
16845         * string/rawmemchr.c: Likewise.
16846         * sysdeps/posix/getcwd.c: Likewise.
16847         * time/strftime_l.c: Likewise.
16849 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
16851         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
16852         * config.make.in (config-cflags-sse2avx): Define.
16853         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
16854         Fix typo.
16856 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
16858         * scripts/config.guess: Update from upstream config git repository.
16859         * scripts/config.sub: Likewise.
16861 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
16863         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
16864         (EM_NUM): Update.
16865         (R_TILEPRO_*, R_TILEGX_*): New macros.
16867         * scripts/firstversions.awk: Fix bug in version range handling.
16869         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
16871         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
16873         * include/sys/epoll.h: New file.
16874         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
16875         libc_hidden_def.
16877 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
16879         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
16880         Avoid unnecessary __WORDSIZE == 64 test.
16881         (fmaxf): Use VEX format if possible.
16882         (fmax): Likewise.
16883         (fminf): Likewise.
16884         (fmin): Likewise.
16886         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
16887         * math/math_private.h: Remove libc_fegetround* and
16888         libc_fesetround*.
16889         * sysdeps/i386/configure.in: Check for -msse2avx.
16890         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
16891         also if SSE2AVX is defined.
16892         Remove libc_fegetround* and libc_fesetround*.
16893         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
16894         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
16895         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
16896         of HAS_YMM_USABLE.
16897         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16898         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16899         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16900         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16901         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16903         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
16905 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16907         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
16908         size is not set.
16909         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16911 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
16913         [BZ #13618]
16914         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
16915         relocation.
16916         * Makeconfig (libm): Define.
16917         * elf/Makefile: Add rules to build and run tst-relsort1.
16918         * elf/tst-relsort1.c: New file.
16919         * elf/tst-relsort1mod1.c: New file.
16920         * elf/tst-relsort1mod2.c: New file.
16922 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
16924         * math/s_ldexp.c: Remove __STDC__ conditionals.
16925         * math/s_ldexpf.c: Likewise.
16926         * math/s_ldexpl.c: Likewise.
16927         * math/s_nextafter.c: Likewise.
16928         * math/s_nexttowardf.c: Likewise.
16929         * math/s_significand.c: Likewise.
16930         * math/s_significandf.c: Likewise.
16931         * math/s_significandl.c: Likewise.
16932         * math/w_jnl.c: Likewise.
16933         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16934         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16935         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16936         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16937         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16938         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16939         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
16940         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16941         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16942         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16943         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16944         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16945         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16946         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16947         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16948         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16949         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16950         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16951         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16952         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16953         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16954         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16955         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16956         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16957         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16958         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16959         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16960         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16961         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16962         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16963         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16964         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16965         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16966         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16967         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16968         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16969         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16970         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16971         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16972         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16973         * sysdeps/ieee754/k_standard.c: Likewise.
16974         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16975         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16976         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16977         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16978         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16979         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16980         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16981         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16982         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16983         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16984         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16985         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16986         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16987         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16988         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16989         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16990         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16991         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16992         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16993         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16994         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16995         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16996         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16997         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16998         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16999         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17000         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17001         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17002         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17003         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17004         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17005         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
17006         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17007         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17008         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17009         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17010         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
17011         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17012         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17013         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
17014         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
17015         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17016         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
17017         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
17018         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17019         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17020         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17021         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17022         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17023         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17024         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
17025         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17026         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17027         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17028         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17029         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17030         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
17031         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17032         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17033         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17034         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17035         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17036         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17037         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17038         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17039         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17040         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17041         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17042         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17043         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17044         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17045         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17046         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17047         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17048         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17049         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17050         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17051         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17052         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17053         * sysdeps/ieee754/s_matherr.c: Likewise.
17054         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17055         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17056         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17057         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17059 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
17061         * crypt/md5.h: Remove __STDC__ conditionals.
17062         * libio/libioP.h: Likewise.
17063         * locale/programs/config.h: Likewise.
17064         * sysdeps/generic/sysdep.h: Likewise.
17065         * sysdeps/i386/asm-syntax.h: Likewise.
17066         * sysdeps/s390/asm-syntax.h: Likewise.
17067         * sysdeps/unix/sysdep.h: Likewise.
17068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17071 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
17073         * libio/libio.h: Remove __STDC__ conditionals.
17074         * malloc/obstack.h: Likewise.
17075         * math/complex.h: Likewise.
17076         * math/math.h: Likewise.
17077         * sysdeps/generic/_G_config.h: Likewise.
17078         * sysdeps/gnu/_G_config.h: Likewise.
17079         * sysdeps/mach/hurd/_G_config.h: Likewise.
17080         * sysdeps/powerpc/bits/mathdef.h: Likewise.
17081         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17082         * sysdeps/sparc/bits/mathdef.h: Likewise.
17084 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
17086         [BZ #13583]
17087         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
17088         Clean up HAS_* macros.
17089         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
17090         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
17091         possible.
17092         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
17093         HAS_AVX.
17094         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17095         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17096         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17097         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17098         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17100 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
17102         * elf/tst-unique3.cc (gets): Remove declaration.
17103         * elf/tst-unique3lib.cc (gets): Likewise.
17104         * elf/tst-unique3lib2.cc (gets): Likewise.
17105         * elf/tst-unique4.cc (gets): Likewise.
17107 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
17109         * include/stdio.h: Add C++ protection.  Add gets declarations and
17110         definitions.
17111         * debug/tst-chk1.c: Don't declare gets here.
17112         * stdio-common/tst-gets.c: Likewise.
17114 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
17116         * posix/glob: Remove directory.
17118 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
17120         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
17122 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
17124         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
17125         of the non-standard EPFNOSUPPORT.
17127 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17129         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
17130         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
17131         ANYWHERE set to 1 only on KERN_NO_SPACE error.
17133 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
17135         * wcsmbs/uchar.h: Test __STDC_VERSION__.
17137 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
17139         * nscd/aicache.c (addhstaiX): Do not cache negative results of
17140         transient errors.
17141         * nscd/grpcache.c (cache_addgr): Likewise.
17142         * nscd/hstcache.c (cache_addhst): Likewise.
17143         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17144         * nscd/pwdcache.c (cache_addpw): Likewise.
17145         * nscd/servicescache.c (cache_addserv): Likewise.
17147 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
17149         * malloc/malloc.c: Various cleanups.
17150         * malloc/hooks.c: Likewise.
17152         * stdlib/Makefile (tests): Add bug-fmtmsg1.
17153         * stdlib/bug-fmtmsg1.c: New file.
17155         * stdlib/fmtmsg.c (init): Add missing unlock.
17156         Patch by Peng Haitao <penght@cn.fujitsu.com>.
17158 2012-01-12  Marek Polacek  <polacek@redhat.com>
17160         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
17161         and _GNU_SOURCE.
17163 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
17165         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
17166         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
17167         macro to ensure uniqueness of label name.
17168         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17169         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17171 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
17173         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
17175         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
17176         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17177         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17178         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
17180 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
17182         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
17184         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
17185         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17186         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17188         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
17190         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
17191         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17192         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17193         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
17195         * math/bits/math-finite.h: Add ldexp support.
17197 2012-01-10  Marek Polacek  <polacek@redhat.com>
17199         * locale/programs/localedef.h (show_archive_content): Add noreturn
17200         attribute.
17202 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
17204         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
17206 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
17208         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
17210         * io/Makefile (headers): Add bits/poll2.h.
17212 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
17214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
17215         typo #include statement.
17217 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
17219         * include/sys/cdefs.h: Define __attribute_alloc_size.
17220         * catgets/gencat.c: Add alloc_size attribute and apply consistently
17221         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
17222         * elf/pldd.c: Likewise.
17223         * iconv/iconv_charmap.c: Likewise.
17224         * iconv/iconvconfig.c: Likewise.
17225         * iconv/strtab.c: Likewise.
17226         * locale/programs/locale.c: Likewise.
17227         * locale/programs/localedef.h: Likewise.
17228         * locale/programs/simple-hash.c: Likewise.
17229         * nscd/nscd.h: Likewise.
17230         * nss/makedb.c: Likewise.
17231         * sysdeps/generic/ldconfig.h: Likewise.
17232         * locale/programs/localedef.c: Remove xmalloc prototype.
17233         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
17235 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17237         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
17238         appropriate.
17240 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
17242         * math/Makefile (tests): Add tst-CMPLX.
17243         * math/tst-CMPLX.c: New file.
17245         * math/complex.h (CMPLXL): Fix typo.
17247         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
17248         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
17249         GLIBC_2.16.
17250         * debug/tst-chk1.c: Add poll and ppoll tests.
17251         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
17252         * include/sys/poll.h: Add hidden proto for ppoll.
17253         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
17254         * sysdeps/mach/hurd/ppoll.c: Likewise.
17255         * io/ppoll.c: Likewise.
17256         * debug/poll_chk.c: New file.
17257         * debug/ppoll_chk.c: New file.
17258         * include/bits/poll2.h: New file.
17259         * io/bits/poll2.h: New file.
17261         [BZ #1350]
17262         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
17264         * configure.in: static is always set to yes.  Remove.
17265         * config.make.in: Don't set build-static.
17266         * Makeconfig: Remove use of build-static.
17267         * dlfcn/Makefile: Likewise.
17268         * elf/Makefile: Likewise.
17269         * math/Makefile: Likewise.
17270         * misc/Makefile: Likewise.
17271         * nptl/Makefile: Likewise.
17272         * sysdeps/mach/hurd/Makefile: Likewise.
17274         * configure.in: PWD_P is not used anymore.
17275         * config.make.in: Remove PWD_P entry.
17277         * configure.in: Remove last remnants of RANLIB.
17278         No need to check for signed size_t anymore.
17279         Don't set libc_commonpagesize and libc_relro_required here for Alpha
17280         and IA-64.
17281         Remove __builtin_expect test because we require at least gcc 3.4.
17282         * aclocal.m4: Likewise.
17284         * wcsmbs/mbrtoc16.c: Implement using towc function.
17285         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
17286         * wcsmbs/wcsmbsload.c: Likewise.
17287         * iconv/gconv_simple.c: Likewise.
17288         * iconv/gconv_int.h: Likewise.
17289         * iconv/gconv_builtin.h: Likewise.
17290         * iconv/iconv_prog.c: Remove CHAR16 handling.
17292         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
17294         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
17296         * configure.in: Remove --with-elf and --enable-bounded options.
17297         Dont set base_machine for ia64.  More non-ELF conditions removed.
17298         Remove testing and setting of leading underscore information.
17299         * config.make.in (build-bounded): Set to no.
17300         * config.h.in: Remove NO_UNDERSCORES entry.
17301         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
17302         them.
17303         * csu/start.c: Remove !NO_UNDERSCORE code.
17304         * locale/localeinfo.h: Likewise.
17305         * sysdeps/generic/machine-gmon.h: Likewise.
17306         * sysdeps/generic/sysdep.h: Likewise.
17307         * sysdeps/i386/sysdep.h: Likewise.
17308         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17309         * sysdeps/mach/sysdep.h: Likewise.
17310         * sysdeps/s390/s390-32/sysdep.h: Likewise.
17311         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17312         * sysdeps/sh/sysdep.h: Likewise.
17313         * sysdeps/sparc/sparc32/alloca.S: Likewise.
17314         * sysdeps/unix/i386/sysdep.S: Likewise.
17315         * sysdeps/unix/sparc/start.c: Likewise.
17316         * sysdeps/unix/sparc/sysdep.S: Likewise.
17317         * sysdeps/unix/sparc/sysdep.h: Likewise.
17318         * sysdeps/unix/start.c: Likewise.
17319         * sysdeps/unix/x86_64/sysdep.S: Likewise.
17320         * sysdeps/x86_64/sysdep.h: Likewise.
17322 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
17324         [BZ #13553]
17325         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
17326         for non-gcc.
17327         * argp/argp-fmtstream.h: Use const instead __const.
17328         * argp/argp.h: Likewise.
17329         * assert/assert.h: Likewise.
17330         * bits/fenv.h: Likewise.
17331         * bits/sched.h: Likewise.
17332         * bits/sigset.h: Likewise.
17333         * bits/sigthread.h: Likewise.
17334         * catgets/nl_types.h: Likewise.
17335         * conform/data/pthread.h-data: Likewise.
17336         * crypt/crypt-private.h: Likewise.
17337         * crypt/crypt.h: Likewise.
17338         * crypt/crypt_util.c: Likewise.
17339         * ctype/ctype.h: Likewise.
17340         * debug/execinfo.h: Likewise.
17341         * debug/mbsnrtowcs_chk.c: Likewise.
17342         * debug/mbsrtowcs_chk.c: Likewise.
17343         * debug/wcsnrtombs_chk.c: Likewise.
17344         * debug/wcsrtombs_chk.c: Likewise.
17345         * debug/wcstombs_chk.c: Likewise.
17346         * dirent/dirent.h: Likewise.
17347         * dlfcn/dlfcn.h: Likewise.
17348         * elf/neededtest4.c: Likewise.
17349         * grp/grp.h: Likewise.
17350         * gshadow/gshadow.h: Likewise.
17351         * iconv/gconv.h: Likewise.
17352         * iconv/gconv_int.h: Likewise.
17353         * iconv/gconv_simple.c: Likewise.
17354         * iconv/iconv.h: Likewise.
17355         * iconv/loop.c: Likewise.
17356         * iconv/skeleton.c: Likewise.
17357         * include/aio.h: Likewise.
17358         * include/aliases.h: Likewise.
17359         * include/argz.h: Likewise.
17360         * include/arpa/inet.h: Likewise.
17361         * include/assert.h: Likewise.
17362         * include/dirent.h: Likewise.
17363         * include/dlfcn.h: Likewise.
17364         * include/execinfo.h: Likewise.
17365         * include/fcntl.h: Likewise.
17366         * include/fenv.h: Likewise.
17367         * include/glob.h: Likewise.
17368         * include/grp.h: Likewise.
17369         * include/libintl.h: Likewise.
17370         * include/mntent.h: Likewise.
17371         * include/netdb.h: Likewise.
17372         * include/pwd.h: Likewise.
17373         * include/rpc/netdb.h: Likewise.
17374         * include/sched.h: Likewise.
17375         * include/search.h: Likewise.
17376         * include/shadow.h: Likewise.
17377         * include/signal.h: Likewise.
17378         * include/stdio.h: Likewise.
17379         * include/stdlib.h: Likewise.
17380         * include/string.h: Likewise.
17381         * include/sys/socket.h: Likewise.
17382         * include/sys/stat.h: Likewise.
17383         * include/sys/statfs.h: Likewise.
17384         * include/sys/statvfs.h: Likewise.
17385         * include/sys/syslog.h: Likewise.
17386         * include/sys/time.h: Likewise.
17387         * include/sys/uio.h: Likewise.
17388         * include/time.h: Likewise.
17389         * include/unistd.h: Likewise.
17390         * include/utmp.h: Likewise.
17391         * include/wchar.h: Likewise.
17392         * include/wctype.h: Likewise.
17393         * inet/aliases.h: Likewise.
17394         * inet/arpa/inet.h: Likewise.
17395         * inet/netinet/ether.h: Likewise.
17396         * inet/netinet/in.h: Likewise.
17397         * intl/libintl.h: Likewise.
17398         * io/bits/fcntl2.h: Likewise.
17399         * io/fcntl.h: Likewise.
17400         * io/ftw.h: Likewise.
17401         * io/sys/poll.h: Likewise.
17402         * io/sys/stat.h: Likewise.
17403         * io/sys/statfs.h: Likewise.
17404         * io/sys/statvfs.h: Likewise.
17405         * io/utime.h: Likewise.
17406         * libio/bits/stdio.h: Likewise.
17407         * libio/bits/stdio2.h: Likewise.
17408         * libio/libio.h: Likewise.
17409         * libio/libioP.h: Likewise.
17410         * libio/stdio.h: Likewise.
17411         * locale/lc-ctype.c: Likewise.
17412         * locale/locale.h: Likewise.
17413         * login/utmp.h: Likewise.
17414         * malloc/arena.c: Likewise.
17415         * malloc/malloc.c: Likewise.
17416         * malloc/malloc.h: Likewise.
17417         * malloc/mcheck.c: Likewise.
17418         * malloc/mtrace.c: Likewise.
17419         * math/bits/mathcalls.h: Likewise.
17420         * math/fenv.h: Likewise.
17421         * math/math_private.h: Likewise.
17422         * misc/bits/error.h: Likewise.
17423         * misc/bits/syslog.h: Likewise.
17424         * misc/err.h: Likewise.
17425         * misc/error.h: Likewise.
17426         * misc/fstab.h: Likewise.
17427         * misc/mntent.h: Likewise.
17428         * misc/regexp.h: Likewise.
17429         * misc/search.h: Likewise.
17430         * misc/sgtty.h: Likewise.
17431         * misc/sys/mman.h: Likewise.
17432         * misc/sys/syslog.h: Likewise.
17433         * misc/sys/uio.h: Likewise.
17434         * misc/sys/xattr.h: Likewise.
17435         * misc/ttyent.h: Likewise.
17436         * nis/rpcsvc/ypclnt.h: Likewise.
17437         * nss/nss.h: Likewise.
17438         * posix/bits/unistd.h: Likewise.
17439         * posix/fnmatch.h: Likewise.
17440         * posix/glob.h: Likewise.
17441         * posix/sched.h: Likewise.
17442         * posix/spawn.h: Likewise.
17443         * posix/sys/wait.h: Likewise.
17444         * posix/unistd.h: Likewise.
17445         * posix/wordexp.h: Likewise.
17446         * pwd/pwd.h: Likewise.
17447         * resolv/netdb.h: Likewise.
17448         * resource/sys/resource.h: Likewise.
17449         * rt/aio.h: Likewise.
17450         * rt/bits/mqueue2.h: Likewise.
17451         * rt/mqueue.h: Likewise.
17452         * shadow/shadow.h: Likewise.
17453         * signal/signal.h: Likewise.
17454         * socket/send.c: Likewise.
17455         * socket/sendto.c: Likewise.
17456         * socket/sys/socket.h: Likewise.
17457         * stdio-common/printf.h: Likewise.
17458         * stdlib/bits/stdlib.h: Likewise.
17459         * stdlib/fmtmsg.h: Likewise.
17460         * stdlib/monetary.h: Likewise.
17461         * stdlib/stdlib.h: Likewise.
17462         * stdlib/ucontext.h: Likewise.
17463         * streams/stropts.h: Likewise.
17464         * string/argz.h: Likewise.
17465         * string/bits/string2.h: Likewise.
17466         * string/string.h: Likewise.
17467         * string/strings.h: Likewise.
17468         * sunrpc/rpc/auth.h: Likewise.
17469         * sunrpc/rpc/auth_des.h: Likewise.
17470         * sunrpc/rpc/clnt.h: Likewise.
17471         * sunrpc/rpc/netdb.h: Likewise.
17472         * sunrpc/rpc/pmap_clnt.h: Likewise.
17473         * sunrpc/rpc/xdr.h: Likewise.
17474         * sysdeps/generic/inttypes.h: Likewise.
17475         * sysdeps/generic/net/if.h: Likewise.
17476         * sysdeps/generic/sys/swap.h: Likewise.
17477         * sysdeps/gnu/net/if.h: Likewise.
17478         * sysdeps/gnu/utmpx.h: Likewise.
17479         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
17480         * sysdeps/i386/i486/bits/string.h: Likewise.
17481         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
17482         * sysdeps/s390/bits/string.h: Likewise.
17483         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
17484         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
17485         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
17486         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
17487         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
17488         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
17489         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
17490         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
17491         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
17492         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
17493         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
17494         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17495         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
17496         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17497         * sysdeps/unix/sysv/linux/readv.c: Likewise.
17498         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
17499         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17500         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17501         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17502         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17503         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17504         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
17505         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
17506         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
17507         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
17508         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
17509         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
17510         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17511         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
17512         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
17513         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
17514         * sysvipc/sys/ipc.h: Likewise.
17515         * sysvipc/sys/msg.h: Likewise.
17516         * sysvipc/sys/sem.h: Likewise.
17517         * sysvipc/sys/shm.h: Likewise.
17518         * termios/termios.h: Likewise.
17519         * time/sys/time.h: Likewise.
17520         * time/time.h: Likewise.
17521         * wcsmbs/bits/wchar2.h: Likewise.
17522         * wcsmbs/uchar.h: Likewise.
17523         * wcsmbs/wchar.h: Likewise.
17524         * wctype/wctype.h: Likewise.
17526         [BZ #13551]
17527         * Makeconfig: Remove all but ELF support including AIX support.
17528         * Makerules: Likewise.
17529         * config.h.in: Likewise.
17530         * config.make.in: Likewise.
17531         * configure: Likewise.
17532         * configure.in: Likewise.
17533         * csu/Makefile: Likewise.
17534         * csu/version.c: Likewise.
17535         * debug/Makefile: Likewise.
17536         * dlfcn/Makefile: Likewise.
17537         * elf/Makefile: Likewise.
17538         * extra-lib.mk: Likewise.
17539         * iconv/Makefile: Likewise.
17540         * include/libc-symbols.h: Likewise.
17541         * include/shlib-compat.h: Likewise.
17542         * resolv/Makefile: Likewise.
17543         * resolv/res_libc.c: Likewise.
17544         * rt/Makefile: Likewise.
17545         * sysdeps/i386/asm-syntax.h: Likewise.
17546         * sysdeps/i386/sysdep.h: Likewise.
17547         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17548         * sysdeps/mach/sysdep.h: Likewise.
17549         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
17550         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
17551         * sysdeps/s390/asm-syntax.h: Likewise.
17552         * sysdeps/s390/s390-32/sysdep.h: Likewise.
17553         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17554         * sysdeps/sh/sysdep.h: Likewise.
17555         * sysdeps/unix/sparc/sysdep.h: Likewise.
17556         * sysdeps/wordsize-32/divdi3.c: Likewise.
17557         * sysdeps/x86_64/sysdep.h: Likewise.
17559         * argp/Versions: Remove _argp_unlock_xxx.
17561         [BZ #13559]
17562         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
17563         * abilist/libBrokenLocale.abilist: Likewise.
17564         * abilist/libanl.abilist: Likewise.
17565         * abilist/libc.abilist: Likewise.
17566         * abilist/libcrypt.abilist: Likewise.
17567         * abilist/libdl.abilist: Likewise.
17568         * abilist/libm.abilist: Likewise.
17569         * abilist/libnsl.abilist: Likewise.
17570         * abilist/libpthread.abilist: Likewise.
17571         * abilist/libresolv.abilist: Likewise.
17572         * abilist/librt.abilist: Likewise.
17573         * abilist/libthread_db.abilist: Likewise.
17574         * abilist/libutil.abilist: Likewise.
17575         * abilist/libnss_db.abilist: New file.
17577         * scripts/abilist.awk: Add support for indirect functions.
17579         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
17581         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
17583         * shlib-versions: Remove entries for ports architectures.
17585         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
17586         files in ports.
17587         * elf/stackguard-macros.h: Remove support for IA-64.
17588         * elf/tst-auditmod1.c: Likewise.
17589         * sysdeps/generic/ldsodefs.h: Likewise.
17591         * sysdeps/unix/sysv/linux/configure.in: Ports should define
17592         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
17593         configure files.
17595         [BZ #13552]
17596         * configure.in: Remove --enable-omitfp support.
17597         * FAQ.in: Adjust.
17598         * config.make.in: Likewise.
17599         * Makeconfig: Likewise.
17600         * manual/install.texi: Likewise.
17602         In case anyone cares, the IA-64 architecture could move to ports.
17603         * sysdeps/ia64/*: Removed.
17604         * sysdeps/unix/sysv/linux/ia64/*: Removed.
17605         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
17607         [BZ #13555]
17608         * configure.in: Remove entries for unsupported architectures.
17610         [BZ #13533]
17611         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
17612         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
17613         routines.
17614         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
17615         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
17616         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
17617         fall back to using wcrtomb.
17618         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
17619         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
17620         renaming.
17621         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
17622         * wcsmbs/tst-c16c32-1.c: New file.
17624         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
17625         local variable.
17627         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
17629         * elf/tst-unique3.cc: Add explicit declaration of gets.
17630         * elf/tst-unique3lib.cc: Likewise.
17631         * elf/tst-unique3lib2.cc: Likewise.
17632         * elf/tst-unique4.cc: Likewise.
17634         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
17636 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
17638         [BZ #13566]
17639         * assert/assert.h (static_assert): Don't define for C++.
17640         * libio/stdio.h (gets): Do declare for C++ <= C++11.
17641         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
17643 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
17645         * iconv/loop.c (single loop): Fix assertion in storing of
17646         remaining bytes.
17648         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
17650 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
17652         * posix/getconf.c: Update copyright year.
17653         * nss/getent.c: Likewise.
17654         * nss/makedb.c: Likewise.
17655         * iconv/iconvconfig.c: Likewise.
17656         * iconv/iconv_prog.c: Likewise.
17657         * elf/ldconfig.c: Likewise.
17658         * elf/pldd.c: Likewise.
17659         * elf/sotruss.ksh: Likewise.
17660         * catgets/gencat.c: Likewise.
17661         * csu/version.c: Likewise.
17662         * elf/ldd.bash.in: Likewise.
17663         * elf/sprof.c (print_version): Likewise.
17664         * locale/programs/locale.c: Likewise.
17665         * locale/programs/localedef.c: Likewise.
17666         * login/programs/pt_chown.c: Likewise.
17667         * nscd/nscd.c (print_version): Likewise.
17668         * debug/xtrace.sh: Likewise.
17669         * malloc/memusage.sh: Likewise.
17670         * malloc/mtrace.pl: Likewise.
17671         * debug/catchsegv.sh: Likewise.
17673 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
17675         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
17676         pure attribute.
17678 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
17680         [BZ #13533]
17681         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
17682         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
17683         transformations.
17684         * iconv/gconv_int.h: Likewise.
17685         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
17686         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
17687         from libc for GLIBC_2.16.
17688         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
17689         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
17690         * wcsmbs/uchar.h: Really define mbstate_t.
17691         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
17692         * wcsmbs/c16rtomb.c: New file.
17693         * wcsmbs/mbrtoc16.c: New file.
17694         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
17695         for C/POSIX locale.
17696         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
17697         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
17699         * wcsmbs/wchar.h: Add missing __restrict.
17701 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
17703         [BZ #13532]
17704         * time/Makefile (routines): Add timespec_get.
17705         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
17706         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
17707         timespec for ISO C11.
17708         * time/timespec_get.c: New file.
17709         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
17710         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
17712         [BZ #13531]
17713         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
17714         * stdlib/stdlib.h: Declare aligned_alloc.
17715         * Versions.def: Add GLIBC_2.16 for libc.
17716         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
17718         [BZ 13527]
17719         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
17720         ISO C11.
17722         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
17723         code.
17725         [BZ #13528]
17726         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
17728         [BZ #13529]
17729         * assert/assert.h (static_assert): Define.
17731         * version.h: Update for 2.16 development version.
17733         [BZ #13526]
17734         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
17735         _ISOC11_SOURCE.
17737         * version.h (RELEASE): Bump for 2.15 release.
17738         * include/features.h (__GLIBC_MINOR__): Bump to 15.
17740         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
17741         Patch by Marek Polacek <mpolacek@redhat.com>.
17743         * bits/byteswap.h: Protect long long constants with __extension__.
17744         * sysdeps/i386/bits/byteswap.h: Likewise.
17745         * sysdeps/ia64/bits/byteswap.h: Likewise.
17746         * sysdeps/s390/bits/byteswap.h: Likewise.
17747         * sysdeps/x86_64/bits/byteswap.h: Likewise.
17749 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17751         [BZ #13540]
17752         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
17753         destination buffer.
17754         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17756 2011-12-23  Marek Polacek  <polacek@redhat.com>
17758         * elf/dl-addr.c (determine_info): Add inline keyword.
17759         * elf/tst-auditmod4b.c (check_avx): Likewise.
17760         * elf/tst-auditmod6b.c (check_avx): Likewise.
17761         * elf/tst-auditmod6c.c (check_avx): Likewise.
17762         * elf/tst-auditmod7b.c (check_avx): Likewise.
17764 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
17766         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
17767         !__SSE_MATH__.
17769 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17771         [BZ #13540]
17772         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
17773         processing for last bytes.
17775 2011-08-06  Bruno Haible  <bruno@clisp.org>
17777         [BZ #13061]
17778         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
17779         U+0385, not to U+1FEE.
17781         [BZ #13062]
17782         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
17783         entry for U+00A5 U+0301.
17785 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
17787         [BZ #13166]
17788         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
17789         buffer for the output is too small.
17791         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
17792         optimization.
17794         [BZ #13185]
17795         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
17796         SSE flags if possible.
17798 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17800         [BZ #13540]
17801         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
17802         processing for last bytes.
17804 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
17806         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
17807         (syscall-list-default-options, syscall-list-default-condition)
17808         (syscall-list-includes): Define.
17809         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
17810         list of ABIs and options and #if conditions for each ABI.  Do not
17811         handle common syscalls between ABIs specially.
17812         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
17813         Remove.
17814         (syscall-list-variants, syscall-list-32bit-options)
17815         (syscall-list-32bit-condition, syscall-list-64bit-options)
17816         (syscall-list-64bit-condition): Define.
17817         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
17818         (syscall-list-variants, syscall-list-32bit-options)
17819         (syscall-list-32bit-condition, syscall-list-64bit-options)
17820         (syscall-list-64bit-condition): Define.
17821         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
17822         Remove.
17823         (syscall-list-variants, syscall-list-32bit-options)
17824         (syscall-list-32bit-condition, syscall-list-64bit-options)
17825         (syscall-list-64bit-condition): Define.
17826         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
17827         Remove.
17828         (syscall-list-variants, syscall-list-32bit-options)
17829         (syscall-list-32bit-condition, syscall-list-64bit-options)
17830         (syscall-list-64bit-condition): Define.
17832 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
17834         * locale/iso-639.def: Add brx entry.
17836         [BZ #13328]
17837         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
17838         Proposed by Mariusz_Cukr <marcukr@op.pl>.
17840         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
17841         __feraiseexcept_renamed.
17843 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
17845         [BZ #13538]
17846         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
17847         EPOLLET with unsigned values.
17848         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17849         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17851         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
17852         to large cancellation.
17853         * math/s_cacoshf.c: Likewise.
17854         * math/s_cacoshl.c: Likewise.
17856 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
17858         [BZ #13305]
17859         [BZ #12786]
17860         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
17861         * math/s_cacoshf.c: Likewise.
17862         * math/s_cacoshl.c: Likewise.
17864 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
17866         [BZ #13439]
17867         * iconv/gconv.h: Define __GCONV_SWAP.
17868         * iconvdata/unicode.c: The swap bit must be stored in __flags.
17869         * iconvdata/utf-16.c: Likewise.
17870         * iconvdata/utf-32.c: Likewise.
17872 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
17874         [BZ #13524]
17875         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
17876         numerator after shifting it by one limb.
17878 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
17880         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
17881         under [__USE_EXTERN_INLINES].
17883 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
17885         [BZ #13446]
17886         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
17888 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17890         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
17891         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
17892         optimized code.
17893         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
17894         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
17895         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
17896         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
17897         for strncasecmp/strncasecmp_l compilation.
17898         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
17899         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
17901 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
17903         [BZ #13484]
17904         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
17905         of __asm__.
17907 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
17909         [BZ #13506]
17910         * time/tzfile.c (__tzfile_read): Check values from file header.
17912 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
17914         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
17915         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
17916         * powerpc/powerpc32/dl-start.S: Likewise.
17917         * powerpc/powerpc32/elf/start.S: Likewise.
17918         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17919         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
17920         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
17921         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
17922         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17923         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
17924         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
17925         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17926         * powerpc/powerpc32/fpu/s_round.S: Likewise.
17927         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17928         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17929         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17930         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17931         * powerpc/powerpc32/memset.S: Likewise.
17932         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17933         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17934         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17935         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17936         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17937         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17938         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17939         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17940         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
17941         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
17942         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
17943         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17944         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17946 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17948         * math/libm-test.inc: Added more nearbyint tests.
17949         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
17950         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
17951         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
17952         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
17954 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
17956         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
17957         FD_CLOEXEC.
17959 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17961         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
17962         Add wcscpy-ssse3 wcscpy-c.
17963         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
17964         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
17965         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
17966         * sysdeps/x86_64/wcschr.S: New file.
17967         * sysdeps/x86_64/wcsrchr.S: New file.
17968         * string/test-strcmp.c: Remove checking of wcscmp function for
17969         wrong alignments.
17970         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
17971         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
17972         wcsrchr-sse2 wcsrchr-c.
17973         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
17974         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
17975         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
17976         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
17977         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
17978         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
17979         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
17980         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
17981         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
17982         * wcsmbc/wcschr.c (WCSCHR): New macro.
17984 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17986         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
17987         * wcsmbs/test-wcsrchr.c: New file.
17988         * string/test-strrchr.c: Add wcsrchr support.
17989         (WIDE): New macro.
17990         * wcsmbs/test-wcscpy.c: New file.
17991         * string/test-strcpy.c: Add wcscpy support.
17992         (WIDE): New macro.
17994 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
17996         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
17997         the inner loop.
17999 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
18001         [BZ #13472]
18002         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
18004 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
18006         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
18007         Minor optimizations.
18009         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
18010         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
18011         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
18013 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
18015         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
18016         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
18017         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
18018         for gcc to avoid warnings.
18019         * inet/Makefile (tests): Add tst-checks.
18020         * inet/tst-checks.c: New file.
18022         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
18023         warning.
18025         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
18026         __wmemcmp_sse2.
18028         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
18029         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
18031         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
18033 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
18035         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
18036         problem.
18038         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
18040 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
18042         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
18043         conditional on GCC version.
18044         (__arch_compare_and_exchange_val_8_acq)
18045         (__arch_compare_and_exchange_val_16_acq)
18046         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
18047         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
18048         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
18050 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
18052         * sysdeps/sh/backtrace.c: New file.
18054 2011-12-02  Andreas Schwab  <schwab@redhat.com>
18056         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
18057         parenthesis.
18059 2011-12-01  Andreas Schwab  <schwab@redhat.com>
18061         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
18062         falling back to utime.
18064 2011-11-30  Andreas Schwab  <schwab@redhat.com>
18066         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
18067         expectations for float.
18069 2011-11-29  Andreas Schwab  <schwab@redhat.com>
18071         * locale/weight.h (findidx): Add parameter len.
18072         * locale/weightwc.h (findidx): Likewise.
18073         * posix/fnmatch_loop.c (FCT): Adjust caller.
18074         * posix/regcomp.c (build_equiv_class): Likewise.
18075         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
18076         * posix/regexec.c (check_node_accept_bytes): Likewise.
18077         * string/strcoll_l.c (STRCOLL): Likewise.
18078         * string/strxfrm_l.c (STRXFRM): Likewise.
18080 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
18082         * Makefile.in: Remove CVSOPT handling.
18083         * configure.in: Remove use of AC_REVISION.
18084         * iconvdata/Makefile (distribute): No need to filter out CVS.
18085         * scripts/list-sources.sh: Remove CVS, subversion and monotone
18086         handling.
18088 2011-11-16  Andreas Schwab  <schwab@redhat.com>
18090         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
18091         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
18092         [USE_AS_STRNCASECMP_L]: Likewise.
18093         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
18094         NO_TLS_DIRECT_SEG_REFS.
18095         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
18096         Fix argument offsets for non-PIC.
18097         [USE_AS_STRNCASECMP_L]: Likewise.
18098         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
18099         NO_TLS_DIRECT_SEG_REFS.
18101 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
18103         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
18104         O_CLOEXEC.
18105         * locale/loadlocale.c (_nl_load_locale): Likewise.
18107 2011-11-15  Andreas Schwab  <schwab@redhat.com>
18109         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
18110         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
18111         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
18112         (SYSCALL_GETTIME): Set errno on error.
18114         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
18115         count references to noai6ai_cached.
18117 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
18119         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
18121         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
18122         FD_CLOEXEC for /proc/self/maps.
18124         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
18125         FD_CLOEXEC for /proc/meminfo.
18127         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
18128         gai.conf.
18130         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
18131         FD_CLOEXEC for given file.
18133         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
18135         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
18136         FD_CLOEXEC for /etc/hosts.
18137         (_gethtent): Likewise.
18139         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
18141         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
18142         cancellation and set FD_CLOEXEC for /etc/netgroup.
18144         * nss/nss_files/files-key.c (search): Don't allow cancellation when
18145         reading /etc/publickey.
18147         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
18148         allow cancellation when reading /etc/group.
18150         * nss/nss_files/files-alias.c (internal_setent): Don't allow
18151         cancellation.
18152         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
18154         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
18155         when using data file.
18157         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
18159         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
18160         (write_nis_obj): Use "c" and "e" in fopen.
18162         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
18164         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
18166         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
18168         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
18170         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
18171         locale.alias.
18173         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
18175         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
18177         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
18179         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
18180         file parsing and set FD_CLOEXEC.
18182 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
18184         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
18186 2011-11-14  Andreas Schwab  <schwab@redhat.com>
18188         * malloc/arena.c (arena_get2): Don't call reused_arena when
18189         _int_new_arena failed.
18191 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
18193         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
18194         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
18195         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
18196         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18197         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18198         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
18199         to compile strcasecmp and strncasecmp.
18200         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
18201         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
18203         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
18205 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
18207         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
18208         locale-defines.sym to gen-as-const-headers.
18209         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
18210         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
18211         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
18212         to compile strcasecmp and strncasecmp.
18213         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
18214         strcasecmp_l and strncasecmp_l.
18215         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
18216         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
18217         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
18218         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
18219         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
18220         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
18221         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
18222         * sysdeps/i386/i686/multiarch/strncase.S: New file.
18223         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
18224         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
18225         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
18227 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
18229         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
18230         result of SYSDEP_GETTIME_CPU to retval.
18231         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
18232         parameter list to macro.  Remove trailing semicolon.  Adjust users.
18234         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
18235         variable.
18237         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
18238         mantissa words.
18239         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18241         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
18242         from unused variable.
18244         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
18245         DWARF definitions.
18246         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
18247         for assembling.
18249         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
18250         over namespaces.
18252         * sunrpc/rpc_prot.c (rejected): Fix case value.
18254         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
18255         unsigned long long int to avoid warnings in shift.
18257         * posix/regex_internal.c (re_string_reconstruct): Actually use result
18258         of use of trans.
18259         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
18260         variable tmp.
18262         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
18263         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18264         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18266         * nis/nis_table.c (nis_list): Use variable of correct type for
18267         result of __follow_path call.
18269 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18271         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
18272         of math functions ceil, trunc, floor, round, and sqrt, when
18273         avaliable on the platform.
18274         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
18275         name clash.
18276         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18277         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18278         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18280 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
18282         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
18283         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18285 2011-11-11  Roland McGrath  <roland@hack.frob.com>
18287         * include/unistd.h: Fix __readlink return type.
18288         Reported by Chris Metcalf <cmetcalf@tilera.com>.
18290 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
18292         * stdlib/ucontext.h: Undo last change for makecontext.
18294 2011-11-11  Andreas Schwab  <schwab@redhat.com>
18296         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
18298         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
18299         * setjmp/setjmp.h: Mark functions as non-leaf.
18300         * setjmp/bits/setjmp2.h: Likewise.
18301         * stdlib/ucontext.h: Likewise.
18303 2011-11-10  Andreas Schwab  <schwab@redhat.com>
18305         * malloc/arena.c (_int_new_arena): Don't increment narenas.
18306         (reused_arena): Don't check arena limit.
18307         (arena_get2): Atomically check arena limit.
18309 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
18311         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
18312         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
18314         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
18315         instructions.
18317 2011-11-07  Andreas Schwab  <schwab@redhat.com>
18319         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
18320         handler when locking.
18322         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18323         Fix size of allocated buffer.
18325 2011-11-04  Andreas Schwab  <schwab@redhat.com>
18327         [BZ #10103]
18328         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
18329         declarations for long double functions.
18330         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
18332         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
18334 2011-11-03  Andreas Schwab  <schwab@redhat.com>
18336         * nscd/nscd.c (main): Don't start AVC thread until credentials are
18337         installed.
18339         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
18340         is disabled.
18342 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18344         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
18346 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
18348         * include/alloca.h (stackinfo_alloca_round): Define.
18349         (extend_alloca): Use it.
18350         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
18351         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
18352         here.
18354         * scripts/check-local-headers.sh: Ignore libaudit.h.
18356         * nscd/Makefile (extra-objs): Make recursively expanded.
18358 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
18360         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
18361         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18363         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
18364         * posix/tst-rfc3484-2.c: Likewise.
18365         * posix/tst-rfc3484-3.c: Likewise.
18367         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18368         process_vm_writev.
18369         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
18370         process_vm_writev.
18371         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
18372         process_vm_writev from libc using GLIBC_2.15 version.
18374         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
18376 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
18378         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
18379         stack usage.
18381 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
18383         [BZ #13367]
18384         * nss/getent.c (initgroups_keys): Show error message in case no group
18385         names are given.
18387         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
18388         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
18389         __bump_nl_timestamp.
18390         * nscd/connections (nscd_init): When host database is served open
18391         netlink socket and request notification about configuration changes.
18392         (main_loop_poll): Track netlink file descriptor and bump timestamp
18393         in case data becomes available.
18394         (main_loop_epoll): Likewise.
18395         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
18396         (database_pers_head): Add extra_data fileds.
18397         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
18398         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
18399         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
18400         Adjust caller.
18401         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
18402         in6ai data, call __free_in6ai.
18403         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
18404         Add -DHAVE_NETLINK.
18405         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
18406         interface information.  Reuse previous data if netlink timestamp
18407         is not changed.
18408         (__bump_nl_timestamp): New function.
18409         (__free_in6ai): New function.
18411 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
18413         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
18414         close_not_cancel_no_status here.
18415         (__check_pf): Reorganize code a bit to not call close twice if OOM.
18417 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
18419         [BZ #13276]
18420         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
18421         return value.
18423         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
18424         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
18425         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
18427 2011-07-03  Andreas Jaeger  <aj@suse.de>
18429         [BZ #10709]
18430         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
18431         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
18432         * math/libm-test.inc (sin_test): Add test case.
18434 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
18436         [BZ #13337]
18437         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
18438         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18440         * elf/chroot_canon.c (chroot_canon): Cleanups.
18442         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
18444         [BZ #13335]
18445         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
18446         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18448         * string/test-strchr.c: Make usable for strchrnul testing.
18449         * string/test-strchrnul.c: New file.
18450         * string/Makefile (strop-tests): Add strchrnul.
18452         * po/it.po: Update from translation team.
18453         * po/es.po: Likewise.
18455 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
18457         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
18458         the three constants needed as parameters.  Drop the others.
18459         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
18460         __m128i_strloadu_tolower.
18461         Create and initialize variable zero and use it in all the places
18462         where _mm_setzero_si128 was used.
18464         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
18465         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
18466         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
18467         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
18468         anymore.
18469         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
18470         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
18471         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
18472         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
18473         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
18474         __mpranred, __mptan.
18475         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
18476         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
18477         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
18478         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
18479         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
18480         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
18481         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
18482         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
18483         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
18485 2011-10-28  Andreas Schwab  <schwab@redhat.com>
18487         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
18488         redefine if SHARED.
18489         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
18491         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
18492         wide char related routines to wcsmbs subdir.
18494 2011-10-27  Andreas Schwab  <schwab@redhat.com>
18496         [BZ #13344]
18497         * misc/sys/cdefs.h (__THROWNL): Define.
18498         * posix/unistd.h: Use __THREADNL instead of __THREAD
18499         for memory synchronization functions.
18501 2011-10-26  Roland McGrath  <roland@hack.frob.com>
18503         [BZ #13349]
18504         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
18505         doesn't exist.
18506         * manual/stdio.texi (Obstack Streams): Node removed.
18508 2011-10-26  Andreas Schwab  <schwab@redhat.com>
18510         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
18511         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18512         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18514         * math/math_private.h (math_force_eval): Allow non-addressable
18515         arguments.
18516         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
18518 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
18520         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
18521         file is not needed.
18523         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
18524         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18525         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18526         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18527         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18528         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18529         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18530         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
18531         Add AVX variants.
18532         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
18533         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
18534         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
18535         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
18536         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
18537         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
18538         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
18539         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
18540         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
18541         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
18542         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
18543         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
18544         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
18545         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
18546         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
18547         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
18548         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
18549         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
18550         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
18552         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
18553         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
18555         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
18556         place.  Use VEX encoding when compiling for AVX.
18558 2011-10-25  Andreas Schwab  <schwab@redhat.com>
18560         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
18561         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18563         * string/test-strchr.c (do_test): Don't generate NUL bytes.
18565 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
18567         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
18568         useless if() expression.
18569         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18570         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18571         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18572         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18573         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18574         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18575         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18576         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18577         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18578         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18579         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18580         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18581         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18582         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18583         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18584         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18585         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18586         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18587         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18589         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
18591 2011-10-25  Andreas Schwab  <schwab@redhat.com>
18593         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
18594         condition.
18595         * elf/dl-fini.c (_dl_sort_fini): Likewise.
18597 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
18599         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
18600         .text section.  Avoid duplicate constants.
18601         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18602         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18603         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18604         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18605         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18606         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18607         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18608         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18609         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18610         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
18611         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18612         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18613         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18614         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18615         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18616         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18617         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18618         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18619         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18620         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18621         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18622         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18623         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18624         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
18625         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
18626         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
18627         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
18628         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
18629         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
18630         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18631         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
18632         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18633         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18634         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
18635         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
18636         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18637         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18638         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
18639         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
18640         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
18641         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
18642         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
18643         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
18644         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18645         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18647 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
18649         * sysdeps/x86_64/dla.h: Move to ...
18650         * sysdeps/x86_64/fpu/dla.h: ...here.
18651         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
18652         situations.  Use __builtin_fma only for gcc 4.6 and up.
18654         * config.make.in: Add have-mfma4 entry.
18655         * configure.in: Substitute libc_cv_cc_fma4.
18656         * math/Makefile (dbl-only-routines): Add sincostab.
18657         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
18658         Use __sincostab not sincos.
18659         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
18660         name is a macro.
18661         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18662         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18663         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18664         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
18665         using __copysign.
18666         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
18667         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
18668         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
18669         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
18670         and __inv.
18671         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
18672         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
18673         __copysign.
18674         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
18675         define aliases when function name is a macro.
18676         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
18677         sysdeps/ieee754/dbl-64/sincos.tbl.
18678         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
18679         fma4-enabled routines.
18680         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
18681         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
18682         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
18683         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
18684         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
18685         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
18686         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
18687         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
18688         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
18689         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
18690         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
18691         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
18692         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
18693         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
18694         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
18695         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
18696         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
18697         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
18698         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
18699         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
18700         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
18701         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
18702         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
18703         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
18704         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
18705         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
18706         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
18707         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
18708         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
18709         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
18711         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
18712         rename.
18713         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18714         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18715         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18716         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18717         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18718         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18719         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18720         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18722 2011-10-24  Andreas Schwab  <schwab@redhat.com>
18724         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
18726 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
18728         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
18730         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
18731         prediction.
18732         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
18734         * string/strnlen.c: Don't define STRNLEN, reverse logic.
18735         Remove unused variable magic_bits.
18736         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
18738         * string/strnlen.c: Define and use STRNLEN macro.
18739         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
18740         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
18741         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
18742         * wcsmbs/wcslen.c: Define and use WCSLEN.
18743         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
18744         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
18745         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
18746         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
18747         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
18748         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
18749         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18751 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18753         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18754         strnlen-sse2-no-bsf.
18755         Rename strlen-no-bsf to strlen-sse2-no-bsf.
18756         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
18757         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
18758         Add strnlen support.
18759         (USE_AS_STRNLEN): New macro.
18760         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
18761         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
18762         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
18763         * sysdeps/x86_64/wcslen.S: New file.
18765 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
18767         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18768         XMM-moves are used for copying on small sizes.
18770 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18772         * wcsmbs/Makefile (strop-tests): Add wcschr.
18773         * wcsmbs/test-wcschr.c: New file.
18774         * string/test-strchr.c: Update.
18775         Add wcschr support.
18776         (WIDE): New macro.
18778 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18780         * wcsmbs/Makefile (strop-tests): Add wcslen.
18781         * wcsmbs/test-wcslen.c: New file.
18782         * string/test-strlen.c: Update.
18783         Add wcslen support.
18784         (WIDE): New macro.
18786 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
18788         * po/it.po: Update from translation team.
18790 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18792         * sysdeps/x86_64/wcscmp.S: Update.
18793         Fix wrong comparison semantics.
18794         wcscmp shall use signed comparison not unsigned.
18795         Don't use substraction to avoid overflow bug.
18796         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18797         * wcsmbc/wcscmp.c: Likewise.
18798         * string/test-strcmp.c: Likewise.
18799         Add new tests to check cases with negative values.
18801 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
18803         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
18804         * sysdeps/x86_64/dla.h: ...here.  New file.
18805         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
18806         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18807         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18808         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18809         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18810         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18811         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18812         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18813         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18815 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
18817         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
18818         __ynl_finite aliases.
18820 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
18822         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18824         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
18825         define DLA_FMA.
18826         [DLA_FMA] (EMULV): Use DLA_FMA.
18827         [DLA_FMA] (MUL12): Use EMULV.
18828         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
18829         that are not needed.
18830         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18831         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18832         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18833         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18834         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18835         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18836         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18838 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
18840         * math/s_nan.c: Undef __nan.
18841         * math/s_nanf.c: Undef __nanf.
18842         * math/s_nanl.c: Undef __nanl.
18843         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
18844         "math_private.h".
18846 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
18848         * math/s_catan.c: Add branch predictions.
18849         * math/s_catanf.c: Likewise.
18850         * math/s_catanh.c: Likewise.
18851         * math/s_catanhf.c: Likewise.
18852         * math/s_catanhl.c: Likewise.
18853         * math/s_catanl.c: Likewise.
18854         * math/s_cexp.c: Likewise.
18855         * math/s_cexpf.c: Likewise.
18856         * math/s_cexpl.c: Likewise.
18857         * math/s_clog.c: Likewise.
18858         * math/s_clog10.c: Likewise.
18859         * math/s_clog10f.c: Likewise.
18860         * math/s_clog10l.c: Likewise.
18861         * math/s_clogf.c: Likewise.
18862         * math/s_clogl.c: Likewise.
18863         * math/s_csqrt.c: Likewise.
18864         * math/s_csqrtf.c: Likewise.
18865         * math/s_csqrtl.c: Likewise.
18866         * math/s_ctanf.c: Likewise.
18867         * math/s_ctanh.c: Likewise.
18868         * math/s_ctanhf.c: Likewise.
18869         * math/s_ctanhl.c: Likewise.
18870         * math/s_ctanl.c: Likewise.
18872         * math/math_private.h: Define __nan, __nanf, __nanl.
18873         * math/s_cacosh.c: Include <math_private.h>.
18874         * math/s_cacoshl.c: Likewise.
18875         * math/s_casinh.c: Likewise.
18876         * math/s_casinhf.c: Likewise.
18877         * math/s_casinhl.c: Likewise.
18878         * math/s_ccos.c: Rely entire on ccosh.
18879         * math/s_ccosf.c: Rely entire on ccoshf.
18880         * math/s_ccosl.c: Rely entirely on ccoshl.
18881         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
18882         Remove tests for FE_INVALID.
18883         * math/s_ccoshf.c: Likewise.
18884         * math/s_ccoshl.c: Likewise.
18885         * math/s_csin.c: Likewise.
18886         * math/s_csinf.c: Likewise.
18887         * math/s_csinh.c Likewise.
18888         * math/s_csinhf.c: Likewise.
18889         * math/s_csinhl.c: Likewise.
18890         * math/s_csinl.c: Likewise.
18891         * math/s_ctan.c: Likewise.
18892         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
18893         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
18894         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
18896 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
18898         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
18899         compilation problems.
18901         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
18902         __builtin_expect.
18904 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
18906         * sysdeps/i386/configure.in: Test for -mfma4 option.
18907         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
18908         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
18909         COMMON_CPUID_INDEX_80000001.
18910         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
18911         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
18912         use it if FMA3 is not supported.
18913         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18915         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
18916         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18918 2011-10-20  Andreas Schwab  <schwab@redhat.com>
18920         [BZ #12892]
18921         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
18922         it would create a cycle with a link time dependency.
18924 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
18926         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
18927         instruction.
18928         * string/Makefile (strop-tests): Add rawmemchr.
18929         * string/test-rawmemchr.c: New file.
18931         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
18932         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
18933         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
18934         when compiling str{,n}casecmp and when AVX is available.  Hook up
18935         new optimized code in initializers.
18937 2011-10-19  Andreas Schwab  <schwab@redhat.com>
18939         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
18940         __feraiseexcept instead of feraiseexcept.
18942 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
18944         * math/math_private.h: Define defaults for libc_fetestexcept and
18945         libc_feupdateenv.
18946         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
18947         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18948         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18949         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18950         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18951         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18952         libc_fetestexcept and libc_feupdateenv.
18954         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
18955         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
18956         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
18957         * sysdeps/x86_64/fpu/math_private.h: Define special version of
18958         libc_feholdexcept_setround.
18960         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
18961         Add s_nearbyint-c and s_nearbyintf-c.
18962         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
18963         nearbyintf inlines.
18964         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
18965         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
18966         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
18967         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
18969         * math/math_private.h: Define defaults for libc_fegetround,
18970         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
18971         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
18972         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
18973         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
18974         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
18975         standard functions.
18976         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18977         Remove comments and hacks for old compiler versions.
18978         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18979         libc_fegetround, libc_fesetround, libc_feholdexcept, and
18980         libc_feholdexceptl.
18982 2011-10-18  Andreas Schwab  <schwab@redhat.com>
18984         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
18985         (__feraiseexcept_renamed): Add __NTH.
18986         (feraiseexcept): Add __NTH.  Rename local variables to fix
18987         namespace violations.
18989 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
18991         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
18993         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
18995         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
18996         recently added interfaces.
18997         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
18999         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
19000         about macro parameter expansion.
19002         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
19003         __NO_MATH_INLINES is defined.  Cleanups.
19005         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
19006         and __floorf is target has SSE4.1.
19007         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
19008         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
19009         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
19010         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
19012         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
19013         name.
19014         (floorf): Likewise.
19016         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
19018 2011-10-17  Andreas Schwab  <schwab@redhat.com>
19020         * misc/sys/cdefs.h: Fix last change.
19022         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
19023         database lookup.
19025 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
19027         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
19029         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
19030         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19031         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19032         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19033         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19034         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19035         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19036         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19037         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19038         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
19039         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
19040         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
19041         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
19042         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
19043         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
19044         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
19045         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
19046         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
19047         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
19048         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
19049         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
19050         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
19052         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
19053         ceil, ceilf, floor, floorf.
19055         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
19056         Perform IRELATIVE relocations last.
19058         * elf/do-rel.h: Add another parameter nrelative, replacing the
19059         local variable with the same name.  Change name of the function
19060         to end in Rel or Rela (uppercase).
19061         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
19062         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
19063         elf_dynamic_do_##reloc function.
19065 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
19067         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
19068         is sufficient, at least on modern CPUs.
19070         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
19072         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
19073         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
19075         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
19076         __expl_finite.
19077         * math/bits/math-finite.h: Add entries for exp.
19078         * math/e_expl.c: Add __*_finite alias.
19079         * sysdeps/i386/fpu/e_exp.S: Likewise.
19080         * sysdeps/i386/fpu/e_expf.S: Likewise.
19081         * sysdeps/i386/fpu/e_expl.c: Likewise.
19082         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19083         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19084         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19085         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19086         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
19087         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19088         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19090         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
19091         is sufficient, at least on modern CPUs.
19093         * ctype/ctype-info.c (__ctype_init): Define.
19094         * include/ctype.h (__ctype_init): Declare.
19095         (__ctype_b_loc): The variable is always initialized.
19096         (__ctype_toupper_loc): Likewise.
19097         (__ctype_tolower_loc): Likewise.
19098         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
19099         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
19101 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
19103         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
19105         * configure.in: Also look in $cxxmachine/include for C++ system
19106         headers.
19108 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19110         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
19111         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
19112         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
19113         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
19114         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
19115         (USE_AS_WMEMCMP): New macro.
19116         Fixing indents.
19117         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
19118         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
19119         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
19120         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
19121         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19122         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
19123         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
19124         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
19125         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
19126         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
19127         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
19128         (USE_AS_WMEMCMP): New macro.
19129         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
19130         * sysdeps/string/test-memcmp.c: Update.
19131         Fix simple_wmemcmp.
19132         Add new tests.
19133         * wcsmbs/wmemcmp.c: Update.
19134         (WMEMCMP): New macro.
19135         Fix overflow bug.
19137 2011-10-12  Andreas Jaeger  <aj@suse.de>
19139         [BZ #13268]
19140         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
19142 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
19144         * libio/iofwide.c (do_length): Avoid warning.
19146         * ctype/ctype.h (__isctype_f): Add missing __THROW.
19148 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
19150         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
19152         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
19153         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
19154         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
19155         * sysdeps/i386/i686/fpu/e_log.S: New file.
19156         * sysdeps/i386/i686/fpu/e_logf.S: New file.
19157         * sysdeps/i386/i686/fpu/e_logl.S: New file.
19159         * ctype/ctype.h: Add support for inlined isXXX functions when
19160         compiling C++ code.
19162 2011-10-14  Andreas Schwab  <schwab@redhat.com>
19164         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19166         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
19168 2011-10-13  Roland McGrath  <roland@hack.frob.com>
19170         [BZ #13291]
19171         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
19173 2011-10-13  Andreas Schwab  <schwab@redhat.com>
19175         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
19176         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
19177         feraiseexcept.
19179         * sysdeps/x86_64/memrchr.S: Check for zero size.
19181         * string/stratcliff.c: Add memrchr tests.
19183 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19185         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19186         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
19187         rawmemchr-sse2 rawmemchr-sse2-bsf.
19188         * sysdeps/i386/i686/multiarch/memchr.S: New file.
19189         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
19190         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
19191         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
19192         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
19193         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
19194         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
19195         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
19196         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
19197         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
19198         * string/memrchr.c (MEMRCHR): New macro.
19200 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
19202         Add integration with gcc's -ffinite-math-only and optimize wrapper
19203         functions in libm.
19204         * Versions.def: Define GLIBC_2.15 version for libm.
19205         * math/Makefile (headers): Add bits/math-finite.h.
19206         * math/bits/math-finite.h: New file.
19207         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
19208         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
19209         * math/e_acoshl.c: Add __*_finite alias.
19210         * math/e_acosl.c: Likewise.
19211         * math/e_asinl.c: Likewise.
19212         * math/e_atan2l.c: Likewise.
19213         * math/e_atanhl.c: Likewise.
19214         * math/e_coshl.c: Likewise.
19215         * math/e_exp10.c: Likewise.
19216         * math/e_exp10f.c: Likewise.
19217         * math/e_exp10l.c: Likewise.
19218         * math/e_exp2l.c: Likewise.
19219         * math/e_fmodl.c: Likewise.
19220         * math/e_gammal_r.c: Likewise.
19221         * math/e_hypotl.c: Likewise.
19222         * math/e_j0l.c: Likewise.
19223         * math/e_j1l.c: Likewise.
19224         * math/e_jnl.c: Likewise.
19225         * math/e_lgammal_r.c: Likewise.
19226         * math/e_log10l.c: Likewise.
19227         * math/e_log2l.c: Likewise.
19228         * math/e_logl.c: Likewise.
19229         * math/e_powl.c: Likewise.
19230         * math/e_sinhl.c: Likewise.
19231         * math/e_sqrtl.c: Likewise.
19232         * math/e_scalb.c: Completely rewritten and optimized.
19233         * math/e_scalbf.c: Likewise.
19234         * math/e_scalbl.c: Likewise.
19235         * math/w_acos.c: Likewise.
19236         * math/w_acosf.c: Likewise.
19237         * math/w_acosl.c: Likewise.
19238         * math/w_acosh.c: Likewise.
19239         * math/w_acoshf.c: Likewise.
19240         * math/w_acoshl.c: Likewise.
19241         * math/w_asin.c: Likewise.
19242         * math/w_asinf.c: Likewise.
19243         * math/w_asinl.c: Likewise.
19244         * math/w_atan2.c: Likewise.
19245         * math/w_atan2f.c: Likewise.
19246         * math/w_atan2l.c: Likewise.
19247         * math/w_atanh.c: Likewise.
19248         * math/w_atanhf.c: Likewise.
19249         * math/w_atanhl.c: Likewise.
19250         * math/w_exp10.c: Likewise.
19251         * math/w_exp10f.c: Likewise.
19252         * math/w_exp10l.c: Likewise.
19253         * math/w_fmod.c: Likewise.
19254         * math/w_fmodf.c: Likewise.
19255         * math/w_fmodl.c: Likewise.
19256         * math/w_j0.c: Likewise.
19257         * math/w_j0f.c: Likewise.
19258         * math/w_j0l.c: Likewise.
19259         * math/w_j1.c: Likewise.
19260         * math/w_j1f.c: Likewise.
19261         * math/w_j1l.c: Likewise.
19262         * math/w_jn.c: Likewise.
19263         * math/w_jnf.c: Likewise.
19264         * math/w_log.c: Likewise.
19265         * math/w_logf.c: Likewise.
19266         * math/w_logl.c: Likewise.
19267         * math/w_log10.c: Likewise.
19268         * math/w_log10f.c: Likewise.
19269         * math/w_log10l.c: Likewise.
19270         * math/w_log2.c: Likewise.
19271         * math/w_log2f.c: Likewise.
19272         * math/w_log2l.c: Likewise.
19273         * math/w_pow.c: Likewise.
19274         * math/w_powf.c: Likewise.
19275         * math/w_powl.c: Likewise.
19276         * math/w_remainder.c: Likewise.
19277         * math/w_remainderf.c: Likewise.
19278         * math/w_remainderl.c: Likewise.
19279         * math/w_scalb.c: Likewise.
19280         * math/w_scalbf.c: Likewise.
19281         * math/w_scalbl.c: Likewise.
19282         * math/w_sqrt.c: Likewise.
19283         * math/w_sqrtf.c: Likewise.
19284         * math/w_sqrtl.c: Likewise.
19285         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
19286         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
19287         used.
19288         * math/math_private.h: Declare __kernel_standard_f.
19289         * math/w_cosh.c: Remove cruft and optimize a bit.
19290         * math/w_coshf.c: Likewise.
19291         * math/w_coshl.c: Likewise.
19292         * math/w_exp2.c: Likewise.
19293         * math/w_exp2f.c: Likewise.
19294         * math/w_exp2l.c: Likewise.
19295         * math/w_hypot.c: Likewise.
19296         * math/w_hypotf.c: Likewise.
19297         * math/w_hypotl.c: Likewise.
19298         * math/w_lgamma.c: Likewise.
19299         * math/w_lgamma_r.c: Likewise.
19300         * math/w_lgammaf.c: Likewise.
19301         * math/w_lgammaf_r.c: Likewise.
19302         * math/w_lgammal.c: Likewise.
19303         * math/w_lgammal_r.c: Likewise.
19304         * math/w_sinh.c: Likewise.
19305         * math/w_sinhf.c: Likewise.
19306         * math/w_sinhl.c: Likewise.
19307         * math/w_tgamma.c: Likewise.
19308         * math/w_tgammaf.c: Likewise.
19309         * math/w_tgammal.c: Likewise.
19310         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19311         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19312         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
19313         Minor optimizations.  Pretty printing.  Remove cruft.
19314         * sysdeps/i386/fpu/e_acosf.S: Likewise.
19315         * sysdeps/i386/fpu/e_acosh.S: Likewise.
19316         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19317         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19318         * sysdeps/i386/fpu/e_acosl.c: Likewise.
19319         * sysdeps/i386/fpu/e_asin.S: Likewise.
19320         * sysdeps/i386/fpu/e_asinf.S: Likewise.
19321         * sysdeps/i386/fpu/e_atan2.S: Likewise.
19322         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
19323         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
19324         * sysdeps/i386/fpu/e_atanh.S: Likewise.
19325         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19326         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19327         * sysdeps/i386/fpu/e_exp10.S: Likewise.
19328         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
19329         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
19330         * sysdeps/i386/fpu/e_exp2.S: Likewise.
19331         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
19332         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
19333         * sysdeps/i386/fpu/e_fmod.S: Likewise.
19334         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
19335         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
19336         * sysdeps/i386/fpu/e_hypot.S: Likewise.
19337         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
19338         * sysdeps/i386/fpu/e_log.S: Likewise.
19339         * sysdeps/i386/fpu/e_log10.S: Likewise.
19340         * sysdeps/i386/fpu/e_log10f.S: Likewise.
19341         * sysdeps/i386/fpu/e_log10l.S: Likewise.
19342         * sysdeps/i386/fpu/e_log2.S: Likewise.
19343         * sysdeps/i386/fpu/e_log2f.S: Likewise.
19344         * sysdeps/i386/fpu/e_log2l.S: Likewise.
19345         * sysdeps/i386/fpu/e_logf.S: Likewise.
19346         * sysdeps/i386/fpu/e_logl.S: Likewise.
19347         * sysdeps/i386/fpu/e_pow.S: Likewise.
19348         * sysdeps/i386/fpu/e_powf.S: Likewise.
19349         * sysdeps/i386/fpu/e_powl.S: Likewise.
19350         * sysdeps/i386/fpu/e_remainder.S: Likewise.
19351         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
19352         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
19353         * sysdeps/i386/fpu/e_scalb.S: Likewise.
19354         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19355         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19356         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
19357         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
19358         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
19359         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19360         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19361         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19362         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19363         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19364         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19365         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19366         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19367         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19368         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19369         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19370         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19371         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19372         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19373         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19374         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19375         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19376         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19377         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19378         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19379         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19380         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19381         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19382         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19383         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19384         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19385         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19386         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19387         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
19388         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19389         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19390         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19391         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19392         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19393         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19394         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19395         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19396         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19397         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19398         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19399         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19400         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19401         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19402         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19403         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19404         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19405         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19406         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19407         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19408         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
19409         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19410         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19411         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19412         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19413         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19414         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19415         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19416         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19417         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19418         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19419         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19420         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19421         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19422         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19423         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19424         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19425         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19426         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19427         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
19428         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19429         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19430         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19431         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19432         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19433         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19434         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19435         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19436         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19437         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19438         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19439         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19440         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19441         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
19442         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19443         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19444         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19445         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19446         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19447         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19448         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19449         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19450         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19451         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19452         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19453         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19454         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19455         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19456         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
19457         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
19458         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
19459         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
19460         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
19461         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
19462         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
19463         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19464         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19465         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19466         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19467         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
19468         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19469         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
19470         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
19471         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
19472         (__isnanf): Likewise.
19473         (__isinf_ns): Likewise.
19474         (__isinf_nsf): Likewise.
19475         (__finite): Likewise.
19476         (__finitef): Likewise.
19477         (__ieee754_sqrt): Define as macro.
19478         (__ieee754_sqrtf): Define as macro.
19479         (__ieee754_sqrtl): Define as macro.
19480         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
19481         inlined copy.
19482         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
19483         __FINITE_MATH_ONLY__ consistent.
19484         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
19486 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
19488         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
19489         of rawmemchr.
19491         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
19493 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
19495         * po/ja.po: Update from translation team.
19497 2011-10-08  Roland McGrath  <roland@hack.frob.com>
19499         * locale/programs/locarchive.c (prepare_address_space): New function.
19500         (create_archive, enlarge_archive, open_archive): Use it.
19502         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
19503         inside [SHARED], where it is used.
19505         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
19507         * nss/getent.c (netgroup_keys): Remove unused variable.
19508         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19510 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
19512         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
19513         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
19514         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
19515         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
19516         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
19517         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
19518         * math/Makefile (libm-calls): Add s_isinf_ns.
19519         * math/divtc3.c: Use __isinf_nsl instead of isinf.
19520         * math/multc3.c: Likewise.
19521         * math/s_casin.c: Likewise.
19522         * math/s_casinf.c: Likewise.
19523         * math/s_casinl.c: Likewise.
19524         * math/s_ccos.c: Likewise.
19525         * math/s_ccosf.c: Likewise.
19526         * math/s_ccosl.c: Likewise.
19527         * math/s_ctan.c: Likewise.
19528         * math/s_ctanf.c: Likewise.
19529         * math/s_ctanh.c: Likewise.
19530         * math/s_ctanhf.c: Likewise.
19531         * math/s_ctanhl.c: Likewise.
19532         * math/s_ctanl.c: Likewise.
19533         * math/w_fmod.c: Likewise.
19534         * math/w_fmodf.c: Likewise.
19535         * math/w_fmodl.c: Likewise.
19536         * math/w_remainder.c: Likewise.
19537         * math/w_remainderf.c: Likewise.
19538         * math/w_remainderl.c: Likewise.
19539         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
19540         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
19541         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
19542         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
19543         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
19544         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
19545         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
19546         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
19548         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
19549         of the number.
19550         * stdio-common/printf_fphex.c: Likewise.
19551         * stdio-common/printf_size.c: Likewise.
19553         * math/e_exp10.c: Include math_private.h using <...> not "...".
19554         * math/e_exp10f.c: Likewise.
19555         * math/e_exp10l.c: Likewise.
19556         * math/e_exp2l.c: Likewise.
19557         * math/e_j0l.c: Likewise.
19558         * math/e_j1l.c: Likewise.
19559         * math/e_jnl.c: Likewise.
19560         * math/e_lgammal_r.c: Likewise.
19561         * math/e_rem_pio2l.c: Likewise.
19562         * math/e_scalb.c: Likewise.
19563         * math/e_scalbf.c: Likewise.
19564         * math/e_scalbl.c: Likewise.
19565         * math/k_cosl.c: Likewise.
19566         * math/k_sinl.c: Likewise.
19567         * math/k_tanl.c: Likewise.
19568         * math/s_cacoshf.c: Likewise.
19569         * math/s_catan.c: Likewise.
19570         * math/s_catanf.c: Likewise.
19571         * math/s_catanh.c: Likewise.
19572         * math/s_catanhf.c: Likewise.
19573         * math/s_catanhl.c: Likewise.
19574         * math/s_catanl.c: Likewise.
19575         * math/s_ccosh.c: Likewise.
19576         * math/s_ccoshf.c: Likewise.
19577         * math/s_ccoshl.c: Likewise.
19578         * math/s_cexp.c: Likewise.
19579         * math/s_cexpf.c: Likewise.
19580         * math/s_cexpl.c: Likewise.
19581         * math/s_clog.c: Likewise.
19582         * math/s_clog10.c: Likewise.
19583         * math/s_clog10f.c: Likewise.
19584         * math/s_clog10l.c: Likewise.
19585         * math/s_clogf.c: Likewise.
19586         * math/s_clogl.c: Likewise.
19587         * math/s_csin.c: Likewise.
19588         * math/s_csinf.c: Likewise.
19589         * math/s_csinh.c: Likewise.
19590         * math/s_csinhf.c: Likewise.
19591         * math/s_csinhl.c: Likewise.
19592         * math/s_csinl.c: Likewise.
19593         * math/s_csqrt.c: Likewise.
19594         * math/s_csqrtf.c: Likewise.
19595         * math/s_csqrtl.c: Likewise.
19596         * math/s_ctan.c: Likewise.
19597         * math/s_ctanf.c: Likewise.
19598         * math/s_ctanh.c: Likewise.
19599         * math/s_ctanhf.c: Likewise.
19600         * math/s_ctanhl.c: Likewise.
19601         * math/s_ctanl.c: Likewise.
19602         * math/s_ldexp.c: Likewise.
19603         * math/s_ldexpf.c: Likewise.
19604         * math/s_ldexpl.c: Likewise.
19605         * math/s_significand.c: Likewise.
19606         * math/s_significandf.c: Likewise.
19607         * math/s_significandl.c: Likewise.
19608         * math/w_acos.c: Likewise.
19609         * math/w_acosf.c: Likewise.
19610         * math/w_acosh.c: Likewise.
19611         * math/w_acoshf.c: Likewise.
19612         * math/w_acoshl.c: Likewise.
19613         * math/w_acosl.c: Likewise.
19614         * math/w_asin.c: Likewise.
19615         * math/w_asinf.c: Likewise.
19616         * math/w_asinl.c: Likewise.
19617         * math/w_atan2.c: Likewise.
19618         * math/w_atan2f.c: Likewise.
19619         * math/w_atan2l.c: Likewise.
19620         * math/w_atanh.c: Likewise.
19621         * math/w_atanhf.c: Likewise.
19622         * math/w_atanhl.c: Likewise.
19623         * math/w_cosh.c: Likewise.
19624         * math/w_coshf.c: Likewise.
19625         * math/w_coshl.c: Likewise.
19626         * math/w_dremf.c: Likewise.
19627         * math/w_exp10.c: Likewise.
19628         * math/w_exp10f.c: Likewise.
19629         * math/w_exp10l.c: Likewise.
19630         * math/w_exp2.c: Likewise.
19631         * math/w_exp2f.c: Likewise.
19632         * math/w_fmod.c: Likewise.
19633         * math/w_fmodf.c: Likewise.
19634         * math/w_fmodl.c: Likewise.
19635         * math/w_hypot.c: Likewise.
19636         * math/w_hypotf.c: Likewise.
19637         * math/w_hypotl.c: Likewise.
19638         * math/w_j0.c: Likewise.
19639         * math/w_j0f.c: Likewise.
19640         * math/w_j0l.c: Likewise.
19641         * math/w_j1.c: Likewise.
19642         * math/w_j1f.c: Likewise.
19643         * math/w_j1l.c: Likewise.
19644         * math/w_jn.c: Likewise.
19645         * math/w_jnf.c: Likewise.
19646         * math/w_jnl.c: Likewise.
19647         * math/w_lgamma.c: Likewise.
19648         * math/w_lgamma_r.c: Likewise.
19649         * math/w_lgammaf.c: Likewise.
19650         * math/w_lgammaf_r.c: Likewise.
19651         * math/w_lgammal.c: Likewise.
19652         * math/w_lgammal_r.c: Likewise.
19653         * math/w_log.c: Likewise.
19654         * math/w_log10.c: Likewise.
19655         * math/w_log10f.c: Likewise.
19656         * math/w_log10l.c: Likewise.
19657         * math/w_log2.c: Likewise.
19658         * math/w_log2f.c: Likewise.
19659         * math/w_log2l.c: Likewise.
19660         * math/w_logf.c: Likewise.
19661         * math/w_logl.c: Likewise.
19662         * math/w_pow.c: Likewise.
19663         * math/w_powf.c: Likewise.
19664         * math/w_powl.c: Likewise.
19665         * math/w_remainder.c: Likewise.
19666         * math/w_remainderf.c: Likewise.
19667         * math/w_remainderl.c: Likewise.
19668         * math/w_scalb.c: Likewise.
19669         * math/w_scalbf.c: Likewise.
19670         * math/w_scalbl.c: Likewise.
19671         * math/w_sinh.c: Likewise.
19672         * math/w_sinhf.c: Likewise.
19673         * math/w_sinhl.c: Likewise.
19674         * math/w_sqrt.c: Likewise.
19675         * math/w_sqrtf.c: Likewise.
19676         * math/w_sqrtl.c: Likewise.
19677         * math/w_tgamma.c: Likewise.
19678         * math/w_tgammaf.c: Likewise.
19679         * math/w_tgammal.c: Likewise.
19681         * po/ja.po: Update from translation team.
19683 2011-09-29  Andreas Jaeger  <aj@suse.de>
19685         [BZ #13179]
19686         * sunrpc/netname.c (netname2host): Fix logic.
19688         [BZ #6779]
19689         [BZ #6783]
19690         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
19691         correctly.
19692         * math/w_remainder.c (__remainder): Likewise.
19693         * math/w_remainderf.c (__remainderf): Likewise.
19694         * math/libm-test.inc (remainder_test): Add test cases.
19696 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19698         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
19699         sdiv_qrnnd.
19701 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
19703         * string/test-memcmp.c: Avoid unncessary #defines.
19704         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19706 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19708         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
19709         Use new sse2 version for core i3 - i7 as it's faster
19710         than sse42 version.
19711         (bit_Prefer_PMINUB_for_stringop): New.
19712         * sysdeps/x86_64/rawmemchr.S: Update.
19713         Replace with faster SSE2 version.
19714         * sysdeps/x86_64/memrchr.S: New file.
19715         * sysdeps/x86_64/memchr.S: Update.
19716         Replace with faster SSE2 version.
19718 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
19720         * elf/dl-load.c (lose): Add cast to avoid warning.
19722 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
19724         * po/ca.po: Update from translation team.
19726         * inet/getnetgrent_r.c: Hook up nscd.
19727         * nscd/Makefile (routines): Add nscd_netgroup.
19728         (nscd-modules): Add netgroupcache.
19729         (CFLAGS-netgroupcache.c): Define.
19730         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
19731         (cache_search): Add const to second parameter.
19732         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
19733         INNETGR.
19734         (dbs): Add netgrdb entry.
19735         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
19736         (verify_persistent_db): Handle netgrdb.
19737         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
19738         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
19739         GETFDNETGR.
19740         (netgroup_response_header): Define.
19741         (innetgroup_response_header): Define.
19742         (datahead): Add netgroup_response_header and innetgroup_response_header
19743         elements.
19744         * nscd/nscd.conf: Add entries for netgroup cache.
19745         * nscd/nscd.h (dbtype): Add netgrdb.
19746         (_PATH_NSCD_NETGROUP_DB): Define.
19747         (netgroup_iov_disabled): Declare.
19748         (xmalloc, xcalloc, xrealloc): Move declarations here.
19749         (cache_search): Adjust prototype.
19750         Add netgroup-related prototypes.
19751         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
19752         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
19753         (__nscd_innetgr): Declare.
19754         * nscd/selinux.c (perms): Use access_vector_t as element type and
19755         add netgroup-related initializers.
19756         * nscd/netgroupcache.c: New file.
19757         * nscd/nscd_netgroup.c: New file.
19758         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
19759         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
19760         For four parameters use innetgr.
19761         * nss/nss_files/files-init.c: Add definition and callback for netgr.
19762         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
19763         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
19764         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
19766         * nscd/connections.c (register_traced_file): Don't register file
19767         for disabled databases.
19769 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
19771         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
19773         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
19774         from tree and freeing node.
19776 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
19778         * nss/nsswitch.c (__nss_database_lookup): Handle
19779         nss_parse_service_list out of memory case.
19781 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
19783         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
19784         out of memory case.
19786 2011-10-04  Andreas Schwab  <schwab@redhat.com>
19788         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
19789         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
19790         pass it down.
19791         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
19792         elf_machine_rela, elf_machine_lazy_rel.
19793         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
19794         (ELF_DYNAMIC_DO_REL): Likewise.
19795         (ELF_DYNAMIC_DO_RELA): Likewise.
19796         (ELF_DYNAMIC_RELOCATE): Likewise.
19797         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
19798         to ELF_DYNAMIC_DO_REL.
19799         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
19800         (dl_main): In trace mode always set __RTLD_NOIFUNC.
19801         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
19802         elf_machine_rela.
19803         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
19804         skip_ifunc, don't call ifunc function if non-zero.
19805         (elf_machine_rela): Likewise.
19806         (elf_machine_lazy_rel): Likewise.
19807         (elf_machine_lazy_rela): Likewise.
19808         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19809         (elf_machine_lazy_rel): Likewise.
19810         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19811         Likewise.
19812         (elf_machine_lazy_rel): Likewise.
19813         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19814         Likewise.
19815         (elf_machine_lazy_rel): Likewise.
19816         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
19817         (elf_machine_lazy_rel): Likewise.
19818         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
19819         (elf_machine_lazy_rel): Likewise.
19820         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19821         (elf_machine_lazy_rel): Likewise.
19822         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
19823         (elf_machine_lazy_rel): Likewise.
19824         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
19825         (elf_machine_lazy_rel): Likewise.
19826         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19827         (elf_machine_lazy_rel): Likewise.
19829 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
19831         * nss/nss_files/files-init.c (_nss_files_init): Use static
19832         initialization for all the *_traced_file variables.
19834 2011-09-28  Andreas Schwab  <schwab@redhat.com>
19836         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19838 2011-09-27  Roland McGrath  <roland@hack.frob.com>
19840         [BZ #13226]
19841         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
19843 2011-09-27  Andreas Schwab  <schwab@redhat.com>
19845         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19846         Reread the line before reparsing it.
19848 2011-09-26  Andreas Schwab  <schwab@redhat.com>
19850         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
19852 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
19853             Maxim Kuvyrkov  <maxim@codesourcery.com>
19854             Joseph Myers  <joseph@codesourcery.com>
19856         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
19857         if needed for __stack_chk_guard.
19859 2011-09-19  Roland McGrath  <roland@hack.frob.com>
19861         * sysdeps/posix/spawni.c (script_execute): Always define it.
19862         It will be optimized away if unused.
19863         (maybe_script_execute): New function.
19864         (__spawni): Call it.
19866         * Makerules: Don't include tls.make.
19867         (config-tls): Always set to thread.
19868         * tls.make.c: File removed.
19870 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
19872         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
19873         * config.make.in (CPPFLAGS-config): New substituted variable.
19875 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
19877         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
19879         [BZ #13192]
19880         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
19881         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
19883 2011-09-15  Roland McGrath  <roland@hack.frob.com>
19885         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
19886         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
19887         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19888         (CALL_FAIL): Likewise.
19889         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
19890         (CALL_FAIL): Macro removed.
19891         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
19893 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
19895         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
19896         for __FINITE_MATH_ONLY__ == 1.
19898 2011-09-15  Andreas Schwab  <schwab@redhat.com>
19900         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
19901         __ieee754_sqrt instead of sqrt.
19902         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
19903         __ieee754_sqrtf instead of sqrtf.
19904         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
19905         __floorf instead of floorf.
19906         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
19907         __floorf, __truncf instead of floorf, truncf.
19909 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
19911         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
19913         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
19914         __extern_always_inline.
19915         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
19916         32-bit.
19918 2011-09-14  Andreas Schwab  <schwab@redhat.com>
19920         * elf/rtld.c (dl_main): Also relocate in dependency order when
19921         doing symbol dependency testing.
19923 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
19925         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19926         Always define `refsym'.
19928 2011-09-13  Andreas Schwab  <schwab@redhat.com>
19930         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
19931         (__FD_ELT): Renamed from __FDELT.
19932         * misc/bits/select2.h (__FD_ELT): Likewise.
19933         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
19934         __FD_MASK instead of __FDELT, __FDMASK.
19935         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19936         Likewise.
19937         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19938         Likewise.
19940         * elf/Makefile (gen-ldd): Fix pattern.
19942         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
19943         (init_tls): Likewise.
19945 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
19947         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
19949 2011-09-12  Andreas Schwab  <schwab@redhat.com>
19951         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
19952         `struct cmsghdr *' instead of `void *'.
19953         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
19954         Likewise.
19956 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
19958         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
19959         if non-absolute.
19960         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
19961         ldd_rewrite_script.
19963 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
19965         * configure.in: Remove --with-tls option.
19966         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
19967         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
19968         out in case it is missing.
19969         * sysdeps/ia64/elf/configure.in: Likewise.
19970         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
19971         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
19972         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
19973         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
19974         * sysdeps/sh/elf/configure.in: Likewise.
19975         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
19976         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19977         * sysdeps/x86_64/elf/configure.in: Likewise.
19978         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
19979         * sysdeps/mach/hurd/tls.h: Likewise.
19981         [BZ #13067]
19982         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
19984         [BZ #13090]
19985         * configure.in: Fix use of AC_INIT.
19987         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
19989 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
19991         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
19992         __set_errno.
19993         * malloc/hooks.c: Likewise.
19995         [BZ #11929]
19996         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
19997         variables statically.
19998         (narenas): Initialize.
19999         (list_lock): Initialize.
20000         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
20001         initializtion of main_arena and list_lock.  Small cleanups.
20002         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
20003         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
20004         Add initializers to main_arena and mp_.
20005         (malloc_state): Remove pagesize member.  Change all users to use
20006         GLRO(dl_pagesize).
20008         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
20009         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
20010         is always initialized.
20012         * malloc/malloc.c: Removed unused configurations and dead code.
20013         * malloc/arena.c: Likewise.
20014         * malloc/hooks.c: Likewise.
20015         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
20017         * include/tls.h: Removed.  USE___THREAD must always be defined.
20018         * bits/libc-tsd.h: Don't handle !USE___THREAD.
20019         * elf/dl-libc.c: Likewise.
20020         * elf/dl-tsd.c: Likewise.
20021         * include/errno.h: Likewise.
20022         * include/netdb.h: Likewise.
20023         * include/resolv.h: Likewise.
20024         * inet/herrno-loc.c: Likewise.
20025         * inet/herrno.c: Likewise.
20026         * malloc/arena.c: Likewise.
20027         * malloc/hooks.c: Likewise.
20028         * malloc/malloc.c: Likewise.
20029         * resolv/res-state.c: Likewise.
20030         * resolv/res_libc.c: Likewise.
20031         * sysdeps/i386/dl-machine.h: Likewise.
20032         * sysdeps/ia64/dl-machine.h: Likewise.
20033         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
20034         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20035         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20036         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20037         * sysdeps/sh/dl-machine.h: Likewise.
20038         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20039         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20040         * sysdeps/unix/i386/sysdep.S: Likewise.
20041         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20042         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
20043         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20044         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20045         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20046         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20047         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20048         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20049         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20050         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20051         * sysdeps/unix/x86_64/sysdep.S: Likewise.
20052         * sysdeps/x86_64/dl-machine.h: Likewise.
20053         * tls.make.c: Likewise.
20055         * configure.in: Remove --with-__thread option.  Make tests for
20056         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
20057         tls_model attribute fail if no support is available.  Remove
20058         USE_IN_LIBIO.
20059         * Makeconfig: Adjust for dropped configure option.  All features are
20060         now mandatory.
20061         * Makerules: Likewise.
20062         * Versions.def: Likewise.
20063         * argp/argp-fmtstream.c: Likewise.
20064         * argp/argp-fmtstream.h: Likewise.
20065         * argp/argp-help.c: Likewise.
20066         * assert/assert.c: Likewise.
20067         * config.h.in: Likewise.
20068         * config.make.in: Likewise.
20069         * configure: Likewise.
20070         * configure.in: Likewise.
20071         * csu/Versions: Likewise.
20072         * csu/init.c: Likewise.
20073         * elf/tst-audit2.c: Likewise.
20074         * elf/tst-tls10.c: Likewise.
20075         * elf/tst-tls10.h: Likewise.
20076         * elf/tst-tls11.c: Likewise.
20077         * elf/tst-tls12.c: Likewise.
20078         * elf/tst-tls14.c: Likewise.
20079         * elf/tst-tlsmod11.c: Likewise.
20080         * elf/tst-tlsmod12.c: Likewise.
20081         * elf/tst-tlsmod13.c: Likewise.
20082         * elf/tst-tlsmod13a.c: Likewise.
20083         * elf/tst-tlsmod14a.c: Likewise.
20084         * elf/tst-tlsmod15b.c: Likewise.
20085         * elf/tst-tlsmod16a.c: Likewise.
20086         * elf/tst-tlsmod16b.c: Likewise.
20087         * elf/tst-tlsmod7.c: Likewise.
20088         * elf/tst-tlsmod8.c: Likewise.
20089         * elf/tst-tlsmod9.c: Likewise.
20090         * gmon/gmon.c: Likewise.
20091         * grp/fgetgrent_r.c: Likewise.
20092         * grp/putgrent.c: Likewise.
20093         * hurd/fopenport.c: Likewise.
20094         * include/libc-symbols.h: Likewise.
20095         * include/tls.h: Likewise.
20096         * intl/gettextP.h: Likewise.
20097         * intl/loadinfo.h: Likewise.
20098         * locale/global-locale.c: Likewise.
20099         * locale/localeinfo.h: Likewise.
20100         * mach/devstream.c: Likewise.
20101         * malloc/arena.c: Likewise.
20102         * malloc/set-freeres.c: Likewise.
20103         * misc/err.c: Likewise.
20104         * misc/getttyent.c: Likewise.
20105         * misc/mntent_r.c: Likewise.
20106         * posix/getopt.c: Likewise.
20107         * posix/wordexp.c: Likewise.
20108         * pwd/fgetpwent_r.c: Likewise.
20109         * resolv/Versions: Likewise.
20110         * resolv/res_hconf.c: Likewise.
20111         * shadow/fgetspent_r.c: Likewise.
20112         * shadow/putspent.c: Likewise.
20113         * stdio-common/printf_fphex.c: Likewise.
20114         * stdio-common/tmpfile.c: Likewise.
20115         * stdlib/abort.c: Likewise.
20116         * stdlib/fmtmsg.c: Likewise.
20117         * sunrpc/auth_unix.c: Likewise.
20118         * sunrpc/clnt_perr.c: Likewise.
20119         * sunrpc/clnt_tcp.c: Likewise.
20120         * sunrpc/clnt_udp.c: Likewise.
20121         * sunrpc/clnt_unix.c: Likewise.
20122         * sunrpc/openchild.c: Likewise.
20123         * sunrpc/svc_simple.c: Likewise.
20124         * sunrpc/svc_tcp.c: Likewise.
20125         * sunrpc/svc_udp.c: Likewise.
20126         * sunrpc/svc_unix.c: Likewise.
20127         * sunrpc/xdr.c: Likewise.
20128         * sunrpc/xdr_array.c: Likewise.
20129         * sunrpc/xdr_rec.c: Likewise.
20130         * sunrpc/xdr_ref.c: Likewise.
20131         * sunrpc/xdr_stdio.c: Likewise.
20133 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
20135         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20137 2011-07-03  Andreas Jaeger  <aj@suse.de>
20139         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
20140         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
20141         regenerate with gen-libm-tests.pl.
20143 2010-05-12  Petr Baudis  <pasky@suse.cz>
20145         [BZ #11589]
20146         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
20147         around j0() zero points by switching to j1().
20148         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20149         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20150         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20151         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20153 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
20155         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
20156         instead of 0.
20157         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
20158         instead of 0.
20159         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20160         Patch in part by Pavel Roskin <proski@gnu.org>.
20162         [BZ #13138]
20163         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
20164         realloc.
20165         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
20166         Free memory block if necessary.
20168         [BZ #12847]
20169         * libio/genops.c (INTDEF): For string streams the _lock pointer can
20170         be NULL.  Don't lock in this case.
20172 2011-09-09  Roland McGrath  <roland@hack.frob.com>
20174         * elf/elf.h (ELFOSABI_GNU): New macro.
20175         (ELFOSABI_LINUX): Define to that.
20177 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
20179         * string/strncat.c (strncat): Undef the symbol in case it has been
20180         defined in bits/string.h.
20182 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
20184         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
20186         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
20187         link map.
20189 2011-08-17  Andreas Jaeger  <aj@suse.de>
20191         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
20193 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
20194             Ian Lance Taylor  <iant@google.com>
20196         * math/libm-test.inc (lround_test): New testcase.
20197         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
20199 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
20201         * Makefile: Remove support for automatic cvs check-ins.
20202         * Makerules: Likewise.
20203         * config.make.in: Likewise.
20204         * configure.in: Likewise.
20205         * intl/Makefile: Likewise.
20206         * locale/Makefile: Likewise.
20207         * po/Makefile: Likewise.
20208         * posix/Makefile: Likewise.
20209         * sysdeps/gnu/Makefile: Likewise.
20210         * sysdeps/mach/hurd/Makefile: Likewise.
20211         * sysdeps/sparc/sparc32/Makefile: Likewise.
20213         [BZ #13118]
20214         * posix/Makefile (bug-regex32-ENV): Define.
20215         Patch by John Stanley <jpsinthemix@verizon.net>.
20217         * misc/Makefile (headers): Add bits/select2.h.
20218         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
20219         * misc/bits/select2.h: New file.
20220         * include/bits/select2.h: New file.
20221         * debug/Makefile (routines): Add fdelt_chk.
20222         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
20223         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
20224         FD_ISSET.
20225         * debug/fdelt_chk.c: New file.
20227         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
20228         * wcsmbs/test-wmemcmp.c: Likewise.
20229         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
20230         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
20232 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20234         * string/Makefile (strop-tests): Add memcmp.
20235         * string/test-wmemcmp.c: New file.
20236         * string/test-memcmp.c: Add wmemcmp support.
20238 2011-09-08  Roland McGrath  <roland@hack.frob.com>
20240         [BZ #13153]
20241         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
20242         2011-07-19 change.
20244         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
20245         garbage value in a __mach_port_mod_refs call in the cases of the
20246         task-self and thread-self ports.
20248 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20250         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
20252 2011-09-08  Andreas Schwab  <schwab@redhat.com>
20254         * elf/dl-load.c (lose): Check for non-null L.
20256 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
20258         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
20260         * elf/dl-libc.c (dlerror_run): Pass back error code from
20261         dl_catch_error.
20263         [BZ #13123]
20264         * elf/dl-load.c (lose): Free l_origin if it is valid.
20266         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
20267         names.
20268         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20269         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20270         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20271         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20272         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20273         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
20275 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20277         * sysdeps/powerpc/fpu/e_hypot.c: New file.
20278         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
20279         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
20280         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
20281         * sysdeps/powerpc/fpu/k_cosf.c: New file.
20282         * sysdeps/powerpc/fpu/k_sinf.c: New file.
20283         * sysdeps/powerpc/fpu/s_cosf.c: New file.
20284         * sysdeps/powerpc/fpu/s_sinf.c: New file.
20285         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
20286         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
20288 2011-08-15  Alan Modra  <amodra@gmail.com>
20290         [BZ #13092]
20291         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
20292         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
20293         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
20294         ppc_mcount to static-only-routines.
20295         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
20296         __mcount_internal.
20297         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
20298         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
20300 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
20302         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
20303         for finite and infinity parameters.
20305 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
20307         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
20308         and add nop instructions for throughput optimization.
20309         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20311 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
20313         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
20314         aligned copy for power7 with vector-scalar instructions.
20315         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20317 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
20319         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
20320         AVX check.
20322 2011-09-07  Andreas Schwab  <schwab@redhat.com>
20324         [BZ #13144]
20325         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
20326         last change.
20328 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
20330         * sysdeps/unix/sysv/linux/x86_64/init-first.c
20331         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
20332         syscall wrapper around clock_gettime in __vdso_clock_gettime.
20333         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
20334         clock_gettime.
20336 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
20338         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
20339         Forgot to demangle the pointer.
20341         * sysdeps/i386/sysdep.h: Define atom_text_section.
20342         * sysdeps/x86_64/sysdep.h: Likewise.
20343         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
20344         section with atom_text_section.
20345         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20346         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20347         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20348         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20349         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
20351         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
20352         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
20353         already be defined.  Change to take two parameters and don't assign
20354         result to variable.  Adjust all users.
20355         Define INTERNAL_GETTIME if not already defined.
20356         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
20357         call.
20358         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
20359         HAVE_CLOCK_GETTIME_VSYSCALL.
20360         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
20362         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
20363         gettimeofday vsyscall, just use time.
20365 2011-09-06  Andreas Schwab  <schwab@redhat.com>
20367         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
20368         <errno.h>.
20370 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
20372         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
20373         syscall on x86-64.
20374         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
20375         syscall.
20376         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20377         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
20378         syscall if possible.
20380 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
20382         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
20383         e_ident.  Don't pass to find_mapsXX.
20384         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
20386 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20388         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20389         strchr-sse2-no-bsf strrchr-sse2-no-bsf
20390         * sysdeps/x86_64/multiarch/strchr.S: Update.
20391         Check bit_slow_BSF bit.
20392         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20393         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
20394         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
20396 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
20398         [BZ #13134]
20399         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
20400         before glibc 2.15.
20401         (tryshell): Define.
20402         (__spawni): Change last parameter to be flag.  Test
20403         SPAWN_XFLAGS_USE_PATH flag to use path or not.
20404         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
20405         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
20406         * posix/spawni.c: Likewise.
20407         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
20408         * posix/spawnp.c: Likewise.  Change normal version to use
20409         SPAWN_XFLAGS_USE_PATH.
20410         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
20411         SPAWN_XFLAGS_TRY_SHELL.
20413         [BZ #13150]
20414         * posix/glob.h: Remove gcc 1.x support.
20416         [BZ #13068]
20417         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
20419 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20421         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20422         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
20423         strrchr-sse2-bsf
20424         * sysdeps/i386/i686/multiarch/strchr.S: New file.
20425         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
20426         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
20427         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
20428         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
20429         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
20431 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20433         * sysdeps/x86_64/wcscmp.S: New file.
20435         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
20436         wcscmp-c wcscmp-sse2
20437         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
20438         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
20439         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
20440         * wcsmbs/wcscmp.c: Allow renaming.
20442 2011-09-05  David S. Miller  <davem@davemloft.net>
20444         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
20445         stack slot, rather than the struct return pointer slot.
20446         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
20447         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
20448         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
20449         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
20451 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
20453         * po/ja.po: Update from translation team.
20455         [BZ #13144]
20456         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
20457         kernel in 64-bit binaries.
20459 2011-09-01  David S. Miller  <davem@davemloft.net>
20461         * elf/elf.h (HWCAP_SPARC_*): Move to..
20462         * sysdeps/sparc/sysdep.h: this new file and add new values.
20463         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
20464         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
20465         _DL_HWCAP_COUNT to 24.
20466         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20467         entries.
20468         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
20469         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
20470         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
20471         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
20472         instead of magic constants.
20473         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20475 2011-08-31  David S. Miller  <davem@davemloft.net>
20477         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
20478         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
20479         Reimplement to do errno handling inline.
20480         (SYSCALL_ERROR_HANDLER): New macro.
20481         (__SYSCALL_STRING): Do not do errno handling in asm.
20482         (__CLONE_SYSCALL_STRING): Delete.
20483         (__INTERNAL_SYSCALL_STRING): Delete.
20484         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
20485         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
20486         (PSEUDO): Reimplement to do errno handling inline.
20487         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
20488         (SYSCALL_ERROR_HANDLER): New macro.
20489         (__SYSCALL_STRING): Do not do errno handling in asm.
20490         (__CLONE_SYSCALL_STRING): Delete.
20491         (__INTERNAL_SYSCALL_STRING): Delete.
20492         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
20493         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
20494         i386.
20495         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
20496         (inline_syscall*): Add 'err' argument.
20497         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
20498         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
20499         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
20500         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
20502         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
20503         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20505 2011-08-30  Andreas Schwab  <schwab@redhat.com>
20507         * elf/rtld.c (dl_main): Relocate objects in dependency order.
20509 2011-08-29  Jiri Olsa <jolsa@redhat.com>
20511         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
20512         directive.
20514 2011-08-24  David S. Miller  <davem@davemloft.net>
20516         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
20518 2011-08-24  Andreas Schwab  <schwab@redhat.com>
20520         * elf/Makefile: Add rules to build and run unload8 test.
20521         * elf/unload8.c: New file.
20522         * elf/unload8mod1.c: New file.
20523         * elf/unload8mod1x.c: New file.
20524         * elf/unload8mod2.c: New file.
20525         * elf/unload8mod3.c: New file.
20527         * elf/dl-close.c (_dl_close_worker): Reset private search list if
20528         it wasn't used.
20530 2011-08-23  David S. Miller  <davem@davemloft.net>
20532         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
20533         subtract stack bias.
20534         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
20535         %sp not %fp in calculations.
20536         (_JMPBUF_UNWINDS_ADJ): Likewise.
20538         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
20539         (aio_suspend): Call it to force an exception region around the
20540         AIO_MISC_WAIT() invocation.
20542 2011-08-23  Andreas Schwab  <schwab@redhat.com>
20544         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
20545         backslash.
20547 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
20549         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
20550         protection macro.
20551         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
20552         and <dl-machine.h>.
20553         (Elf64_FuncDesc): Remove.
20555 2011-08-22  David S. Miller  <davem@davemloft.net>
20557         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
20558         sigaltstack check, add missing cfi directives.
20559         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
20560         missing cfi directives, and sigaltstack handling.
20562 2011-08-16  Andreas Schwab  <schwab@redhat.com>
20564         [BZ #11724]
20565         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
20566         object is seen twice.
20567         * elf/dl-fini.c (_dl_sort_fini): Likewise.
20569         * elf/Makefile (distribute): Add tst-initorder2.c.
20570         (tests): Add tst-initorder2.
20571         (modules-names): Add tst-initorder2a tst-initorder2b
20572         tst-initorder2c tst-initorder2d.  Add rules to build them.
20573         ($(objpfx)tst-initorder2.out): New rule.
20574         * elf/tst-initorder2.c: New file.
20575         * elf/tst-initorder2.exp: New file.
20577 2011-08-22  Andreas Schwab  <schwab@redhat.com>
20579         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
20581         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
20582         dependencies back to end of function.
20584         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20585         $(elfobjdir)/ld.so.
20587 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
20589         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
20590         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
20591         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
20592         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
20593         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
20594         of __vdso_gettimeofday.
20595         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
20596         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
20597         attribute_hidden.
20598         (_libc_vdso_platform_setup): Remove initialization of
20599         __vdso_gettimeofday and __vdso_time.
20601 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
20603         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
20604         and fgetc_unlocked.
20605         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
20606         getc_unlocked.
20608         * elf/dl-open.c (add_to_global): Report additions to the global scope
20609         for LD_DEBUG=scopes.
20610         (dl_open_worker): Also print scope of newly loaded dependencies.
20611         (_dl_show_scope): Indicate if there is no scope.
20613         [BZ #13114]
20614         * stdio-common/Makefile (tests): Add bug24.
20615         * stdio-common/bug24.c: New file.
20617 2011-08-19  Andreas Jaeger  <aj@suse.de>
20619         [BZ #13114]
20620         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
20621         non-existant file when using close-on-exec mode.
20623 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
20625         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
20626         the very first instruction.
20628         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
20629         the CFI state in the end.
20630         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
20631         inclusion of dl-trampoline.h.
20632         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
20634 2011-08-19  Andreas Schwab  <schwab@redhat.com>
20636         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
20637         expectations for long double.
20639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
20640         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
20642 2011-08-14  David S. Miller  <davem@davemloft.net>
20644         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
20645         artificual limit depends upon the system page size.
20647 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
20649         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
20650         * resolv/Makefile: Define CFLAGS-libresolv.
20652 2011-08-17  Andreas Schwab  <schwab@redhat.com>
20654         * nss/makedb.c (compute_tables): Make variables used in nested
20655         function static.
20657 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
20659         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
20660         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
20661         if buffer was too small.
20663         * elf/pldd.c (main): Attach to all threads in the process.
20664         Rewrite /proc handling to use *at functions.
20666 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
20668         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
20669         specifies first scope to show.
20670         (dl_open_worker): Update callers.  Move printing scope of new
20671         object to before the relocation.
20672         * elf/rtld.c (dl_main): Update _dl_show_scope call.
20673         * sysdeps/generic/ldsodefs.h: Update declaration.
20675         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
20676         string for the scope number.
20678 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
20680         * nscd/servicescache.c (cache_addserv): Make sure written is always
20681         initialized.
20683 2011-08-14  Roland McGrath  <roland@hack.frob.com>
20685         * sysdeps/i386/i486/bits/atomic.h
20686         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
20687         statement expression, so as to suppress "set but not used" warning.
20688         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
20690         * string/strncat.c (STRNCAT): Use prototype definition.
20692         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
20693         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
20694         -Iprograms here.
20695         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
20696         (localedef-modules): Add localedef.
20697         (locale-modules): Add locale.
20699         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
20700         * elf/rtld.c (dl_main): Invert order of assignment in last change,
20701         to avoid a warning.
20703 2011-08-14  David S. Miller  <davem@davemloft.net>
20705         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
20706         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
20708 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
20710         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
20711         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
20712         * elf/rtld.c (dl_main): Set l_name of vDSO.
20713         Call _dl_show_scope when DL_DEBUG_SCOPES.
20714         (process_dl_debug): Recognize scopes flag and also set it for all.
20715         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
20716         Declare _dl_show_scope.
20718         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
20719         (do_dlopen): Pass caller_dlopen to dl_open.
20720         (__libc_dlopen_mode): Initialize caller_dlopen.
20722         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
20723         of libc.  Make tolower call locale-independent.  Optimize a bit by
20724         using isdigit instead of isalnum.
20725         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
20727 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
20729         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
20730         was a dependency or dynamically loaded.
20732 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
20734         * intl/l10nflist.c: Allow architecture-specific pop function.
20735         * sysdeps/x86_64/l10nflist.c: New file.
20737         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
20738         classification.
20740 2011-08-10  Andreas Schwab  <schwab@redhat.com>
20742         * include/dirent.h: Add libc_hidden_proto for scandirat and
20743         scandirat64.  Don't declare __scandirat64.
20744         * dirent/scandirat.c: Add libc_hidden_def.
20745         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
20746         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
20748 2011-08-10  David S. Miller  <davem@davemloft.net>
20750         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
20751         enum.
20752         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20753         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20754         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20756 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
20758         * Versions.def [libc]: Add GLIBC_2.15.
20759         * dirent/Makefile (routines): Add scandirat and scandirat64.
20760         * dirent/Versions [libc]: Export scandirat and scandirat64 for
20761         GLIBC_2.15.
20762         * dirent/dirent.h: Declare scandirat and scandirat64.
20763         * dirent/scandirat.c: New file.
20764         * dirent/scandirat64.c: New file.
20765         * sysdeps/wordsize-64/scandirat.c: New file.
20766         * sysdeps/wordsize-64/scandirat64.c: New file.
20767         * dirent/opendir.c: Define opendirat.
20768         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
20769         using scandirat.
20770         * dirent/scandir64.c: Adjust for scandir.c change.
20771         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
20772         __scandirat64, and __scandir_cancel_handler.
20773         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
20774         additional parameter and use openat instead of open (outside of ld.so).
20775         Add new __opendir as wrapper around __opendirat.
20776         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
20777         here without requiring old scandirat implementation.
20779 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
20781         * dirent/scandir.c (cancel_handler): Renamed to
20782         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
20783         defined.  Adjust users.
20784         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
20785         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
20787 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
20789         * string/test-string.h (IMPL): Use __STRING to expand name and then
20790         stringify it.
20792         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
20793         of cleanups.
20795 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20797         * string/Makefile: Update.
20798         (strop-tests): Append strncat.
20799         * string/test-wcscmp.c: New file.
20800         New comprehensive test for wcscmp.
20801         * string/test-strcmp.c: Update.
20802         (WIDE): New define.
20804 2011-07-22  Andreas Schwab  <schwab@redhat.com>
20806         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
20807         line.
20809 2011-07-26  Andreas Schwab  <schwab@redhat.com>
20811         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20812         encoding to ACE if AI_IDN.
20814 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
20816         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
20817         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
20819 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20821         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
20822         Fix overflow bug in strncat.
20823         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20825         * string/test-strncat.c: Update.
20826         Add new tests for checking overflow bugs.
20828 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20830         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20831         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
20832         * sysdeps/i386/i686/multiarch/strcat.S: New file.
20833         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
20834         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
20835         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
20836         * sysdeps/i386/i686/multiarch/strncat.S: New file.
20837         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
20838         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
20840         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
20841         (USE_AS_STRCAT): Define.
20842         Add strcat and strncat support.
20843         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20845 2011-07-25  Andreas Schwab  <schwab@redhat.com>
20847         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
20848         __n bigger than INT_MAX+1.
20849         (__strncmp_g): Likewise.
20851 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
20853         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
20854         * libio/stido.h: Likewise.
20856         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
20857         (AF_NFC): Define.
20858         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
20859         (AF_NFC): Define.
20861         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
20862         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20863         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20864         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20865         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20867         [BZ #13021]
20868         * scripts/test-installation.pl: Don't expect libnss_test1 to be
20869         installed.
20871         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
20872         typo.
20873         (_dl_x86_64_save_sse): Likewise.
20875 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
20877         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
20878         OSXSAVE.
20879         (_dl_x86_64_save_sse): Likewise.
20881         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
20883         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
20885 2011-07-21  Andreas Schwab  <schwab@redhat.com>
20887         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
20888         change.
20889         (_dl_x86_64_save_sse): Use correct AVX check.
20891 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20893         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
20894         bug in strncpy/strncat.
20895         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20897 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
20899         * string/tester.c (test_strcat): Add tests for different alignments
20900         of source and destination.
20901         (test_strncat): Likewise.
20903 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
20905         [BZ #12852]
20906         * posix/glob.c (glob): Check passed in values before using them in
20907         expressions to avoid some overflows.
20908         (glob_in_dir): Likewise.
20910         [BZ #13007]
20911         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
20912         check for AVX enablement so that we don't crash with old kernels and
20913         new hardware.
20914         * elf/tst-audit4.c: Add same checks here.
20915         * elf/tst-audit6.c: Likewise.
20917         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
20919 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
20921         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
20923 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
20925         * po/cs.po: Update from translation team.
20926         * po/bg.po: Likewise.
20928 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
20930         * misc/sys/cdefs.h: Add support for const attribute.
20931         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
20932         to gnu_dev_{major,minor,makedev} functions.
20934 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
20936         * intl/dcigettext.c (get_output_charset): Add missing bracket.
20938 2011-07-20  Andreas Schwab  <schwab@redhat.com>
20940         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
20941         strlen results.
20943 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20945         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20946         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
20947         register in order to avoid conflicts with the soft frame pointer
20948         being held in r11 when necessary.
20949         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20950         (INTERNAL_VSYSCALL_NCS): Likewise.
20952 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
20954         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
20955         * elf/dl-fini.c (_dl_fini): Adjust caller.
20956         * elf/dl-close.c (_dl_close_worker): Likewise.
20957         * sysdeps/generic/ldsodefs.h: Adjust declaration.
20959 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
20961         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
20962         "aux_cache->nlibs < 0".
20964         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
20965         in the reload-count case.
20967 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20969         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20970         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
20971         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
20972         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
20973         * sysdeps/x86_64/multiarch/strcat.S: New file.
20974         * sysdeps/x86_64/multiarch/strncat.S: New file.
20975         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
20976         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
20977         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
20978         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
20979         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
20980         (USE_AS_STRCAT): Define.
20981         Add strcat and strncat support.
20982         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20983         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20984         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
20985         * string/strncat.c: Update.
20986         (USE_AS_STRNCAT): Define.
20987         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20988         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
20989         and i7.
20990         * sysdeps/x86_64/multiarch/init-arch.h
20991         (bit_Prefer_PMINUB_for_stringop): New.
20992         (index_Prefer_PMINUB_for_stringop): Likewise.
20993         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
20994         bit_Prefer_PMINUB_for_stringop.
20996 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
20998         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
20999         buffer64.
21000         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
21001         of casting of buffer.
21002         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
21003         buffer32 and buffer64.
21004         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
21005         writes instead of casting of buffer.
21006         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
21007         buffer32.
21008         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
21009         casting of buffer.
21011 2011-07-19  Andreas Schwab  <schwab@redhat.com>
21013         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
21015 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
21017         * nscd/nscd.c (termination_handler): Don't do anything for a database
21018         if it has not yet been initialized.
21020 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
21022         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21024 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
21026         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21028 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
21030         * po/nl.po: Update from translation team.
21031         * po/sv.po: Likewise.
21033 2011-07-16  Roland McGrath  <roland@hack.frob.com>
21035         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
21036         now disallowed by GCC.
21038         * configure.in (use-default-link): Default to yes if a test -shared
21039         link meets our qualifications.
21040         * configure: Regenerated.
21042         * config.make.in (output-format): New variable.
21043         * configure.in: Check for ld --print-output-format support.
21044         * configure: Regenerated.
21045         * Makerules ($(common-objpfx)format.lds)
21046         [$(output-format) != unknown]: Just use $(output-format),
21047         instead of the linker-script munging.
21049 2011-07-14  Roland McGrath  <roland@hack.frob.com>
21051         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
21052         of $(common-objpfx)shlib.lds.
21053         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
21055         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
21056         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
21058         * configure.in (-z relro check): Adjust test code to add a large
21059         writable data section after it.
21060         * configure: Regenerated.
21062 2011-07-11  Roland McGrath  <roland@hack.frob.com>
21064         * configure.in (-z relro check): Fix test code to make the variable
21065         truly const.
21066         * configure: Regenerated.
21068 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
21070         * nscd/nscd.h (struct traced_file): Define.
21071         (struct database_dyn): Remove inotify_descr, reset_res, and filename
21072         elements.  Add traced_files.
21073         (inotify_fd): Declare.
21074         (register_traced_file): Declare.
21075         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
21076         (inotify_fd): Export.
21077         (resolv_conf_descr): Remove.
21078         (nscd_init): Move inotify descriptor creation to main.
21079         Don't register files for notification here.
21080         (register_traced_file): New function.
21081         (invalidate_cache): Don't use reset_res to determine whether to call
21082         res_init, go through the list of registered files.
21083         (main_loop_poll): The inotify descriptors are now stored in the
21084         structures for the traced files.
21085         (main_loop_epoll): Likewise
21086         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
21087         to __nss_disable_nscd.
21088         * nscd/cache.c (prune_cache): There is no single inotify descriptor
21089         for a database anymore.  Check the records for all the registered
21090         files instead.
21091         * nss/Makefile (libnss_files-routines): Add files-init.
21092         (libnss_db-routines): Add db-init.
21093         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
21094         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
21095         * nss/nss_db/db-init.c: New file.
21096         * nss/nss_files/files-init.c: New file.
21097         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
21098         __nss_lookup_function.
21099         (__nss_lookup_function): Call nss_load_library.
21100         (nss_load_all_libraries): New function.
21101         (__nss_disable_nscd): Take parameter with callback function for files
21102         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
21103         used for the cached services.
21104         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
21105         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
21106         options for features to all the files in nscd.
21108         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
21110 2011-07-10  Roland McGrath  <roland@hack.frob.com>
21112         * csu/elf-init.c (__libc_csu_init): Comment typo.
21114 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
21116         * po/pl.po: Update from translation team.
21117         * po/ja.po: Likewise.
21118         * po/ru.po: Likewise.
21119         * po/ko.po: Likewise.
21120         * po/fr.po: Likewise.
21122 2011-07-09  Roland McGrath  <roland@hack.frob.com>
21124         * configure.in (.ctors/.dtors header and trailer check):
21125         Use an empirical test on a built program.
21126         * configure: Regenerated.
21128         * configure.in (-z relro check): Use an empirical test on a built DSO.
21129         Detect, but do not require, on ia64.
21130         * configure: Regenerated.
21132         * configure.in (READELF): Find it with AC_CHECK_TOOL.
21133         Update tests that use readelf to use $READELF instead.
21134         * configure: Regenerated.
21136 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
21138         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
21139         if the result is not used.
21141 2011-07-05  Andreas Jaeger  <aj@suse.de>
21143         [BZ#9696]
21144         * stdlib/tst-strtod.c: Add testcase.
21146 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
21148         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
21149         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
21150         The latter has a higher limit.  Take additional parameter to pass to
21151         the new function.
21152         (__pathconf): Pass file to __statfs_link_max.
21153         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
21154         __statfs_link_max.
21155         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
21156         __statfs_link_max.
21158         [BZ #12868]
21159         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
21160         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21161         Handle Lustre.
21162         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
21163         (__statfs_filesize_max): Likewise.
21164         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
21166 2011-07-05  Andreas Jaeger  <aj@suse.de>
21168         * resolv/res_comp.c (dn_skipname): Remove unused variable.
21170 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
21172         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
21173         `status' variable.
21174         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
21175         Likewise.
21177 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
21179         * Makefile (strop-tests): Add strncat.
21180         * string/test-strncat.c: New file.
21182 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
21184         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
21186 2011-06-21  Andreas Jaeger  <aj@suse.de>
21188         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
21189         Copy rule from iconvdata/Makefile.
21191 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
21193         [BZ #12922]
21194         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
21195         but no long options are defined, just return 'W'.
21197 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
21199         [BZ #9696]
21200         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
21202 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
21204         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
21205         netgroups to read.
21206         (innetgr): Likewise.
21208 2011-07-05  Roland McGrath  <roland@hack.frob.com>
21210         * config.make.in (install_root): Default to $(DESTDIR).
21212 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
21214         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
21216 2011-07-02  Roland McGrath  <roland@hack.frob.com>
21218         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
21220         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
21221         containing directory rather than embedding absolute directory names.
21223         * scripts/check-local-headers.sh: Rewritten using awk.
21224         Match by word, not by line.  Print error messages for matches.
21225         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
21227         * Makerules [shlib-lds-flags empty]:
21228         ($(common-objpfx)libc_pic.opts): New target.
21229         ($(common-objpfx)libc_pic.os.clean): New target.
21230         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
21232         * config.make.in (OBJCOPY): New variable.
21233         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
21234         * configure: Regenerated.
21236         * config.make.in (use-default-link): New variable.
21237         * configure.in (use_default_link): Grok --with-default-link to set it.
21238         * configure: Regenerated.
21239         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
21240         (shlib-lds, shlib-lds-flags): Define to empty.
21242         * Makerules (shlib-lds): New variable.
21243         (shlib-lds-flags): New variable.
21244         (build-shlib, build-moduile, build-module-asneeded): Use it.
21245         ($(common-objpfx)libc.so): Use $(shlib-lds).
21246         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
21247         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
21249         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
21250         DT_FLAGS/DT_FLAGS_1 with zero flags.
21252         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
21253         linker script munging.
21255 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
21257         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
21258         as 128-bit value.
21259         * crypt/sha512.c (sha512_process_block): Perform total addition using
21260         128-bit if possible.
21261         (__sha512_finish_ctx): Likewise.
21262         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
21263         as 64-bit value.
21264         * crypt/sha256.c (SWAP64): Define.
21265         (sha256_process_block): Perform total addition using 64-bit if
21266         possible.
21267         (__sha256_finish_ctx): Likewise.
21269 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
21271         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
21272         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21273         * nscd/hstcache.c (cache_addhst): Likewise.
21274         * nscd/grpcache.c (cache_addgr): Likewise.
21275         * nscd/aicache.c (addhstaiX): Likewise
21276         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
21278 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
21280         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
21281         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21282         * nscd/hstcache.c (cache_addhst): Likewise.
21283         * nscd/grpcache.c (cache_addgr): Likewise.
21284         * nscd/aicache.c (addhstaiX): Likewise
21286 2011-07-01  Andreas Schwab  <schwab@redhat.com>
21288         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
21289         domain only when needed.
21291 2011-06-30  Andreas Schwab  <schwab@redhat.com>
21293         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
21294         is always restored.
21296 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
21298         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
21299         are re-adding the entry.
21300         * nscd/servicescache.c (cache_addserv): Likewise.
21302 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
21304         * sysdeps/generic/dl-irel.h: fix protection against multiple
21305         inclusions.
21306         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
21308 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
21310         [BZ #12935]
21311         * malloc/memusage.sh: Fix quoting in message.
21312         * debug/xtrace.sh: Likewise.
21314         * configure.in: Remove support for --experimental-malloc option, make
21315         it the default.
21316         * config.make.in: Likewise.
21317         * malloc/Makefile: Likewise.
21319 2011-06-27  Andreas Schwab  <schwab@redhat.com>
21321         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
21322         two-byte characters.
21324 2011-06-27  Roland McGrath  <roland@hack.frob.com>
21326         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
21327         AC_CACHE_CHECK invocation.
21328         * configure: Regenerated.
21330         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
21332 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
21334         [BZ #12350]
21335         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
21336         bit from old_res_options.
21338         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
21340         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
21341         value type for setfct.
21343 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
21345         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21346         __gettimeofday instead of gettimeofday.
21348 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
21350         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
21352 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
21354         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
21356         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
21357         info.
21359 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
21361         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21362         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21363         strcpy-sse2-unaligned strncpy-sse2-unaligned
21364         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
21365         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
21366         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
21367         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
21368         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
21369         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
21370         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
21371         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
21372         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
21373         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
21374         (STRCPY): Support SSE2 and SSSE3 versions.
21376 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
21378         [BZ #12874]
21379         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
21380         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
21381         kernels which artificially limit size of requests.
21383 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
21385         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21386         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21387         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
21388         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
21389         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
21390         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
21391         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
21392         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
21393         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
21394         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
21395         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
21396         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
21397         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
21398         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
21399         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
21400         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21401         Enable unaligned load optimization for Intel Core i3, i5 and i7
21402         processors.
21403         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
21404         Define.
21405         (index_Fast_Unaligned_Load): Define.
21406         (HAS_FAST_UNALIGNED_LOAD): Define.
21408 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
21410         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
21412 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
21414         [BZ #12907]
21415         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
21416         until it is clear that the information is realy needed.
21417         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
21419 2011-06-22  Andreas Schwab  <schwab@redhat.com>
21421         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
21423 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
21425         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21426         /sys/devices/system/cpu/online if it is usable.
21428         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
21429         reading the information from the /proc filesystem to once a second.
21431 2011-06-21  Andreas Jaeger  <aj@suse.de>
21433         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
21434         NULL after inclusion of kernel headers.
21436 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
21438         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
21439         calls to internal_setent.
21441         [BZ #12885]
21442         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
21443         addresses using gethostbyname4_r ignore IPv4 addresses.
21445         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
21446         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
21448         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
21450 2011-06-20  David S. Miller  <davem@davemloft.net>
21452         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
21453         inclusions.
21454         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
21456         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
21457         (elf_irel): Use it.
21458         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
21459         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
21460         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
21461         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
21462         * sysdeps/x86_64/dl-irel.h: Likewise.
21464         * elf/dl-runtime.c: Use elf_ifunc_invoke.
21465         * elf/dl-sym.c: Likewise.
21467 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
21469         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
21470         need to dereference resplen2.
21472 2011-06-14  Andreas Schwab  <schwab@redhat.com>
21474         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
21476 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
21478         * Makeconfig: Define vardbdir and inst_vardbdir.
21479         * nss/Makefile: Add rules to install db-Makefile.
21481         * nss/nss_db/db-XXX.c: Cleanup.
21483         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
21484         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
21485         GLIBC_PRIVATE.
21486         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
21487         * nss/makedb.c: Implement -g option to specify that value strings
21488         are generated and should not be added to table iterated over for
21489         get*ent calls.
21490         * nss/nss_db/db-initgroups.c: New file.
21492         * nss/getent.c: Add support for initgroups lookups through getgrouplist
21493         interface.
21495         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
21496         (internal_getgrouplist): Adjust to name change.
21497         Update use_initgroups_entry if this is not the first call.
21498         * nss/databases.def: Add initgroups entry.
21500         * nss/makedb.c (compute_tables): Check result of multiple hash table
21501         sizes to minimize maximum chain length.
21503 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
21505         * Versions.def: Add entry for libnss_db.
21506         * shlib-versions: Likewise.
21507         * nss/Makefile: Add rules to build libnss_db.
21508         * nss/Versions: Add libnss_db information.  Organize libnss_files
21509         entries better.
21510         * nss/db-Makefile: Add gshadow support.  Change rules for the new
21511         makedb progra.  Some minor improvements to generate smaller files.
21512         * nss/nss_db/nss_db.h: Move NSS database header data structures to
21513         here from...
21514         * nss/makedb.c: ...here.
21515         Improve database format to be smaller and require less memory at
21516         runtime.
21517         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
21518         db anymore.
21519         * nss/nss_db/db-netgrp.c: Likewise.
21520         * nss/nss_db/db-open.c: Likewise.
21521         * nss/nss_files/flies-XXX.x: Adjust comments.
21522         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
21523         * nss/nss_files/files-grp.c: Likewise.
21524         * nss/nss_files/files-hosts.c: Likewise.
21525         * nss/nss_files/files-network.c: Likewise.
21526         * nss/nss_files/files-proto.c: Likewise.
21527         * nss/nss_files/files-pwd.c: Likewise.
21528         * nss/nss_files/files-rpc.c: Likewise.
21529         * nss/nss_files/files-service.c: Likewise.
21530         * nss/nss_files/files-sgrp.c: Likewise.
21531         * nss/nss_files/files-spwd.c: Likewise.
21532         * nss/nss_db/db-alias.c: Removed.
21533         * nss/nss_db/dummy-db.h: Removed.
21535 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
21537         * nss/makedb.c: Rewritten to not use database library.
21538         * nss/Makefile: Update to build new makedb program.
21540 2011-06-14  Andreas Jaeger  <aj@suse.de>
21542         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
21543         memset declaration.
21545 2011-06-10  Andreas Schwab  <schwab@redhat.com>
21547         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
21548         tmpbuf.
21550 2011-06-10  Roland McGrath  <roland@hack.frob.com>
21552         * Makerules (shlib.lds): Fail if the linker script comes out empty.
21553         * elf/Makefile ($(objpfx)ld.so): Likewise.
21555         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
21556         Don't list ld.so twice in dependencies.
21558         * posix/bug-regex31.c: Include <stdlib.h>.
21560         * nscd/hstcache.c (cache_addhst): Remove unused variable.
21562         * nis/nss_compat/compat-spwd.c
21563         (getspent_next_nss_netgr): Remove unused variable.
21564         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
21566         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
21567         nonmembers" output to use the right array.
21569         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
21571         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
21573         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
21574         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
21575         * catgets/gencat.c (read_input_file): Likewise.
21576         * locale/programs/locarchive.c (enlarge_archive): Likewise.
21578         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
21579         variable definition inside #if's controlling its use.
21581         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
21583         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
21585         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
21587         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
21588         unreachable code.
21590         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
21592         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
21593         * configure: Regenerated.
21595         * Makerules: Revert last change.
21596         * elf/Makefile: Likewise.
21598 2011-06-09  Roland McGrath  <roland@hack.frob.com>
21600         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
21601         * elf/Makefile ($(objpfx)librtld.os): Likewise.
21602         (reloc-link): Likewise.
21604 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
21606         * elf/Makefile: Add rules to build pldd.
21607         * elf/pldd.c: New file.
21608         * elf/pldd-xx.c: New file.
21610 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
21612         * version.h: Update for 2.15 development version.
21614 2011-06-07  David S. Miller  <davem@davemloft.net>
21616         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
21617         ifuncs.
21618         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
21619         elf_machine_lazy_rel): Likewise.
21620         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21621         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
21622         elf_machine_lazy_rel): Likewise.
21623         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
21624         dl_hwcap via passed in argument.
21625         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
21626         Likewise.
21628 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21630         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
21632 2011-06-06  Roland McGrath  <roland@hack.frob.com>
21634         [BZ #12849]
21635         * manual/fdl-1.1.texi: New file, verbatim from:
21636         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
21637         * manual/lgpl-2.1.texi: New file, verbatim from:
21638         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
21639         * manual/Makefile (licenses): New variable, list those new file names.
21640         (texis): Use it.
21641         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
21643         * manual/fdl.texi: File removed.
21644         * manual/lesser.texi: File removed.
21645         * manual/libc.texinfo (Copying, Documentation License):
21646         Use new @include file names, put @appendix directive before @include.
21648 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
21650         [BZ #12841]
21651         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
21652         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
21653         (mq_open): Add __NTH.
21655 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
21657         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21658         Assume Intel Core i3/i5/i7 processor if AVX is available.
21660 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
21662         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21663         typo.
21665 2011-05-31  Andreas Schwab  <schwab@redhat.com>
21667         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
21668         memory.  Use alloca_account.  Fix memory leak when retrying.
21670 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
21672         * version.h (RELEASE): Bump for 2.14 release.
21673         * include/features.h (__GLIBC_MINOR__): Bump to 14.
21675         * config.make.in (RANLIB): Remove entry.
21677 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
21679         * po/Makefile (po-sed-cmd): Add ksh to extensions.
21680         (libc.pot): Work around missing support for .ksh extension in xgettext.
21682         [BZ #12684]
21683         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
21684         if both request failed.
21685         (send_dg): In case of server errors clear resplen or *resplen2.
21687         [BZ #12454]
21688         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
21689         when there are multiple maps.
21690         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
21691         (_dl_fini): Remove test here.
21693         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
21695 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
21697         [BZ #12350]
21698         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
21699         bit from old_res_options.
21700         (gaih_inet): Likewise.
21702         [BZ #11099]
21703         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
21704         as signed.
21706         * resolv/res_init.c (res_setoptions): Make the code more compact.
21708         [BZ #11558]
21709         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
21710         set RES_USEVC.
21712         [BZ #11634]
21713         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
21715         * malloc/malloc.h: Mark malloc hook variables as deprecated.
21717         [BZ #11781]
21718         * malloc/malloc.h: Declare malloc hook variables as volatile.
21720         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
21721         in last patch.
21723         [BZ #11799]
21724         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
21725         raise in the comment.
21726         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21727         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21728         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
21730 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
21732         [BZ #12811]
21733         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
21734         grow the buffers more if it already has to be sufficient.
21735         (build_wcs_upper_buffer): Likewise.
21736         * posix/regexec.c (check_matching): Likewise.
21737         (clean_state_log_if_needed): Likewise.
21738         (extend_buffers): Don't enlarge buffers beyond size of the input
21739         buffer.
21740         Patches mostly by Emil Wojak <emil@wojak.eu>.
21741         * posix/bug-regex32.c: New file.
21742         * posix/Makefile (tests): Add bug-regex32.
21744         * locale/findlocale.c (_nl_find_locale): Return right away if
21745         _nl_explode_name failed.
21746         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21748         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
21750         * debug/xtrace.sh: Unify messages.
21751         * malloc/memusage.sh: Likewise.
21753         [BZ #12813]
21754         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
21755         time symbol from vDSO.  Substitute with vsyscall if not available.
21756         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
21757         __vdso_time.
21759         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
21760         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
21761         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
21762         Add sendmmsg and internal_sendmmsg.
21763         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
21764         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
21765         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
21767         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
21768         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
21769         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
21771 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
21773         [BZ #12813]
21774         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
21775         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
21776         available.
21777         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
21778         __vdso_getcpu.
21780         [BZ #12814]
21781         * iconvdata/Makefile (tests): Add bug-iconv9.
21782         * iconvdata/bug-iconv9.c: New file.
21784 2011-05-27  Andreas Schwab  <schwab@redhat.com>
21786         [BZ #12814]
21787         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
21789 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
21791         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21792         (struct user_regs_struct): Change intcs field back to cs.
21794 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
21796         * po/ja.po: Update from translation team.
21798 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
21800         [BZ #12795]
21801         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
21802         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
21804 2011-05-20  Andreas Schwab  <schwab@redhat.com>
21806         * stdlib/longlong.h: Update from GCC.
21808 2011-05-23  Andreas Schwab  <schwab@redhat.com>
21810         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
21811         parameter name.
21812         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
21813         Add parameter name.
21814         (__sysconf): Pass it down.
21816 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
21818         [BZ #12671]
21819         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
21820         some situations.
21821         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21822         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
21823         add in in __libc_use_alloca calls.  Adjust callers.
21824         (glob): Use malloc in some situations.
21826         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
21827         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
21828         pltexit.
21830 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
21832         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
21833         and CLOCK_BOOTTIME_ALARM.
21835         [BZ #12782]
21836         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
21837         is returned.
21839         * string/_strerror.c (__strerror_r): Print negative errors as signed
21840         numbers.
21842         [BZ #12777]
21843         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
21844         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
21845         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
21847         * configure.in: Fix typo in redirection and correct removal of test
21848         files in two cases.
21850         [BZ #12788]
21851         * locale/setlocale.c (new_composite_name): Fix test to check for
21852         identical name of all categories.
21854         [BZ #12792]
21855         * libio/filedoalloc.c (local_isatty): New function.
21856         (_IO_file_doallocate): Use local_isatty.
21857         * stdio-common/perror.c (perror): In case a new stream is used
21858         forward the stream error.
21859         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
21860         error flag.
21862 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
21864         [BZ #11869]
21865         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
21866         alloca.
21867         * include/alloca.h (extend_alloca_account): Define.
21869         [BZ #11857]
21870         * posix/regex.h: Fix comments with documentation of user-accessible
21871         fields after compilation and describe correct free'ing of pattern
21872         after re_compile_pattern.
21873         Patch by Reuben Thomas <rrt@sc3d.org>.
21875 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
21877         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
21878         and -mno-altivec to prevent the compiler from using Altivec and/or
21879         VSX instructions when the corresponding registers are not available.
21881 2011-05-19  Andreas Schwab  <schwab@redhat.com>
21883         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
21885 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
21887         * libio/freopen.c (freopen): Use __dup2, not dup2.
21888         * libio/freopen64.c (freopen64): Likewise.
21890 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
21892         [BZ #12775]
21893         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
21894         * math/Makefile (tests): Add test-powl.
21895         (CFLAGS-test-powl.c): Define.
21896         * math/test-powl.c: New file.
21898 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21900         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
21902 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
21904         [BZ #11837]
21905         * iconvdata/gb18030.c: Update to GB18020-2005.
21907 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
21909         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
21910         RE_SYNTAX_POSIX_AWK): Update to match recent development.
21911         Patch by Aharon Robbins <arnold@skeeve.com>.
21913         [BZ #11892]
21914         * stdlib/putenv.c (putenv): Don't always create copy of the variable
21915         on the stack.
21917         [BZ #11895]
21918         * misc/pselect.c (__pselect): Handle timeout value errors hidden
21919         through underflows.
21921         [BZ #12766]
21922         * misc/error.c (error_at_line): Ensure file_name and old_file_name
21923         point to strings before performing equality test for error_one_per_line
21924         mode.
21926         [BZ #11697]
21927         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
21929         [BZ #11820]
21930         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21931         (struct user_fpregs_struct): Avoid __uint*_t types.
21933         [BZ #6420]
21934         * malloc/mtrace.c (tr_where): Add additional parameter to point to
21935         symbol info.  Use it instead of calling _dl_addr locally.
21936         (lock_and_info): New function.
21937         (tr_freehook): Call lock_and_info and pass symbol info as additional
21938         parameter to tr_where.
21939         (tr_mallochook): Likewise.
21940         (tr_reallochook): Likewise.
21941         (tr_memalignhook): Likewise.
21943         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
21944         used and couldn't be at all thread-safe.
21946 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
21948         * libio/freopen.c (freopen): Don't close old file descriptor
21949         before the new one is opened.  Instead dup the new file descriptor
21950         to the old one after the new stream is created.
21951         * libio/freopen64.c (freopen64): Likewise.
21952         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
21953         * libio/fileops.c (_IO_new_file_close_it): Handle new
21954         _IO_FLAGS2_NOCLOSE flag.
21955         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
21956         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
21957         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
21958         _IO_FLAGS2_NOCLOSE flag.
21959         * include/unistd.h: Add hidden_proto for dup3.
21960         Define __have_dup3.
21961         * io/dup3.c: Define hidden symbol.
21962         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
21964         [BZ #7101]
21965         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
21966         when an incomplete long option is used.
21967         * posix/tst-getopt_long1.c: New file.
21968         * posix/Makefile (tests): Add tst-getopt_long1.
21970         [BZ #10138]
21971         * scripts/config.guess: Update from autoconf-2.68.
21972         * scripts/config.sub: Likewise.
21974         [BZ #10157]
21975         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
21976         tests into ...
21977         (has_cpuclock): ...this.  New function.
21978         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
21979         macro here based on has_cpuclock code.
21981         [BZ #10149]
21982         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21983         First byte (not low byte) is now always NUL.
21984         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
21986         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21987         Use non-cancelable interfaces.
21989         [BZ #9809]
21990         * locale/iso-639.def: Add entry for Sorani.
21992         [BZ #11901]
21993         * include/stdlib.h: Move include protection to the right place.
21994         Define abort_msg_s.  Declare __abort_msg with it.
21995         * stdlib/abort.c (__abort_msg): Adjust type.
21996         * assert/assert.c (__assert_fail_base): New function.  Majority
21997         of code from __assert_fail.  Allocate memory for __abort_msg with
21998         mmap.
21999         (__assert_fail): Now call __assert_fail_base.
22000         * assert/assert-perr.c: Remove bulk of implementation.  Use
22001         __assert_fail_base.
22002         * include/assert.hL Declare __assert_fail_base.
22003         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
22004         mmap.
22005         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
22007 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
22009         [BZ #11952]
22010         [BZ #12453]
22011         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
22012         until all modules are registered in the DTV.
22013         * elf/Makefile: Add rules to build and run tst-tls19.
22014         * elf/tst-tls19.c: New file.
22015         * elf/tst-tls19mod1.c: New file.
22016         * elf/tst-tls19mod2.c: New file.
22017         * elf/tst-tls19mod3.c: New file.
22018         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
22020         [BZ #12083]
22021         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
22022         correctly.
22024         [BZ #12601]
22025         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
22026         two-byte sequence errors.
22027         * iconvdata/Makefile (tests): Add bug-iconv8.
22028         * iconvdata/bug-iconv8.c: New file.
22030         [BZ #12626]
22031         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
22032         buf2 definition.
22034         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
22036         [BZ #12432]
22037         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
22038         (dummy_getcfa): New function.
22039         (init): Get _Unwind_GetCFA address, use dummy if not found.
22040         (backtrace_helper): In recursion check, also check whether CFA changes.
22041         (__backtrace): Completely initialize arg.
22043         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
22044         storing incomplete byte sequence in state object.  Avoid testing for
22045         guaranteed too small input if we know there is enough data available.
22047 2011-05-11  Andreas Schwab  <schwab@redhat.com>
22049         * Makeconfig (+link-pie): Indent.
22050         * Rules (binaries-pie): Define if $(have-fpie) and
22051         $(build-shared).
22052         (binaries-shared): Also filter out $(binaries-pie).
22053         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
22054         * nscd/Makefile (others-pie): Add nscd.
22055         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
22056         ($(objpfx)nscd): Remove command override.
22057         * login/Makefile (others-pie): Add pt_chown.
22058         ($(objpfx)pt_chown): Remove command override.
22059         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
22060         remove command overrides.
22062 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
22064         * libio/tst_putwc.c: Fix error messages.
22066         [BZ #12724]
22067         * libio/fileops.c (_IO_new_file_close_it): Always flush when
22068         currently writing and seek to current position when not.
22069         * libio/Makefile (tests): Add bug-fclose1.
22070         * libio/bug-fclose1.c: New file.
22072 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
22074         [BZ #12511]
22075         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
22076         don't set DF_1_NODELETE here.
22077         (do_lookup_x): When entering new entry test for copy relocation
22078         and if necessary set DF_1_NODELETE flag.
22079         * elf/tst-unique4.cc: New file.
22080         * elf/tst-unique4.h: New file.
22081         * elf/tst-unique4lib.cc: New file.
22082         * elf/Makefile: Add rules to build and run tst-unique4.
22083         Patch by Piotr Bury <pbury@goahead.com>.
22085 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
22087         [BZ #12052]
22088         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
22090         [BZ #12625]
22091         * misc/mntent_r.c (addmntent): Flush the stream after the output
22093         [BZ #12393]
22094         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
22095         (is_trusted_path_normalize): Skip initial colon.  Append slash
22096         to empty buffer.  Duplicate is_trusted_path code but allow
22097         constructed patch to be prefix.
22098         (is_dst): Allow $ORIGIN followed by /.
22099         (_dl_dst_substitute): Correct clearing of check_for_trusted.
22100         Correct testing of result of is_trusted_path_normalize
22101         (decompose_rpath): Fix warning.
22103 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
22105         [BZ #11257]
22106         * grp/initgroups.c (internal_getgrouplist): When we found the service
22107         list through the initgroups entry in nsswitch.conf do not always
22108         continue on a successful lookup.  Don't always use the
22109         __nss_group_database value if it is set.
22110         * nss/nsswitch.conf (initgroups): Change action for successful db
22111         lookup to continue for compatibility.
22113 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
22115         [BZ #11532]
22116         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
22117         and CP774 modules.
22118         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
22119         and CP774 modules.
22120         * iconvdata/tst-tables.sh: Likewise.
22121         * iconvdata/cp770.c: New file.
22122         * iconvdata/cp771.c: New file.
22123         * iconvdata/cp772.c: New file.
22124         * iconvdata/cp773.c: New file.
22125         * iconvdata/cp774.c: New file.
22126         * iconvdata/testdata/CP770: New file.
22127         * iconvdata/testdata/CP770..UTF8: New file.
22128         * iconvdata/testdata/CP771: New file.
22129         * iconvdata/testdata/CP771..UTF8: New file.
22130         * iconvdata/testdata/CP772: New file.
22131         * iconvdata/testdata/CP772..UTF8: New file.
22132         * iconvdata/testdata/CP773: New file.
22133         * iconvdata/testdata/CP773..UTF8: New file.
22134         * iconvdata/testdata/CP774: New file.
22135         * iconvdata/testdata/CP774..UTF8: New file.
22137         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
22138         END CHARMAP line.
22139         * iconvdata/gen-8bit-gap.sh: Likewise.
22140         * iconvdata/gen-8bit.sh: Likewise.
22142         * locale/iso-639.def: Add ary entry.
22144         [BZ #11258]
22145         * locale/C-translit.h.in: Add U20A1 transliteration.
22147         [BZ #12178]
22148         * locale/iso-639.def: Add wae entry.
22149         Patch by Kevin Bortis <bortis@translate-wae.ch>.
22151         [BZ #12545]
22152         * locale/programs/localedef.c (construct_output_path): Use ssize_t
22153         for n.
22155         [BZ #12711]
22156         * locale/C-translit.h.in: Add entry for U20B9.
22157         Patch by pravin.d.s@gmail.com.
22159 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
22161         [BZ #12713]
22162         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
22163         ENAMETOOLONG use generic getcwd.
22164         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
22165         in rtld.  Use *stat64.
22166         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
22167         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
22168         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
22169         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
22170         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
22171         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
22172         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
22173         __fstatat64 macros.
22174         * include/dirent.h: Add libc_hidden_proto for rewinddir.
22175         * dirent/rewinddir.c: Add libc_hidden_def.
22176         * sysdeps/mach/hurd/rewinddir.c: Likewise.
22177         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
22179         * include/dirent.h (__alloc_dir): Add flags parameter.
22180         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
22181         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
22182         __alloc_dir.
22183         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
22184         from fdopendir if O_CLOEXEC is already set.
22186 2011-03-15  Alan Modra  <amodra@gmail.com>
22188         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
22189         l_tls_firstbyte_offset non-zero.  Save padding offset in
22190         l_tls_firstbyte_offset for later use.
22191         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
22192         freeing static tls block.
22194 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
22196         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
22197         where #ifdef was intended.  The intent is to prevent ARG_MAX from
22198         being defined by the kernel headers.
22200 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
22202         [BZ #12734]
22203         * resolv/resolv.h: Define RES_NOTLDQUERY.
22204         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
22205         no-tld-query and set RES_NOTLDQUERY.
22206         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
22207         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
22208         modern BIND to search name as TLD unless forbidden.
22210 2011-05-07  Petr Baudis  <pasky@suse.cz>
22211             Ulrich Drepper  <drepper@gmail.com>
22213         [BZ #12393]
22214         * elf/dl-load.c (fillin_rpath): Move trusted path check...
22215         (is_trusted_path): ...to here.
22216         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
22217         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
22218         using is_trusted_path_normalize() in setuid scripts.
22220 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22222         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
22223         __BEGIN/__END_DECLS.
22225 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
22227         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
22228         NSS_STATUS_NOTFOUND if no record was found.
22230 2011-05-05  Andreas Schwab  <schwab@redhat.com>
22232         * sunrpc/Makefile (headers): Add rpc/netdb.h.
22233         (headers-not-in-tirpc): Remove rpc/netdb.h
22234         * resolv/netdb.h: Revert last change.
22236 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
22238         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
22239         circular dependency between libgcc.a and libc.a.
22241 2011-05-05  Andreas Schwab  <schwab@redhat.com>
22243         * resolv/netdb.h: Don't include <rpc/netdb.h>.
22244         * nis/Makefile: Don't install rpcsvc/*.
22245         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
22246         instead of <rpc/types.h>.
22247         (MAXHOSTNAMELEN): Define.
22249 2011-05-03  Andreas Schwab  <schwab@redhat.com>
22251         * elf/ldconfig.c (add_dir): Don't crash on empty path.
22253 2011-04-28  Maciej Babinski  <mbabinski@google.com>
22255         [BZ #12714]
22256         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
22257         gethostbyname4_r when IPv6 results are possible.
22259 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
22261         [BZ #12723]
22262         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
22263         _PC_PIPE_BUF handling.
22265 2011-04-30  Bruno Haible  <bruno@clisp.org>
22267         [BZ #12717]
22268         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
22269         * resolv/netdb.h (getnameinfo): Change type of flags parameter
22270         to 'int'.
22271         * inet/getnameinfo.c (getnameinfo): Likewise.
22273 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
22275         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
22276         to groups setting in database lookup.
22277         * nss/nsswitch.conf: Add initgroups entry.
22279 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
22281         [BZ #12685]
22282         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
22283         mode string.
22284         Patch by Eric Blake <eblake@redhat.com>.
22286 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
22288         * sunrpc/Makefile (need-export-routines): Add svc_run.
22289         (routines): Remove svc_run.
22290         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
22291         * sunrpc/clnt_perr.c (clnt_perrno): Export.
22292         * sunrpc/svc_run.c (svc_run): Likewise.
22293         * sunrpc/svc_udp.c (svcudp_create): Likewise.
22295 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
22297         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
22298         problem in reallocation in last patch.
22300 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
22302         * sunrpc/Makefile: Move inclusion of Rules.
22304 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
22306         * nss/nss_files/files-initgroups.c: New file.
22307         * nss/Makefile (libnss_files-routines): Add files-initgroups.
22308         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
22309         _nss_files_initgroups_dyn.
22311 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
22313         * elf/elf.h (R_ARM_IRELATIVE): Define.
22315 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
22317         * po/ru.po: Update from translation team.
22319 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
22321         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
22322         dependencies.
22324 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
22326         [BZ #12653]
22327         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
22328         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
22329         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22330         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22331         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22333 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
22335         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
22336         differing bytes.
22337         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22338         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22339         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22341 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
22343         [BZ #12420]
22344         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
22345         storing it.
22346         * stdlib/bug-getcontext.c: New file.
22347         * stdlib/Makefile: Add rules to build and run bug-getcontext.
22349 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22351         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
22352         instructions into .machine "z9-109".
22353         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22354         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22356 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22358         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
22359         between environment variables and auxiliary vector.
22361 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
22363         * Makefile: Add rules to build linkobj/libc.so.
22364         * include/libc-symbols.h: Define libc_hidden_nolink.
22365         * include/rpc/auth.h: Mark functions which are to be hidden.
22366         * include/rpc/auth_des.h: Likewise.
22367         * include/rpc/auth_unix.h: Likewise.
22368         * include/rpc/clnt.h: Likewise.
22369         * include/rpc/des_crypt.h: Likewise.
22370         * include/rpc/key_prot.h: Likewise.
22371         * include/rpc/pmap_clnt.h: Likewise.
22372         * include/rpc/pmap_prot.h: Likewise.
22373         * include/rpc/pmap_rmt.h: Likewise.
22374         * include/rpc/rpc_msg.h: Likewise.
22375         * include/rpc/svc.h: Likewise.
22376         * include/rpc/svc_auth.h: Likewise.
22377         * include/rpc/xdr.h: Likewise.
22378         * nis/Makefile: Link all DSOs against linkobj/libc.so.
22379         * nss/Makefile: Likewise.
22380         * sunrpc/Makefile: Don't install headers.  Build library with normal
22381         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
22382         * sunrpc/auth_des.c: Hide exported symbols by default, export some
22383         for the compat linking library.  Remove use of INTDEF/INTUSE.
22384         * sunrpc/auth_none.c: Likewise.
22385         * sunrpc/auth_unix.c: Likewise.
22386         * sunrpc/authdes_prot.c: Likewise.
22387         * sunrpc/authuxprot.c: Likewise.
22388         * sunrpc/clnt_gen.c: Likewise.
22389         * sunrpc/clnt_perr.c: Likewise.
22390         * sunrpc/clnt_raw.c: Likewise.
22391         * sunrpc/clnt_simp.c: Likewise.
22392         * sunrpc/clnt_tcp.c: Likewise.
22393         * sunrpc/clnt_udp.c: Likewise.
22394         * sunrpc/clnt_unix.c: Likewise.
22395         * sunrpc/des_crypt.c: Likewise.
22396         * sunrpc/des_soft.c: Likewise.
22397         * sunrpc/get_myaddr.c: Likewise.
22398         * sunrpc/key_call.c: Likewise.
22399         * sunrpc/key_prot.c: Likewise.
22400         * sunrpc/netname.c: Likewise.
22401         * sunrpc/pm_getmaps.c: Likewise.
22402         * sunrpc/pm_getport.c: Likewise.
22403         * sunrpc/pmap_clnt.c: Likewise.
22404         * sunrpc/pmap_prot.c: Likewise.
22405         * sunrpc/pmap_prot2.c: Likewise.
22406         * sunrpc/pmap_rmt.c: Likewise.
22407         * sunrpc/publickey.c: Likewise.
22408         * sunrpc/rpc_cmsg.c: Likewise.
22409         * sunrpc/rpc_common.c: Likewise.
22410         * sunrpc/rpc_dtable.c: Likewise.
22411         * sunrpc/rpc_prot.c: Likewise.
22412         * sunrpc/rpc_thread.c: Likewise.
22413         * sunrpc/rtime.c: Likewise.
22414         * sunrpc/svc.c: Likewise.
22415         * sunrpc/svc_auth.c: Likewise.
22416         * sunrpc/svc_authux.c: Likewise.
22417         * sunrpc/svc_raw.c: Likewise.
22418         * sunrpc/svc_run.c: Likewise.
22419         * sunrpc/svc_simple.c: Likewise.
22420         * sunrpc/svc_tcp.c: Likewise.
22421         * sunrpc/svc_udp.c: Likewise.
22422         * sunrpc/svc_unix.c: Likewise.
22423         * sunrpc/svcauth_des.c: Likewise.
22424         * sunrpc/xcrypt.c: Likewise.
22425         * sunrpc/xdr.c: Likewise.
22426         * sunrpc/xdr_array.c: Likewise.
22427         * sunrpc/xdr_float.c: Likewise.
22428         * sunrpc/xdr_intXX_t.c: Likewise.
22429         * sunrpc/xdr_mem.c: Likewise.
22430         * sunrpc/xdr_rec.c: Likewise.
22431         * sunrpc/xdr_ref.c: Likewise.
22432         * sunrpc/xdr_sizeof.c: Likewise.
22433         * sunrpc/xdr_stdio.c: Likewise.
22435 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
22437         [BZ #12650]
22438         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
22439         * sysdeps/ia64/dl-tls.h: Likewise.
22440         * sysdeps/powerpc/dl-tls.h: Likewise.
22441         * sysdeps/s390/dl-tls.h: Likewise.
22442         * sysdeps/sh/dl-tls.h: Likewise.
22443         * sysdeps/sparc/dl-tls.h: Likewise.
22444         * sysdeps/x86_64/dl-tls.h: Likewise.
22445         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
22447 2011-03-14  Andreas Schwab  <schwab@redhat.com>
22449         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
22450         rpath element also skip the following colon.
22451         (expand_dynamic_string_token): Add is_path parameter and pass
22452         down to DL_DST_REQUIRED and _dl_dst_substitute.
22453         (decompose_rpath): Call expand_dynamic_string_token with
22454         non-zero is_path.  Ignore empty rpaths.
22455         (_dl_map_object_from_fd): Call expand_dynamic_string_token
22456         with zero is_path.
22458 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
22460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22461         Make cancelable.
22463 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
22465         [BZ #12655]
22466         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
22467         Patch by Filipe David Manana <fdmanana@apache.org>.
22469 2011-04-07  Andreas Schwab  <schwab@redhat.com>
22471         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
22472         Maintain aligned stack.
22473         (CHECK_RSP): Remove unused macro.
22475 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
22477         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
22478         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
22480 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
22482         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
22484         * include/features.h: Mention __USE_XOPEN2K8 in comment.
22486 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
22488         [BZ #12518]
22489         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
22490         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
22491         * sysdeps/x86_64/memmove.c: New file.
22492         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
22493         (memcpy): Renamed to ...
22494         (__new_memcpy): This.
22495         (memcpy): Provide GLIBC_2_14 memcpy.
22496         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
22497         (memcpy): Provide GLIBC_2_2_5 memcpy.
22499 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
22501         [BZ #12631]
22502         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
22504 2011-03-30  Andreas Schwab  <schwab@redhat.com>
22506         * misc/syncfs.c: New file.
22507         * misc/Makefile (routines): Add syncfs.
22508         * posix/unistd.h: Declare syncfs.
22509         * sysdeps/unix/syscalls.list: Add syncfs.
22511 2011-04-01  Andreas Schwab  <schwab@redhat.com>
22513         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
22514         open_by_handle_at.
22515         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22516         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22517         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22518         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22519         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22520         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
22521         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22523 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
22525         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
22526         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22527         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
22528         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22529         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22530         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22531         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22533         * io/Makefile: Compile fallocate.c, fallocate64.c, and
22534         sync_file_range.c with -fexceptions.
22535         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
22536         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
22537         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22538         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22539         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
22540         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22541         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
22542         sync_file_range as cancellation point
22543         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
22544         now a wrapper around __call_sync_file_range with cancellation handling.
22545         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
22546         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
22547         function name to __call_sync_file_range.
22548         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
22549         Add call_sync_file_range.
22551 2011-04-01  Andreas Schwab  <schwab@redhat.com>
22553         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22554         bits/timex.h.
22556 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
22558         * iconv/iconv.h: Fix typo in comment.
22559         * io/fcntl.h: Likewise.
22560         * libio/stdio.h: Likewise.
22561         * posix/spawn.h: Likewise.
22562         * posix/unistd.h: Likewise.
22563         * stdlib/stdlib.h: Likewise.
22564         * time/time.h: Likewise.
22565         * wcsmbs/wchar.h: Likewise.
22567         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
22568         open_by_handle): Add.
22569         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
22570         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
22571         Augment a few comments.
22572         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22573         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22574         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22575         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22576         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22577         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
22578         open_by_handle.
22580         * io/fcntl.h (AT_EMPTY_PATH): Define.
22582 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
22584         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
22585         * sysdeps/unix/sysv/linux/bits/time.h: New file.
22586         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
22587         to...
22588         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
22589         * Versions.def: Add GLIBC_2.14.
22590         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
22591         Export.
22593 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
22595         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
22596         round counter.
22597         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22599 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
22601         [BZ #12597]
22602         * string/test-strncmp.c (do_page_test): New function.
22603         (check2): Likewise.
22604         (test_main): Call check2.
22605         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
22607 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
22609         [BZ #12587]
22610         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
22611         Handle cache information in CPU leaf 4.
22612         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22614 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
22616         [BZ #12583]
22617         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
22618         character representation.
22619         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
22621 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
22623         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
22624         END(__isnan) to END(__isnanf) to match function entry point/label
22625         EALIGN(__isnanf,...).
22627 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
22629         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
22631 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
22633         [BZ #12510]
22634         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
22635         copy from the symbol referenced in the relocation to initialize the
22636         used variable.
22637         Patch by Piotr Bury <pbury@goahead.com>.
22638         * elf/Makefile: Add rules to build and tst-unique3.
22639         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
22640         * elf/tst-unique3.cc: New file.
22641         * elf/tst-unique3.h: New file.
22642         * elf/tst-unique3lib.cc: New file.
22643         * elf/tst-unique3lib2.cc: New file.
22645         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
22647 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
22649         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
22650         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
22651         to _start.
22653 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
22655         * elf/dl-load.c (_dl_map_object): If we are looking for the first
22656         to-be-loaded object along a path to loader is ld.so.
22658 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
22659             Ulrich Drepper  <drepper@gmail.com>
22661         * sysdeps/x86_64/memset.S: After aligning destination, code
22662         branches to different locations depending on the value of
22663         misalignment, when multiarch is enabled. Fix this.
22665 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
22667         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
22668         Set _x86_64_preferred_memory_instruction for AMD processsors.
22669         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22670         Set bit_Prefer_SSE_for_memop for AMD processors.
22672 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
22674         * libio/fmemopen.c (fmemopen): Optimize a bit.
22676 2011-03-03  Andreas Schwab  <schwab@redhat.com>
22678         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
22680 2011-03-03  Roland McGrath  <roland@redhat.com>
22682         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
22684 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
22686         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
22687         __bzero_ultra1 instead of __memset_ultra1.
22689 2011-02-23  Andreas Schwab  <schwab@redhat.com>
22690             Ulrich Drepper  <drepper@gmail.com>
22692         [BZ #12509]
22693         * include/link.h (struct link_map): Add l_orig_initfini.
22694         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
22695         returning unsuccessfully.
22696         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
22697         close of a file loaded at startup, restore the original l_initfini
22698         list.
22699         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
22700         list, store the pointer.
22701         * elf/Makefile ($(objpfx)noload-mem): New rule.
22702         (noload-ENV): Define.
22703         (tests): Add $(objpfx)noload-mem.
22704         * elf/noload.c: Include <memcheck.h>.
22705         (main): Call mtrace.  Close all opened handles.
22707 2011-02-17  Andreas Schwab  <schwab@redhat.com>
22709         [BZ #12454]
22710         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
22711         dependencies are missing.
22713 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22715         Fix __if_freereq crash: Unlike the generic version which uses free,
22716         Hurd needs munmap.
22717         * sysdeps/mach/hurd/ifreq.h: New file.
22719 2011-01-27  Petr Baudis  <pasky@suse.cz>
22720             Ulrich Drepper  <drepper@gmail.com>
22722         [BZ 12445]#
22723         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
22724         to extend_alloca().
22725         * stdio-common/bug23.c: New file.
22726         * stdio-common/Makefile (tests): Add bug23.
22728 2010-09-28  Andreas Schwab  <schwab@redhat.com>
22729             Ulrich Drepper  <drepper@gmail.com>
22731         [BZ #12489]
22732         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
22733         before performing relro protection.  At old place add assertion
22734         to make sure nothing changed.
22736 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
22737             Glauber de Oliveira Costa  <glommer@gmail.com>
22739         * elf/elf.h: Add new ARM TLS relocs.
22741 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
22743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22744         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
22745         cast from r3.
22746         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
22747         'tests' variable.
22748         * sysdeps/wordsize-64/tst-writev.c: New file.
22750 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
22752         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
22753         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
22754         insns in _dl_start to prevent a TOC reference before relocs are
22755         resolved.
22757 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
22759         [BZ #12469]
22760         * Makeconfig: Remove RANLIB definition.
22761         * Makerules: Don't use RANLIB.
22762         * aclocal.m4: Remove ranlib test.
22763         * configure.in: No need to check for ranlib.
22764         * elf/rtld-Rules: Don't use RANLIB.
22766 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22768         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
22769         protection macro.
22770         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
22771         inclusion protection macro.
22773         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
22774         SIGRTMIN and SIGRTMAX and print information in that case only when
22775         SIGRTMIN is defined.
22777 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
22779         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
22780         arginfo fn returning -1.
22782         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
22783         and thousands string is zero terminated.
22785 2011-02-03  Andreas Schwab  <schwab@redhat.com>
22787         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
22788         sysdeps/unix/sysv/linux/bits/socket.h.
22790 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22792         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
22793         (__CPU_COUNT): Remove old macros.
22794         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
22795         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
22796         (__CPU_ALLOC, __CPU_FREE): Add macros.
22797         (__sched_cpualloc, __sched_cpufree): Add declarations.
22799 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
22801         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
22802         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
22803         * nscd/aicache.c (addhstaiX): Return timeout of added value.
22804         (readdhstai): Return value of addhstaiX call.
22805         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
22806         (addgrbyX): Return value returned by cache_addgr.
22807         (readdgrbyname): Return value returned by addgrbyX.
22808         (readdgrbygid): Likewise.
22809         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
22810         (addpwbyX): Return value returned by cache_addpw.
22811         (readdpwbyname): Return value returned by addhstbyX.
22812         (readdpwbyuid): Likewise.
22813         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
22814         (addservbyX): Return value returned by cache_addserv.
22815         (readdservbyname): Return value returned by addservbyX:
22816         (readdservbyport): Likewise.
22817         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
22818         (addhstbyX): Return value returned by cache_addhst.
22819         (readdhstbyname): Return value returned by addhstbyX.
22820         (readdhstbyaddr): Likewise.
22821         (readdhstbynamev6): Likewise.
22822         (readdhstbyaddrv6): Likewise.
22823         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
22824         (readdinitgroups): Return value returned by addinitgroupsX.
22825         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
22826         (prune_cache): Keep track of timeout value of re-added entries.
22827         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
22828         * nscd/nscd.h: Adjust prototypes of readd* functions.
22830 2011-02-04  Roland McGrath  <roland@redhat.com>
22832         * nis/nis_server.c (nis_servstate): Use the right name for 0.
22833         (nis_stats): Likewise.
22834         * nis/nis_modify.c (nis_modify): Likewise.
22835         * nis/nis_remove.c (nis_remove): Likewise.
22836         * nis/nis_add.c (nis_add): Likewise.
22838         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
22840         * posix/fnmatch_loop.c: Add some consts.
22842         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
22844 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
22846         [BZ #12460]
22847         * config.make.in (config-cflags-novzeroupper): Define.
22848         * configure.in: Substitute libc_cv_cc_novzeroupper.
22849         * elf/Makefile (AVX-CFLAGS): Define.
22850         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
22851         (CFLAGS-tst-auditmod4a.c): Likewise.
22852         (CFLAGS-tst-auditmod4b.c): Likewise.
22853         (CFLAGS-tst-auditmod6b.c): Likewise.
22854         (CFLAGS-tst-auditmod6c.c): Likewise.
22855         (CFLAGS-tst-auditmod7b.c): Likewise.
22856         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
22858 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
22860         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
22861         function to the callback.
22862         Patch partly by Jiri Olsa <jolsa@redhat.com>.
22864 2011-02-02  Andreas Schwab  <schwab@redhat.com>
22866         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
22867         of errno.
22869 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
22871         [BZ #11724]
22872         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
22873         of constructors.
22874         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
22875         of destructors.
22876         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
22878         [BZ #11724]
22879         * elf/Makefile: Add rules to build and run new test.
22880         * elf/tst-initorder.c: New file.
22881         * elf/tst-initorder.exp: New file.
22882         * elf/tst-initordera1.c: New file.
22883         * elf/tst-initordera2.c: New file.
22884         * elf/tst-initordera3.c: New file.
22885         * elf/tst-initordera4.c: New file.
22886         * elf/tst-initorderb1.c: New file.
22887         * elf/tst-initorderb2.c: New file.
22888         * elf/tst-order-a1.c: New file.
22889         * elf/tst-order-a2.c: New file.
22890         * elf/tst-order-a3.c: New file.
22891         * elf/tst-order-a4.c: New file.
22892         * elf/tst-order-b1.c: New file.
22893         * elf/tst-order-b2.c: New file.
22894         * elf/tst-order-main.c: New file.
22895         New test case by George Gensure <werkt0@gmail.com>.
22897 2010-10-01  Andreas Schwab  <schwab@redhat.com>
22899         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22900         decoding ACE if AI_CANONIDN.
22902 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
22904         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
22906 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
22908         * version.h (RELEASE): Bump for 2.13 release.
22909         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
22911         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
22913         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
22914         MADV_NOHUGEPAGE.
22915         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
22916         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22917         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22918         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22919         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22920         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22922         * posix/getconf.c: Update copyright year.
22923         * catgets/gencat.c: Likewise.
22924         * csu/version.c: Likewise.
22925         * debug/catchsegv.sh: Likewise.
22926         * debug/xtrace.sh: Likewise.
22927         * elf/ldconfig.c: Likewise.
22928         * elf/ldd.bash.in: Likewise.
22929         * elf/sprof.c (print_version): Likewise.
22930         * iconv/iconv_prog.c: Likewise.
22931         * iconv/iconvconfig.c: Likewise.
22932         * locale/programs/locale.c: Likewise.
22933         * locale/programs/localedef.c: Likewise.
22934         * malloc/memusage.sh: Likewise.
22935         * malloc/mtrace.pl: Likewise.
22936         * nscd/nscd.c (print_version): Likewise.
22937         * nss/getent.c: Likewise.
22939         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
22940         PF_CAIF, and PF_ALG.
22941         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22943 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
22945         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
22946         (modules-names): Use them.
22947         (ifunc-test-modules, ifunc-pie-tests): Define.
22948         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
22949         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
22950         (test-extras): Likewise.
22951         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
22952         $(compile-command.c).
22953         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
22954         (all-built-dso): Define.
22955         (check-textrel.out, check-execstack.out): Depend on it.
22957         * configure.in: Don't override --enable-multi-arch.
22959 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
22961         [BZ #6812]
22962         * nscd/hstcache.c (tryagain): Define.
22963         (cache_addhst): Return tryagain not notfound for temporary errors.
22964         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
22965         failed.
22967 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
22969         [BZ #10563]
22970         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
22971         to make the syscall.
22972         * sysdeps/unix/sysv/linux/setgroups.c: New file.
22974         [BZ #12378]
22975         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
22976         and fall back to matching as normal character if the string ends before
22977         the matching ']' is found.  This is what POSIX requires.
22978         * posix/testfnm.c: Adjust test result.
22979         * posix/globtest.sh: Adjust test result.  Add new test.
22980         * posix/tst-fnmatch.input: Likewise.
22981         * posix/tst-fnmatch2.c: Add new test.
22983 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
22985         * elf/Makefile (check-execstack): Revert last change.  Depend on
22986         check-execstack.h.
22987         (check-execstack.h): New target.
22988         (generated): Add check-execstack.h.
22989         * elf/check-execstack.c: Include "check-execstack.h".
22990         (main): Revert last change.
22991         (handle_file): Return zero if GNU_STACK is absent and
22992         DEFAULT_STACK_PERMS doesn't include PF_X.
22994 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
22996         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
22997         in child fails because the descriptor is already closed.
22998         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
22999         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
23000         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
23002         [BZ #12397]
23003         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
23004         syscall.
23006         [BZ #10484]
23007         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
23008         temporary buffer used to handle multi lookups locally.
23009         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
23011 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
23013         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
23014         loader is ld.so.
23016 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
23018         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
23019         alignment for SSE2.
23021 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
23023         [BZ #12394]
23024         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
23025         characters.  When rounding increased number of integer digits recompute
23026         number of groups.
23027         * stdio-common/tst-grouping.c: New file.
23028         * stdio-common/Makefile: Add rules to build and run tst-grouping.
23030 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
23032         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
23033         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
23035         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
23036         void.
23037         * bits/select.h: Likewise.
23039 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
23041         * po/ja.po: Update from translation team.
23043 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
23045         [BZ #11155]
23046         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
23047         implementation just like for lxstat, fxstatat, et al.
23049 2010-12-27  Jim Meyering  <meyering@redhat.com>
23051         [BZ #12348]
23052         * posix/regexec.c (build_trtable): Return failure indication upon
23053         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
23055 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
23057         [BZ #12201]
23058         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
23059         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
23060         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
23061         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
23063         [BZ #12207]
23064         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
23066         [BZ #12204]
23067         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
23068         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
23070 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
23072         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
23073         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
23074         script has SORT_BY_INIT_PRIORITY.
23075         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
23076         NO_CTORS_DTORS_SECTIONS is defined.
23077         * elf/soinit.c: Likewise.
23078         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
23079         NO_CTORS_DTORS_SECTIONS is defined.
23080         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
23081         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
23082         * sysdeps/sh/init-first.c: Likewise.
23083         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
23085 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
23087         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
23088         always use the slow path.
23090 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
23092         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
23093         similar rule which adds the sysdep directories to the header search in
23094         order to pick up the correct platform stackinfo.h.
23095         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
23096         perform test if it is, otherwise return successfully without testing.
23097         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
23098         DEFAULT_STACK_PERMS define in stackinfo.h.
23099         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
23100         defined in stackinfo.h.
23101         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
23102         DEFAULT_STACK_PERMS defined in stackinfo.h.
23103         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
23104         * sysdeps/ia64/stackinfo.h: Likewise.
23105         * sysdeps/s390/stackinfo.h: Likewise.
23106         * sysdeps/sh/stackinfo.h: Likewise.
23107         * sysdeps/sparc/stackinfo.h: Likewise.
23108         * sysdeps/x86_64/stackinfo.h: Likewise.
23109         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
23110         PF_X for powerpc64.  Retain PF_X for powerpc32.
23112 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
23114         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
23115         accurately.
23116         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
23117         GETDENTS_64BIT_ALIGNED.
23119 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
23121         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
23123 2010-12-10  Andreas Schwab  <schwab@redhat.com>
23125         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
23126         _GNU_SOURCE.
23128         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
23129         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
23130         Remove __restrict.
23131         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
23132         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
23134 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
23136         [BZ #11655]
23137         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
23138         are initialized.
23140 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
23142         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
23144 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
23146         * po/it.po: Update from translation team.
23148 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
23150         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
23151         unused codes.
23153 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
23155         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
23157 2010-11-24  Andreas Schwab  <schwab@redhat.com>
23159         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
23160         specially.
23161         (gaih_getanswer_slice): Likewise.
23163 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
23165         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
23167 2010-05-31  Petr Baudis  <pasky@suse.cz>
23169         [BZ #11149]
23170         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
23171         silently even in the chroot mode.
23173 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
23175         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
23176         last patch a bit.  Pretty printing
23178 2010-05-31  Petr Baudis <pasky@suse.cz>
23180         [BZ #10085]
23181         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
23182         initialization of skip_initgroups_dyn.
23184 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
23186         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
23187         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23189 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
23191         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
23193 2010-11-11  Andreas Schwab  <schwab@redhat.com>
23195         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
23196         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
23197         (tst-fnmatch-ENV): Set MALLOC_TRACE.
23198         ($(objpfx)tst-fnmatch-mem): New rule.
23199         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
23200         * posix/tst-fnmatch.c (main): Call mtrace.
23202 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
23204         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23205         Support Intel processor model 6 and model 0x2c.
23207 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
23209         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
23210           signed comparison.
23212 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
23214         [BZ #12205]
23215         * string/test-strncasecmp.c (check_result): New function.
23216         (do_one_test): Use it.
23217         (check1): New function.
23218         (test_main): Use it.
23219         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
23220         Support strcasecmp and strncasecmp.
23222 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
23224         [BZ #12194]
23225         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
23226         * sysdeps/x86_64/bits/byteswap.h: Likewise.
23228 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
23230         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
23231         IFUNC support.
23232         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23233         memset-x86-64.
23234         * sysdeps/x86_64/multiarch/bzero.S: New file.
23235         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
23236         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
23237         * sysdeps/x86_64/multiarch/memset.S: New file.
23238         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
23239         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23240         Set bit_Prefer_SSE_for_memop for Intel processors.
23241         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
23242         Define.
23243         (index_Prefer_SSE_for_memop): Define.
23244         (HAS_PREFER_SSE_FOR_MEMOP): Define.
23246 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
23248         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
23249         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
23251 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
23253         [BZ #12191]
23254         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23255         (__x86_64_raw_data_cache_size_half): Likewise.
23256         (__x86_64_raw_shared_cache_size): Likewise.
23257         (__x86_64_raw_shared_cache_size_half): Likewise.
23259         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23260         (__x86_64_raw_data_cache_size_half): Likewise.
23261         (__x86_64_raw_shared_cache_size): Likewise.
23262         (__x86_64_raw_shared_cache_size_half): Likewise.
23263         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
23264         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
23265         and __x86_64_raw_shared_cache_size_half.  Round
23266         __x86_64_data_cache_size_half, __x86_64_data_cache_size
23267         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
23268         to multiple of 256 bytes.
23270 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
23272         [BZ #12167]
23273         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
23274         of inacessible symlinks.  Verify result of symlink before returning it.
23275         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23276         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
23278 2010-10-28  Erich Ritz  <erichritz@gmail.com>
23280         * math/math.h (isinf): Fix typo in comment.
23282 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
23284         * po/da.po: Update from translation team.
23286 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
23288         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
23289         is added to the list.
23291 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23292             Ulrich Drepper  <drepper@gmail.com>
23294         * elf/dl-object.c (_dl_new_object): Don't append the new object to
23295         the global list here.  Move code to...
23296         (_dl_add_to_namespace_list): ...here.  New function.
23297         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
23298         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
23299         * elf/dl-load.c (lose): Don't remove the element from the list.
23300         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
23301         (_dl_map_object): Likewise.
23303 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
23305         [BZ #12159]
23306         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
23307         into all bytes of SSE register.
23308         Patch by Richard Li <richardpku@gmail.com>.
23310 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
23312         [BZ #12140]
23313         * malloc/malloc.c (_int_free): Fill correct number of bytes when
23314         perturbing.
23316 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
23318         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
23319         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
23320         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
23321         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
23323         submachine.
23324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
23326 2010-10-22  Andreas Schwab  <schwab@redhat.com>
23328         * include/dlfcn.h (__RTLD_SECURE): Define.
23329         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
23330         mode & __RTLD_SECURE instead.
23331         (open_path): Rename preloaded parameter to secure.
23332         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
23333         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
23334         * elf/dl-deps.c (openaux): Likewise.
23335         * elf/rtld.c (struct map_args): Remove is_preloaded.
23336         (map_doit): Don't use it.
23337         (dl_main): Likewise.
23338         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
23339         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
23341 2010-09-09  Andreas Schwab  <schwab@redhat.com>
23343         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
23344         (sysd-rules-targets): Remove duplicates.
23345         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
23346         rtld-%.$o dependency.
23348 2010-10-18  Andreas Schwab  <schwab@redhat.com>
23350         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
23351         _dl_map_object do it.
23353 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
23355         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
23356         fast fma builtins, define the macros in the C99 standard.
23357         (FP_FAST_FMAF): Likewise.
23358         (FP_FAST_FMAL): Likewise.
23359         * sysdeps/x86_64/bits/mathdef.h: Likewise.
23361         * bits/mathdef.h: Update copyright year.
23362         * sysdeps/powerpc/bits/mathdef.h: Likewise.
23364 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
23366         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
23367         builtins, define the macros in the C99 standard.
23368         (FP_FAST_FMAF): Likewise.
23369         (FP_FAST_FMAL): Likewise.
23370         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
23371         multiply/add.
23372         (FP_FAST_FMAF): Likewise.
23374 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
23376         [BZ #3268]
23377         * math/libm-test.inc (fma_test): Some new testcases.
23378         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
23379         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
23380         y and infinite z.  Do multiplication by C already in long double.
23381         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
23382         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
23383         y and infinite z.  Do bitwise or of inexact bit into u.d.
23384         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
23385         * sysdeps/i386/fpu/s_fmaf.S: Removed.
23386         * sysdeps/i386/fpu/s_fma.S: Removed.
23387         * sysdeps/i386/fpu/s_fmal.S: Removed.
23389 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
23391         [BZ #3268]
23392         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
23393         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
23394         computation is not scheduled after fetestexcept.  Fix value
23395         of minimum denormal long double.
23397 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
23399         [BZ #3268]
23400         * math/libm-test.inc (fma_test): Add some more tests.
23401         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
23402         correctly.
23404 2010-10-15  Andreas Schwab  <schwab@redhat.com>
23406         * scripts/data/localplt-s390-linux-gnu.data: New file.
23407         * scripts/data/localplt-s390x-linux-gnu.data: New file.
23409 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
23411         [BZ #3268]
23412         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
23413         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
23414         instead of dbl-64.
23415         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
23416         inlines.
23417         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
23418         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
23419         if one of x and y is very large and the other is subnormal.
23420         * sysdeps/s390/fpu/s_fmaf.c: New file.
23421         * sysdeps/s390/fpu/s_fma.c: New file.
23422         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
23423         * sysdeps/powerpc/fpu/s_fma.S: New file.
23424         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
23425         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
23426         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
23428 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
23430         [BZ #3268]
23431         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
23432         fma tests.
23433         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
23434         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
23435         * sysdeps/i386/i686/multiarch/s_fma.c: Include
23436         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
23437         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
23438         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
23439         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
23441 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
23443         [BZ #12078]
23444         * posix/regcomp.c (parse_branch): One more memory leak plugged.
23445         * posix/bug-regex31.input: Add test case.
23447 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
23449         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
23450         * posix/bug-regex31.input: New file.
23452         [BZ #12078]
23453         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
23454         (parse_sub_exp): Fix last change, use postorder.
23456         * posix/bug-regex31.c: New file.
23457         * posix/Makefile: Add rules to build and run bug-regex31.
23459         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
23461         [BZ #12078]
23462         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
23464         [BZ #12108]
23465         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
23466         to have entries in sys_siglist.
23468         [BZ #12093]
23469         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
23470         be NULL.
23472 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
23474         [BZ #3268]
23475         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
23476         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
23477         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23478         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
23479         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23480         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
23481         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
23482         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
23483         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
23484         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
23485         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
23486         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
23487         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23488         * math/ftestexcept.c (fetestexcept): Likewise.
23489         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
23490         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
23491         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23492         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
23493         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
23494         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
23495         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23497 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
23499         [BZ #12107]
23500         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
23501         newline.
23503 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
23505         * string/bug-strstr1.c: New file.
23506         * string/Makefile: Add rules to build and run bug-strstr1.
23508 2010-10-05  Eric Blake  <eblake@redhat.com>
23510         [BZ #12092]
23511         * string/str-two-way.h (two_way_long_needle): Always clear memory
23512         when skipping input due to the shift table.
23514 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
23516         [BZ #12005]
23517         * malloc/mcheck.c: Handle large requests.
23519         [BZ #12077]
23520         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
23521         for strncmp and strncasecmp.
23522         * string/stratcliff.c: Add tests for strcmp and strncmp.
23523         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
23525 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23527         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
23528         __set_fpscr.
23530 2010-09-30  Andreas Jaeger  <aj@suse.de>
23532         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
23533         (CGROUP_SUPER_MAGIC): Define.
23534         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23535         Handle btrfs and cgroup file systems.
23536         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23537         Likewise.
23539 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
23541         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
23542         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
23544 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23546         [BZ #12067]
23547         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
23548         trying to locate the ELF header.
23550 2010-09-27  Andreas Schwab  <schwab@redhat.com>
23552         [BZ #11611]
23553         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
23554         Mask out sign-bit copies when constructing f_fsid.
23556 2010-09-24  Petr Baudis <pasky@suse.cz>
23558         * debug/stack_chk_fail_local.c: Add missing licence exception.
23559         * debug/warning-nop.c: Likewise.
23561 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
23563         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
23564         implementing getdents64 using getdents syscall, set d_type if
23565         __ASSUME_GETDENTS32_D_TYPE.
23567 2010-09-16  Andreas Schwab  <schwab@redhat.com>
23569         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
23570         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
23572 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
23574         [BZ #12037]
23575         * posix/unistd.h: Undo change of feature selection for ftruncate from
23576         2010-01-11.
23578 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
23580         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
23581         detection.
23583 2010-09-20  Andreas Schwab  <schwab@redhat.com>
23585         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
23586         fanotify_mark.
23587         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23589 2010-09-14  Andreas Schwab  <schwab@redhat.com>
23591         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
23592         variables after CHECK_SP call.
23593         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
23595 2010-09-13  Andreas Schwab  <schwab@redhat.com>
23596             Ulrich Drepper  <drepper@redhat.com>
23598         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
23599         re-relocationg ld.so.
23600         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
23601         _dl_init_paths call.
23602         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
23603         here anymore.
23605 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
23607         * resolv/res_init.c (__res_vinit): Count the default server we added.
23609 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
23610             Ulrich Drepper  <drepper@redhat.com>
23612         [BZ #11968]
23613         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23614         (____longjmp_chk): Use %ebx for saving value across system call.
23615         Add unwind info.
23617 2010-09-06  Andreas Schwab  <schwab@redhat.com>
23619         * manual/Makefile: Don't mix pattern rules with normal rules.
23621 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
23623         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
23624         operation.
23625         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
23626         * libio/iofopncook.c (_IO_cookie_init): Likewise.
23627         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
23628         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23629         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23630         Likewise.
23632 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
23634         [BZ #11979]
23635         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
23636         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
23638 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
23640         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
23641         * sysdeps/x86_64/addmul_1.S: Likewise.
23642         * sysdeps/x86_64/lshift.S: Likewise.
23643         * sysdeps/x86_64/mul_1.S: Likewise.
23644         * sysdeps/x86_64/rshift.S: Likewise.
23645         * sysdeps/x86_64/sub_n.S: Likewise.
23646         * sysdeps/x86_64/submul_1.S: Likewise.
23648 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23650         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
23651         Define __sched_param instead of SCHED_* and sched_param when
23652         <bits/sched.h> is included with __need_schedparam defined.
23653         * bits/sched.h [__need_schedparam]
23654         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
23655         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
23656         (__defined_schedparam): Define to 1.
23657         (__sched_param): New structure, identical to sched_param.
23658         (__need_schedparam): Undefine.
23660 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
23662         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
23663         (epoll_create1): Declare.
23665         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
23667 2010-08-31  Andreas Schwab  <schwab@redhat.com>
23669         [BZ #7066]
23670         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
23671         shifting retval into place.
23673 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
23675         * nis/rpcsvc/nis.h: Update copyright notice.
23676         * nis/rpcsvc/nis.x: Likewise.
23677         * nis/rpcsvc/nis_callback.h: Likewise.
23678         * nis/rpcsvc/nis_callback.x: Likewise.
23679         * nis/rpcsvc/nis_object.x: Likewise.
23680         * nis/rpcsvc/nis_tags.h: Likewise.
23681         * nis/rpcsvc/yp.h: Likewise.
23682         * nis/rpcsvc/yp.x: Likewise.
23683         * nis/rpcsvc/ypupd.h: Likewise.
23684         * nis/yp_xdr.c: Likewise.
23685         * nis/ypupdate_xdr.c: Likewise.
23687         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
23688         mainly the body of pmap_getport.  Add parameters to specify timeouts.
23689         (pmap_getport): Use __libc_rpc_getport.
23690         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
23691         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
23692         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
23694 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
23696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
23697         fanotify_mark.
23699 2010-08-27  Roland McGrath  <roland@redhat.com>
23701         * sysdeps/i386/i686/multiarch/Makefile
23702         (CFLAGS-varshift.c): New variable.
23704 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
23706         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
23707         * sysdeps/i386/i686/multiarch/varshift.c: New file.
23709         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
23711         * sysdeps/x86_64/strlen.S: Minimal code improvement.
23713 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
23715         * sysdeps/x86_64/strlen.S: Unroll the loop.
23716         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23717         strlen-sse2 strlen-sse2-bsf.
23718         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
23719         __strlen_no_bsf if bit_Slow_BSF is set.
23720         (__strlen_sse42): Removed.
23721         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
23722         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
23724 2010-08-25  Roland McGrath  <roland@redhat.com>
23726         * sysdeps/x86_64/multiarch/varshift.S: File removed.
23727         * sysdeps/x86_64/multiarch/varshift.c: New file.
23728         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
23729         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
23730         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
23731         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23733 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
23735         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23736         strlen-sse2 strlen-sse2-bsf.
23737         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
23738         __strlen_sse2_bsf if bit_Slow_BSF is unset.
23739         (__strlen_sse2): Removed.
23740         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
23741         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
23742         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23743         bit_Slow_BSF for Atom.
23744         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
23745         (index_Slow_BSF): Define.
23746         (HAS_SLOW_BSF): Define.
23748 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
23750         [BZ #10851]
23751         * resolv/res_init.c (__res_vinit): When no server address at all
23752         is given default to loopback.
23754 2010-08-24  Roland McGrath  <roland@redhat.com>
23756         * configure.in: Remove config-name.h generation.
23757         * configure: Regenerated.
23758         * config-name.in: File removed.
23759         * scripts/config-uname.sh: New file.
23760         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
23761         ($(objdir)config-name.h): New target.
23763         * sunrpc/rpc_parse.h: Avoid nested comment.
23765 2010-08-24  Richard Henderson  <rth@redhat.com>
23766             Ulrich Drepper  <drepper@redhat.com>
23767             H.J. Lu  <hongjiu.lu@intel.com>
23769         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
23770         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
23771         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
23772         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
23773         _mm_alignr_epi8 with _mm_loadu_si128.
23774         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
23775         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
23776         (__m128i_shift_right): Removed.
23777         * sysdeps/i386/i686/multiarch/varshift.h: New file.
23778         * sysdeps/i386/i686/multiarch/varshift.S: New file.
23779         * sysdeps/x86_64/multiarch/varshift.h: New file.
23780         * sysdeps/x86_64/multiarch/varshift.S: New file.
23782 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
23784         * configure.in: Move assembler checks to before sysdep dir checking.
23786 2010-08-20  Petr Baudis  <pasky@suse.cz>
23788         * LICENSES: Sync the sunrpc license.
23790 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
23792         * sunrpc/auth_des.c: Update copyright notice once again.
23793         * sunrpc/auth_none.c: Likewise.
23794         * sunrpc/auth_unix.c: Likewise.
23795         * sunrpc/authdes_prot.c: Likewise.
23796         * sunrpc/authuxprot.c: Likewise.
23797         * sunrpc/bindrsvprt.c: Likewise.
23798         * sunrpc/clnt_gen.c: Likewise.
23799         * sunrpc/clnt_perr.c: Likewise.
23800         * sunrpc/clnt_raw.c: Likewise.
23801         * sunrpc/clnt_simp.c: Likewise.
23802         * sunrpc/clnt_tcp.c: Likewise.
23803         * sunrpc/clnt_udp.c: Likewise.
23804         * sunrpc/clnt_unix.c: Likewise.
23805         * sunrpc/des_crypt.c: Likewise.
23806         * sunrpc/des_soft.c: Likewise.
23807         * sunrpc/get_myaddr.c: Likewise.
23808         * sunrpc/getrpcport.c: Likewise.
23809         * sunrpc/key_call.c: Likewise.
23810         * sunrpc/key_prot.c: Likewise.
23811         * sunrpc/openchild.c: Likewise.
23812         * sunrpc/pm_getmaps.c: Likewise.
23813         * sunrpc/pm_getport.c: Likewise.
23814         * sunrpc/pmap_clnt.c: Likewise.
23815         * sunrpc/pmap_prot.c: Likewise.
23816         * sunrpc/pmap_prot2.c: Likewise.
23817         * sunrpc/pmap_rmt.c: Likewise.
23818         * sunrpc/rpc/auth.h: Likewise.
23819         * sunrpc/rpc/auth_unix.h: Likewise.
23820         * sunrpc/rpc/clnt.h: Likewise.
23821         * sunrpc/rpc/des_crypt.h: Likewise.
23822         * sunrpc/rpc/key_prot.h: Likewise.
23823         * sunrpc/rpc/netdb.h: Likewise.
23824         * sunrpc/rpc/pmap_clnt.h: Likewise.
23825         * sunrpc/rpc/pmap_prot.h: Likewise.
23826         * sunrpc/rpc/pmap_rmt.h: Likewise.
23827         * sunrpc/rpc/rpc.h: Likewise.
23828         * sunrpc/rpc/rpc_des.h: Likewise.
23829         * sunrpc/rpc/rpc_msg.h: Likewise.
23830         * sunrpc/rpc/svc.h: Likewise.
23831         * sunrpc/rpc/svc_auth.h: Likewise.
23832         * sunrpc/rpc/types.h: Likewise.
23833         * sunrpc/rpc/xdr.h: Likewise.
23834         * sunrpc/rpc_clntout.c: Likewise.
23835         * sunrpc/rpc_cmsg.c: Likewise.
23836         * sunrpc/rpc_common.c: Likewise.
23837         * sunrpc/rpc_cout.c: Likewise.
23838         * sunrpc/rpc_dtable.c: Likewise.
23839         * sunrpc/rpc_hout.c: Likewise.
23840         * sunrpc/rpc_main.c: Likewise.
23841         * sunrpc/rpc_parse.c: Likewise.
23842         * sunrpc/rpc_parse.h: Likewise.
23843         * sunrpc/rpc_prot.c: Likewise.
23844         * sunrpc/rpc_sample.c: Likewise.
23845         * sunrpc/rpc_scan.c: Likewise.
23846         * sunrpc/rpc_scan.h: Likewise.
23847         * sunrpc/rpc_svcout.c: Likewise.
23848         * sunrpc/rpc_tblout.c: Likewise.
23849         * sunrpc/rpc_util.c: Likewise.
23850         * sunrpc/rpc_util.h: Likewise.
23851         * sunrpc/rpcinfo.c: Likewise.
23852         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
23853         * sunrpc/rpcsvc/key_prot.x: Likewise.
23854         * sunrpc/rpcsvc/klm_prot.x: Likewise.
23855         * sunrpc/rpcsvc/mount.x: Likewise.
23856         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
23857         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
23858         * sunrpc/rpcsvc/rex.x: Likewise.
23859         * sunrpc/rpcsvc/rstat.x: Likewise.
23860         * sunrpc/rpcsvc/rusers.x: Likewise.
23861         * sunrpc/rpcsvc/sm_inter.x: Likewise.
23862         * sunrpc/rpcsvc/spray.x: Likewise.
23863         * sunrpc/rpcsvc/yppasswd.x: Likewise.
23864         * sunrpc/rtime.c: Likewise.
23865         * sunrpc/svc.c: Likewise.
23866         * sunrpc/svc_auth.c: Likewise.
23867         * sunrpc/svc_authux.c: Likewise.
23868         * sunrpc/svc_raw.c: Likewise.
23869         * sunrpc/svc_run.c: Likewise.
23870         * sunrpc/svc_simple.c: Likewise.
23871         * sunrpc/svc_tcp.c: Likewise.
23872         * sunrpc/svc_udp.c: Likewise.
23873         * sunrpc/svc_unix.c: Likewise.
23874         * sunrpc/svcauth_des.c: Likewise.
23875         * sunrpc/xcrypt.c: Likewise.
23876         * sunrpc/xdr.c: Likewise.
23877         * sunrpc/xdr_array.c: Likewise.
23878         * sunrpc/xdr_float.c: Likewise.
23879         * sunrpc/xdr_mem.c: Likewise.
23880         * sunrpc/xdr_rec.c: Likewise.
23881         * sunrpc/xdr_ref.c: Likewise.
23882         * sunrpc/xdr_sizeof.c: Likewise.
23883         * sunrpc/xdr_stdio.c: Likewise.
23885         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
23886         handling.
23888 2010-08-19  Andreas Schwab  <schwab@redhat.com>
23890         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
23892 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
23894         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
23895         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
23896         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
23897         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
23898         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
23899         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
23900         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
23901         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
23902         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
23903         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
23904         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
23905         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
23906         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
23907         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
23909 2010-07-26  Anton Blanchard  <anton@samba.org>
23911         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
23912         * malloc/arena.c (heap_trim): Likewise.
23914 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
23916         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
23917         here.  Not...
23918         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
23919         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
23921 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
23923         * sysdeps/i386/elf/Makefile: New file.
23925 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
23927         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
23928         from fanotify_init.
23929         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
23930         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23932 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
23934         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
23935         of strncasecmp_l.
23936         * sysdeps/multiarch/strcmp.S: Likewise.
23938 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
23940         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23941         strncase_l-nonascii.
23942         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23943         Add strncase_l-ssse3.
23944         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
23945         * sysdeps/x86_64/strcmp.S: Likewise.
23946         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
23947         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
23948         * sysdeps/x86_64/strncase.S: New file.
23949         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
23950         * sysdeps/x86_64/strncase_l.S: New file.
23951         * string/Makefile (strop-tests): Add strncasecmp.
23952         * string/test-strncasecmp.c: New file.
23954         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
23955         warning.
23957         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
23958         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
23960 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
23962         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
23964 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
23966         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
23967         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
23968         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
23970 2010-05-01  Alan Modra  <amodra@gmail.com>
23972         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
23973         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
23974         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
23975         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
23976         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
23977         tidying.  Don't tail-call __sigjmp_save for static lib.
23978         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
23979         save location.
23980         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
23981         (CALL_MCOUNT): Add eh info, and nop after bl.
23982         (TAIL_CALL_SYSCALL_ERROR): New macro.
23983         (PSEUDO_RET): Use it.
23984         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23985         Correct save location of integer regs and cr.
23986         (_dl_profile_resolve): Correct cr save location.  Delete nops
23987         after bl when SHARED.  Reduce cfi size a little by better
23988         placement of cfi directives.
23989         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
23990         make a stack frame.  Instead use parm save area as a temp.
23991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
23992         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
23993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23994         Don't make a stack frame for parent, use parm save area.
23995         Increase child stack frame to 112 bytes.  Don't save unused reg,
23996         and adjust reg usage.  Set up cfi on error recovery and
23997         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
23998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23999         (__makecontext): Add dummy nop after jump to exit.
24000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
24001         Use correct parm save area and cr save, reduce stack frame.
24002         Correct cfi for possible PSEUDO_RET frame setup.
24003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
24004         Branch to local label emitted by PSEUDO_RET rather than
24005         __syscall_error.
24007 2010-08-12  Andreas Schwab  <schwab@redhat.com>
24009         [BZ #11904]
24010         * locale/programs/locale.c (print_assignment): New function.
24011         (show_locale_vars): Use it.
24013 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
24015         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
24016         field.
24017         (struct statfs64): Likewise.
24018         (_STATFS_F_FLAGS): Define.
24019         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
24020         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24021         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
24022         (ST_VALID): Define locally.
24023         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
24024         __statvfs_getflags, use the provided value.
24025         * sysdeps/unix/sysv/linux/kernel-features.h: Define
24026         __ASSUME_STATFS_F_FLAGS.
24028         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
24030         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
24031         Add sys/fanotify.h.
24032         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
24033         fanotify_mask for GLIBC_2.13.
24034         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
24035         fanotify_init and fanotify_mark.
24036         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24037         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
24039         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
24040         Add prlimit.
24041         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
24042         prlimit64 for GLIBC_2.13.
24043         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
24044         prlimit64.
24045         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
24046         syscall.
24047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
24048         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24049         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
24050         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
24051         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
24052         add prlimit alias.
24053         * sysdeps/unix/sysv/linux/prlimit.c: New file.
24055         [BZ #11903]
24056         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
24057         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
24059         * nss/Makefile: Add rules to build and run tst-nss-test1.
24060         * shlib-versions: Add entry for libnss_test1.
24061         * nss/nss_test1.c: New file.
24062         * nss/tst-nss-test1.c: New file.
24064         * nss/nsswitch.c (__nss_database_custom): Define new variable.
24065         (__nss_configure_lookup): Set appropriate entry in
24066         __nss_configure_lookup to true.
24067         * nss/nsswitch.h: Define enum with indeces of databases in
24068         databases and __nss_database_custom arrays.  Declare
24069         __nss_database_custom.
24070         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
24071         to avoid using nscd when custom rules are installed.
24072         * nss/getXXbyYY_r.c: Likewise.
24073         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24075         * nss/nss_files/files-parse.c: Whitespace fixes.
24077 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
24079         [BZ #11883]
24080         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
24081         * posix/fnmatch_loop.c: Likewise.
24083 2010-07-17  Andi Kleen  <ak@linux.intel.com>
24085         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
24086         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
24087         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
24088         * Versions.def [GLIBC_2.13]: Add.
24090 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
24092         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24093         Also fail if tpwd after pwuid call is NULL.
24095 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24097         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
24098         when converting to ms.
24100 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24102         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
24103         EOPNOTSUPP errors with ENOTTY.
24104         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
24105         EOPNOTSUPP errors with ENOTTY.
24107 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
24109         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24110         Add strcasecmp_l-ssse3.
24111         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
24112         strcasecmp.
24113         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
24114         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
24115         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
24117 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
24119         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
24121         * string/Makefile (strop-tests): Add strcasecmp.
24122         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24123         strcasecmp_l-nonascii.
24124         (gen-as-const-headers): Add locale-defines.sym.
24125         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
24126         * sysdeps/x86_64/strcasecmp.S: New file.
24127         * sysdeps/x86_64/strcasecmp_l.S: New file.
24128         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
24129         * sysdeps/x86_64/locale-defines.sym: New file.
24130         * string/test-strcasecmp.c: New file.
24132         * string/test-strcasestr.c: Test both ends of the range of characters.
24133         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
24135 2010-07-29  Roland McGrath  <roland@redhat.com>
24137         [BZ #11856]
24138         * manual/locale.texi (Yes-or-No Questions): Fix example code.
24140 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
24142         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
24143         for ld.so.
24145 2010-07-27  Andreas Schwab  <schwab@redhat.com>
24147         * manual/memory.texi (Malloc Tunable Parameters): Document
24148         M_PERTURB.
24150 2010-07-26  Roland McGrath  <roland@redhat.com>
24152         [BZ #11840]
24153         * configure.in (-fgnu89-inline check): Set and substitute
24154         gnu89_inline, not libc_cv_gnu89_inline.
24155         * configure: Regenerated.
24156         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
24158 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
24160         * string/test-strnlen.c: New file.
24161         * string/Makefile (strop-tests): Add strnlen.
24162         * string/tester.c (test_strnlen): Add a few more test cases.
24163         * string/tst-strlen.c: Better error reporting.
24165         * sysdeps/x86_64/strnlen.S: New file.
24167 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
24169         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
24170         lower-latency instructions.
24172 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
24174         * string/test-strcasestr.c: New file.
24175         * string/test-strstr.c: New file.
24176         * string/Makefile (strop-tests): Add strstr and strcasestr.
24177         * string/str-two-way.h: Don't undefine MAX.
24178         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
24180 2010-07-21  Andreas Schwab  <schwab@redhat.com>
24182         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24183         strcasestr-nonascii.
24184         (CFLAGS-strcasestr-nonascii.c): Define.
24185         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
24186         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
24187         Remove unused attribute.
24189 2010-07-20  Roland McGrath  <roland@redhat.com>
24191         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
24192         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
24193         ld.so.cache was broken.  With it, there is no way to disable dsocaps
24194         like LD_HWCAP_MASK can disable hwcaps.
24196 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
24198         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
24200 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
24202         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
24203         call in strcasestr.
24204         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
24205         __strcasestr_sse42_nonascii.
24206         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
24207         strcasestr-nonascii.c.
24208         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
24210 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
24212         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
24213         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
24214         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
24215         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
24217 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
24219         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
24220         fcntl.
24222 2010-07-06  Andreas Schwab  <schwab@redhat.com>
24224         [BZ #11577]
24225         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
24226         dl_signal_cerror.
24228 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
24230         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
24231         _PC_PIPE_BUF using F_GETPIPE_SZ.
24233 2010-07-05  Roland McGrath  <roland@redhat.com>
24235         * manual/arith.texi (Rounding Functions): Fix rint description
24236         implicit in round description.
24238 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
24240         * elf/Makefile: Fix linking for a few tests to make recent linker
24241         happy.
24243 2010-06-30  Andreas Schwab  <schwab@redhat.com>
24245         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24246         $(common-objpfx)libc_nonshared.a.
24248 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
24250         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
24251         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
24252         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24253         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24254         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
24255         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
24256         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24257         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
24259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
24260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
24261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
24263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
24265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
24266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
24267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
24268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
24270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
24272         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
24273         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
24274         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
24275         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
24276         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
24277         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
24278         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
24279         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
24280         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
24281         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
24282         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
24283         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
24284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
24285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
24286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
24287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
24288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
24289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
24290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
24291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
24292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
24293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
24294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
24295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
24296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
24297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
24299 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
24301         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
24302         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
24303         * string/memmove.c (memmove): Renamed to ...
24304         (MEMMOVE): ...this.  Default to memmove.
24305         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
24306         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
24307         (END_CHK): Define.
24308         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24309         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
24310         mempcpy-ssse3-back memmove-ssse3-back.
24311         * sysdeps/x86_64/multiarch/bcopy.S: New file .
24312         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
24313         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
24314         * sysdeps/x86_64/multiarch/memcpy.S: New file.
24315         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
24316         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
24317         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
24318         * sysdeps/x86_64/multiarch/memmove.c: New file.
24319         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
24320         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
24321         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
24322         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
24323         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
24324         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
24325         Define.
24326         (index_Fast_Copy_Backward): Define.
24327         (HAS_ARCH_FEATURE): Define.
24328         (HAS_FAST_REP_STRING): Define.
24329         (HAS_FAST_COPY_BACKWARD): Define.
24331 2010-06-21  Andreas Schwab  <schwab@redhat.com>
24333         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24334         Restore proper fallback handling.
24336 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
24338         [BZ #11701]
24339         * posix/group_member.c (__group_member): Correct checking loop.
24341         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
24342         OOM in getpwuid_r correctly.  Return error number when the caller
24343         should return, otherwise -1.
24344         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
24345         call returning > 0 value.
24346         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
24348 2010-06-07  Andreas Schwab  <schwab@redhat.com>
24350         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
24351         libc_nonshared.a from targets in modules-names.
24353 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
24355         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
24356         requires it.
24358 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
24360         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
24361         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
24362         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
24363         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
24365 2010-06-02  Andreas Schwab  <schwab@redhat.com>
24367         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
24369 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
24371         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
24372         and F_GETPIPE_SZ.
24373         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24374         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24375         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24376         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24377         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24378         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
24380 2010-06-14  Roland McGrath  <roland@redhat.com>
24382         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
24384 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
24386         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
24387         __REDIRECT followed by __THROW.
24388         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
24389         * posix/getopt.h (getopt): Likewise.
24391 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
24393         * hurd/lookup-at.c (__file_name_lookup_at): Accept
24394         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
24395         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
24396         in AT_FLAGS.
24397         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
24398         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
24400 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
24402         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
24404 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
24406         [BZ #11640]
24407         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24408         Properly check family and model.
24410 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
24412         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
24414 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
24416         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
24418 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
24420         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
24421         symbol reference.
24423 2010-05-19  Andreas Schwab  <schwab@redhat.com>
24425         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
24426         symbol reference.
24428 2010-05-21  Andreas Schwab  <schwab@redhat.com>
24430         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
24431         and internal_recvmmsg.
24432         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
24433         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
24434         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
24435         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
24437         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
24438         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24439         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24441 2010-05-20  Andreas Schwab  <schwab@redhat.com>
24443         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
24445 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
24447         POWER7 optimizations.
24448         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
24449         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
24451 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
24453         * version.h: Update for 2.13 development version.
24455 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
24457         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
24458         exceptions.  Return 0.
24460 2010-05-07  Roland McGrath  <roland@redhat.com>
24462         * elf/ldconfig.c (main): Add a const.
24464 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
24466         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
24467         (args_options): Add no-idn option.
24468         (ahosts_keys_int): Add idn_flags to ai_flags.
24469         (parse_option): Handle 'i' option to clear idn_flags.
24471         * malloc/malloc.c (_int_free): Possible race in the most recently
24472         added check.  Only act on the data if no current modification
24473         happened.
24475 See ChangeLog.17 for earlier changes.