m68k: update libm test ULPs
[glibc.git] / ChangeLog
blob3bf3949586b55e174c23fbcb2407864b98fe72f7
1 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
3         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
4         "mpa2.h".
5         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
8             Mark Mitchell  <mark@codesourcery.com>
9             Tom de Vries  <tom@codesourcery.com>
10             Paul Pluzhnikov  <ppluzhnikov@google.com>
12         * debug/tst-backtrace2.c: New file.
13         * debug/tst-backtrace3.c: Likewise.
14         * debug/tst-backtrace4.c: Likewise.
15         * debug/tst-backtrace5.c: Likewise.
16         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
17         (CFLAGS-tst-backtrace3.c): Likewise.
18         (CFLAGS-tst-backtrace4.c): Likewise.
19         (CFLAGS-tst-backtrace5.c): Likewise.
20         (LDFLAGS-tst-backtrace2): Likewise.
21         (LDFLAGS-tst-backtrace3): Likewise.
22         (LDFLAGS-tst-backtrace4): Likewise.
23         (LDFLAGS-tst-backtrace5): Likewise.
24         (tests): Add new tests tst-backtrace2, tst-backtrace3,
25         tst-backtrace4 and tst-backtrace5.
27 2013-01-18  Anton Blanchard  <anton@samba.org>
28             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
31         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
32         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
34         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
36         "+r" and remove output regs list as redundant.  Add explicit inline
37         asm to specify register of return val to work around compiler codegen
38         bug.  Remove (int) cast on return value.  Add return type parameter to
39         use in macro so that this macro does not truncate return value for
40         64-bit values.
41         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
42         pass to INTERNAL_VSYSCALL_NCS.
43         (INLINE_VSYSCALL): Add 'long int' as return type to
44         INTERNAL_VSYSCALL_NCS macro invocation.
45         (INTERNAL_VSYSCALL): Add 'long int' as return type to
46         INTERNAL_VSYSCALL_NCS macro invocation.
47         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51         [BZ #14496]
52         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
53         Fix application of SIMD FP exception mask.
55         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
56         mp_no from a power of two.
57         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
58         __mpexp_twomm1.  Use __pow_mp.
60         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
61         multiplication.
63 2013-01-17  David S. Miller  <davem@davemloft.net>
65         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
69         [BZ #15023]
70         * include/complex.h: Condition contents on [!_COMPLEX_H].
71         (__kernel_casinhf): New prototype.
72         (__kernel_casinh): Likewise.
73         (__kernel_casinhl): Likewise.
74         * math/Makefile (libm_calls): Add k_casinh.
75         * math/k_casinh.c: New file.
76         * math/k_casinhf.c: Likewise.
77         * math/k_casinhl.c: Likewise.
78         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
79         finite nonzero arguments.
80         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
81         finite nonzero arguments.
82         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
83         finite nonzero arguments.
84         * math/s_casinh.c: Do not include <float.h>.
85         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
86         * math/s_casinhf.c: Do not include <float.h>.
87         (__casinhf): Move code for finite nonzero arguments to
88         k_casinhf.c.
89         * math/s_casinhl.c: Do not include <float.h>.
90         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
91         redefine.
92         (__casinhl): Move code for finite nonzero arguments to
93         k_casinhl.c.
94         * math/libm-test.inc (cacos_test): Add more tests.
95         * sysdeps/i386/fpu/libm-test-ulps: Update.
96         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
98 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
100         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
101         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
102         [!HAVE_MREMAP]: Remove [defined linux] case.
103         * malloc/arena.c: Do not include <malloc-sysdep.h>.
105 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
107         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
109 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
111         * elf/elf.h (R_386_SIZE32): New relocation.
112         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
113         R_386_SIZE32.
114         (elf_machine_rela): Likewise.
115         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
116         R_X86_64_SIZE64 and R_X86_64_SIZE32.
118 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
120         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
121         (FP_FAST_FMA): Do not define.
122         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
123         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
124         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
125         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
126         !_SOFT_FLOAT]: Likewise.
127         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
128         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
129         value.
130         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
131         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
132         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
133         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
134         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
135         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
136         file.
138 2013-01-16  Andreas Schwab  <schwab@suse.de>
140         [BZ #14327]
141         * include/stdlib.h (__mktemp): Add declaration.
142         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
143         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
145 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
147         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
148         definitions.
149         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
150         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
151         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
152         definitions here.
153         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
154         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
155         definitions.
156         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
157         and ONE.
158         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
159         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
160         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
161         definitions.
162         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
163         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
164         definitions.
165         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
167         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
169 2013-01-15  David S. Miller  <davem@davemloft.net>
171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
172         trunc{,f} to libm-sysdep_routes.
173         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
175         file.
176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
178         file.
179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
180         file.
181         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
182         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
183         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
184         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
185         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
186         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
187         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
188         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
191         nearbyint{,f} to libm-sysdep_routes.
192         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
194         New file.
195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
196         file.
197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
198         New file.
199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
200         file.
201         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
202         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
203         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
204         file.
205         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
206         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
207         file.
208         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
209         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
210         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
212         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
213         libc_feholdexcept and libc_fesetenv.
215 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
217         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
219 2013-01-14  David S. Miller  <davem@davemloft.net>
221         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
222         (SPARC_ASM_VIS2_IFUNC): Likewise.
223         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
225         use of 'siam' instruction.
226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
227         Likewise.
228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
229         Likewise.
230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
231         Likewise.
232         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
233         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
234         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
235         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
237         file.
238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
239         file.
240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
241         file.
242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
243         file.
244         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
245         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
246         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
247         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
249         new VIS2 routines.
250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
253         Likewise.
254         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
255         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
256         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
257         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
259         routines to libm-sysdep_routines.
260         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
263         fdim/fdimf to libm-sysdep_routines.
264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
265         file.
266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
268         file.
269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
270         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
271         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
272         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
273         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
274         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
275         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
277 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
279         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
280         to optimize copies.
282         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
283         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
284         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
286         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
287         local variable MPTWO.
288         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
289         Likewise.
291 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
293         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
294         GLOB_NOESCAPE.
296 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
298         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
300 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
302         * manual/pattern.texi (glob_t): Document gl_flags.
303         (glob64_t): Likewise.
305 2013-01-11  David S. Miller  <davem@davemloft.net>
307         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
308         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
309         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
310         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
311         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
312         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
313         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
314         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
315         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
316         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
317         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
318         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
319         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
321         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
322         sparc V9 rather than using V8 code.
323         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
324         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
326         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
327         Move to...
328         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
329         Here.
331 2013-01-11  Roland McGrath  <roland@hack.frob.com>
333         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
334         not in the main loop.
335         * configure: Regenerated.
337 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
339         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
340         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
341         to just #else.
342         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
343         [!__GLIBC_HAVE_LONG_LONG] case.
344         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
345         condition to just #else.
346         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
347         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
348         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
349         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
350         unconditional.
351         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
352         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
353         #elif condition to just #else.
354         * sysdeps/unix/sysv/linux/sys/sysmacros.h
355         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
356         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
357         #elif condition to just #else.
359 2013-01-11  Steve Ellcey  <sellcey@mips.com>
361         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
362         (EF_MIPS_ARCH_64): Fix value.
363         (EF_MIPS_ARCH_32R2): New.
364         (EF_MIPS_ARCH_64R2): New.
366 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
368         * Makeconfig (+link-pie-before-libc): New.
369         (+link-pie-after-libc): Likewise.
370         (+link-pie-tests): Likewise.
371         (+link-pie): Rewritten.
372         (link-before-libc): Remove $(config-LDFLAGS).
373         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
374         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
375         (config-LDFLAGS): Renamed to ...
376         (rtld-LDFLAGS): This.
377         (rtld-tests-LDFLAGS): New macro.
378         (link-libc-rpath-link): Likewise.
379         (link-libc-tests-rpath-link): Likewise.
380         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
381         (link-libc): Prepand $(link-libc-rpath-link).
382         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
383         (test-program-prefix): New macro.
384         (test-via-rtld-prefix): Likewise.
385         (test-program-cmd): Likewise.
386         (host-test-program-cmd): Likewise.
387         * Makefile ($(common-objpfx)testrun.sh): Replace
388         $(run-program-prefix) with $(test-program-prefix).
389         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
390         $(rtld-LDFLAGS).
391         ($(common-objpfx)shlib.lds): Likewise.
392         (build-module-helper): Likewise.
393         ($(common-objpfx)format.lds): Likewise.
394         * Rules (binaries-pie-tests): New.
395         (binaries-pie-notests): Likewise.
396         (binaries-pie): Rewritten.
397         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
398         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
399         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
400         (make-test-out): Replace $(host-built-program-cmd) with
401         $(host-test-program-cmd).
402         * config.make.in (build-hardcoded-path-in-tests): New variable.
403         * configure.in (--enable-hardcoded-path-in-tests): New configure
404         option.
405         (hardcoded_path_in_tests): New AC_SUBST.
406         * configure: Regenerated.
407         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
408         $(built-program-cmd) with $(test-program-cmd).
409         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
410         (test_program_cmd): This.
411         * elf/Makefile ($(objpfx)order.out): Run test with
412         $(test-program-prefix).
413         ($(objpfx)order2.out): Likewise.
414         ($(objpfx)tst-initorder.out): Likewise.
415         ($(objpfx)tst-initorder2.out): Likewise.
416         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
417         $(test-program-cmd).
418         ($(objpfx)tst-array1-static.out): Likewise.
419         ($(objpfx)tst-array2.out): Likewise.
420         ($(objpfx)tst-array3.out): Likewise.
421         ($(objpfx)tst-array4.out): Likewise.
422         ($(objpfx)tst-array5.out): Likewise.
423         ($(objpfx)tst-array5-static.out): Likewise.
424         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
425         $(test-program-cmd).
426         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
427         $(run-program-prefix) with $(test-program-prefix).
428         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
429         (test_program_prefix): This.
430         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
431         $(run-program-prefix) with $(test-program-prefix).
432         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
433         (test_program_prefix): This.
434         * iconvdata/tst-tables.sh: Likewise.
435         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
436         $(run-program-prefix) with $(test-program-prefix).
437         ($(objpfx)tst-translit.out): Likewise.
438         ($(objpfx)tst-gettext2.out): Likewise.
439         ($(objpfx)tst-gettext4.out): Likewise.
440         ($(objpfx)tst-gettext6.out): Likewise.
441         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
442         (test_program_prefix): This.
443         * intl/tst-gettext2.sh: Likewise.
444         * intl/tst-gettext4.sh  Likewise.
445         * intl/tst-gettext6.sh: Likewise.
446         * intl/tst-translit.sh: Likewise.
447         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
448         with $(test-program-cmd).
449         * libio/Makefile ($(objpfx)test-freopen.out): Replace
450         $(run-program-prefix) with $(test-program-prefix).
451         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
452         (test_program_prefix): This.
453         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
454         $(run-program-prefix) with $(test-program-prefix).
455         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
456         (test_program_prefix): This.
457         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
458         * posix/Makefile ($(objpfx)globtest.out): Replace
459         $(run-via-rtld-prefix) and $(test-wrapper) with
460         $(test-program-prefix) and $(test-via-rtld-prefix).
461         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
462         $(test-program-prefix).
463         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
464         $(host-test-program-cmd).
465         (tst-spawn-ARGS): Likewise.
466         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
467         $(test-program-prefix).
468         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
469         (test_via_rtld_prefix): This.
470         (test_wrapper): Renamed to ...
471         (test_program_prefix): This.
472         (run_program_prefix): Replaced by test_program_prefix.
473         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
474         (test_program_prefix): This.
475         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
476         with $(host-test-program-cmd).
477         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
478         $(run-program-prefix) with $(test-program-prefix).
479         ($(objpfx)tst-printf.out): Likewise.
480         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
481         $(test-program-cmd).
482         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
483         (test_program_prefix): This.
484         * stdio-common/tst-unbputc.sh: Likewise.
485         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
486         $(run-program-prefix) with $(test-program-prefix).
487         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
488         (test_program_prefix): This.
489         * string/Makefile ($(objpfx)tst-svc.out):  Replace
490         $(built-program-cmd) with $(test-program-cmd).
492 2013-01-11  Andreas Jaeger  <aj@suse.de>
494         [BZ #15003]
495         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
496         value. Sync with Linux 3.7.
498 2013-01-10  David S. Miller  <davem@davemloft.net>
500         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
501         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
502         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
504 2013-01-10  Roland McGrath  <roland@hack.frob.com>
506         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
507         never set.
508         * configure: Regenerated.
510 2013-01-10  David S. Miller  <davem@davemloft.net>
512         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
513         sparc V9 rather than using V8 code.
514         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
515         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
517 2013-01-10  Roland McGrath  <roland@hack.frob.com>
519         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
520         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
521         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
522         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
523         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
524         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
525         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
526         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
527         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
528         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
529         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
530         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
531         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
532         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
533         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
534         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
535         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
536         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
537         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
538         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
539         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
540         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
541         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
542         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
543         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
544         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
545         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
547 2013-01-10  David S. Miller  <davem@davemloft.net>
549         * sysdeps/sparc/fpu/libm-test-ulps: Update.
551 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
553         * posix/Makefile (tests-static): New variable.
554         (tests): Add $(tests-static).
555         (tst-exec-static-ARGS): New variable.
556         (tst-spawn-static-ARGS): Likewise.
557         * posix/tst-exec-static.c: New file.
558         * posix/tst-spawn-static.c: Likewise.
559         * posix/tst-exec.c: Support run directly.
560         * posix/tst-spawn.c: Likewise.
562 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
564         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
565         long.
566         * math/bits/mathcalls.h (llrint): Likewise.
567         (llround): Likewise.
568         * stdlib/stdlib.h (struct drand48_data): Likewise.
569         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
570         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
571         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
572         Likewise.
573         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
574         Likewise.
575         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
576         (elf_greg_t): Likewise.
577         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
578         (__jmp_buf): Likewise.
579         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
580         definitions.
581         (llrint): Likewise, for all definitions.
582         (llrintl): Likewise.
584         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
585         Remove [__GNUC__] condition.
586         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
587         condition to just [__USE_ISOC99].
588         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
590 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
592         [BZ #14200]
593         * sysdeps/unix/sysv/linux/x86/bits/environments.h
594         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
595         defined.
596         (_POSIX_V6_ILP32_OFF32): Likewise.
597         (_XBS5_ILP32_OFF32): Likewise.
598         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
599         (__ILP32_OFFBIG_LDFLAGS): Likewise.
601 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
603         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
605         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
606         doubles __mpexp_twomm1.  Adjust usage.
607         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
608         Remove.
610 2013-01-10  Andreas Schwab  <schwab@suse.de>
612         [BZ #14964]
613         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
614         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
616 2013-01-09  David S. Miller  <davem@davemloft.net>
618         [BZ #15003]
619         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
620         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
621         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
622         TCP_FASTOPEN): Define.
623         (tcp_repair_opt): New structure.
624         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
625         enum values.
626         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
627         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
628         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
629         (tcp_cookie_transactions): New structure.
631 2013-01-09  Anton Blanchard  <anton@samba.org>
633         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
634         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
635         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
636         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
638 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
640         * include/features.h (__USE_ANSI): Remove.
642 2013-01-09  Roland McGrath  <roland@hack.frob.com>
644         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
646         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
648 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
650         * sysdeps/s390/fpu/libm-test-ulps: Update.
652         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
654         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
655         (__acr): Likewise.
656         (__cpy): Likewise.
657         (norm): Likewise.
658         (denorm): Likewise.
659         (__mp_dbl): Likewise.
660         (__dbl_mp): Likewise.
661         (add_magnitudes): Likewise.
662         (sub_magnitudes): Likewise.
663         (__add): Likewise.
664         (__sub): Likewise.
665         (__mul): Likewise.
666         (__inv): Likewise.
667         (__dvd): Likewise.
668         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
669         (__acr): Likewise.
670         (__cpy): Likewise.
671         (norm): Likewise.
672         (denorm): Likewise.
673         (__mp_dbl): Likewise.
674         (__dbl_mp): Likewise.
675         (add_magnitudes): Likewise.
676         (sub_magnitudes): Likewise.
677         (__add): Likewise.
678         (__sub): Likewise.
679         (__mul): Likewise.
680         (__inv): Likewise.
681         (__dvd): Likewise.
682         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
683         (__acr): Likewise.
684         (__cpy): Likewise.
685         (norm): Likewise.
686         (denorm): Likewise.
687         (__mp_dbl): Likewise.
688         (__dbl_mp): Likewise.
689         (add_magnitudes): Likewise.
690         (sub_magnitudes): Likewise.
691         (__add): Likewise.
692         (__sub): Likewise.
693         (__mul): Likewise.
694         (__inv): Likewise.
695         (__dvd): Likewise.
697 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
699         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
700         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
701         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
702         2 && __USE_EXTERN_INLINES]: Likewise.
704 2013-01-08  Andreas Jaeger  <aj@suse.de>
706         [BZ# 14985]
707         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
708         Remove.
709         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
710         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
712 2013-01-07  Anton Blanchard  <anton@samba.org>
714         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
715         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
716         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
717         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
718         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
719         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
720         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
721         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
722         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
723         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
724         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
725         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
726         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
727         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
728         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
729         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
730         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
731         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
732         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
733         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
734         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
735         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
736         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
737         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
738         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
739         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
740         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
741         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
742         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
743         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
744         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
745         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
746         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
747         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
748         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
749         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
750         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
751         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
752         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
753         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
754         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
755         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
756         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
758 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
760         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
761         (__MALLOC_PMT): Likewise.
762         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
763         [__GNUC__], only on [_LIBC].
764         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
765         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
766         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
767         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
768         forward declaration.
769         (realloc_hook_ini): Likewise.
770         (memalign_hook_ini): Likewise.
771         (__libc_memalign): Do not use __MALLOC_PMT in variable
772         declaration.
773         (__libc_valloc): Likewise.
774         (__libc_pvalloc): Likewise.
775         (__libc_calloc): Likewise.
776         (__posix_memalign): Likewise.
778         [BZ #14996]
779         * math/s_casinh.c: Include <float.h>.
780         (__casinh): Do not do computation with squaring and square root
781         for large arguments.
782         * math/s_casinhf.c: Include <float.h>.
783         (__casinhf): Do not do computation with squaring and square root
784         for large arguments.
785         * math/s_casinhl.c: Include <float.h>.
786         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
787         (__casinhl): Do not do computation with squaring and square root
788         for large arguments.
789         * math/libm-test.inc (casin_test): Add more tests.
790         (casinh_test): Likewise.
791         * sysdeps/i386/fpu/libm-test-ulps: Update.
792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
794 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
796         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
797         (__x86_64_raw_data_cache_size): Likewise.
798         (__x86_64_data_cache_size_half): Likewise.
799         (__x86_64_raw_data_cache_size_half): Likewise.
800         (__x86_64_shared_cache_size): Likewise.
801         (__x86_64_raw_shared_cache_size): Likewise.
802         (__x86_64_shared_cache_size_half): Likewise.
803         (__x86_64_raw_shared_cache_size_half): Likewise.
804         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
805         to ...
806         (__x86_data_cache_size): This.
807         (__x86_64_raw_data_cache_size): Renamed to ...
808         (__x86_raw_data_cache_size): This.
809         (__x86_64_data_cache_size_half): Renamed to ...
810         (__x86_data_cache_size_half): This.
811         (__x86_64_raw_data_cache_size_half): Renamed to ...
812         (__x86_raw_data_cache_size_half): This.
813         (__x86_64_shared_cache_size): Renamed to ...
814         (__x86_shared_cache_size): This.
815         (__x86_64_raw_shared_cache_size): Renamed to ...
816         (__x86_raw_shared_cache_size): This.
817         (__x86_64_shared_cache_size_half): Renamed to ...
818         (__x86_shared_cache_size_half): This.
819         (__x86_64_raw_shared_cache_size_half): Renamed to ...
820         (__x86_raw_shared_cache_size_half): This.
821         * sysdeps/x86_64/memcpy.S: Updated.
822         * sysdeps/x86_64/memset.S: Likewise.
823         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
824         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
825         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
827 2013-01-04  David S. Miller  <davem@davemloft.net>
829         * sysdeps/sparc/fpu/libm-test-ulps: Update.
831 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
833         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
834         1 to avoid redefinition warning.
835         (__USE_GNU): Don't define.
836         (init_signaling_nan): Protoize.
838         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
840 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
842         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
843         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
844         (__cpymn): Likewise.
845         (norm): Remove commented code.
846         (denorm): Likewise.
847         (__mp_dbl): Likewise.
848         (__inv): Likewise.
849         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
850         (__cpymn): Likewise.
851         (norm): Remove commented code.
852         (denorm): Likewise.
853         (__mp_dbl): Likewise.
854         (__inv): Likewise.
856         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
857         mp_no value for 1.0 and 2.0.
858         (norm): Use RADIXI instead of radixi.d.
859         (denorm): Likewise.
860         (__mul): Use 0.0 instead of zero.d.
861         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
862         mp_no value for 1.0 and 2.0.
863         (norm): Use RADIXI instead of radixi.d.
864         (denorm): Likewise.
865         (__mul): Use 0.0 instead of zero.d.
867 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
869         [BZ #14994]
870         * math/s_casinh.c (__casinh): Reduce finite argument to first
871         quadrant then set signs of results at the end.
872         * math/s_casinhf.c (__casinhf): Likewise.
873         * math/s_casinhl.c (__casinhl): Likewise.
874         * math/libm-test.inc (casin_test): Add more tests.
875         (casinh_test): Likewise.
876         * sysdeps/i386/fpu/libm-test-ulps: Update.
877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
879 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
881         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
883         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
885         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
886         declarations.
887         (denorm): Likewise.
888         (__mp_dbl): Likewise.
889         (__inv): Likewise.
891         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
892         and adjust the header comment.
894         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
895         variable name from declaration.
897 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
899         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
900         Initialize COMMON_CPUID_INDEX_7 element.
901         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
902         (CPUID_RTM): Likewise.
903         (HAS_RTM): Likewise.
904         (COMMON_CPUID_INDEX_7): New enum.
906 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
908         [BZ #14981]
909         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
910         size is zero, record memory as freed.
912 2013-01-03  Andreas Jaeger  <aj@suse.de>
914         * po/ia.po: Add new Interlingua translation.
916 2012-01-03  Allan McRae  <allan@archlinux.org>
918         * locale/programs/localedef.c: Fix description of '--posix' flag.
920 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
922         * NEWS: Update dates in second copyright notice.
923         * README: Update copyright dates in example.
924         * manual/libc.texinfo: Update copyright dates.
925         * scripts/test-installation.pl: Update copyright date in --version
926         output.
928         * hurd/ctty-input.c: Fix copyright notice formatting.
929         * hurd/ctty-output.c: Likewise.
930         * hurd/dtable.c: Likewise.
931         * hurd/hurd-raise.c: Likewise.
932         * hurd/hurdprio.c: Likewise.
933         * hurd/msgportdemux.c: Likewise.
934         * misc/sys/file.h: Likewise.
935         * misc/sys/ioctl.h: Likewise.
936         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
937         * sysdeps/mach/hurd/chdir.c: Likewise.
938         * sysdeps/mach/hurd/fchdir.c: Likewise.
939         * sysdeps/mach/hurd/rename.c: Likewise.
940         * sysdeps/mach/hurd/rmdir.c: Likewise.
941         * sysdeps/mach/hurd/seekdir.c: Likewise.
942         * sysdeps/mach/hurd/setsid.c: Likewise.
943         * sysdeps/posix/wait3.c: Likewise.
945         * All files with FSF copyright notices: Update copyright dates
946         using scripts/update-copyrights.
947         * intl/plural.c: Regenerated.
948         * locale/programs/charmap-kw.h: Likewise.
949         * locale/programs/locfile-kw.h: Likewise.
951 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
953         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
954         four values.
956         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
957         calculation loop and add branch prediction.
959         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
960         check access beyond bounds of m1np.
962         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
963         MPTWO.
964         (__inv): Remove local variable MPTWO to use the global
965         constant.
966         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
967         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
968         variable MPTWO.
969         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
970         MP3HALFS static const.
972 2013-01-01  David S. Miller  <davem@davemloft.net>
974         * po/ca.po: Update from translation team.
976 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
978         * scripts/update-copyrights: New file.
979         * Makeconfig: Reformat copyright notice.
980         * ctype/ctype.h: Likewise.
981         * debug/swprintf_chk.c: Likewise.
982         * elf/dl-cache.c: Likewise.
983         * elf/dl-debug.c: Likewise.
984         * elf/dl-object.c: Likewise.
985         * grp/initgroups.c: Likewise.
986         * hurd/Makefile: Likewise.
987         * hurd/hurd/signal.h: Likewise.
988         * hurd/hurdfault.c: Likewise.
989         * hurd/hurdioctl.c: Likewise.
990         * hurd/hurdlookup.c: Likewise.
991         * hurd/intr-msg.c: Likewise.
992         * iconv/gconv_open.c: Likewise.
993         * libio/swprintf.c: Likewise.
994         * locale/lc-ctype.c: Likewise.
995         * locale/nl_langinfo.c: Likewise.
996         * mach/Machrules: Likewise.
997         * mach/Makefile: Likewise.
998         * malloc/obstack.h: Likewise.
999         * manual/Makefile: Likewise.
1000         * manual/tsort.awk: Likewise.
1001         * misc/bits/stab.def: Likewise.
1002         * nis/nis_print_group_entry.c: Likewise.
1003         * nis/nis_table.c: Likewise.
1004         * nis/nss_compat/compat-pwd.c: Likewise.
1005         * nis/nss_compat/compat-spwd.c: Likewise.
1006         * po/Makefile: Likewise.
1007         * posix/fnmatch.c: Likewise.
1008         * posix/regex.h: Likewise.
1009         * resolv/Makefile: Likewise.
1010         * resolv/nss_dns/dns-network.c: Likewise.
1011         * resolv/res_hconf.c: Likewise.
1012         * scripts/gen-sorted.awk: Likewise.
1013         * soft-fp/soft-fp.h: Likewise.
1014         * stdio-common/printf.h: Likewise.
1015         * stdlib/monetary.h: Likewise.
1016         * stdlib/random.c: Likewise.
1017         * stdlib/random_r.c: Likewise.
1018         * sysdeps/generic/Makefile: Likewise.
1019         * sysdeps/gnu/Makefile: Likewise.
1020         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1021         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1022         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1023         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1024         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1025         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1026         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1027         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1028         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1029         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1030         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1031         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1032         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
1033         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
1034         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
1035         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
1036         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1037         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1038         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1039         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1040         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1041         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1042         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1043         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1044         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
1045         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
1046         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1047         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
1048         * sysdeps/mach/hurd/errnos.awk: Likewise.
1049         * sysdeps/mach/hurd/fork.c: Likewise.
1050         * sysdeps/mach/hurd/getcwd.c: Likewise.
1051         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
1052         * sysdeps/mach/hurd/mmap.c: Likewise.
1053         * sysdeps/mach/hurd/utimes.c: Likewise.
1054         * sysdeps/mach/hurd/xmknod.c: Likewise.
1055         * sysdeps/posix/profil.c: Likewise.
1056         * sysdeps/posix/readdir_r.c: Likewise.
1057         * sysdeps/powerpc/bits/mathdef.h: Likewise.
1058         * sysdeps/powerpc/bits/setjmp.h: Likewise.
1059         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
1060         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1061         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1062         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1063         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1064         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1065         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1066         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1067         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1068         * sysdeps/pthread/lio_listio.c: Likewise.
1069         * sysdeps/sparc/dl-procinfo.h: Likewise.
1070         * sysdeps/unix/i386/sysdep.S: Likewise.
1071         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1072         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
1073         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1074         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
1075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1076         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1077         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1078         * sysdeps/unix/sysv/linux/speed.c: Likewise.
1079         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1080         * sysdeps/wordsize-32/divdi3.c: Likewise.
1081         * time/sys/time.h: Likewise.
1082         * wcsmbs/Makefile: Likewise.
1084 2013-01-01  David S. Miller  <davem@davemloft.net>
1086         * po/fr.po: Update from translation team.
1088         * catgets/gencat.c: Update copyright year.
1089         * csu/version.c: Likewise.
1090         * debug/catchsegv.sh: Likewise.
1091         * debug/pcprofiledump.c: Likewise.
1092         * debug/xtrace.sh: Likewise.
1093         * elf/ldconfig.c: Likewise.
1094         * elf/ldd.bash.in: Likewise.
1095         * elf/pldd.c: Likewise.
1096         * elf/sotruss.ksh: Likewise.
1097         * elf/sprof.c: Likewise.
1098         * iconv/iconv_prog.c: Likewise.
1099         * iconv/iconvconfig.c: Likewise.
1100         * locale/programs/locale.c: Likewise.
1101         * locale/programs/localedef.c: Likewise.
1102         * login/programs/pt_chown.c: Likewise.
1103         * malloc/memusage.sh: Likewise.
1104         * malloc/memusagestat.c: Likewise.
1105         * malloc/mtrace.pl: Likewise.
1106         * nscd/nscd.c: Likewise.
1107         * nss/getent.c: Likewise.
1108         * nss/makedb.c: Likewise.
1109         * posix/getconf.c: Likewise.
1111 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
1113         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
1114         numbers.
1116 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
1118         * math/bits/mathcalls.h (modf): Use __nonnull.
1120 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1122         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
1123         (split): Use macro CN instead of the bare value.
1124         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
1125         could be used.
1126         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
1127         instead of the bare value.
1128         (power1): Likewise.
1130 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1132         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
1133         __ATAN_TWOM.
1134         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1136         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
1137         their values.
1138         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1139         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1140         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
1141         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1143 2012-12-28  Andreas Jaeger  <aj@suse.de>
1145         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
1146         values are from Linux 3.7.
1148         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
1149         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
1151 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1153         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
1154         TRUE case.
1156         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
1157         (norm): Likewise.
1158         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
1159         variables with preprocessor constants.
1160         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1161         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
1162         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
1164 2012-12-27  Bruno Haible  <bruno@clisp.org>
1166         [BZ #14317]
1167         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
1168         only if needed.
1170 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1172         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
1173         and use variable directly.
1174         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
1176         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1177         MPONE.
1178         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
1179         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1180         variable MPONE.
1181         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1182         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1183         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
1184         include directive.  Remove local variable MPONE.
1185         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
1186         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
1187         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1189 2012-12-25  David S. Miller  <davem@davemloft.net>
1191         * version.h (RELEASE): Set to "development".
1192         (VERSION): Set to "2.17.90".
1193         * NEWS: Add 2.18 section.
1195 2012-12-21  David S. Miller  <davem@davemloft.net>
1197         * po/hr.po: Update from translation team.
1199 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1201         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
1203 2012-12-19  Steve Ellcey  <sellcey@mips.com>
1205         * NEWS:  Mention new memcpy for MIPS.
1207 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1209         * manual/contrib.texi (Contributors): Spelling correction.
1211 2012-12-15  David S. Miller  <davem@davemloft.net>
1213         * po/ru.po: Update from translation team.
1215 2012-12-13  David S. Miller  <davem@davemloft.net>
1217         * NEWS: Mention IFUNC testsuite enhancements.
1219         * po/pl.po: Update from translation team.
1220         * po/bg.po: Likewise.
1222         * manual/contrib.texi (Contributors): Update entries for Hongjiu
1223         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
1225 2012-12-11  David S. Miller  <davem@davemloft.net>
1227         * po/sv.po: Update from translation team.
1229         * po/vi.po: Update from translation team.
1231         * po/cs.po: Update from translation team.
1233         * po/de.po: Update from translation team.
1234         * po/eo.po: Likewise.
1235         * po/nl.po: Likewise.
1237 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1239         [BZ #14246]
1240         * manual/argp.texi (Argp Helper Functions): Move node to follow
1241         Argp Parsing State.
1243         [BZ #14872]
1244         * manual/conf.texi (Limits on File System Capacity): Mention if
1245         terminating null is included in the max size.
1247 2012-12-10  Andreas Jaeger  <aj@suse.de>
1249         * po/cs.po: Update from translation team.
1251 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1253         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
1254         void pointer and cast to uintptr_t.
1255         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
1256         path.
1257         * sysdeps/s390/s390-64/memcpy.S: Likewise.
1258         * sysdeps/s390/s390-64/memset.S: Likewise.
1260 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
1262         [BZ #14833]
1263         * menual/message.texi (Message Translation): Fix typos.
1264         (Helper programs for gettext): Likewise.
1266 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
1268         [BZ #14898]
1269         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
1270         Change to -1.
1272 2012-12-07  David S. Miller  <davem@davemloft.net>
1274         * po/libc.pot: Update.
1276 2012-12-07  Richard Henderson  <rth@redhat.com>
1278         [BZ #10114]
1279         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
1280         normal/normal case to before the switch.
1281         (_FP_DIV): Likewise.
1283 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
1284             Mike Frysinger  <vapier@gentoo.org>
1286         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
1287         check for __NR_fadvise64_64.
1289 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
1291         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
1292         0, not just to plain "0" as a statement.
1293         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
1294         with cw.
1296 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
1298         * NEWS: Use sourceware.org in Bugzilla URL.
1300 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
1302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1303         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1305         * stdio-common/tst-put-error.c (do_test): Add newline to the
1306         padded test to ensure flush.
1308 2012-12-05  Jeff Law  <law@redhat.com>
1310         * sunrpc/etc.rpc (fedfs_admin): Add entry.
1312 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
1314         * README: Don't refer to ports add-on as distributed separately.
1315         Mention AArch64 in list of systems supported in the ports add-on.
1317         * LICENSES: Add more non-FSF copyright and license notices.
1319         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
1320         ((unused)).
1322         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
1324         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
1325         10000 as width of padded output.
1327 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
1329         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
1331         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
1332         variable LX with __attribute__ ((unused)).
1333         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1334         Likewise.
1335         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1336         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1337         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
1338         with __attribute__ ((unused)).
1340 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
1342         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
1344 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
1346         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
1347         (CFLAGS-nldbl-acos.c): New variable.
1348         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
1349         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
1350         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
1351         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
1352         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
1353         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
1354         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
1355         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
1356         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
1357         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
1358         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
1359         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
1360         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
1361         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
1362         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
1363         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
1364         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
1365         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
1366         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
1367         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
1368         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
1369         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
1370         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
1371         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
1372         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
1373         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
1374         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
1375         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
1376         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
1377         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
1378         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
1379         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
1380         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
1381         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
1382         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
1383         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
1384         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
1385         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
1386         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
1387         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
1388         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
1389         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
1390         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
1391         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
1392         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
1393         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
1394         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
1395         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
1396         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
1397         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
1398         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
1399         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
1400         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
1401         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
1402         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
1403         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
1404         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
1405         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
1406         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
1407         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
1408         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
1409         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
1410         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
1411         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
1412         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
1413         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
1414         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
1415         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
1416         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
1417         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
1418         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
1419         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
1420         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
1421         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
1422         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
1423         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
1424         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
1425         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
1426         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
1427         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
1428         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
1429         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
1430         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
1431         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
1432         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
1433         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
1434         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
1435         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
1436         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
1437         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
1438         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
1439         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
1440         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
1441         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
1442         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
1443         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
1444         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
1446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1447         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1449         [BZ #14914]
1450         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
1451         whole low double instead of just low 47 bits when splitting values
1452         into two parts.
1454 2012-12-03  Allan McRae  <allan@archlinux.org>
1456         * manual/stdio.texi (Predefined Printf Handlers): Remove
1457         @hsep and @vsep usage.
1459 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
1461         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
1462         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
1464 2012-12-03  Jeff Law  <law@redhat.com>
1466         * time/sys/time.h (settimeofday): Do not mark TV argument
1467         as __nonnull.
1469 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
1471         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
1472         when currently writing and seek to current position when not.
1473         * libio/Makefile (tests): Remove bug-fclose1.
1474         * libio/bug-fclose1.c: Delete.
1476 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
1478         * manual/arith.texi (feenableexcept): Fix typo.
1479         (fedisableexcept): Likewise.
1481 2012-11-30  Roland McGrath  <roland@hack.frob.com>
1483         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
1484         second, differently-typed declaration, rather than a cast.
1486 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1488         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
1489         * include/rpc/svc.h: ... here.
1491 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
1493         [BZ #13013]
1494         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
1495         depending n and resplen2 to catch cases where answer
1496         equals answerp2.
1498 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
1500         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
1501         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
1503 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
1505         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
1507 2012-11-29  Roland McGrath  <roland@hack.frob.com>
1509         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
1511 2012-11-28  Jeff Law  <law@redhat.com>
1513         [BZ #13761]
1514         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
1515         dataset_temporary.  Track alloca usage into alloca_used.
1516         If dataset is large allocate and release it via malloc/free.
1518 2012-06-04  Florian Weimer  <fweimer@redhat.com>
1520         [BZ #14197]
1521         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
1523 2012-11-28  David S. Miller  <davem@davemloft.net>
1525         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1527 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
1529         [BZ #14803]
1530         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
1531         of pi/2 rounded to nearest to 64 bits.
1532         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
1533         nearest to 64 bits.
1534         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
1535         bits.
1537 2012-11-28  Jeff Law <law@redhat.com>
1538             Martin Osvald <mosvald@redhat.com>
1540         [BZ #14889]
1541         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
1542         * sunrpc/svc.c: Include time.h.
1543         (__svc_accept_failed): New function.
1544         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
1545         any reason other than EINTR, call __svc_accept_failed.
1546         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
1547         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
1549 2012-11-28  Andreas Schwab  <schwab@suse.de>
1551         * scripts/abilist.awk: Also handle indirect functions in .opd
1552         section.
1554 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
1556         [BZ #13881]
1557         * sysdeps/x86/fpu/powl_helper.c: New file.
1558         * sysdeps/x86/fpu/Makefile: Likewise.
1559         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
1560         (p3): New object.
1561         (__ieee754_powl): Use __powl_helper for finite arguments except
1562         integer exponents below 8.
1563         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
1564         (p3): New object.
1565         (__ieee754_powl): Use __powl_helper for finite arguments except
1566         integer exponents below 8.
1567         * math/libm-test.inc (pow_test): Add more tests and enable some
1568         previously disabled tests.
1569         * sysdeps/i386/fpu/libm-test-ulps: Update.
1570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1572 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1573             Carlos O'Donell  <carlos_odonell@mentor.com>
1575         * nss/makedb.c (is_prime): Assert that input is odd and greater
1576         than 4.  Note that fact in a comment too.
1577         (next_prime): Add 4 to input.
1579 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1581         [BZ #11741]
1582         * libio/Makefile (tests): Add test case tst-fwrite-error.
1583         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
1584         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
1585         * libio/tst-fwrite-error.c: New test case.
1587 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
1589         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
1590         before casting to void *.
1591         * include/libc-internal.h (__pointer_type): New macro.
1592         (__integer_if_pointer_type_sub): Likewise.
1593         (__integer_if_pointer_type): Likewise.
1594         (cast_to_integer): Likewise.
1595         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
1596         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
1597         before casting to atomic64_t.
1598         (atomic_exchange_acq): Likewise.
1599         (__arch_exchange_and_add_body): Likewise.
1600         (__arch_add_body): Likewise.
1601         (atomic_add_negative): Likewise.
1602         (atomic_add_zero): Likewise.
1604 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
1606         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
1607         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
1608         (add_fdes): Likewise.
1609         (linear_search_fdes): Likewise.
1610         (binary_search_unencoded_fdes): Likewise.
1612 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
1614         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
1616 2012-11-24  Adam Conrad  <adconrad@0c3.net>
1618         * configure.in: Autodetect C++ header directories.
1619         * configure: Regenerated.
1621 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
1623         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
1625 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
1627         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1629 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
1631         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
1632         LDBL_MANT_DIG == 106]: Disable some tests.
1633         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1634         Likewise.
1635         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1636         Likewise.
1638         [BZ #14871]
1639         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
1640         input for small inputs.  Return +/- pi/2 for large inputs.
1641         * math/libm-test.inc (atan_test): Add more tests.
1643         * sysdeps/generic/unwind-dw2-fde-glibc.c
1644         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
1645         __attribute__ ((unused)).
1647         [BZ #14645]
1648         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
1649         x * y if x and y are nonzero and z is zero.
1651         [BZ #14811]
1652         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
1653         nonzero exponents with absolute value below 0x1p-117 to +/-
1654         0x1p-117.
1656         [BZ #14869]
1657         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
1658         up arguments below 2**-450, not just those below 2**-500.
1659         * math/libm-test.inc (hypot_test): Add another test.
1661         [BZ #14868]
1662         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
1663         Return a+b for ratio over 2**120, not 2**60.
1664         * math/libm-test.inc (hypot_test): Add another test.
1666         * math/libm-test.inc (clog_test): Use
1667         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
1668         (clog10_test): Likewise.
1670         [BZ #6778]
1671         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
1673 2012-11-22  Andreas Schwab  <schwab@suse.de>
1675         * sysdeps/i386/fpu/libm-test-ulps: Update.
1677 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
1679         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
1680         printf output with newline.
1682 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
1684         [BZ #14865]
1685         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
1686         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
1687         -z nodlopen, -z initfirst and -z execstack support.
1688         * configure: Regenerated.
1690         * elf/elf.h (DF_1_NODIRECT): New macro.
1691         (DF_1_IGNMULDEF): Likewise.
1692         (DF_1_NOKSYMS): Likewise.
1693         (DF_1_NOHDR): Likewise.
1694         (DF_1_EDITED): Likewise.
1695         (DF_1_NORELOC): Likewise.
1696         (DF_1_SYMINTPOSE): Likewise.
1697         (DF_1_GLOBAUDIT): Likewise.
1698         (DF_1_SINGLETON): Likewise.
1699         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
1700         DT_1_SUPPORTED_MASK bits.
1701         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
1703 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
1705         * sysdeps/unix/make-syscalls.sh: Document prefixes.
1707 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
1709         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
1710         macro.
1712         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
1713         (sendmmsg): Move declarations...
1714         * socket/sys/socket.h: ... here.
1715         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
1716         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
1717         include it from...
1718         * socket/recvmmsg.c: ... this new file.
1719         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
1720         (sendmmsg): Rename to __sendmmsg, create weak alias and make
1721         definition of __sendmmsg hidden.
1722         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1723         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
1724         Move ENOSYS stub into and include it from...
1725         * socket/sendmmsg.c: ... this new file.
1726         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
1727         (sysdep_routines): Move recvmmsg and sendmmsg...
1728         * socket/Makefile (routines): ... here.
1729         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
1730         (GLIBC_PRIVATE): Add __sendmmsg.
1731         * include/sys/socket.h (__sendmmsg): Add declarations.
1732         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
1733         sendmmsg.
1735 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
1737         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
1738         variable I1 with __attribute__ ((unused)).
1739         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1741 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
1743         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
1744         DUMMY variables with __attribute__ ((unused)).
1746         * bits/byteswap.h: Include <bits/types.h>.
1747         (__bswap_64): Use __uint64_t instead of unsigned long long int.
1749 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
1751         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
1752         string_t.  Do not manually set errno.
1753         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
1754         length with __strnlen.  Make sure to both set errno and return it on
1755         failure.
1757 2012-11-19  David S. Miller  <davem@davemloft.net>
1759         With help from Joseph Myers.
1760         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
1761         very large arguments properly.
1762         * math/libm-test.inc (atan_test): New tests.
1763         (atan2_test): New tests.
1764         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1765         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1767 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
1769         [BZ #14856]
1770         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
1771         Define to 3.
1773         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
1774         [POSIX] (EADDRNOTAVAIL): Likewise.
1775         [POSIX] (EAFNOSUPPORT): Likewise.
1776         [POSIX] (EALREADY): Likewise.
1777         [POSIX] (ECONNABORTED): Likewise.
1778         [POSIX] (ECONNREFUSED): Likewise.
1779         [POSIX] (ECONNRESET): Likewise.
1780         [POSIX] (EDESTADDRREQ): Likewise.
1781         [POSIX] (EDQUOT): Likewise.
1782         [POSIX] (EHOSTUNREACH): Likewise.
1783         [POSIX] (EIDRM): Likewise.
1784         [POSIX] (EISCONN): Likewise.
1785         [POSIX] (ELOOP): Likewise.
1786         [POSIX] (EMULTIHOP): Likewise.
1787         [POSIX] (ENETDOWN): Likewise.
1788         [POSIX] (ENETUNREACH): Likewise.
1789         [POSIX] (ENOBUFS): Likewise.
1790         [POSIX] (ENODATA): Likewise.
1791         [POSIX] (ENOLINK): Likewise.
1792         [POSIX] (ENOMSG): Likewise.
1793         [POSIX] (ENOPROTOOPT): Likewise.
1794         [POSIX] (ENOSR): Likewise.
1795         [POSIX] (ENOSTR): Likewise.
1796         [POSIX] (ENOTCONN): Likewise.
1797         [POSIX] (ENOTSOCK): Likewise.
1798         [POSIX] (EOPNOTSUPP): Likewise.
1799         [POSIX] (EOVERFLOW): Likewise.
1800         [POSIX] (EPROTO): Likewise.
1801         [POSIX] (EPROTONOSUPPORT): Likewise.
1802         [POSIX] (EPROTOTYPE): Likewise.
1803         [POSIX] (ESTALE): Likewise.
1804         [POSIX] (ETIME): Likewise.
1805         [POSIX] (ETXTBSY): Likewise.
1806         [POSIX] (EWOULDBLOCK): Likewise.
1807         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
1808         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
1809         [POSIX] (SEEK_CUR): Likewise.
1810         [POSIX] (SEEK_END): Likewise.
1811         [POSIX || UNIX98] (mode_t): Do not require.
1812         [POSIX] (off_t): Likewise.
1813         [POSIX] (pid_t): Likewise.
1814         [POSIX] (sys/stat.h): Do not allow header.
1815         [POSIX] (unistd.h): Likewise.
1816         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
1817         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
1818         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
1819         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
1820         require.
1821         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
1822         sigevent): Specify elements.
1823         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
1824         entry.
1825         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
1826         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
1828         * conform/data/cpio.h-data [POSIX]: Disable whole file.
1829         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
1830         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
1831         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
1832         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
1833         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
1834         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
1835         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
1836         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
1837         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
1838         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
1839         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
1840         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
1841         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
1842         Likewise.
1843         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
1844         Likewise.
1845         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
1846         Likewise.
1847         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
1848         Likewise.
1849         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
1850         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
1851         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
1852         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
1853         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
1854         Specify lower bound on value.
1855         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
1856         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
1857         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
1858         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
1859         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
1860         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
1861         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
1862         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
1863         value.
1864         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
1865         as optional.
1866         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
1867         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
1868         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
1869         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
1870         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
1871         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
1872         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
1873         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
1874         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
1875         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
1876         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
1877         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
1878         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
1879         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
1880         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
1881         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
1882         entry.
1883         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
1884         optional.
1885         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
1886         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
1887         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
1888         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
1889         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
1890         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
1891         Likewise.
1892         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
1893         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
1894         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
1895         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
1896         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
1897         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
1898         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
1899         as optional.
1900         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
1901         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
1902         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
1903         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
1904         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
1905         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
1906         specify as optional.
1907         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
1908         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
1909         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
1910         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
1911         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
1912         [XPG3] (NL_LANGMAX): Likewise.
1913         [POSIX || XPG3] (NL_MSGMAX): Likewise.
1914         [POSIX || XPG3] (NL_NMAX): Likewise.
1915         [POSIX || XPG3] (NL_SETMAX): Likewise.
1916         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
1917         [XPG3] (NZERO): Likewise.
1918         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
1919         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
1920         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
1921         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
1922         (REG_ERANGE): Expect.
1923         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
1924         optional-constant.
1925         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
1926         Use (void) in prototype.
1927         [POSIX] (*_t): Allow.
1928         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
1929         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
1930         (WRDE_BADVAL): Expect.
1932         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
1933         expect.
1934         [XPG3 || XPG4] (O_RSYNC): Likewise.
1935         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
1936         Likewise.
1937         [XPG3 || XPG4] (pthread_sigmask): Likewise.
1938         [XPG3 || XPG4] (sigqueue): Likewise.
1939         [XPG3 || XPG4] (sigtimedwait): Likewise.
1940         [XPG3 || XPG4] (sigwaitinfo): Likewise.
1941         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
1942         [XPG3 || XPG4] (vsnprintf): Likewise.
1943         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
1944         Likewise.
1945         [XPG3 || XPG4] (blksize_t): Likewise.
1946         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
1947         Likewise.
1948         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
1949         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1950         [XPG3 || XPG4] (struct itimerspec): Likewise.
1951         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
1952         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
1953         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
1954         [XPG3 || XPG4] (clockid_t): Likewise.
1955         [XPG3 || XPG4] (timer_t): Likewise.
1956         [XPG3 || XPG4] (clock_getres): Likewise.
1957         [XPG3 || XPG4] (clock_gettime): Likewise.
1958         [XPG3 || XPG4] (clock_settime): Likewise.
1959         [XPG3 || XPG4] (nanosleep): Likewise.
1960         [XPG3 || XPG4] (timer_create): Likewise.
1961         [XPG3 || XPG4] (timer_delete): Likewise.
1962         [XPG3 || XPG4] (timer_gettime): Likewise.
1963         [XPG3 || XPG4] (timer_getoverrun): Likewise.
1964         [XPG3 || XPG4] (timer_settime): Likewise.
1965         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
1966         [XPG3 || XPG4] (getlogin_r): Likewise.
1967         [XPG3 || XPG4] (pread): Likewise.
1968         [XPG3 || XPG4] (pthread_atfork): Likewise.
1969         [XPG3 || XPG4] (pwrite): Likewise.
1971         [BZ #14835]
1972         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
1973         <bits/siginfo.h>.
1975 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
1977         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
1978         finalizing MALLSTREAM.
1980         * sysdeps/mach/hurd/syncfs.c: New file.
1982 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1984         [BZ #14719]
1985         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
1986         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
1987         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
1988         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
1989         (_nss_dns_gethostbyname4_r): Likewise.
1990         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
1991         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
1993 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
1995         [BZ #13763]
1996         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
1998 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
2000         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
2001         * elf/cache.c (print_entry): Print ",AArch64" for
2002         FLAG_AARCH64_LIB64
2004         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
2005         * elf/cache.c (print_entry): Print ",hard-float" for
2006         FLAG_ARM_LIBHF.
2008 2012-11-18  David S. Miller  <davem@davemloft.net>
2010         With help from Joseph Myers.
2011         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
2012         cutoff to 2**-13.
2013         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
2014         cutoff to 2**-25.
2015         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
2016         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
2017         small.
2018         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2019         * math/libm-test.inc (y0_test): New tests.
2020         (y1_test): New tests.
2021         * sysdeps/i386/fpu/libm-test-ulps: Update.
2022         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2023         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2025 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
2027         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
2028         64-bit targets.
2029         * configure: Regenerated.
2031 2012-11-17  David S. Miller  <davem@davemloft.net>
2033         [BZ #14811]
2034         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
2035         nonzero exponents with absolute value below 0x1p-128 to +/-
2036         0x1p-128.
2038 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
2040         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
2042         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
2044         * posix/getconf-speclist.c: New file.
2045         * posix/posix-envs.def: Likewise.
2046         * posix/confstr.c (START_ENV_GROUP): New macro.
2047         (END_ENV_GROUP): Likewise.
2048         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2049         (KNOWN_PRESENT_ENV_STRING): Likewise.
2050         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2051         (UNKNOWN_ENVIRONMENT): Likewise.
2052         (confstr): Include posix-envs.def instead of handling
2053         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
2054         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
2055         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
2056         (END_ENV_GROUP): Likewise.
2057         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2058         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2059         (UNKNOWN_ENVIRONMENT): Likewise.
2060         (__sysconf): Include posix-envs.def instead of handling associated
2061         cases directly here.
2062         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
2063         preprocessing getconf-speclist.c rather than running getconf or
2064         generating empty file.
2066 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
2068         * scripts/check-local-headers.sh: Ignore 'mach' headers.
2070 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
2072         [BZ #14672]
2073         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
2075 2012-11-16  David S. Miller  <davem@davemloft.net>
2077         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
2078         smaller than LDBL_EPSILON/2.0L, just return xm1.
2080 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
2082         * elf/tst-array1.c (init): Set constructor priority to 1000.
2083         (fini): Set destructor priority to 1000.
2084         * elf/tst-array2dep.c: Likewise.
2086 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2088         [BZ #11741]
2089         * libio/fileops.c (_IO_new_file_write): Correctly return error.
2090         (_IO_new_file_xsputn): Also return EOF if none of the input
2091         data was written when overflow failed.
2092         * libio/iopadn.c (_IO_padn): Likewise.
2093         * libio/iowpadn.c (_IO_wpadn): Likewise.
2094         * stdio-common/tst-put-error.c: Add copyright notice.
2095         (do_test): Add case for printing padded string.
2096         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
2097         _IO_padn returned error.
2098         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
2099         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
2100         return EOF.
2102 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2104         * libio/libioP.h: Add comment note that the references to C++
2105         bits are now obsolete.
2107 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2109         * math/libm-test.inc (check_complex): Use asprintf.
2111 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
2113         * debug/pcprofiledump.c (print_version): Update copyright year.
2114         * malloc/memusagestat.c (print_version): Likewise.
2116 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
2118         [BZ #14831]
2119         * elf/Makefile (tests): Add tst-audit8.
2120         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
2121         ($(objpfx)tst-audit8.out): New target.
2122         (tst-audit8-ENV): New variable.
2123         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
2124         audit if l_reloc_result is NULL.
2125         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
2126         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
2127         * elf/tst-audit8.c: New file.
2129 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2131         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
2132         * misc/Makefile (CFLAGS-select.c): Define.
2133         * posix/Makefile (CFLAGS-pause.c): Define.
2135 2012-11-13  David S. Miller  <davem@davemloft.net>
2137         * crypt/Makefile: Move test targets after toplevel Rules
2138         inclusion.  Grab any necessary sysdep routines when linking.
2139         * crypt/md5.c (md5_process_block): Remove define, we will always
2140         name it __md5_process_block.
2141         (md5_finish_ctx): Update md5_process_block call.
2142         (md5_stream): Likewise.
2143         (md5_process_bytes): Likewise.
2144         (md5_process_block): Rename to __md5_process_block and move to ...
2145         * crypt/md5-block.c: ... here.
2146         * crypt/sha256.c (sha256_process_block): Move to ...
2147         * crypt/sha256-block.c: ... here.
2148         * crypt/sha512.c (sha512_process_block): Move to ...
2149         * crypt/sha512-block.c: ... here.
2150         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
2151         path.
2152         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
2153         * sysdeps/sparc/sparc64/multiarch/Makefile
2154         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
2155         crypt subdir.
2156         (localedef-aux): Add md5 crypto assembler when in locale subdir.
2157         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
2158         multiarch changes.
2159         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
2160         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
2161         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
2162         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
2163         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
2164         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
2165         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
2166         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
2167         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
2168         file.
2169         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
2170         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
2171         file.
2172         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
2174 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
2176         * timezone/tzselect.ksh: Update from tzcode git revision
2177         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
2178         * timezone/zdump.c: Likewise.
2179         * timezone/zic.c: Likewise.
2180         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
2181         in TZVERSION setting, not $(PKGVERSION).
2182         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
2183         REPORT_BUGS_TO settings.
2185         [BZ #14838]
2186         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
2187         macro.
2189 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2191         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
2192         detection to immediately after _FP_ROUND().
2193         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
2194         bits are 0.
2196 2012-11-11  David S. Miller  <davem@davemloft.net>
2198         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
2199         inttypes.h
2200         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
2201         __close rather than their public counterparts.
2203 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
2205         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
2206         file.
2207         [UNIX98] (sem_timedwait): Do not expect.
2208         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
2209         [XPG4 || UNIX98] (sockatmark): Do not expect.
2210         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
2211         (clock_getcpuclockid): Do not expect.
2212         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
2213         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
2214         Do not expect.
2215         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
2216         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
2217         [UNIX98] (vwscanf): Likewise.
2218         [UNIX98] (vswscanf): Likewise.
2220 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
2222         * timezone/version.h: Remove file.
2223         * timezone/README: Do not refer to version.h.
2224         * timezone/Makefile ($(objpfx)zic.o): New dependency on
2225         $(objpfx)version.h.
2226         ($(objpfx)zdump.o): Likewise.
2227         ($(objpfx)version.h): New target.
2229         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
2230         2012i.
2231         * timezone/README: Don't mention modification to tzselect.ksh.
2232         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
2233         work on unmodified tzselect.ksh.  Substitute version numbers in
2234         tzselect.ksh.
2236         * Makefile (format-me): Remove.
2237         (INSTALL): Adjust indentation.  Use commands directly instead of
2238         using $(format-me).
2240         * aclocal.m4 (ACX_PKGVERSION): New macro.
2241         (ACX_BUGURL): Likewise.
2242         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
2243         (PKGVERSION): New AC_DEFINE_UNQUOTED.
2244         (REPORT_BUGS_TO): Likewise.
2245         * configure: Regenerated.
2246         * config.h.in (PKGVERSION): New macro.
2247         (REPORT_BUGS_TO): Likewise.
2248         * config.make.in (PKGVERSION): New variable.
2249         (PKGVERSION_TEXI): Likewise.
2250         (REPORT_BUGS_TO): Likewise.
2251         (REPORT_BUGS_TEXI): Likewise.
2252         * Makefile (format-me): Use -I$(common-objpfx)manual.
2253         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
2254         ($(common-objpfx)manual/%): New target.
2255         (manual/%): Remove target.
2256         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
2257         (print_version): Use PKGVERSION.
2258         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
2259         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
2260         and REPORT_BUGS_TO.
2261         ($(objpfx)xtrace): Likewise.
2262         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
2263         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
2264         (print_version): Use PKGVERSION.
2265         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
2266         (do_version): Use PKGVERSION.
2267         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
2268         REPORT_BUGS_TO.
2269         (common-ldd-rewrite): Likewise.
2270         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
2271         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
2272         (print_version): Use PKGVERSION.
2273         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
2274         * elf/pldd.c (argp_program_bug_address): Remove variable.
2275         (more_help): New function.
2276         (argp): Use more_help.
2277         (print_version): Use PKGVERSION.
2278         * elf/sln.c (main): Use PKGVERSION.
2279         (usage): Use REPORT_BUGS_TO.
2280         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
2281         (top level): Use PKGVERSION.
2282         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
2283         (print_version): Use PKGVERSION.
2284         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
2285         (print_version): Use PKGVERSION.
2286         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
2287         (print_version): Use PKGVERSION.
2288         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
2289         (print_version): Use PKGVERSION.
2290         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
2291         (print_version): Use PKGVERSION.
2292         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
2293         (print_version): Use PKGVERSION.
2294         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
2295         and BUGURL.
2296         ($(objpfx)memusage): Likewise.
2297         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
2298         (do_version): Use PKGVERSION.
2299         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
2300         (print_version): Use PKGVERSION.
2301         * malloc/mtrace.pl ($PACKAGE): Remove variable.
2302         ($PKGVERSION): New variable.
2303         ($REPORT_BUGS_TO): Likewise.
2304         (usage): Use $REPORT_BUGS_TO.
2305         (top level): Use $PKGVERSION.
2306         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
2307         ($(objpfx)pkgvers.texi): New rule.
2308         ($(objpfx)stamp-pkgvers): Likewise.
2309         * manual/install.texi: Include pkgvers.texi.
2310         (--with-pkgversion): Document new configure option.
2311         (--with-bugurl): Likewise.
2312         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
2313         than necessarily for this particular distribution.  Use
2314         REPORT_BUGS_TO for where to report bugs.
2315         * INSTALL: Regenerated.
2316         * manual/libc.texinfo: Include pkgvers.texi.
2317         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
2318         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
2319         (print_version): Use PKGVERSION.
2320         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
2321         (print_version): Use PKGVERSION.
2322         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
2323         (print_version): Use PKGVERSION.
2324         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
2325         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
2326         macro.
2327         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
2328         (print_version): Use PKGVERSION.
2329         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
2330         (print_version): Use PKGVERSION.
2331         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
2332         and PKGVERSION.
2334         * timezone/checktab.awk: Update from tzcode 2012i.
2335         * timezone/ialloc.c: Likewise.
2336         * timezone/private.h: Likewise.
2337         * timezone/scheck.c: Likewise.
2338         * timezone/tzfile.h: Likewise.
2339         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
2340         (TZVERSION): Hardcode tzcode version number.
2341         * timezone/zdump.c: Update from tzcode 2012i.
2342         * timezone/zic.c: Likewise.
2343         * timezone/version.h: New file.
2344         * timezone/README: Describe version.h.  Update upstream location.
2346         [BZ #14824]
2347         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
2348         (mktemp): Enable declaration.
2349         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
2350         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
2351         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
2352         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
2353         Likewise.
2354         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
2355         Likewise.
2356         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
2357         Likewise.
2358         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
2359         Likewise.
2360         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
2361         Likewise.
2362         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
2363         Likewise.
2365         [BZ #14821]
2366         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
2367         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
2368         for copies of such integer values.
2369         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
2370         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
2372 2012-11-09  Andreas Jaeger  <aj@suse.de>
2374         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
2375         definitions and declarations that are provided by
2376         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2378 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2380         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
2381         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
2382         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
2383         definition.
2385 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2387         * elf/elf.h: Update comment before AArch64 relocations.
2389 2012-11-07  David S. Miller  <davem@davemloft.net>
2391         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
2392         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2393         (__start_context): Declare.
2394         (__makecontext_ret): Delete.
2395         (__makecontext): Hook up __start_context instead of
2396         __makecontext_ret.
2397         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2398         (sysdep_routines): Add __start_context when in stdlib.
2400 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
2402         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
2403         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
2404         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
2405         hardcoded "nm".
2406         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
2407         (READELF): New variable.  Use it instead of hardcoded "readelf".
2409 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
2411         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
2412         * sysdeps/x86/Makefile: Here.
2413         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
2414         * sysdeps/x86/tst-xmmymm.sh: This.
2416 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
2418         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
2419         expectations.
2420         [UNIX98] (pthread_barrier_t): Do not expect.
2421         [UNIX98] (pthread_barrierattr_t): Likewise.
2422         [UNIX98] (pthread_spinlock_t): Likewise.
2423         [UNIX98] (pthread_barrier_destroy): Likewise.
2424         [UNIX98] (pthread_barrier_init): Likewise.
2425         [UNIX98] (pthread_barrier_wait): Likewise.
2426         [UNIX98] (pthread_barrierattr_destroy): Likewise.
2427         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
2428         [UNIX98] (pthread_barrierattr_init): Likewise.
2429         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
2430         [UNIX98] (pthread_getcpuclockid): Likewise.
2431         [UNIX98] (pthread_mutex_timedlock): Likewise.
2432         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
2433         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
2434         [UNIX98] (pthread_sigmask): Likewise.
2435         [UNIX98] (pthread_spin_destroy): Likewise.
2436         [UNIX98] (pthread_spin_init): Likewise.
2437         [UNIX98] (pthread_spin_lock): Likewise.
2438         [UNIX98] (pthread_spin_trylock): Likewise.
2439         [UNIX98] (pthread_spin_unlock): Likewise.
2440         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
2441         Do not expect.
2442         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
2443         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
2444         [XPG3 || XPG4] (pthread_cond_t): Likewise.
2445         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
2446         [XPG3 || XPG4] (pthread_key_t): Likewise.
2447         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
2448         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
2449         [XPG3 || XPG4] (pthread_once_t): Likewise.
2450         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
2451         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
2452         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
2453         [XPG3 || XPG4] (pthread_t): Likewise.
2455         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
2456         not expect.
2457         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
2459         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
2460         Change function return type to int.
2462         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
2463         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
2464         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
2465         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
2466         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
2467         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
2468         [!POSIX] (posix_madvise): Likewise.
2469         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
2470         && !UNIX98].
2471         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
2472         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
2473         (mode_t): Likewise.
2474         (posix_mem_offset): Likewise.
2475         (posix_typed_mem_get_info): Likewise.
2476         (posix_typed_mem_open): Likewise.
2478         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
2479         Change condition to [XOPEN2K8].
2481         * conform/conformtest.pl: Preprocess allow-header data with -x c
2482         instead of from stdin.
2483         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
2484         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
2485         [C99-based standards] (cerfc): Likewise.
2486         [C99-based standards] (cexp2): Likewise.
2487         [C99-based standards] (cexpm1): Likewise.
2488         [C99-based standards] (clog10): Likewise.
2489         [C99-based standards] (clog1p): Likewise.
2490         [C99-based standards] (clog2): Likewise.
2491         [C99-based standards] (clgamma): Likewise.
2492         [C99-based standards] (ctgamma): Likewise.
2493         [C99-based standards] (cerff): Likewise.
2494         [C99-based standards] (cerfcf): Likewise.
2495         [C99-based standards] (cexp2f): Likewise.
2496         [C99-based standards] (cexpm1f): Likewise.
2497         [C99-based standards] (clog10f): Likewise.
2498         [C99-based standards] (clog1pf): Likewise.
2499         [C99-based standards] (clog2f): Likewise.
2500         [C99-based standards] (clgammaf): Likewise.
2501         [C99-based standards] (ctgammaf): Likewise.
2502         [C99-based standards] (cerfl): Likewise.
2503         [C99-based standards] (cerfcl): Likewise.
2504         [C99-based standards] (cexp2l): Likewise.
2505         [C99-based standards] (cexpm1l): Likewise.
2506         [C99-based standards] (clog10l): Likewise.
2507         [C99-based standards] (clog1pl): Likewise.
2508         [C99-based standards] (clog2l): Likewise.
2509         [C99-based standards] (clgammal): Likewise.
2510         [C99-based standards] (ctgammal): Likewise.
2511         * conform/data/inttypes.h-data [C99-based standards]: Include
2512         stdint.h-data.  Remove all expectations for stdint.h contents.
2513         [C99-based standards] (PRI*): Do not allow.
2514         [C99-based standards] (SCN*): Likewise.
2515         [C99-based standards] (*_t): Likewise.
2516         [C99-based-standards] (PRId8): Expect macro.
2517         [C99-based-standards] (PRIi8): Likewise.
2518         [C99-based-standards] (PRIo8): Likewise.
2519         [C99-based-standards] (PRIu8): Likewise.
2520         [C99-based-standards] (PRIx8): Likewise.
2521         [C99-based-standards] (PRIX8): Likewise.
2522         [C99-based-standards] (SCNd8): Likewise.
2523         [C99-based-standards] (SCNi8): Likewise.
2524         [C99-based-standards] (SCNo8): Likewise.
2525         [C99-based-standards] (SCNu8): Likewise.
2526         [C99-based-standards] (SCNx8): Likewise.
2527         [C99-based-standards] (PRIdLEAST8): Likewise.
2528         [C99-based-standards] (PRIiLEAST8): Likewise.
2529         [C99-based-standards] (PRIoLEAST8): Likewise.
2530         [C99-based-standards] (PRIuLEAST8): Likewise.
2531         [C99-based-standards] (PRIxLEAST8): Likewise.
2532         [C99-based-standards] (PRIXLEAST8): Likewise.
2533         [C99-based-standards] (SCNdLEAST8): Likewise.
2534         [C99-based-standards] (SCNiLEAST8): Likewise.
2535         [C99-based-standards] (SCNoLEAST8): Likewise.
2536         [C99-based-standards] (SCNuLEAST8): Likewise.
2537         [C99-based-standards] (SCNxLEAST8): Likewise.
2538         [C99-based-standards] (PRIdFAST8): Likewise.
2539         [C99-based-standards] (PRIiFAST8): Likewise.
2540         [C99-based-standards] (PRIoFAST8): Likewise.
2541         [C99-based-standards] (PRIuFAST8): Likewise.
2542         [C99-based-standards] (PRIxFAST8): Likewise.
2543         [C99-based-standards] (PRIXFAST8): Likewise.
2544         [C99-based-standards] (SCNdFAST8): Likewise.
2545         [C99-based-standards] (SCNiFAST8): Likewise.
2546         [C99-based-standards] (SCNoFAST8): Likewise.
2547         [C99-based-standards] (SCNuFAST8): Likewise.
2548         [C99-based-standards] (SCNxFAST8): Likewise.
2549         [C99-based-standards] (PRId16): Likewise.
2550         [C99-based-standards] (PRIi16): Likewise.
2551         [C99-based-standards] (PRIo16): Likewise.
2552         [C99-based-standards] (PRIu16): Likewise.
2553         [C99-based-standards] (PRIx16): Likewise.
2554         [C99-based-standards] (PRIX16): Likewise.
2555         [C99-based-standards] (SCNd16): Likewise.
2556         [C99-based-standards] (SCNi16): Likewise.
2557         [C99-based-standards] (SCNo16): Likewise.
2558         [C99-based-standards] (SCNu16): Likewise.
2559         [C99-based-standards] (SCNx16): Likewise.
2560         [C99-based-standards] (PRIdLEAST16): Likewise.
2561         [C99-based-standards] (PRIiLEAST16): Likewise.
2562         [C99-based-standards] (PRIoLEAST16): Likewise.
2563         [C99-based-standards] (PRIuLEAST16): Likewise.
2564         [C99-based-standards] (PRIxLEAST16): Likewise.
2565         [C99-based-standards] (PRIXLEAST16): Likewise.
2566         [C99-based-standards] (SCNdLEAST16): Likewise.
2567         [C99-based-standards] (SCNiLEAST16): Likewise.
2568         [C99-based-standards] (SCNoLEAST16): Likewise.
2569         [C99-based-standards] (SCNuLEAST16): Likewise.
2570         [C99-based-standards] (SCNxLEAST16): Likewise.
2571         [C99-based-standards] (PRIdFAST16): Likewise.
2572         [C99-based-standards] (PRIiFAST16): Likewise.
2573         [C99-based-standards] (PRIoFAST16): Likewise.
2574         [C99-based-standards] (PRIuFAST16): Likewise.
2575         [C99-based-standards] (PRIxFAST16): Likewise.
2576         [C99-based-standards] (PRIXFAST16): Likewise.
2577         [C99-based-standards] (SCNdFAST16): Likewise.
2578         [C99-based-standards] (SCNiFAST16): Likewise.
2579         [C99-based-standards] (SCNoFAST16): Likewise.
2580         [C99-based-standards] (SCNuFAST16): Likewise.
2581         [C99-based-standards] (SCNxFAST16): Likewise.
2582         [C99-based-standards] (PRId32): Likewise.
2583         [C99-based-standards] (PRIi32): Likewise.
2584         [C99-based-standards] (PRIo32): Likewise.
2585         [C99-based-standards] (PRIu32): Likewise.
2586         [C99-based-standards] (PRIx32): Likewise.
2587         [C99-based-standards] (PRIX32): Likewise.
2588         [C99-based-standards] (SCNd32): Likewise.
2589         [C99-based-standards] (SCNi32): Likewise.
2590         [C99-based-standards] (SCNo32): Likewise.
2591         [C99-based-standards] (SCNu32): Likewise.
2592         [C99-based-standards] (SCNx32): Likewise.
2593         [C99-based-standards] (PRIdLEAST32): Likewise.
2594         [C99-based-standards] (PRIiLEAST32): Likewise.
2595         [C99-based-standards] (PRIoLEAST32): Likewise.
2596         [C99-based-standards] (PRIuLEAST32): Likewise.
2597         [C99-based-standards] (PRIxLEAST32): Likewise.
2598         [C99-based-standards] (PRIXLEAST32): Likewise.
2599         [C99-based-standards] (SCNdLEAST32): Likewise.
2600         [C99-based-standards] (SCNiLEAST32): Likewise.
2601         [C99-based-standards] (SCNoLEAST32): Likewise.
2602         [C99-based-standards] (SCNuLEAST32): Likewise.
2603         [C99-based-standards] (SCNxLEAST32): Likewise.
2604         [C99-based-standards] (PRIdFAST32): Likewise.
2605         [C99-based-standards] (PRIiFAST32): Likewise.
2606         [C99-based-standards] (PRIoFAST32): Likewise.
2607         [C99-based-standards] (PRIuFAST32): Likewise.
2608         [C99-based-standards] (PRIxFAST32): Likewise.
2609         [C99-based-standards] (PRIXFAST32): Likewise.
2610         [C99-based-standards] (SCNdFAST32): Likewise.
2611         [C99-based-standards] (SCNiFAST32): Likewise.
2612         [C99-based-standards] (SCNoFAST32): Likewise.
2613         [C99-based-standards] (SCNuFAST32): Likewise.
2614         [C99-based-standards] (SCNxFAST32): Likewise.
2615         [C99-based-standards] (PRId64): Likewise.
2616         [C99-based-standards] (PRIi64): Likewise.
2617         [C99-based-standards] (PRIo64): Likewise.
2618         [C99-based-standards] (PRIu64): Likewise.
2619         [C99-based-standards] (PRIx64): Likewise.
2620         [C99-based-standards] (PRIX64): Likewise.
2621         [C99-based-standards] (SCNd64): Likewise.
2622         [C99-based-standards] (SCNi64): Likewise.
2623         [C99-based-standards] (SCNo64): Likewise.
2624         [C99-based-standards] (SCNu64): Likewise.
2625         [C99-based-standards] (SCNx64): Likewise.
2626         [C99-based-standards] (PRIdLEAST64): Likewise.
2627         [C99-based-standards] (PRIiLEAST64): Likewise.
2628         [C99-based-standards] (PRIoLEAST64): Likewise.
2629         [C99-based-standards] (PRIuLEAST64): Likewise.
2630         [C99-based-standards] (PRIxLEAST64): Likewise.
2631         [C99-based-standards] (PRIXLEAST64): Likewise.
2632         [C99-based-standards] (SCNdLEAST64): Likewise.
2633         [C99-based-standards] (SCNiLEAST64): Likewise.
2634         [C99-based-standards] (SCNoLEAST64): Likewise.
2635         [C99-based-standards] (SCNuLEAST64): Likewise.
2636         [C99-based-standards] (SCNxLEAST64): Likewise.
2637         [C99-based-standards] (PRIdFAST64): Likewise.
2638         [C99-based-standards] (PRIiFAST64): Likewise.
2639         [C99-based-standards] (PRIoFAST64): Likewise.
2640         [C99-based-standards] (PRIuFAST64): Likewise.
2641         [C99-based-standards] (PRIxFAST64): Likewise.
2642         [C99-based-standards] (PRIXFAST64): Likewise.
2643         [C99-based-standards] (SCNdFAST64): Likewise.
2644         [C99-based-standards] (SCNiFAST64): Likewise.
2645         [C99-based-standards] (SCNoFAST64): Likewise.
2646         [C99-based-standards] (SCNuFAST64): Likewise.
2647         [C99-based-standards] (SCNxFAST64): Likewise.
2648         [C99-based-standards] (PRIdMAX): Likewise.
2649         [C99-based-standards] (PRIiMAX): Likewise.
2650         [C99-based-standards] (PRIoMAX): Likewise.
2651         [C99-based-standards] (PRIuMAX): Likewise.
2652         [C99-based-standards] (PRIxMAX): Likewise.
2653         [C99-based-standards] (PRIXMAX): Likewise.
2654         [C99-based-standards] (SCNdMAX): Likewise.
2655         [C99-based-standards] (SCNiMAX): Likewise.
2656         [C99-based-standards] (SCNoMAX): Likewise.
2657         [C99-based-standards] (SCNuMAX): Likewise.
2658         [C99-based-standards] (SCNxMAX): Likewise.
2659         [C99-based-standards] (PRIdPTR): Likewise.
2660         [C99-based-standards] (PRIiPTR): Likewise.
2661         [C99-based-standards] (PRIoPTR): Likewise.
2662         [C99-based-standards] (PRIuPTR): Likewise.
2663         [C99-based-standards] (PRIxPTR): Likewise.
2664         [C99-based-standards] (PRIXPTR): Likewise.
2665         [C99-based-standards] (SCNdPTR): Likewise.
2666         [C99-based-standards] (SCNiPTR): Likewise.
2667         [C99-based-standards] (SCNoPTR): Likewise.
2668         [C99-based-standards] (SCNuPTR): Likewise.
2669         [C99-based-standards] (SCNxPTR): Likewise.
2670         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
2671         allow.
2672         * conform/data/stdint.h-data: Update comments to clarify
2673         requirements.
2674         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
2675         type.
2676         [C99-based standards] (INT8_MAX): Likewise.
2677         [C99-based standards] (INT16_MIN): Likewise.
2678         [C99-based standards] (INT16_MAX): Likewise.
2679         [C99-based standards] (INT32_MIN): Likewise.
2680         [C99-based standards] (INT32_MAX): Likewise.
2681         [C99-based standards] (INT64_MIN): Likewise.
2682         [C99-based standards] (INT64_MAX): Likewise.
2683         [C99-based standards] (UINT8_MAX): Likewise.
2684         [C99-based standards] (UINT16_MAX): Likewise.
2685         [C99-based standards] (UINT32_MAX): Likewise.
2686         [C99-based standards] (UINT64_MAX): Likewise.
2687         [C99-based standards] (INT_LEAST8_MIN): Likewise.
2688         [C99-based standards] (INT_LEAST8_MAX): Likewise.
2689         [C99-based standards] (INT_LEAST16_MIN): Likewise.
2690         [C99-based standards] (INT_LEAST16_MAX): Likewise.
2691         [C99-based standards] (INT_LEAST32_MIN): Likewise.
2692         [C99-based standards] (INT_LEAST32_MAX): Likewise.
2693         [C99-based standards] (INT_LEAST64_MIN): Likewise.
2694         [C99-based standards] (INT_LEAST64_MAX): Likewise.
2695         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
2696         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
2697         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
2698         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
2699         [C99-based standards] (INT_FAST8_MIN): Likewise.
2700         [C99-based standards] (INT_FAST8_MAX): Likewise.
2701         [C99-based standards] (INT_FAST16_MIN): Likewise.
2702         [C99-based standards] (INT_FAST16_MAX): Likewise.
2703         [C99-based standards] (INT_FAST32_MIN): Likewise.
2704         [C99-based standards] (INT_FAST32_MAX): Likewise.
2705         [C99-based standards] (INT_FAST64_MIN): Likewise.
2706         [C99-based standards] (INT_FAST64_MAX): Likewise.
2707         [C99-based standards] (UINT_FAST8_MAX): Likewise.
2708         [C99-based standards] (UINT_FAST16_MAX): Likewise.
2709         [C99-based standards] (UINT_FAST32_MAX): Likewise.
2710         [C99-based standards] (UINT_FAST64_MAX): Likewise.
2711         [C99-based standards] (INTPTR_MIN): Likewise.
2712         [C99-based standards] (INTPTR_MAX): Likewise.
2713         [C99-based standards] (UINTPTR_MAX): Likewise.
2714         [C99-based standards] (INTMAX_MIN): Likewise.
2715         [C99-based standards] (INTMAX_MAX): Likewise.
2716         [C99-based standards] (UINTMAX_MAX): Likewise.
2717         [C99-based standards] (PTRDIFF_MIN): Likewise.
2718         [C99-based standards] (PTRDIFF_MAX): Likewise.
2719         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
2720         [C99-based standards] (SIZE_MAX): Likewise.
2721         [C99-based standards] (WCHAR_MAX): Likewise.
2722         [C99-based standards] (WINT_MAX): Likewise.
2723         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
2724         constraint on value.
2725         [C99-based standards] (WCHAR_MIN): Likewise.
2726         [C99-based standards] (WINT_MIN): Likewise.
2727         [C99-based standards] (*_t): Allow.
2728         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
2729         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
2730         Include math.h-data and complex.h-data.  Remove all expectations
2731         of math.h and complex.h contents.
2732         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
2733         at end of line.
2734         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
2735         (struct tm): Expect tag.
2736         [C99-based-standards] (wcstof): Expect function.
2737         [C99-based-standards] (wcstold): Likewise.
2738         [C99-based-standards] (wcstoll): Likewise.
2739         [C99-based-standards] (wcstoull): Likewise.
2740         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
2741         macro-int-constant.  Specify type.
2742         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
2743         constraint on value.
2744         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2745         Specify type.
2746         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
2747         Specify value.
2748         [ISO C standards]: Do not allow headers.
2749         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
2750         wcs[abcdefghijklmnopqrstuvwxyz]*.
2751         [ISO C standards] (*_t): Do not allow.
2752         * conform/data/wctype.h-data [C99-based standards] (iswblank):
2753         Expect function.
2754         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
2755         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2756         Specify type.
2757         [ISO C standards]: Do not allow headers.
2758         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
2759         is[abcdefghijklmnopqrstuvwxyz]*.
2760         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
2761         to[abcdefghijklmnopqrstuvwxyz]*.
2762         [ISO C standards] (*_t): Do not allow.
2763         * conform/data/stdalign.h-data: New file.
2764         * conform/data/stdbool.h-data: Likewise.
2765         * conform/data/stdnoreturn.h-data: Likewise.
2767 2012-11-07  Roland McGrath  <roland@hack.frob.com>
2769         [BZ #14815]
2770         * manual/filesys.texi (Directory Entries): Typo fix.
2771         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
2773 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2775         * elf/elf.h (EM_AARCH64): New macro.
2776         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
2777         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
2778         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
2779         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
2780         (R_AARCH64_TLSDESC): Likewise.
2781         (NT_ARM_TLS): Likewise.
2782         (NT_ARM_HW_BREAK): Likewise.
2783         (NT_ARM_HW_WATCH): Likewise.
2785 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
2787         [BZ #14811]
2788         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
2789         (__ieee754_powl): Saturate nonzero exponents with absolute value
2790         below 0x1p-79 to +/- 0x1p-79.
2791         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
2792         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
2793         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
2794         nonzero exponents with absolute value below 0x1p-32 to +/-
2795         0x1p-32.
2796         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
2797         (__ieee754_powl): Saturate nonzero exponents with absolute value
2798         below 0x1p-79 to +/- 0x1p-79.
2799         * math/libm-test.inc (pow_test): Add more tests.
2801 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2803         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
2804         _dl_s390_cap_flags with kernel. Increase string length.
2805         (_dl_s390_platforms): Add z196 and zEC12.
2807 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
2809         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
2810         Change XOPEN21K to XOPEN2K.
2812 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
2814         * string/memmove.c: Use memcpy when possible.
2816 2012-11-06  Andreas Jaeger  <aj@suse.de>
2818         * po/eo.po: Update from translation team.
2820 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
2822         [BZ #14793]
2823         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
2824         exponent and small x and y exponents, scale x or y up.  Increase
2825         by 2 the exponent used in scaling up.
2826         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2827         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2828         * math/libm-test.inc (fma_test): Add more tests.
2829         (fma_test_towardzero): Likewise.
2830         (fma_test_downward): Likewise.
2831         (fma_test_upward): Likewise.
2833 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
2835         [BZ #14805]
2836         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
2837         fenv_t *.
2839         [BZ #14801]
2840         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
2841         namespace for names of struct fields.
2842         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
2843         fenv_t fields.
2844         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2845         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
2847 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2849         [BZ #3665]
2850         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
2852 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
2854         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
2855         PTR_DEMANGLE.
2857         [BZ #5246]
2858         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
2859         PTR_DEMANGLE.
2861 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
2863         [BZ #14797]
2864         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
2865         definitely overflow as x * y not x * y + z.
2866         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2867         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2868         * math/libm-test.inc (fma_test): Add more tests.
2869         (fma_test_towardzero): Likewise.
2870         (fma_test_downward): Likewise.
2871         (fma_test_upward): Likewise.
2873 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
2875         [BZ #157]
2877         * include/stub-tag.h: Remove file.
2878         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
2879         '#include' of it.
2880         * manual/maint.texi (Porting): Don't reference it.
2881         * Makerules ($(objpfx)stubs): Likewise.
2882         * dirent/closedir.c: Don't include <stub-tag.h>.
2883         * dirent/dirfd.c: Likewise.
2884         * dirent/fdopendir.c: Likewise.
2885         * dirent/getdents.c: Likewise.
2886         * dirent/getdents64.c: Likewise.
2887         * dirent/opendir.c: Likewise.
2888         * dirent/readdir.c: Likewise.
2889         * dirent/readdir64.c: Likewise.
2890         * dirent/readdir64_r.c: Likewise.
2891         * dirent/readdir_r.c: Likewise.
2892         * dirent/rewinddir.c: Likewise.
2893         * dirent/seekdir.c: Likewise.
2894         * dirent/telldir.c: Likewise.
2895         * gmon/profil.c: Likewise.
2896         * grp/setgroups.c: Likewise.
2897         * inet/if_index.c: Likewise.
2898         * io/access.c: Likewise.
2899         * io/chdir.c: Likewise.
2900         * io/chmod.c: Likewise.
2901         * io/chown.c: Likewise.
2902         * io/close.c: Likewise.
2903         * io/dup.c: Likewise.
2904         * io/dup2.c: Likewise.
2905         * io/dup3.c: Likewise.
2906         * io/euidaccess.c: Likewise.
2907         * io/faccessat.c: Likewise.
2908         * io/fchdir.c: Likewise.
2909         * io/fchmod.c: Likewise.
2910         * io/fchmodat.c: Likewise.
2911         * io/fchown.c: Likewise.
2912         * io/fchownat.c: Likewise.
2913         * io/fcntl.c: Likewise.
2914         * io/flock.c: Likewise.
2915         * io/fstatfs.c: Likewise.
2916         * io/fstatfs64.c: Likewise.
2917         * io/fstatvfs.c: Likewise.
2918         * io/fstatvfs64.c: Likewise.
2919         * io/futimens.c: Likewise.
2920         * io/fxstat.c: Likewise.
2921         * io/fxstat64.c: Likewise.
2922         * io/fxstatat.c: Likewise.
2923         * io/fxstatat64.c: Likewise.
2924         * io/getcwd.c: Likewise.
2925         * io/isatty.c: Likewise.
2926         * io/lchmod.c: Likewise.
2927         * io/lchown.c: Likewise.
2928         * io/link.c: Likewise.
2929         * io/linkat.c: Likewise.
2930         * io/lseek.c: Likewise.
2931         * io/lseek64.c: Likewise.
2932         * io/lxstat64.c: Likewise.
2933         * io/mkdir.c: Likewise.
2934         * io/mkdirat.c: Likewise.
2935         * io/mkfifo.c: Likewise.
2936         * io/mkfifoat.c: Likewise.
2937         * io/open.c: Likewise.
2938         * io/open64.c: Likewise.
2939         * io/openat.c: Likewise.
2940         * io/openat64.c: Likewise.
2941         * io/pipe.c: Likewise.
2942         * io/pipe2.c: Likewise.
2943         * io/poll.c: Likewise.
2944         * io/posix_fadvise.c: Likewise.
2945         * io/posix_fadvise64.c: Likewise.
2946         * io/posix_fallocate.c: Likewise.
2947         * io/posix_fallocate64.c: Likewise.
2948         * io/read.c: Likewise.
2949         * io/readlink.c: Likewise.
2950         * io/readlinkat.c: Likewise.
2951         * io/rmdir.c: Likewise.
2952         * io/sendfile.c: Likewise.
2953         * io/sendfile64.c: Likewise.
2954         * io/statfs.c: Likewise.
2955         * io/statfs64.c: Likewise.
2956         * io/statvfs.c: Likewise.
2957         * io/statvfs64.c: Likewise.
2958         * io/symlink.c: Likewise.
2959         * io/symlinkat.c: Likewise.
2960         * io/ttyname.c: Likewise.
2961         * io/ttyname_r.c: Likewise.
2962         * io/umask.c: Likewise.
2963         * io/unlink.c: Likewise.
2964         * io/unlinkat.c: Likewise.
2965         * io/utime.c: Likewise.
2966         * io/utimensat.c: Likewise.
2967         * io/write.c: Likewise.
2968         * io/xmknod.c: Likewise.
2969         * io/xmknodat.c: Likewise.
2970         * io/xstat.c: Likewise.
2971         * io/xstat64.c: Likewise.
2972         * login/getpt.c: Likewise.
2973         * login/grantpt.c: Likewise.
2974         * login/unlockpt.c: Likewise.
2975         * math/e_acoshl.c: Likewise.
2976         * math/e_acosl.c: Likewise.
2977         * math/e_asinl.c: Likewise.
2978         * math/e_atan2l.c: Likewise.
2979         * math/e_atanhl.c: Likewise.
2980         * math/e_coshl.c: Likewise.
2981         * math/e_expl.c: Likewise.
2982         * math/e_fmodl.c: Likewise.
2983         * math/e_gammal_r.c: Likewise.
2984         * math/e_hypotl.c: Likewise.
2985         * math/e_j0l.c: Likewise.
2986         * math/e_j1l.c: Likewise.
2987         * math/e_jnl.c: Likewise.
2988         * math/e_lgammal_r.c: Likewise.
2989         * math/e_log10l.c: Likewise.
2990         * math/e_log2l.c: Likewise.
2991         * math/e_logl.c: Likewise.
2992         * math/e_powl.c: Likewise.
2993         * math/e_rem_pio2l.c: Likewise.
2994         * math/e_sinhl.c: Likewise.
2995         * math/e_sqrtl.c: Likewise.
2996         * math/fclrexcpt.c: Likewise.
2997         * math/fedisblxcpt.c: Likewise.
2998         * math/feenablxcpt.c: Likewise.
2999         * math/fegetenv.c: Likewise.
3000         * math/fegetexcept.c: Likewise.
3001         * math/fegetround.c: Likewise.
3002         * math/feholdexcpt.c: Likewise.
3003         * math/fesetenv.c: Likewise.
3004         * math/fesetround.c: Likewise.
3005         * math/feupdateenv.c: Likewise.
3006         * math/fgetexcptflg.c: Likewise.
3007         * math/fraiseexcpt.c: Likewise.
3008         * math/fsetexcptflg.c: Likewise.
3009         * math/ftestexcept.c: Likewise.
3010         * math/k_cosl.c: Likewise.
3011         * math/k_rem_pio2l.c: Likewise.
3012         * math/k_sinl.c: Likewise.
3013         * math/k_tanl.c: Likewise.
3014         * math/s_asinhl.c: Likewise.
3015         * math/s_atanl.c: Likewise.
3016         * math/s_cbrtl.c: Likewise.
3017         * math/s_erfl.c: Likewise.
3018         * math/s_expm1l.c: Likewise.
3019         * math/s_log1pl.c: Likewise.
3020         * math/s_tanhl.c: Likewise.
3021         * misc/acct.c: Likewise.
3022         * misc/brk.c: Likewise.
3023         * misc/chflags.c: Likewise.
3024         * misc/chroot.c: Likewise.
3025         * misc/fchflags.c: Likewise.
3026         * misc/fgetxattr.c: Likewise.
3027         * misc/flistxattr.c: Likewise.
3028         * misc/fremovexattr.c: Likewise.
3029         * misc/fsetxattr.c: Likewise.
3030         * misc/fsync.c: Likewise.
3031         * misc/ftruncate.c: Likewise.
3032         * misc/futimes.c: Likewise.
3033         * misc/futimesat.c: Likewise.
3034         * misc/getdomain.c: Likewise.
3035         * misc/getdtsz.c: Likewise.
3036         * misc/gethostid.c: Likewise.
3037         * misc/gethostname.c: Likewise.
3038         * misc/getloadavg.c: Likewise.
3039         * misc/getpagesize.c: Likewise.
3040         * misc/getsysstats.c: Likewise.
3041         * misc/getxattr.c: Likewise.
3042         * misc/gtty.c: Likewise.
3043         * misc/ioctl.c: Likewise.
3044         * misc/lgetxattr.c: Likewise.
3045         * misc/listxattr.c: Likewise.
3046         * misc/llistxattr.c: Likewise.
3047         * misc/lremovexattr.c: Likewise.
3048         * misc/lsetxattr.c: Likewise.
3049         * misc/lutimes.c: Likewise.
3050         * misc/madvise.c: Likewise.
3051         * misc/mincore.c: Likewise.
3052         * misc/mlock.c: Likewise.
3053         * misc/mlockall.c: Likewise.
3054         * misc/mmap.c: Likewise.
3055         * misc/mprotect.c: Likewise.
3056         * misc/msync.c: Likewise.
3057         * misc/munlock.c: Likewise.
3058         * misc/munlockall.c: Likewise.
3059         * misc/munmap.c: Likewise.
3060         * misc/preadv.c: Likewise.
3061         * misc/preadv64.c: Likewise.
3062         * misc/ptrace.c: Likewise.
3063         * misc/pwritev.c: Likewise.
3064         * misc/pwritev64.c: Likewise.
3065         * misc/readv.c: Likewise.
3066         * misc/reboot.c: Likewise.
3067         * misc/remap_file_pages.c: Likewise.
3068         * misc/removexattr.c: Likewise.
3069         * misc/revoke.c: Likewise.
3070         * misc/select.c: Likewise.
3071         * misc/setdomain.c: Likewise.
3072         * misc/setegid.c: Likewise.
3073         * misc/seteuid.c: Likewise.
3074         * misc/sethostid.c: Likewise.
3075         * misc/sethostname.c: Likewise.
3076         * misc/setregid.c: Likewise.
3077         * misc/setreuid.c: Likewise.
3078         * misc/setxattr.c: Likewise.
3079         * misc/sstk.c: Likewise.
3080         * misc/stty.c: Likewise.
3081         * misc/swapoff.c: Likewise.
3082         * misc/swapon.c: Likewise.
3083         * misc/sync.c: Likewise.
3084         * misc/syncfs.c: Likewise.
3085         * misc/syscall.c: Likewise.
3086         * misc/truncate.c: Likewise.
3087         * misc/ualarm.c: Likewise.
3088         * misc/usleep.c: Likewise.
3089         * misc/ustat.c: Likewise.
3090         * misc/utimes.c: Likewise.
3091         * misc/vhangup.c: Likewise.
3092         * misc/writev.c: Likewise.
3093         * posix/_exit.c: Likewise.
3094         * posix/alarm.c: Likewise.
3095         * posix/execve.c: Likewise.
3096         * posix/fexecve.c: Likewise.
3097         * posix/fork.c: Likewise.
3098         * posix/fpathconf.c: Likewise.
3099         * posix/getaddrinfo.c: Likewise.
3100         * posix/getegid.c: Likewise.
3101         * posix/geteuid.c: Likewise.
3102         * posix/getgid.c: Likewise.
3103         * posix/getgroups.c: Likewise.
3104         * posix/getlogin.c: Likewise.
3105         * posix/getlogin_r.c: Likewise.
3106         * posix/getpgid.c: Likewise.
3107         * posix/getpid.c: Likewise.
3108         * posix/getppid.c: Likewise.
3109         * posix/getresgid.c: Likewise.
3110         * posix/getresuid.c: Likewise.
3111         * posix/getsid.c: Likewise.
3112         * posix/getuid.c: Likewise.
3113         * posix/glob64.c: Likewise.
3114         * posix/nanosleep.c: Likewise.
3115         * posix/pathconf.c: Likewise.
3116         * posix/pause.c: Likewise.
3117         * posix/posix_madvise.c: Likewise.
3118         * posix/pread.c: Likewise.
3119         * posix/pread64.c: Likewise.
3120         * posix/pwrite.c: Likewise.
3121         * posix/pwrite64.c: Likewise.
3122         * posix/sched_getaffinity.c: Likewise.
3123         * posix/sched_getp.c: Likewise.
3124         * posix/sched_gets.c: Likewise.
3125         * posix/sched_primax.c: Likewise.
3126         * posix/sched_primin.c: Likewise.
3127         * posix/sched_rr_gi.c: Likewise.
3128         * posix/sched_setaffinity.c: Likewise.
3129         * posix/sched_setp.c: Likewise.
3130         * posix/sched_sets.c: Likewise.
3131         * posix/sched_yield.c: Likewise.
3132         * posix/setgid.c: Likewise.
3133         * posix/setlogin.c: Likewise.
3134         * posix/setpgid.c: Likewise.
3135         * posix/setresgid.c: Likewise.
3136         * posix/setresuid.c: Likewise.
3137         * posix/setsid.c: Likewise.
3138         * posix/setuid.c: Likewise.
3139         * posix/sleep.c: Likewise.
3140         * posix/spawni.c: Likewise.
3141         * posix/sysconf.c: Likewise.
3142         * posix/times.c: Likewise.
3143         * posix/wait.c: Likewise.
3144         * posix/wait3.c: Likewise.
3145         * posix/wait4.c: Likewise.
3146         * posix/waitpid.c: Likewise.
3147         * resolv/gai_sigqueue.c: Likewise.
3148         * resource/getpriority.c: Likewise.
3149         * resource/getrlimit.c: Likewise.
3150         * resource/getrusage.c: Likewise.
3151         * resource/nice.c: Likewise.
3152         * resource/setpriority.c: Likewise.
3153         * resource/setrlimit.c: Likewise.
3154         * resource/ulimit.c: Likewise.
3155         * rt/aio_cancel.c: Likewise.
3156         * rt/aio_fsync.c: Likewise.
3157         * rt/aio_read.c: Likewise.
3158         * rt/aio_sigqueue.c: Likewise.
3159         * rt/aio_suspend.c: Likewise.
3160         * rt/aio_write.c: Likewise.
3161         * rt/clock_getres.c: Likewise.
3162         * rt/clock_gettime.c: Likewise.
3163         * rt/clock_nanosleep.c: Likewise.
3164         * rt/clock_settime.c: Likewise.
3165         * rt/lio_listio.c: Likewise.
3166         * rt/mq_close.c: Likewise.
3167         * rt/mq_getattr.c: Likewise.
3168         * rt/mq_notify.c: Likewise.
3169         * rt/mq_open.c: Likewise.
3170         * rt/mq_receive.c: Likewise.
3171         * rt/mq_send.c: Likewise.
3172         * rt/mq_setattr.c: Likewise.
3173         * rt/mq_timedreceive.c: Likewise.
3174         * rt/mq_timedsend.c: Likewise.
3175         * rt/mq_unlink.c: Likewise.
3176         * rt/shm_open.c: Likewise.
3177         * rt/shm_unlink.c: Likewise.
3178         * rt/timer_create.c: Likewise.
3179         * rt/timer_delete.c: Likewise.
3180         * rt/timer_getoverr.c: Likewise.
3181         * rt/timer_gettime.c: Likewise.
3182         * rt/timer_settime.c: Likewise.
3183         * setjmp/__longjmp.c: Likewise.
3184         * setjmp/setjmp.c: Likewise.
3185         * signal/kill.c: Likewise.
3186         * signal/killpg.c: Likewise.
3187         * signal/raise.c: Likewise.
3188         * signal/sigaction.c: Likewise.
3189         * signal/sigaltstack.c: Likewise.
3190         * signal/sigblock.c: Likewise.
3191         * signal/sigignore.c: Likewise.
3192         * signal/sigintr.c: Likewise.
3193         * signal/signal.c: Likewise.
3194         * signal/sigpause.c: Likewise.
3195         * signal/sigpending.c: Likewise.
3196         * signal/sigqueue.c: Likewise.
3197         * signal/sigreturn.c: Likewise.
3198         * signal/sigset.c: Likewise.
3199         * signal/sigsetmask.c: Likewise.
3200         * signal/sigstack.c: Likewise.
3201         * signal/sigsuspend.c: Likewise.
3202         * signal/sigtimedwait.c: Likewise.
3203         * signal/sigvec.c: Likewise.
3204         * signal/sigwait.c: Likewise.
3205         * signal/sigwaitinfo.c: Likewise.
3206         * signal/sysv_signal.c: Likewise.
3207         * socket/accept.c: Likewise.
3208         * socket/accept4.c: Likewise.
3209         * socket/bind.c: Likewise.
3210         * socket/connect.c: Likewise.
3211         * socket/getpeername.c: Likewise.
3212         * socket/getsockname.c: Likewise.
3213         * socket/getsockopt.c: Likewise.
3214         * socket/isfdtype.c: Likewise.
3215         * socket/listen.c: Likewise.
3216         * socket/recv.c: Likewise.
3217         * socket/recvfrom.c: Likewise.
3218         * socket/recvmsg.c: Likewise.
3219         * socket/send.c: Likewise.
3220         * socket/sendmsg.c: Likewise.
3221         * socket/sendto.c: Likewise.
3222         * socket/setsockopt.c: Likewise.
3223         * socket/shutdown.c: Likewise.
3224         * socket/sockatmark.c: Likewise.
3225         * socket/socket.c: Likewise.
3226         * socket/socketpair.c: Likewise.
3227         * stdio-common/ctermid.c: Likewise.
3228         * stdio-common/cuserid.c: Likewise.
3229         * stdio-common/remove.c: Likewise.
3230         * stdio-common/rename.c: Likewise.
3231         * stdio-common/renameat.c: Likewise.
3232         * stdio-common/tempname.c: Likewise.
3233         * stdlib/getcontext.c: Likewise.
3234         * stdlib/makecontext.c: Likewise.
3235         * stdlib/setcontext.c: Likewise.
3236         * stdlib/swapcontext.c: Likewise.
3237         * stdlib/system.c: Likewise.
3238         * streams/fattach.c: Likewise.
3239         * streams/fdetach.c: Likewise.
3240         * streams/getmsg.c: Likewise.
3241         * streams/getpmsg.c: Likewise.
3242         * streams/putmsg.c: Likewise.
3243         * streams/putpmsg.c: Likewise.
3244         * sysdeps/unix/bsd/getpt.c: Likewise.
3245         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
3246         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
3247         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
3249         Likewise.
3250         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
3251         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
3252         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3253         * sysvipc/msgctl.c: Likewise.
3254         * sysvipc/msgget.c: Likewise.
3255         * sysvipc/msgrcv.c: Likewise.
3256         * sysvipc/msgsnd.c: Likewise.
3257         * sysvipc/semctl.c: Likewise.
3258         * sysvipc/semget.c: Likewise.
3259         * sysvipc/semop.c: Likewise.
3260         * sysvipc/semtimedop.c: Likewise.
3261         * sysvipc/shmat.c: Likewise.
3262         * sysvipc/shmctl.c: Likewise.
3263         * sysvipc/shmdt.c: Likewise.
3264         * sysvipc/shmget.c: Likewise.
3265         * termios/tcdrain.c: Likewise.
3266         * termios/tcflow.c: Likewise.
3267         * termios/tcflush.c: Likewise.
3268         * termios/tcgetattr.c: Likewise.
3269         * termios/tcgetpgrp.c: Likewise.
3270         * termios/tcsendbrk.c: Likewise.
3271         * termios/tcsetattr.c: Likewise.
3272         * termios/tcsetpgrp.c: Likewise.
3273         * time/adjtime.c: Likewise.
3274         * time/clock.c: Likewise.
3275         * time/getitimer.c: Likewise.
3276         * time/gettimeofday.c: Likewise.
3277         * time/setitimer.c: Likewise.
3278         * time/settimeofday.c: Likewise.
3279         * time/stime.c: Likewise.
3280         * time/time.c: Likewise.
3282 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
3284         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
3285         /usr/old/bin.
3287         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
3288         instead of spaces.
3289         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
3291 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
3293         [BZ #14796]
3294         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
3295         FE_TONEAREST before applying Dekker multiplication and Knuth
3296         addition.  Clear inexact exceptions and check for exact zero
3297         results afterwards.
3298         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3299         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3300         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3301         * math/libm-test.inc (fma_test): Add more tests.
3302         (fma_test_towardzero): Likewise.
3303         (fma_test_downward): Likewise.
3304         (fma_test_upward): Likewise.
3305         * sysdeps/generic/math_private.h (default_libc_fesetround): New
3306         function.
3307         (libc_fesetround): New macro.
3308         (libc_fesetroundf): Likewise.
3309         (libc_fesetroundl): Likewise.
3310         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
3311         function.
3312         (libc_fesetround_387): Likewise.
3313         (libc_fesetroundf): New macro.
3314         (libc_fesetround): Likewise.
3315         (libc_fesetroundl): Likewise.
3316         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
3317         function.
3318         (libc_fesetroundf): New macro.
3319         (libc_fesetround): Likewise.
3320         (libc_fesetroundl): Likewise.
3321         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
3322         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
3323         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
3324         libm_hidden_ver.
3325         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
3326         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
3327         libm_hidden_def.
3328         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
3329         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
3330         libm_hidden_ver.
3331         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
3332         libm_hidden_def.
3334         [BZ #3439]
3335         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
3336         integer constant usable in #if and use that to give value to enum
3337         constant.
3338         (FE_DIVBYZERO): Likewise.
3339         (FE_UNDERFLOW): Likewise.
3340         (FE_OVERFLOW): Likewise.
3341         (FE_INVALID): Likewise.
3342         (FE_INVALID_SNAN): Likewise.
3343         (FE_INVALID_ISI): Likewise.
3344         (FE_INVALID_IDI): Likewise.
3345         (FE_INVALID_ZDZ): Likewise.
3346         (FE_INVALID_IMZ): Likewise.
3347         (FE_INVALID_COMPARE): Likewise.
3348         (FE_INVALID_SOFTWARE): Likewise.
3349         (FE_INVALID_SQRT): Likewise.
3350         (FE_INVALID_INTEGER_CONVERSION): Likewise.
3351         (FE_TONEAREST): Likewise.
3352         (FE_TOWARDZERO): Likewise.
3353         (FE_UPWARD): Likewise.
3354         (FE_DOWNWARD): Likewise.
3355         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
3356         (FE_DIVBYZERO): Likewise.
3357         (FE_OVERFLOW): Likewise.
3358         (FE_UNDERFLOW): Likewise.
3359         (FE_INEXACT): Likewise.
3360         (FE_TONEAREST): Likewise.
3361         (FE_DOWNWARD): Likewise.
3362         (FE_UPWARD): Likewise.
3363         (FE_TOWARDZERO): Likewise.
3364         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
3365         (FE_UNDERFLOW): Likewise.
3366         (FE_OVERFLOW): Likewise.
3367         (FE_DIVBYZERO): Likewise.
3368         (FE_INVALID): Likewise.
3369         (FE_TONEAREST): Likewise.
3370         (FE_TOWARDZERO): Likewise.
3371         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
3372         (FE_OVERFLOW): Likewise.
3373         (FE_UNDERFLOW): Likewise.
3374         (FE_DIVBYZERO): Likewise.
3375         (FE_INEXACT): Likewise.
3376         (FE_TONEAREST): Likewise.
3377         (FE_TOWARDZERO): Likewise.
3378         (FE_UPWARD): Likewise.
3379         (FE_DOWNWARD): Likewise.
3380         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
3381         (FE_DIVBYZERO): Likewise.
3382         (FE_OVERFLOW): Likewise.
3383         (FE_UNDERFLOW): Likewise.
3384         (FE_INEXACT): Likewise.
3385         (FE_TONEAREST): Likewise.
3386         (FE_DOWNWARD): Likewise.
3387         (FE_UPWARD): Likewise.
3388         (FE_TOWARDZERO): Likewise.
3390 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
3392         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
3394 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
3396         * scripts/cross-test-ssh.sh (command): Use newlines to separate
3397         commands.  Quote $PWD.
3398         (blacklist_exports): Don't use remove_newlines.  Replace "declare
3399         -x" by "export".
3400         (remove_newlines): Remove.
3402 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
3404         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
3405         * stdlib/stdlib.h (atof): Moved to ...
3406         * include/bits/stdlib-float.h: Here.  New file.
3407         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
3408         * stdlib/bits/stdlib-float.h: New file.
3409         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
3410         -mno-sse -mno-mmx.
3411         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
3412         <xmmintrin.h>.
3414 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
3416         * conform/conformtest.pl (@headers): Add fenv.h.
3417         * conform/data/fenv.h-data: New file.
3418         * include/fenv.h [_ISOMAC]: Disable all contents of file except
3419         include of <math/fenv.h>.
3421         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
3422         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
3423         && !UNIX98].  Enables tests for XOPEN2K8.
3424         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
3425         POSIX2008]: Likewise.
3427         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
3428         (struct rusage): Do not expect type or its members.
3430         [BZ #3439]
3431         * math/math.h (FP_NAN): Define macro to integer constant usable in
3432         #if and use that to give value to enum constant.
3433         (FP_INFINITE): Likewise.
3434         (FP_ZERO): Likewise.
3435         (FP_SUBNORMAL): Likewise.
3436         (FP_NORMAL): Likewise.
3438 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
3440         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
3441         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
3442         arguments.
3444 2012-11-02  Roland McGrath  <roland@hack.frob.com>
3446         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
3447         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
3448         autoconf-time if not.
3449         * configure.in: Remove AC_PREREQ.
3451 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3453         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
3454         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
3455         of the internal implementation.
3457 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
3459         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
3460         except include of <misc/sys/syslog.h>.
3462 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
3464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
3465         function returns with a NULL context exit with zero.
3467 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3469         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
3471 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
3473         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
3474         (run_program_cmd): This.
3475         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
3476         (tst_langinfo): New variable.  Use it.
3478 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
3480         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
3481         floating point opcodes.
3483 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
3485         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
3486         variable.
3488         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
3490         * sysdeps/mach/hurd/powerpc: Remove directory.
3491         * sysdeps/mach/powerpc: Likewise.
3493 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
3495         * scripts/check-local-headers.sh: Ignore c++ headers.
3497 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
3499         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
3500         __libc_cleanup_region_start argument.
3502 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
3504         [BZ #14784]
3505         [BZ #14785]
3506         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
3507         x * y using scaling, not as x * y + z.
3508         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3509         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3510         * math/libm-test.inc (fma_test): Add more tests.
3511         (fma_test_towardzero): Likewise.
3512         (fma_test_downward): Likewise.
3513         (fma_test_upward): Likewise.
3515 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
3517         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
3519 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
3521         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
3522         New variable.
3524 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
3526         * rt/tst-shm.c (worker): Correct checking for mmap failure.
3528 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
3530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3531         Fix sort order.
3532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3533         Likewise.
3535 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3538         Fix the order of the list for glibc 2.17.
3539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3540         Likewise.
3542 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
3544         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3546 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
3548         [BZ #14610]
3549         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
3550         for low part of x being zero before using __atanl (y).
3551         * math/libm-test.inc (atan2_test): Add another test.
3553         * manual/install.texi (Configuring and compiling): Document
3554         general use of test-wrapper and test-wrapper-env.
3555         * INSTALL: Regenerated.
3557         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
3558         (__fma): Do not extract and scale down low bits on after-rounding
3559         systems when result rounded to normal precision would have normal
3560         exponent.
3561         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
3562         (__fmal): Do not extract and scale down low bits on after-rounding
3563         systems when result rounded to normal precision would have normal
3564         exponent.
3565         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
3566         (__fmal): Do not extract and scale down low bits on after-rounding
3567         systems when result rounded to normal precision would have normal
3568         exponent.
3569         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
3570         macro.
3571         (fma_test): Add more tests.
3572         (fma_test_towardzero): Likewise.
3573         (fma_test_downward): Likewise.
3574         (fma_test_upward): Likewise.
3576 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
3578         * sysdeps/i386/tininess.h: Renamed to ...
3579         * sysdeps/x86/tininess.h: This.
3580         * sysdeps/x86_64/tininess.h: Removed.
3582 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
3584         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
3585         input.  Use $(build-program-cmd).
3586         ($(objpfx)tst-array1-static.out): Likewise.
3587         ($(objpfx)tst-array2.out): Likewise.
3588         ($(objpfx)tst-array3.out): Likewise.
3589         ($(objpfx)tst-array4.out): Likewise.
3590         ($(objpfx)tst-array5.out): Likewise.
3591         ($(objpfx)tst-array5-static.out): Likewise.
3593 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
3595         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
3596         if defined.
3598         * nss/nsswitch.h (nss_interface_function): Provide new
3599         macro for use with NSS functions.
3600         * grp/initgroups.c: Use new macro.
3601         * nss/getXXbyYY.c: Likewise.
3602         * nss/getXXbyYY_r.c: Likewise.
3603         * nss/getXXent.c: Likewise.
3604         * nss/getXXent_r.c: Likewise.
3605         * sysdeps/posix/getaddrinfo.c: Likewise.
3607 2012-10-30  Andreas Jaeger  <aj@suse.de>
3609         * po/ru.po: Update Russion translation from translation project.
3611 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
3613         [BZ #14152]
3614         [BZ #14783]
3615         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
3616         result and shift together with sticky bit instead of replicating
3617         round-to-nearest rounding.
3618         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3619         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3620         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
3621         missing underflow exceptions.
3622         (fma_test_towardzero): Add more tests.
3623         (fma_test_downward): Likewise.
3624         (fma_test_upward): Likewise.
3626         [BZ #14047]
3627         * sysdeps/generic/tininess.h: New file.
3628         * sysdeps/i386/tininess.h: Likewise.
3629         * sysdeps/sh/tininess.h: Likewise.
3630         * sysdeps/x86_64/tininess.h: Likewise.
3631         * stdlib/tst-strtod-underflow.c: Likewise.
3632         * stdlib/tst-tininess.c: Likewise.
3633         * stdlib/strtod_l.c: Include <tininess.h>.
3634         (round_and_return): Do not set errno for exact underflow cases.
3635         Force an underflow exception when setting errno for underflow.
3636         Determine underflow based on rounding to normal precision if
3637         TININESS_AFTER_ROUNDING.
3638         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
3639         ERANGE for exact underflow cases.
3640         * stdlib/Makefile (tests): Add tst-tininess and
3641         tst-strtod-underflow.
3642         ($(objpfx)tst-tininess): Use $(link-libm).
3643         ($(objpfx)tst-strtod-underflow): Likewise.
3645 2012-10-30  Andreas Jaeger  <aj@suse.de>
3647         [BZ#14767]
3648         * elf/Makefile (tests): Remove conditional for have-initfini-array
3649         since this is now always required and the variable does not exist
3650         anymore.
3651         (tests-static): Likewise.
3652         (modules-names): Likewise.
3654         * po/eo.po: Add Esperanto translation from translation project.
3656         * elf/tst-array1.c (fini_array): Make writeable so that it can be
3657         merged with constructor/destructor.
3658         (init_array): Likewise.
3659         * elf/tst-array2dep.c (fini_array): Likewise.
3660         (init_array): Likewise.
3662 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
3664         * manual/message.texi: Delete @cartouche tags.
3666 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
3668         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
3669         EOPNOTSUPP.
3670         * sysdeps/mach/hurd/fsync.c: Likewise.
3672         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
3673         [_POSIX_REALTIME_SIGNALS]: Change condition to
3674         [_POSIX_REALTIME_SIGNALS > 0].
3676 2012-10-27  Andreas Jaeger  <aj@suse.de>
3678         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
3679         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
3680         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
3681         [__WORDSIZE != 64]: Likewise.
3683 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
3685         *  iconvdata/tst-table.sh: Remove ${SHELL}.
3686         *  iconvdata/tst-tables.sh: Likewise.
3688 2012-10-25  David S. Miller  <davem@davemloft.net>
3690         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3691         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
3692         of strtoull.
3694         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
3695         ifunc-impl-list.c
3696         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3697         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
3698         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
3699         file.
3701 2012-10-25  Roland McGrath  <roland@hack.frob.com>
3703         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3704         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
3705         __getdirentries.
3707 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
3708             Jim Blandy  <jimb@codesourcery.com>
3710         * scripts/cross-test-ssh.sh: New file.
3711         * manual/install.texi (Configuring and compiling): Document use of
3712         cross-test-ssh.sh.
3713         * INSTALL: Regenerated.
3715 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
3717         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
3718         EOPNOTSUPP.
3720 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
3722         * Makeconfig (run-program-prefix): Fix comment.
3724 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
3725             Jim Blandy  <jimb@codesourcery.com>
3727         * Makeconfig (test-wrapper): New variable,
3728         (test-wrapper-env): Likewise.
3729         [$(cross-compiling) = yes && $(test-wrapper) != ""]
3730         (run-built-tests): Define to yes.
3731         (run-program-prefix): Use $(test-wrapper).
3732         (built-program-cmd): Likewise.
3733         * Rules (make-test-out): Use $(test-wrapper-env) and
3734         $(host-built-program-cmd).
3735         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
3736         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
3737         tst-pathopt.sh.
3738         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
3739         $(test-wrapper-env) to tst-rtld-load-self.sh.
3740         ($(objpfx)order2.out): Use $(test-wrapper).
3741         ($(objpfx)tst-initorder.out): Likewise.
3742         ($(objpfx)tst-initorder2.out): Likewise.
3743         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
3744         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
3745         (test_wrapper_env): New variable.  Use it to run ld.so.
3746         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
3747         Use it to run ld.so.
3748         (test_wrapper_env): Likewise.
3749         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
3750         $(test-wrapper) to run-iconv-test.sh.
3751         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
3752         (ICONV): Use $test_wrapper.
3753         * posix/Makefile ($(objpfx)globtest.out): Pass
3754         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
3755         globtest.sh, not $(run-program-prefix).
3756         * posix/globtest.sh (run_via_rtld_prefix): New variable.
3757         (test_wrapper): Likewise.
3758         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
3759         set together with run_via_rtld_prefix.
3760         (run_program_prefix): Define in terms of test_wrapper and
3761         run_via_rtld_prefix.
3763 2012-10-24  Roland McGrath  <roland@hack.frob.com>
3765         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
3766         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
3767         Targets removed.
3769         [BZ #14743]
3770         * include/time.h: Remove librt_hidden_proto (clock_gettime).
3771         Declare __clock_getres, __clock_gettime, __clock_settime,
3772         __clock_nanosleep, and __clock_getcpuclockid.
3773         * rt/clock_gettime.c: Define __clock_gettime as an alias.
3774         Remove librt_hidden_def (clock_gettime).
3775         * sysdeps/unix/clock_gettime.c: Likewise.
3776         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
3777         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3778         * rt/clock_getres.c: Define __clock_getres as an alias.
3779         * sysdeps/posix/clock_getres.c: Likewise.
3780         * rt/clock_settime.c: Define __clock_settime as an alias.
3781         * sysdeps/unix/clock_settime.c: Likewise.
3782         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
3783         * sysdeps/unix/clock_nanosleep.c: Likewise.
3784         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3785         * rt/clock-compat.c: New file.
3786         * rt/Makefile (librt-routines): Add clock-compat and move
3787         $(clock-routines) to ...
3788         (routines): ... here, new variable.
3789         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
3790         Don't add get_clockfreq here.
3791         * rt/Versions (libc: GLIBC_2.17): New version set.
3792         Add clock_* symbols here.
3793         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
3794         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
3795         (GLIBC_2.17): Add clock_* symbols.
3796         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3797         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3798         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3800         Likewise.
3801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3802         Likewise.
3803         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3804         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3805         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3806         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3807         * NEWS: Mention the move.
3809         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3810         Use __open, __read, __close rather than their public counterparts.
3811         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3812         (__get_clockfreq_via_cpuinfo): Likewise.
3813         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
3814         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
3816         * config.h.in (HAVE_IFUNC): New #undef.
3817         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
3818         was successful.
3819         * configure: Regenerated.
3821 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
3823         * configure.in: Move READELF check to start of file.
3824         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
3825         libc_cv_asm_gnu_indirect_function in the process.
3826         * configure: Regenerated.
3828 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
3830         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
3831         send the output to /dev/null.
3832         (libc_cv_cc_with_libunwind): Likewise.
3833         (libc_cv_as_noexecstack): Likewise.
3834         * configure: Regenerate.
3836 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
3838         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
3840         * posix/globtest.sh (TMPDIR): Do not set.
3841         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
3842         (testout): Likewise.
3844 2012-10-24  Andreas Jaeger  <aj@suse.de>
3846         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
3847         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
3848         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
3849         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
3850         posix_fadvise64, posix_fallocate64.
3852         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
3853         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
3854         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
3855         Likewise.
3856         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
3857         Likewise.
3858         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
3860         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
3861         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
3862         <bits/fcntl-linux.h>.
3863         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
3865         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
3866         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
3867         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
3868         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
3869         [__WORDSIZE != 64]: Likewise.
3871 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
3873         * Makeconfig (run-built-tests): New variable.
3874         * Rules [$(cross-compiling) = yes]: Change condition to
3875         [$(run-built-tests) = no].
3876         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
3877         to [$(run-built-tests) = yes].
3878         * elf/Makefile [$(cross-compiling) = no]: Likewise
3879         * grp/Makefile [$(cross-compiling) = no]: Likewise.
3880         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
3881         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
3882         * intl/Makefile [$(cross-compiling) = no]: Likewise.
3883         * io/Makefile [$(cross-compiling) = no]: Likewise.
3884         * libio/Makefile [$(cross-compiling) = no]: Likewise.
3885         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
3886         * misc/Makefile [$(cross-compiling) = no]: Likewise.
3887         * posix/Makefile [$(cross-compiling) = no]: Likewise.
3888         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
3889         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
3890         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
3891         * string/Makefile [$(cross-compiling) = no]: Likewise.
3893         * posix/Makefile ($(objpfx)globtest.out): Pass
3894         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
3895         $(rtld-installed-name).
3896         * posix/globtest.sh (elf_objpfx): Remove variable.
3897         (rtld_installed_name): Likewise.
3898         (library_path): Likewise.
3899         (run_program_prefix): New variable.  Use for running globtest
3900         binary.
3902 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
3903             Joseph Myers  <joseph@codesourcery.com>
3905         * Makeconfig (host-built-program-cmd): New variable.
3906         * elf/Makefile (tst-stackguard1-ARGS): Use
3907         $(host-built-program-cmd).
3908         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
3909         (tst-spawn-ARGS): Likewise.
3910         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
3912 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
3913             Jim Blandy  <jimb@codesourcery.com>
3915         * Makeconfig (run-via-rtld-prefix): New variable.
3916         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
3917         (built-program-cmd): Likewise.
3919 2012-10-22  Andreas Jaeger  <aj@suse.de>
3921         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
3922         __O_RSYNC if it exists, otherwise to O_SYNC.
3924 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
3925             Joseph Myers  <joseph@codesourcery.com>
3927         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
3928         /dev/null.
3929         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
3930         from /dev/null
3931         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
3932         /dev/null.
3934 2012-10-22  Andreas Jaeger  <aj@suse.de>
3936         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
3937         Define always.
3938         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
3940         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3941         bits/fcntl-linux.h.
3943         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
3944         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
3946         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
3947         to __O_LARGEFILE.
3948         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
3949         to __O_LARGEFILE.
3951 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
3952             Joseph Myers  <joseph@codesourcery.com>
3954         * config.make.in (NM): New variable.
3956 2012-10-21  Andreas Jaeger  <aj@suse.de>
3958         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
3959         definitions and declarations that are provided by
3960         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3962 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
3964         [BZ #14683]
3965         * elf/Makefile (tests-static): Add tst-leaks1-static.
3966         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
3967         ($(objpfx)tst-leaks1-static): New rule.
3968         ($(objpfx)tst-leaks1-static-mem): Likewise.
3969         (tst-leaks1-static-ENV): New macro.
3970         * elf/dl-open.c (dl_open_worker): Check the main application
3971         only if SHARED is defined.
3972         * elf/tst-leaks1-static.c: New file.
3974 2012-10-20  Andreas Jaeger  <aj@suse.de>
3976         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
3977         generic values for Linux.
3978         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
3979         and declarations that are provided by <bits/fcntl-linux.h> and
3980         include <bits/fcntl-linux.h>.
3981         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3982         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3984 2012-10-20  Roland McGrath  <roland@hack.frob.com>
3986         * io/fcntl.h: Move include of <bits/types.h> to the top and
3987         include it unconditionally.
3989 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
3991         * wcsmbs/Makefile (tests-ifunc): New variable.
3992         (tests): Add $(tests-ifunc).
3993         * wcsmbs/test-wcschr-ifunc.c: New file.
3994         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3995         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3996         * wcsmbs/test-wcslen-ifunc.c: Likewise.
3997         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3998         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4000         * string/Makefile (tests-ifunc): New variable.
4001         (tests): Add $(tests-ifunc).
4002         * string/test-memccpy.c (TEST_NAME): New macro.
4003         * string/test-memchr.c (TEST_NAME): Likewise.
4004         * string/test-memcmp.c (TEST_NAME): Likewise.
4005         * string/test-memcpy.c (TEST_NAME): Likewise.
4006         * string/test-memmem.c (TEST_NAME): Likewise.
4007         * string/test-memmove.c (TEST_NAME): Likewise.
4008         * string/test-memset.c (TEST_NAME): Likewise.
4009         * string/test-rawmemchr.c (TEST_NAME): Likewise.
4010         * string/test-stpcpy.c (TEST_NAME): Likewise.
4011         * string/test-stpncpy.c (TEST_NAME): Likewise.
4012         * string/test-strcasecmp.c (TEST_NAME): Likewise.
4013         * string/test-strcasestr.c (TEST_NAME): Likewise.
4014         * string/test-strcat.c (TEST_NAME): Likewise.
4015         * string/test-strchr.c (TEST_NAME): Likewise.
4016         * string/test-strcmp.c(TEST_NAME): Likewise.
4017         * string/test-strcpy.c (TEST_NAME): Likewise.
4018         * string/test-strcspn.c (TEST_NAME): Likewise.
4019         * string/test-strlen.c (TEST_NAME): Likewise.
4020         * string/test-strncasecmp.c (TEST_NAME): Likewise.
4021         * string/test-strncmp.c (TEST_NAME): Likewise.
4022         * string/test-strncpy.c (TEST_NAME): Likewise.
4023         * string/test-strnlen.c (TEST_NAME): Likewise.
4024         * string/test-strpbrk.c (TEST_NAME): Likewise.
4025         * string/test-strrchr.c (TEST_NAME): Likewise.
4026         * string/test-strspn.c (TEST_NAME): Likewise.
4027         * string/test-strstr.c (TEST_NAME): Likewise.
4028         * string/test-bcopy-ifunc.c: New file.
4029         * string/test-bzero-ifunc.c: Likewise.
4030         * string/test-memccpy-ifunc.c: Likewise.
4031         * string/test-memchr-ifunc.c: Likewise.
4032         * string/test-memcmp-ifunc.c: Likewise.
4033         * string/test-memcpy-ifunc.c: Likewise.
4034         * string/test-memmem-ifunc.c: Likewise.
4035         * string/test-memmove-ifunc.c: Likewise.
4036         * string/test-mempcpy-ifunc.c: Likewise.
4037         * string/test-memset-ifunc.c: Likewise.
4038         * string/test-rawmemchr-ifunc.c: Likewise.
4039         * string/test-stpcpy-ifunc.c: Likewise.
4040         * string/test-stpncpy-ifunc.c: Likewise.
4041         * string/test-strcasecmp-ifunc.c: Likewise.
4042         * string/test-strcasestr-ifunc.c: Likewise.
4043         * string/test-strcat-ifunc.c: Likewise.
4044         * string/test-strchr-ifunc.c: Likewise.
4045         * string/test-strchrnul-ifunc.c: Likewise.
4046         * string/test-strcmp-ifunc.c: Likewise.
4047         * string/test-strcpy-ifunc.c: Likewise.
4048         * string/test-strcspn-ifunc.c: Likewise.
4049         * string/test-strlen-ifunc.c: Likewise.
4050         * string/test-strncasecmp-ifunc.c: Likewise.
4051         * string/test-strncat-ifunc.c: Likewise.
4052         * string/test-strncmp-ifunc.c: Likewise.
4053         * string/test-strncpy-ifunc.c: Likewise.
4054         * string/test-strnlen-ifunc.c: Likewise.
4055         * string/test-strpbrk-ifunc.c: Likewise.
4056         * string/test-strrchr-ifunc.c: Likewise.
4057         * string/test-strspn-ifunc.c: Likewise.
4058         * string/test-strstr-ifunc.c: Likewise.
4060         * debug/Makefile (tests-ifunc): New variable.
4061         (tests): Add $(tests-ifunc).
4062         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
4063         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
4064         * debug/test-stpcpy_chk-ifunc.c: New file.
4065         * debug/test-strcpy_chk-ifunc.c: Likewise.
4067 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
4069         [BZ #13601]
4070         * elf/dl-load.c (open_verify): Retry read if the entire ELF
4071         header is not read in.
4073 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
4075         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
4076         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
4077         directly.  Pass built executable to script as
4078         $(built-program-cmd).
4079         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
4080         $testprogram without using LD_LIBRARY_PATH and $ldso.
4082         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
4083         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
4084         $(rtld-installed-name).
4085         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
4086         (rtld_installed_name): Likewise.
4087         (library_path): Likewise.
4088         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
4089         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
4090         $(run-program-prefix) to tst-tables.sh.
4091         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
4092         it to run tst-table-from and tst-table-to.
4093         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
4094         Pass it to tst-table.sh.
4095         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
4096         $(run-program-prefix) to tst-gettext.sh.
4097         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
4098         tst-translit.sh.
4099         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
4100         tst-gettext2.sh.
4101         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
4102         to run tst-gettext.
4103         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
4104         to run tst-gettext2.
4105         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
4106         to run tst-translit.
4107         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
4108         $(run-program-prefix) to tst-mtrace.sh.
4109         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
4110         to run tst-mtrace.
4111         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
4112         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
4113         $(rtld-installed-name).
4114         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
4115         (rtld_installed_name): Likewise.
4116         (run_program_prefix): New variable.  Use it to run wordexp-test.
4118         * Makeconfig (ARCH): Remove all definitions.
4119         (machine): Likewise.
4120         [ARCH]: Remove conditional code.
4121         [!objdir]: Give error.
4122         [!objdir] (objpfx): Remove.
4123         [!objdir] (common-objpfx): Likewise.
4124         [!objdir] (common-objdir): Likewise.
4125         * configure.in (config_makefile): Remove.  Hardcode Makefile in
4126         AC_CONFIG_FILES call.
4127         * configure: Regenerated.
4129         [BZ #13888]
4130         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
4131         or TMPDIR.
4132         (testout): Likewise.
4134         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
4135         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
4136         $(rtld-installed-name).
4137         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
4138         (rtld_installed_name): Likwise.
4139         (runit): Remove function.
4140         (run_getconf): New variable,  Use it for running getconf binary.
4142 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
4144         [BZ #14716]
4145         * string/test-memmem.c (check_result): New function.
4146         (do_one_test): Use it.
4147         (check1): New function.
4148         (test_main): Use it.
4150 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
4152         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
4154 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
4156         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
4157         (_G_LSEEK64): Likewise.
4158         (_G_MMAP64): Likewise.
4159         (_G_FSTAT64): Likewise.
4160         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
4161         (_G_LSEEK64): Likewise.
4162         (_G_MMAP64): Likewise.
4163         (_G_FSTAT64): Likewise.
4164         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
4165         unconditional.  Call __mmap64 directly.
4166         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
4167         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
4168         __lseek64 directly.
4169         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
4170         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
4171         __mmap64 directly.
4172         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
4173         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
4174         __lseek64 directly.
4175         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
4176         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
4177         __lseek64 directly.
4178         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
4179         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
4180         __lseek64 directly.
4181         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
4182         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
4183         __fxstat64 directly.
4184         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
4185         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
4186         unconditional.
4187         (freopen64) [!_G_OPEN64]: Remove conditional code.
4188         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
4189         unconditional.
4190         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
4191         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
4192         unconditional.
4193         (ftello64) [!_G_LSEEK64]: Remove conditional code.
4194         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
4195         unconditional.
4196         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4197         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
4198         unconditional.
4199         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
4200         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
4201         unconditional.
4202         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4203         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
4204         unconditional.
4205         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4206         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
4207         unconditional.
4208         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4210 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4212         [BZ #12140]
4213         * manual/memory.texi (Malloc Tunable Parameters): Add note
4214         about free list pointers overwriting some perturb bytes.
4215         Wording suggested by Roland McGrath.
4217 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
4219         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
4220         (lgamma_test): Likewise.
4221         (tgamma_test): Likewise.
4223 2012-10-16  Florian Weimer  <fweimer@redhat.com>
4225         [BZ #14700]
4226         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
4227         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
4229 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
4231         * NEWS: Mention BZ #14716.
4232         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
4233         when removing AVAILABLE1_USES_J macro.
4235 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
4237         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
4238         (__bswap_64): __uint64_t for unsigned 64-bit int.
4240 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
4242         * include/string.h (memmem): Declare libc hidden alias.
4243         * string/memmem.c (memmem): Define libc hidden alias.
4244         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
4245         __read, __close instead of open, read, close.
4247 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
4249         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
4250         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
4251         global and hidden.
4252         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
4253         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
4254         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
4255         Likewise.
4256         (__rawmemchr_sse2): Likewise.
4257         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
4258         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
4259         (__strchr_sse2): Likewise.
4260         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
4261         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
4262         (__strcasecmp_sse2): Likewise.
4263         (__strncasecmp_sse2): Likewise.
4264         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
4265         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
4266         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
4267         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
4268         (__strrchr_sse2): Likewise.
4269         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
4270         ifunc-impl-list.c.
4271         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4272         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4273         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4274         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4275         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4276         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4277         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4278         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4279         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
4280         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
4281         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
4282         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
4283         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
4284         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4285         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4286         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4287         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4288         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4289         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
4290         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
4291         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
4292         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
4293         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
4294         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4295         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
4296         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4297         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4298         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4299         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4300         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4302         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
4303         global and hidden.
4304         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
4305         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
4306         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
4307         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
4308         Likewise.
4309         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
4310         Likewise.
4311         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
4312         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
4313         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
4314         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
4315         ifunc-impl-list.c.
4316         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4317         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4318         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4319         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4320         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4321         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4322         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4323         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4324         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4325         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4326         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4327         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4328         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4329         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
4330         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
4331         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4332         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
4333         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
4334         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4335         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4336         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4337         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4338         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4339         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4340         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4341         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
4342         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
4343         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
4344         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
4345         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4346         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
4347         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4348         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4349         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
4350         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4351         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4352         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4353         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4354         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4355         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4356         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
4358         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
4359         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
4360         * include/ifunc-impl-list.h: New file.
4361         * misc/ifunc-impl-list.c: Likewise.
4362         * misc/Makefile (routines): Add ifunc-impl-list.
4363         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
4364         * string/test-string.h: Include <ifunc-impl-list.h>.
4365         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
4366         impl_array): New variables.
4367         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
4368         are defined.
4369         (test_init): Call __libc_ifunc_impl_list to initialize
4370         func_list if TEST_IFUNC and TEST_NAME are defined.
4372         * string/Makefile (strop-tests): Add bcopy and bzero.
4373         * string/test-bcopy.c: New file.
4374         * string/test-bzero.c: Likewise.
4375         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
4376         defined.
4377         * string/test-memset.c: Support bzero test if TEST_BZERO is
4378         defined.
4379         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
4380         __libc_memmove.
4381         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
4382         __libc_memset.
4383         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
4384         of memset.
4386 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
4388         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
4389         * configure: Regenerated.
4391         * Makeconfig (+link-static-before-libc): Don't include
4392         $(link-static-libc).
4394         * libio/libio.h (_IO_pos_t): Remove.
4396 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
4398         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
4399         McGrath.
4401 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
4403         * crypt/crypt-entry.c: Include fips-private.h.
4404         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
4405         * crypt/md5c-test.c (main): Tolerate disabled MD5.
4406         * sysdeps/unix/sysv/linux/fips-private.h: New file.
4407         * sysdeps/generic/fips-private.h: New file, dummy fallback.
4409 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
4411         * crypt/crypt-private.h: Include stdbool.h.
4412         (_ufc_setup_salt_r): Return bool.
4413         * crypt/crypt-entry.c: Include errno.h.
4414         (__crypt_r): Return NULL with EINVAL for bad salt.
4415         * crypt/crypt_util.c (bad_for_salt): New.
4416         (_ufc_setup_salt_r): Check that salt is long enough and within
4417         the specified alphabet.
4418         * crypt/badsalttest.c: New file.
4419         * crypt/Makefile (tests): Add it.
4420         ($(objpfx)badsalttest): New.
4422 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
4424         * NEWS: Add entry for BZ #14602.
4426 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
4428         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
4429         type-generic.
4430         * math/libm-test.inc: Update comment listing what functions and
4431         macros are tested.
4432         (isgreater_test): New function.
4433         (isgreaterequal_test): Likewise.
4434         (isless_test): Likewise.
4435         (islessequal_test): Likewise.
4436         (islessgreater_test): Likewise.
4437         (isunordered_test): Likewise.
4438         (main): Call the new functions.
4440 2012-10-09  Roland McGrath  <roland@hack.frob.com>
4442         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
4443         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
4444         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
4445         * sysdeps/i386/configure: Regenerated.
4446         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
4447         * sysdeps/mach/configure: Regenerated.
4448         * sysdeps/mach/hurd/configure: Regenerated.
4449         * sysdeps/powerpc/configure: Regenerated.
4450         * sysdeps/powerpc/powerpc32/configure: Regenerated.
4451         * sysdeps/powerpc/powerpc64/configure: Regenerated.
4452         * sysdeps/s390/s390-32/configure: Regenerated.
4453         * sysdeps/s390/s390-64/configure: Regenerated.
4454         * sysdeps/sh/configure: Regenerated.
4455         * sysdeps/sparc/configure: Regenerated.
4456         * sysdeps/unix/sysv/linux/configure: Regenerated.
4457         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4458         * sysdeps/x86_64/configure: Regenerated.
4460         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
4461         defined.  Don't check if MAP is NULL.
4463 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
4465         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
4466         (_G_stat64): Likewise.
4467         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
4468         (_G_stat64): Likewise.
4469         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
4470         instead of struct _G_stat64.
4471         * libio/fileops.c (mmap_remap_check): Likewise.
4472         (decide_maybe_mmap): Likewise.
4473         (_IO_new_file_seekoff): Likewise.
4474         (_IO_file_stat): Likewise.
4475         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
4476         _G_off64_t.
4477         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
4478         instead of struct _G_stat64.
4479         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4481 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
4483         [BZ #14602]
4484         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4485         Replace with ...
4486         (CHECK_EOL): New macro.
4487         (two_way_short_needle): Check beginning of haystack for EOL.  Use
4488         CHECK_EOL.
4489         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4490         Replace with CHECK_EOL.
4491         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4492         Replace with CHECK_EOL.
4494 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
4496         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
4497         type-generic.
4498         * math/libm-test.inc: Update comment listing what functions and
4499         macros are tested.
4500         (finite_test): New function.
4501         (isinf_test): Likewise.
4502         (isnan_test): Likewise.
4503         (fpclassify_test): Test subnormal input.
4504         (isfinite_test): Likewise.
4505         (isnormal_test): Likewise.
4506         (main): Call the new functions.
4508 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
4510         [BZ #14660]
4511         * Makerules (%.dynsym): Force C locale when running
4512         $(OBJDUMP) --dynamic-syms.
4514 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
4516         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
4517         <stdint.h>.
4519 2012-10-06  David S. Miller  <davem@davemloft.net>
4521         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
4522         upper 32-bits of the length value in %o2 since we use branch-on-register
4523         tests which consider the entire 64-bit register.
4525 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
4527         * string/test-strstr.c (check2): Add a test for page boundary.
4529 2012-10-05  David S. Miller  <davem@davemloft.net>
4531         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
4532         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
4533         file.
4534         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4535         sysdep_routines.
4536         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4537         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
4538         and bzero when HWCAP_SPARC_CRYPTO is present.
4540 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
4542         [BZ #14602]
4543         * string/test-strstr.c (check2): New function.
4544         (test_main): Call check2.
4546         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
4547         and bug-strchr1.
4548         * string/bug-strcasestr1.c (do_test): Moved to ...
4549         * string/test-strcasestr.c (check1): Here.  New function.
4550         (do_one_test): Break out result checking code into ...
4551         (check_result): This.  New function.
4552         (do_one_test): Call check_result.
4553         (test_main): Call check1.
4554         * string/bug-strchr1.c (do_test): Moved to ...
4555         * string/test-strchr.c (check1): Here.  New function.
4556         (do_one_test): Break out result checking code into ...
4557         (check_result): This.  New function.
4558         (do_one_test): Call check_result.
4559         (test_main): Call check1.
4560         * string/bug-strstr1.c (main): Moved to ...
4561         * string/test-strchr.c (check1): Here.  New function.
4562         (do_one_test): Break out result checking code into ...
4563         (check_result): This.  New function.
4564         (do_one_test): Call check_result.
4565         (test_main): Call check1.
4566         * string/bug-strcasestr1.c: Removed.
4567         * string/bug-strchr1.c: Likewise.
4568         * string/bug-strstr1.c: Likewise.
4570         * elf/Makefile (dl-routines): Add hwcaps.
4571         * elf/dl-support.c (_dl_important_hwcaps): Removed.
4572         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
4573         (_dl_important_hwcaps): Moved to ...
4574         * elf/dl-hwcaps.c: Here.  New file.
4575         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
4577         [BZ #14557]
4578         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
4579         if IS_IN_rtld isn't defined.
4581         * elf/dl-support.c (_dl_sysinfo_map): New.
4582         Include "get-dynamic-info.h" and "setup-vdso.h".
4583         (_dl_non_dynamic_init): Call setup_vdso.
4584         * elf/dynamic-link.h: Don't include <assert.h>.
4585         (elf_get_dynamic_info): Moved to ...
4586         * elf/get-dynamic-info.h: Here.  New file.
4587         * elf/dynamic-link.h: Include "get-dynamic-info.h".
4588         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
4589         * elf/setup-vdso.h: Here.  New file.
4590         * elf/rtld.c: Include "setup-vdso.h".
4591         (dl_main): Call setup_vdso.
4593 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
4595         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
4596         creal in comment listing functions tested.  List finite, isinf,
4597         isnan, isless, islessequal, isgreater, isgreaterequal,
4598         islessgreater, isunordered, lgamma_r and pow10 as functions and
4599         macros not tested.  Mention which functions not tested are aliases
4600         for other functions.  Fix typo.  Note that signs of NaNs are not
4601         tested.
4603         * scripts/config.guess: Update from config.git.
4604         * scripts/config.sub: Likewise.
4606 2012-10-04  Roland McGrath  <roland@hack.frob.com>
4608         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
4609         * misc/madvise.c (madvise): Renamed to __madvise.
4610         Make madvise a weak alias.
4611         * include/sys/mman.h: Declare __madvise.
4612         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
4613         * sysdeps/unix/syscalls.list
4614         (madvise): Make __madvise the strong name, and madvise a weak alias.
4615         * sysdeps/unix/sysv/linux/syscalls.list
4616         (madvise, mmap): Remove redundant entries.
4617         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
4618         * malloc/malloc.c (mtrim): Likewise.
4619         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
4621 2012-10-03  Roland McGrath  <roland@hack.frob.com>
4623         * sysdeps/mach/hurd/dl-cache.c: File removed.
4624         * config.h.in (USE_LDCONFIG): New #undef.
4625         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
4626         * configure: Regenerated.
4627         * elf/Makefile (dl-routines): Add dl-cache only under
4628         [$(use-ldconfig) = yes].
4629         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
4630         cache on [USE_LDCONFIG].
4631         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
4632         [USE_LDCONFIG].
4633         * elf/rtld.c (dl_main): Likewise.
4635 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
4637         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
4638         _SC_LEVEL4_CACHE_LINESIZE.
4640 2012-10-03  Roland McGrath  <roland@hack.frob.com>
4642         * sysdeps/unix/bsd/confstr.h: File removed.
4644 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
4646         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
4647         sys/sdt-config.h.
4649 2012-10-02  Roland McGrath  <roland@hack.frob.com>
4651         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
4652         Make 'mapoff' field ElfW(Off) rather than off_t.
4654 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
4656         * nscd/Makefile: Remove nscd-cflags and all its users.
4657         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
4658         (CFLAGS-nonlib): Add compiler flags for nscd modules.
4660         [BZ #10631]
4661         * malloc.c (malloc_printerr): Clarify error message.
4663 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
4665         [BZ #14648]
4666         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4667         Set bit_FMA_Usable if FMA is supported.
4668         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
4669         macro.
4670         (bit_FMA4_Usable): Updated.
4671         (index_FMA_Usable): New macro.
4672         (CPUID_FMA): Likewise
4673         (HAS_FMA): Defined with bit_FMA_Usable.
4675 2012-10-01  Roland McGrath  <roland@hack.frob.com>
4677         * bits/types.h (__swblk_t): Type removed.
4678         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
4679         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
4680         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4681         (__SWBLK_T_TYPE): Likewise.
4682         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4683         (__SWBLK_T_TYPE): Likewise.
4684         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4685         (__SWBLK_T_TYPE): Likewise.
4686         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4687         (__SWBLK_T_TYPE): Likewise.
4689 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
4690             Honza Horak <hhorak@redhat.com>
4692         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
4693         (xdr_mapname): Use YPMAXMAP as maxsize.
4694         (xdr_peername): Use YPMAXPEER as maxsize.
4695         (xdr_keydat): Use YPAXRECORD as maxsize.
4696         (xdr_valdat): Use YPMAXRECORD as maxsize.
4698 2012-10-01  Roland McGrath  <roland@hack.frob.com>
4700         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
4702         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
4703         * csu/init-first.c: ... here.
4704         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
4705         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4706         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4707         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4708         * sysdeps/i386/init-first.c: File removed.
4709         * sysdeps/sh/init-first.c: File removed.
4711 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
4713         [BZ #14645]
4714         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
4715         if x * y might underflow to zero and z is zero.
4716         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4717         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4718         * math/libm-test.inc (min_subnorm_value): New variable.
4719         (fma_test): Add more tests.
4720         (fma_test_towardzero): Likewise.
4721         (fma_test_downward): Likewise
4722         (fma_test_upward): Likewise.
4723         (initialize): Set min_subnorm_value.
4725 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
4727         [BZ #14638]
4728         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
4729         0 + 0.
4730         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
4731         mode for addition resulting in exact zero.
4732         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
4733         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
4734         exact 0 + 0.
4735         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4736         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4737         * math/libm-test.inc (fma_test): Add more tests.
4738         (fma_test_towardzero): New function.
4739         (fma_test_downward): Likewise.
4740         (fma_test_upward): Likewise.
4741         (main): Call the new functions.
4743 2012-09-28  David S. Miller  <davem@davemloft.net>
4745         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
4747 2012-09-28  Roland McGrath  <roland@hack.frob.com>
4749         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
4750         instead of SIGALRM.
4752         * sysdeps/gnu/_G_config.h: Moved to ...
4753         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
4754         * sysdeps/mach/hurd/_G_config.h: Moved to ...
4755         * sysdeps/generic/_G_config.h: ... here.
4757         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
4759         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
4761         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
4762         Conditionalize target on [libnss_test1.so-version].
4764         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
4766         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
4767         (elfobjdir): Move out of conditionals.
4769         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
4770         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
4771         (__nss_lookup_function): Conditionalize label remove_from_tree on
4772         [!DO_STATIC_NSS || SHARED], matching its only use.
4774 2012-09-28  David S. Miller  <davem@davemloft.net>
4776         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
4777         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
4778         file.
4779         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4780         sysdep_routines.
4781         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4782         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
4783         when HWCAP_SPARC_CRYPTO is present.
4785 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
4787         * io/tst-mknodat.c: Create a FIFO instead of a socket.
4789 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
4791         [BZ #6530]
4792         * stdio-common/vfprintf.c (process_string_arg): Revert
4793         2000-07-22 change.
4795 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
4797         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
4798         for testcase.
4799         * stdio-common/tst-sprintf.c: Include <locale.h>
4800         (main): Test sprintf's handling of incomplete multibyte
4801         characters.
4803 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
4805         * elf/dl-runtime.c (VERSYMIDX): Removed.
4806         * elf/dl-version.c (VERSYMIDX): Likewise.
4807         * elf/do-rel.h (VERSYMIDX): Likewise.
4808         (VALIDX): Likewise.
4809         * elf/dynamic-link.h (VERSYMIDX): Likewise.
4810         * elf/rtld.c (VALIDX): Likewise.
4811         (ADDRIDX): Likewise.
4812         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
4813         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
4814         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
4815         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
4816         (VALIDX): Likewise.
4817         (ADDRIDX): Likewise.
4819 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
4821         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
4823 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
4825         [BZ #11438]
4826         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
4827         to global scope.
4828         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
4829         addresses are in the same scope as 192.0.2/24.
4830         * posix/gai.conf: Document new scope table defaults.
4832 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4834         [BZ #5298]
4835         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
4836         for ftell.  Compute offsets from write pointers instead.
4837         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4839 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4841         [BZ #14543]
4842         * libio/Makefile (tests): New test case tst-fseek.
4843         * libio/tst-fseek.c: New test case to verify that fseek/ftell
4844         combination works in wide mode.
4845         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
4846         state when the external buffer state changes.
4848 2012-09-27  David S. Miller  <davem@davemloft.net>
4850         [BZ #14376]
4851         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
4852         pass reloc->r_addend in as the 'high' argument to
4853         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
4855         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4857 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
4859         * rt/tst-aio2.c: Include <pthread.h>.
4860         * rt/tst-aio3.c: Likewise.
4862 2012-09-27  Steve Ellcey  <sellcey@mips.com>
4864         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
4866 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
4868         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
4869         contents on [SHARED].
4871 2012-09-26  Marek Polacek  <polacek@redhat.com>
4873         [BZ #14530]
4874         [BZ #13741]
4875         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
4876         for C++ and GCC <4.3 as well as for non GCC compilers.
4878 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
4880         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4882 2012-09-25  Roland McGrath  <roland@hack.frob.com>
4884         * Makefile.in (all, install): Declare with .PHONY.
4885         Reported by Michael Hope <michael.hope@linaro.org>.
4887 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4889         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
4890         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
4891         system header.
4892         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
4893         Likewise.
4894         (sydep_routines): Add the new and the internal functions.
4895         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
4896         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
4897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
4898         (GLIBC_2.17): Add the new function.
4899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4900         (GLIBC_2.17): Likewise.
4901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4902         (GLIBC_2.17): Likewise.
4903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
4904         (GLIBC_2.17): Likewise.
4905         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
4907 2012-09-25  Alan Modra  <amodra@gmail.com>
4909         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
4910         Add release barrier before setting once_control to say
4911         initialisation is done.  Add hints on lwarx.  Use macro in
4912         place of isync.
4913         (clear_once_control): Add release barrier.
4915 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
4917         [BZ #13629]
4918         * math/s_clog.c (__clog): Handle more values close to |z| = 1
4919         specially.
4920         * math/s_clog10.c (__clog10): Likewise.
4921         * math/s_clog10f.c (__clog10f): Likewise.
4922         * math/s_clog10l.c (__clog10l): Likewise.
4923         * math/s_clogf.c (__clogf): Likewise.
4924         * math/s_clogl.c (__clogl): Likewise.
4925         * math/Makefile (libm-calls): Add x2y2m1.
4926         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
4927         (__x2y2m1): Likewise.
4928         (__x2y2m1l): Likewise.
4929         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
4930         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
4931         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4932         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4933         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4934         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
4935         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
4936         * sysdeps/i386/fpu/libm-test-ulps: Update.
4937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4939         [BZ #14621]
4940         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
4941         int as type of variable DEPTH.
4942         (glob): Use size_t instead of int as type of variables NEWCOUNT
4943         and OLD_PATHC.
4945 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4947         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4948         Add s_sincosf-sse2.
4949         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
4950         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
4951         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
4952         macros for using routine as __sincosf_ia32.
4953         Use macro for function declaration and weak_alias.
4954         * sysdeps/i386/fpu/libm-test-ulps: Update.
4956         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
4957         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4959         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
4960         subnormal argument.
4961         * math/s_cexpf.c (__cexpf): Likewise.
4962         * math/s_csinf.c (__csinf): Likewise.
4963         * math/s_csinhf.c (__csinhf): Likewise.
4964         * math/s_ctanf.c (__ctanf): Likewise.
4965         * math/s_ctanhf.c (__ctanhf): Likewise.
4966         * math/s_ccosh.c (__ccoshf): Likewise.
4967         * math/s_cexp.c (__cexpl): Likewise.
4968         * math/s_csin.c (__csin): Likewise.
4969         * math/s_csinh.c (__csinh): Likewise.
4970         * math/s_ctan.c (__ctan): Likewise.
4971         * math/s_ctanh.c (ctanh): Likewise.
4972         * math/s_ccoshl.c (__ccoshl): Likewise.
4973         * math/s_cexpl.c (__cexpl): Likewise.
4974         * math/s_csinl.c (__csinl): Likewise.
4975         * math/s_csinhl.c (__csinhl): Likewise.
4976         * math/s_ctanl.c (__ctanl): Likewise.
4977         * math/s_ctanhl.c (__ctanhl): Likewise.
4979 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
4981         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
4982         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
4983         (_IO_off_t): Define to __off_t, not _G_off_t.
4984         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
4985         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
4986         (_IO_wint_t): Define to wint_t, not _G_wint_t.
4987         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
4988         type of __dummy and __dummy2 fields.
4989         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
4990         (_G_ssize_t): Likewise.
4991         (_G_off_t): Likewise.
4992         (_G_pid_t): Likewise.
4993         (_G_uid_t): Likewise.
4994         (_G_wchar_t): Likewise.
4995         (_G_wint_t): Likewise.
4996         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
4997         (_G_ssize_t): Likewise.
4998         (_G_off_t): Likewise.
4999         (_G_pid_t): Likewise.
5000         (_G_uid_t): Likewise.
5001         (_G_wchar_t): Likewise.
5002         (_G_wint_t): Likewise.
5003         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
5004         (_G_ssize_t): Likewise.
5005         (_G_off_t): Likewise.
5006         (_G_pid_t): Likewise.
5007         (_G_uid_t): Likewise.
5008         (_G_wchar_t): Likewise.
5009         (_G_wint_t): Likewise.
5011 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
5013         * malloc/arena.c: Include malloc-sysdep.h.
5014         (shrink_heap): Use check_may_shrink_heap to decide if madvise
5015         is sufficient to shrink the heap or an unmap is needed.
5016         * sysdeps/generic/malloc-sysdep.h: New file.  Define
5017         new function check_may_shrink_heap.
5018         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
5019         new function check_may_shrink_heap.
5021 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
5023         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
5024         comments.
5026 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
5028         * catgets/test-gencat.sh: Add "set -e".
5029         * elf/tst-pathopt.sh: Likewise.
5030         * grp/tst_fgetgrent.sh: Likewise.
5031         * iconvdata/run-iconv-test.sh: Likewise.
5032         * intl/tst-gettext.sh: Likewise.
5033         * intl/tst-gettext2.sh: Likewise.
5034         * intl/tst-gettext4.sh: Likewise.
5035         * intl/tst-gettext6.sh: Likewise.
5036         * intl/tst-translit.sh: Likewise.
5037         * io/ftwtest-sh: Likewise.
5038         * libio/test-freopen.sh: Likewise.
5039         * malloc/tst-mtrace.sh: Likewise.
5040         * posix/globtest.sh: Likewise.
5041         * posix/tst-getconf.sh: Likewise.
5042         * posix/wordexp-tst.sh: Likewise.
5043         * stdio-common/tst-printf.sh: Likewise.
5044         * stdio-common/tst-unbputc.sh: Likewise.
5045         * stdlib/tst-fmtmsg.sh: Likewise.
5046         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5047         * catgets/Makefile: Do not specify -e option when running
5048         testsuite shell scripts.
5049         * elf/Makefile: Likewise.
5050         * grp/Makefile: Likewise.
5051         * iconvdata/Makefile: Likewise.
5052         * intl/Makefile: Likewise.
5053         * io/Makefile: Likewise.
5054         * libio/Makefile: Likewise.
5055         * malloc/Makefile: Likewise.
5056         * posix/Makefile: Likewise.
5057         * stdio-common/Makefile: Likewise.
5058         * stdlib/Makefile: Likewise.
5059         * sysdeps/x86_64/Makefile: Likewise.
5061         * io/ftwtest-sh: Add copyright header.
5062         * posix/globtest.sh: Likewise.
5063         * posix/tst-getconf.sh: Likewise.
5064         * posix/wordexp-tst.sh: Likewise.
5065         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5067 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
5069         [BZ #13679]
5070         * Makeconfig (+link): Defined as $(+link-static) if
5071         $(build-shared) isn't yes.
5072         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
5073         isn't yes.
5074         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
5076         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
5078         [BZ #14562]
5079         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
5080         new chunk size with MALLOC_ALIGN_MASK.
5082 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
5084         [BZ #5044]
5085         * stdio-common/printf_fphex.c: Include <stdbool.h> and
5086         <rounding-mode.h>.
5087         (__printf_fphex): Determine rounding using get_rounding_mode and
5088         round_away.
5089         * stdio-common/tst-printf-round.c (struct hex_test): New
5090         structure.
5091         (hex_tests): New variable.
5092         (test_hex_in_one_mode): New function.
5093         (do_test): Also run tests for hex float output.
5095 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
5097         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5098         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5099         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
5100         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5101         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5102         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
5103         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5104         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5106 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
5108         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
5109         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
5110         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
5111         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
5113 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
5115         [BZ #14579]
5116         * elf/rtld.c (dl_main): Limit the check for self loading to normal
5117         mode only.
5118         * elf/tst-rtld-load-self.sh: New test.
5119         * elf/Makefile: Run it.
5121 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
5123         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
5124         (tst-writev-ENV): Remove.
5125         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
5127 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
5129         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
5131 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
5133         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
5134         unconditional.
5135         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
5136         Likewise.
5137         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
5138         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
5139         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
5140         Likewise.
5142 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
5144         [BZ #14587]
5145         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
5146         * config.make.in (have-cpp-asm-debuginfo): Removed.
5147         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
5148         * configure: Regenerated.
5150 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
5152         [BZ #5044]
5153         * stdio-common/printf_fp.c: Include <stdbool.h> and
5154         <rounding-mode.h>.
5155         (___printf_fp): Determine rounding using get_rounding_mode and
5156         round_away.
5157         * stdio-common/tst-printf-round.c: New file.
5158         * stdio-common/Makefile (tests): Add tst-printf-round.
5159         (link-libm): New variable.
5160         ($(objpfx)tst-printf-round): Depend in $(link-libm).
5162 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
5164         [BZ #14576]
5165         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
5166         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
5167         Likewise.
5168         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
5169         Likewise.
5171 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
5173         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
5174         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5175         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5176         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5178 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
5180         [BZ #14518]
5181         * include/rounding-mode.h: New file.
5182         * sysdeps/generic/get-rounding-mode.h: Likewise.
5183         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
5184         * stdlib/strtod_l.c: Include <rounding-mode.h>.
5185         (MAX_VALUE): New macro.
5186         (MIN_VALUE): Likewise.
5187         (overflow_value): New function.
5188         (underflow_value): Likewise.
5189         (round_and_return): Use overflow_value and underflow_value to
5190         determine return values in overflow and underflow cases.  Use
5191         round_away to determine rounding depending on rounding mode.
5192         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
5193         determine return values in overflow and underflow cases.
5194         * stdlib/tst-strtod-round.c: Include <fenv.h>.
5195         (struct test_results): New structure.
5196         (struct test): Use struct test_results to store expected results
5197         for all rounding modes.
5198         (TEST): Include expected results for all rounding modes.
5199         (test_in_one_mode): New function.
5200         (do_test): Use test_in_one_mode to compute and check results.
5201         Check results for all rounding modes.
5202         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
5203         $(link-libm).
5205 2012-12-09  Allan McRae  <allan@archlinux.org>
5207         * sysdeps/i386/fpu/libm-test-ulps: Update
5209 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
5211         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
5212         (_G_int32_t): Likewise.
5213         (_G_uint16_t): Likewise.
5214         (_G_uint32_t): Likewise.
5215         (_G_HAVE_BOOL): Likewise.
5216         (_G_HAVE_ATEXIT): Likewise.
5217         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5218         (_G_HAVE_IO_FILE_OPEN): Likewise.
5219         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
5220         (_G_int32_t): Likewise.
5221         (_G_uint16_t): Likewise.
5222         (_G_uint32_t): Likewise.
5223         (_G_HAVE_BOOL): Likewise.
5224         (_G_HAVE_ATEXIT): Likewise.
5225         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5226         (_G_HAVE_IO_FILE_OPEN): Likewise.
5227         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
5228         (_G_int32_t): Likewise.
5229         (_G_uint16_t): Likewise.
5230         (_G_uint32_t): Likewise.
5231         (_G_HAVE_BOOL): Likewise.
5232         (_G_HAVE_ATEXIT): Likewise.
5233         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5234         (_G_HAVE_IO_FILE_OPEN): Likewise.
5236 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
5238         * csu/libc-tls.c: Update copyright years.
5240 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
5242         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
5243         [!_G_USING_THUNKS]: Remove conditional code.
5244         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
5245         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
5247         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
5248         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
5249         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5250         (_G_VTABLE_LABEL_PREFIX): Likewise.
5251         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5252         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5253         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5254         (_G_VTABLE_LABEL_PREFIX): Likewise.
5255         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5256         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5257         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5258         (_G_VTABLE_LABEL_PREFIX): Likewise.
5259         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5261 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
5263         * libio/Makefile: Include ../Makeconfig before tests.
5264         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
5265         only if $(build-shared) is yes.
5267         * iconv/gconv_db.c: Update copyright years.
5269 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5271         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
5272         unwind info if defined PIC. Fix special cases description.
5273         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
5275         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
5276         DP_HI_MASK entry.
5277         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
5279 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
5281         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
5283         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
5284         is NULL.
5286         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
5287         (LDLIBS-tst-chk4): This.
5288         (LDFLAGS-tst-chk5): Renamed to ...
5289         (LDLIBS-tst-chk5): This.
5290         (LDFLAGS-tst-chk6): Renamed to ...
5291         (LDLIBS-tst-chk6): This.
5292         (LDFLAGS-tst-lfschk4): Renamed to ...
5293         (LDLIBS-tst-lfschk4): This.
5294         (LDFLAGS-tst-lfschk5): Renamed to ...
5295         (LDLIBS-tst-lfschk5): This.
5296         (LDFLAGS-tst-lfschk6): Renamed to ...
5297         (LDLIBS-tst-lfschk6): This.
5299         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
5300         on $(common-objpfx)soversions.mk.
5302 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
5304         [BZ #10014]
5305         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
5306         example host name.
5308 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
5310         * malloc/arena.c (arena_get_retry): New function that gets
5311         another arena for the caller to try its request on.
5312         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
5313         current arena cannot fulfill the request.
5314         (__libc_memalign): Likewise.
5315         (__libc_memalign): Likewise.
5316         (__libc_pvalloc): Likewise.
5317         (__libc_calloc): Likewise.
5319 2012-09-05  John Tobey  <john.tobey@gmail.com>
5321         [BZ #13542]
5322         * manual/arith.texi (Operations on Complex): Fix description
5323         of carg branch cut.
5325 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
5327         [BZ #10014]
5328         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
5329         host name.
5331         [BZ #10038]
5332         * manual/memory.texi (Memory): Make order of menu items match
5333         order of sections.
5335 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
5337         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
5338         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
5339         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
5341 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
5343         * csu/libc-tls.c (static_dtv): Renamed to ...
5344         (_dl_static_dtv): This.  Make it global.
5345         (_dl_initial_dtv): Removed.
5346         (__libc_setup_tls): Updated.
5347         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
5348         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
5349         DL_INITIAL_DTV.
5351 2012-09-06  Petr Machata  <pmachata@redhat.com>
5353         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
5354         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
5355         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
5356         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
5358 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
5360         [BZ #14545]
5361         * csu/libc-tls.c (_dl_initial_dtv): New variable.
5362         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
5363         freeing dtv[-1].
5365 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
5367         [BZ #14544]
5368         * Makeconfig (link-static-before-libc): Replace $(+prector)
5369         with $(+prectorT).
5370         (link-static-after-libc): Replace $(+postctor) with
5371         $(+postctorT).
5372         (link-bounded): Replace $(+prector)/$(+postctor) with
5373         $(+prectorT)/$(+postctorT).
5374         (+prectorT): New macro.
5375         (+postctorT): Likewise.
5377 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
5379         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
5380         (round_str): Handle values above the maximum for IBM long double
5381         as inexact.
5382         * stdlib/tst-strtod-round.c (tests): Regenerated.
5384 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5386         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
5387         assembler flag.
5388         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
5389         zarch_nohighgprs around the zarch optimized routines.
5390         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5391         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5392         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
5393         for zarch.
5395 2012-09-05  David S. Miller  <davem@davemloft.net>
5397         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5399         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
5400         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
5401         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
5402         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5403         entries.
5405 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
5407         * malloc/arena.c: Fold copyright years.
5408         * malloc/mcheck.c, malloc/memusage.c: Likewise.
5410 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
5412         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
5414 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
5416         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
5418 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
5420         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
5421         change internal state upon failure.
5423 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
5425         * malloc/mcheck.c (mcheck_check_all): Fix typo.
5426         * malloc/memusage.c (mmap): Likewise.
5427         (mmap64, mremap): Likewise.  Adjust name in comment.
5429 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5431         * libio/fileops.c: Fix typos in comments.
5432         * libio/oldfileops.c: Likewise.
5433         * libio/wfileops.c: Likewise.
5435 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5437         [BZ #1349]
5438         * malloc/Makefile (tests): Add tst-malloc-usable test case.
5439         (tst-malloc-usable-ENV): Set environment for test case.
5440         * malloc/hooks.c (malloc_check_get_size): New function to get
5441         requested size.
5442         * malloc/malloc.c (musable): Use malloc_check_get_size.
5443         * malloc/tst-malloc-usable.c: New test case.
5445 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
5447         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
5449 2012-09-05  Allan McRae  <allan@archlinux.org>
5451         [BZ #13966]
5452         * configure.in (CXX_SYSINCLUDES): Use compiler output to
5453         determine header location.
5454         * configure: Regenerated.
5456 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
5458         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
5459         float format.
5460         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
5461         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
5462         format.
5463         (test): Regenerate.
5465 2012-09-04  David S. Miller  <davem@davemloft.net>
5467         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
5468         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
5469         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
5471 2012-09-04  Florian Weimer  <fweimer@redhat.com>
5473         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
5474         failures.
5476         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
5478 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
5480         [BZ #9914]
5481         * libio/iogetdelim.c: Include <limits.h>.
5482         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
5483         + len + 1 would overflow.
5485 2012-09-03  Andreas Jaeger  <aj@suse.de>
5487         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5488         * sysdeps/i386/fpu/libm-test-ulps: Update.
5490 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5492         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5493         Add s_sinf-sse2, s_conf-sse2.
5495         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
5496         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
5497         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
5498         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
5500         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
5501         for using routine as __sinf_ia32.
5502         Use macro for function declaration and weak_alias.
5503         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
5504         for using routine as __cosf_ia32.
5505         Use macro for function declaration and weak_alias.
5507         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
5508         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
5510         * sysdeps/x86_64/fpu/s_sinf.S: New file.
5511         * sysdeps/x86_64/fpu/s_cosf.S: New file.
5512         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5514         * math/libm-test.inc (cos_test): Add more test cases.
5515         (sin_test): Likewise.
5516         (sincos_test): Likewise.
5518 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5520         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5521         (IFUNC_RESOLVE): Make pointers to the specialized implementations
5522         hidden.
5523         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5525 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
5527         [BZ #14538]
5528         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
5529         first element of the GOT.
5530         (elf_machine_load_address): Return the difference between
5531         the runtime address of _DYNAMIC and elf_machine_dynamic ().
5533 2012-09-01  Allan McRae  <allan@archlinux.org>
5535         [BZ #13412]
5536         * configure.in (AWK): Require gawk version 3.0 or later.
5537         * configure: Regenerated.
5539 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
5541         * sysdeps/unix/sysv/linux/kernel-features.h
5542         (__ASSUME_POSIX_CPU_TIMERS): Remove.
5543         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5544         [__NR_clock_getres]: Make code unconditional.
5545         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
5546         (clock_getcpuclockid): Remove code left unreachable by removal of
5547         conditionals.
5548         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
5549         code unconditional.
5550         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5551         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5552         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
5553         Make code unconditional.
5554         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5555         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5556         * sysdeps/unix/sysv/linux/clock_settime.c
5557         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
5558         conditional code.
5559         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
5560         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5562 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
5564         [BZ #14476]
5565         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
5566         scripts/test-installation.pl.
5568         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
5569         and $ld_so_version if it is set.
5571 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5573         [BZ #14516]
5574         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
5575         failure if reading from procfs failed.
5576         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
5578 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
5580         * sysdeps/unix/sysv/linux/kernel-features.h
5581         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
5582         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5583         Remove conditional code.
5584         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5585         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
5586         Remove conditional code.
5587         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5588         * sysdeps/unix/sysv/linux/i386/fxstat.c
5589         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5590         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5591         * sysdeps/unix/sysv/linux/i386/fxstatat.c
5592         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5593         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5594         * sysdeps/unix/sysv/linux/i386/lxstat.c
5595         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5596         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5597         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
5598         Remove conditional code.
5599         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5600         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5601         Remove conditional code.
5602         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5603         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
5604         <kernel-features.h>.
5605         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
5606         Remove.
5607         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
5608         Remove conditional code.
5609         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5610         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
5611         Remove conditional.
5613 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
5615         [BZ #5400]
5616         * NEWS: Add fixed bug number.
5618 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
5620         [BZ #14519]
5621         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
5622         underflowing exponent in case of negative sign.
5623         * stdlib/tst-strtod-round-data: Add more tests.
5624         * stdlib/tst-strtod-round.c (tests): Regenerated.
5626         [BZ #3479]
5627         * stdlib/strtod_l.c (NDIG): Remove.
5628         (HEXNDIG): Likewise.
5629         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
5630         smallest representable value.
5631         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
5632         lie within an exact representation of 1/2 ulp of the result.
5633         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
5634         unconditionally.
5635         (TENS_P9_IDX): Define unconditionally.
5636         (TENS_P9_SIZE): Likewise.
5637         (TENS_P10_IDX): Likewise.
5638         (TENS_P10_SIZE): Likewise.
5639         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
5640         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
5641         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
5642         entries for 10^2^13 and 10^2^14.
5643         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
5644         (TENS_P13_IDX): Define.
5645         (TENS_P13_SIZE): Likewise.
5646         (TENS_P14_IDX): Likewise.
5647         (TENS_P14_SIZE): Likewise.
5648         (_fpioconst_pow10): Change array size to
5649         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
5650         unconditional.
5651         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
5652         1024]: Add entries for 10^2^13 and 10^2^14.
5653         [LAST_POW10 > _LAST_POW10]: Remove #error.
5654         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
5655         (_fpioconst_pow10): Change array size to
5656         FPIOCONST_POW10_ARRAY_SIZE.
5657         * stdlib/gen-fpioconst.c: New file.
5658         * stdlib/gen-tst-strtod-round.c: Likewise.
5659         * stdlib/tst-strtod-round-data: Likewise.
5660         * stdlib/tst-strtod-round.c: Likewise.
5661         * stdlib/Makefile (tests): Add tst-strtod-round.
5663         [BZ #14459]
5664         * stdlib/strtod_l.c: Include <stdint.h>.
5665         (NDEBUG): Do not define.
5666         (round_and_return): Change EXPONENT parameter to type intmax_t.
5667         Rearrange calculations to avoid internal overflow possibilities.
5668         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
5669         Rearrange calculations to avoid internal overflow possibilities.
5670         Assert that number fits inside MPNSIZE limbs.
5671         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
5672         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
5673         calculations and add assertions to avoid internal overflow
5674         possibilities.  Add casts to avoid signed/unsigned operations.
5675         * stdlib/tst-strtod-overflow.c: New file.
5676         * stdlib/Makefile (tests): Add tst-strtod-overflow.
5678 2012-08-25  Marek Polacek  <polacek@redhat.com>
5680         * time/time.h: Fix some typos in comments.
5682 2012-08-23  Roland McGrath  <roland@hack.frob.com>
5684         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
5685         * posix/tst-rfc3484-2.c: Likewise.
5686         * posix/tst-rfc3484-3.c: Likewise.
5688 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
5690         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
5691         (EF_ARM_ABI_FLOAT_HARD): Likewise.
5693 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
5695         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
5696         #include of fxstatat64.c.
5698 2012-08-22  Roland McGrath  <roland@hack.frob.com>
5700         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
5701         * shadow/getspent_r.c: Likewise.
5702         * shadow/getspnam.c: Likewise.
5703         * shadow/getspnam_r.c: Likewise.
5704         * gshadow/getsgent.c: Likewise.
5705         * gshadow/getsgent_r.c: Likewise.
5706         * gshadow/getsgnam.c: Likewise.
5707         * gshadow/getsgnam_r.c: Likewise.
5708         * inet/getnetbyad.c: Likewise.
5709         * inet/getnetbyad_r.c: Likewise.
5710         * inet/getnetbynm.c: Likewise.
5711         * inet/getnetbynm_r.c: Likewise.
5712         * inet/getnetent.c: Likewise.
5713         * inet/getnetent_r.c: Likewise.
5714         * inet/getproto.c: Likewise.
5715         * inet/getproto_r.c: Likewise.
5716         * inet/getprtent.c: Likewise.
5717         * inet/getprtent_r.c: Likewise.
5718         * inet/getprtname.c: Likewise.
5719         * inet/getprtname_r.c: Likewise.
5720         * inet/getrpcbyname.c: Likewise.
5721         * inet/getrpcbyname_r.c: Likewise.
5722         * inet/getrpcbynumber.c: Likewise.
5723         * inet/getrpcbynumber_r.c: Likewise.
5724         * inet/getrpcent.c: Likewise.
5725         * inet/getrpcent_r.c: Likewise.
5726         * inet/getaliasent.c: Likewise.
5727         * inet/getaliasent_r.c: Likewise.
5728         * inet/getaliasname.c: Likewise.
5729         * inet/getaliasname_r.c: Likewise.
5730         * nscd/getgrgid_r.c: Likewise.
5731         * nscd/getgrnam_r.c: Likewise.
5732         * nscd/gethstbyad_r.c: Likewise.
5733         * nscd/gethstbynm3_r.c: Likewise.
5734         * nscd/getpwnam_r.c: Likewise.
5735         * nscd/getpwuid_r.c: Likewise.
5736         * nscd/getsrvbynm_r.c: Likewise.
5737         * nscd/getsrvbypt_r.c: Likewise.
5738         * nscd/gai.c: Likewise.
5740         * configure.in (build_nscd): New substituted variable, set
5741         by --disable-build-nscd and defaults to $use_nscd.
5742         * configure: Regenerated.
5743         * config.make.in (build-nscd): New substituted variable.
5744         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
5745         Change conditional to require [$(build-nscd) = yes] as well.
5746         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
5748         [BZ# 13696]
5749         * configure.in (use_nscd): New substituted variable, set by
5750         --disable-nscd.  If enabled, define USE_NSCD.
5751         * configure: Regenerated.
5752         * config.h.in: Add USE_NSCD.
5753         * config.make.in (use-nscd): New substituted variable.
5754         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
5755         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
5756         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
5757         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
5758         (CFLAGS-getgrnam_r.c): Likewise.
5759         (CFLAGS-initgroups.c): Likewise.
5760         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
5761         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
5762         Variables removed.
5763         * inet/getnetgrent_r.c
5764         (nscd_setnetgrent): New function, broken out of ...
5765         (setnetgrent): ... here.  Call it.
5766         (innetgr): Conditionalize nscd bits on [USE_NSCD].
5767         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
5768         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
5769         * nscd/Makefile (routines, aux): Move definitions after include of
5770         Makeconfig.  Conditionalize on [$(use-nscd) != no].
5771         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
5772         Conditionalize on [USE_NSCD].
5773         (is_nscd, nscd_init_cb): Likewise.
5774         (nss_load_library): Conditionalize init callback on [USE_NSCD].
5775         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
5776         * nss/nss_db/db-init.c: Likewise.
5777         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
5778         [USE_NSCD].
5779         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
5780         (make_request): Use it.
5781         (cache_valid_p): New function.
5782         (__check_pf): Use it.
5783         * NEWS: Add item for --disable-nscd.
5785 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
5787         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
5788         to support sed >= 4.2.1-20-ga9bf076.
5789         * configure: Regenerated.
5791 2012-08-22  Roland McGrath  <roland@hack.frob.com>
5793         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
5794         Conditionalize whole body on [IREL].
5796 2012-08-22  Jeff Law <law@redhat.com>
5798         [BZ #14505]
5799         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
5800         if the family is PF_UNSPEC.
5802 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
5804         * Makerules (lib-version): Rename from V.
5805         (install-lib-nosubdir): Change V to lib-version.
5807 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
5809         [BZ #14252]
5810         * powerpc32/power6/wcschr.c: New file.
5811         * powerpc32/power6/wcscpy.c: New file.
5812         * powerpc32/power6/wcsrchr.c: New file.
5813         * powerpc64/power6/wcschr.c: New file.
5814         * powerpc64/power6/wcscpy.c: New file.
5815         * powerpc64/power6/wcsrchr.c: New file.
5817 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
5819         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
5820         (two_way_short_needle): Use it.
5821         * string/strstr.c (AVAILABLE1_USES_J): Define.
5822         * string/strcasestr.c: Likewise.
5824         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
5825         array references.
5826         * string/strcasestr.c (TOLOWER): Make side-effect safe.
5828         [BZ #11607]
5829         * NEWS: Add an entry.
5830         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
5831         define their defaults.
5832         (two_way_short_needle): Detect end-of-string on-the-fly.
5833         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
5834         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
5835         * string/bug-strcasestr1.c: New test.
5836         * string/Makefile: Run it.
5838 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
5840         [BZ #11607]
5841         * string/str-two-way.h (two_way_short_needle): Optimize matching of
5842         the first character.
5844 2012-08-21  Roland McGrath  <roland@hack.frob.com>
5846         * csu/elf-init.c (__libc_csu_irel): Function removed.
5847         * csu/libc-start.c (apply_irel): New function.
5848         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
5850 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
5852         * sysdeps/unix/sysv/linux/kernel-features.h
5853         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
5854         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5855         <kernel-features.h>.
5856         [__NR_fadvise64_64]: Make code unconditional.
5857         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
5858         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5859         !__NR_fadvise64_64)]: Likewise.
5860         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5861         !__NR_fadvise64_64))]: Likewise.
5862         [__NR_fadvise64]: Make code unconditional.
5863         [!__NR_fadvise64]: Remove conditional code.
5864         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
5865         <kernel-features.h>.
5866         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5867         unconditional.
5868         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5869         conditional code.
5870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
5871         not include <kernel-features.h>.
5872         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5873         unconditional.
5874         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5875         conditional code.
5876         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
5877         include <kernel-features.h>.
5878         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5879         unconditional.
5880         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5881         conditional code.
5883 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
5885         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
5886         slight instruction rearrangements per scrollpipe analysis.
5887         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5889 2012-08-20  Roland McGrath  <roland@hack.frob.com>
5891         * manual/syslog.texi (syslog; vsyslog, closelog):
5892         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
5893         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
5895         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
5896         DSOCAPS to match condition on defining it.
5898 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
5900         * sysdeps/unix/sysv/linux/kernel-features.h
5901         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
5902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
5903         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5904         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
5906         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5907         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
5909         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5910         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5912         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
5913         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
5915         * sysdeps/unix/sysv/linux/kernel-features.h
5916         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
5917         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
5918         unconditional.
5919         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5920         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
5921         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5922         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5923         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
5924         Make code unconditional.
5925         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5926         (__mmap64) [!__NR_mmap2]: Likewise.
5927         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
5928         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5929         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5930         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
5931         [__NR_mmap2]: Make code unconditional.
5932         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5933         (__mmap64) [!__NR_mmap2]: Likewise.
5935 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5937         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
5939 2012-08-18  Andreas Jaeger  <aj@suse.de>
5941         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
5943 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
5945         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
5946         * include/unistd.h (__have_sock_cloexec): Likewise.
5947         (__have_pipe2): Likewise.
5948         (__have_dup3): Likewise.
5950 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
5952         [BZ #9685]
5953         * include/unistd.h (__have_pipe2): Change define into an extern int.
5954         (__have_dup3): Likewise.
5955         * socket/have_sock_cloexec.c: Include fcntl.h.
5956         (__have_pipe2): New variable.
5957         (__have_dup3): Likewise.
5959 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
5961         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
5963 2012-08-17  Marek Polacek  <polacek@redhat.com>
5965         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
5966         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
5968 2012-08-17  Roland McGrath  <roland@hack.frob.com>
5970         * configure.in: Add AC_SUBST for sysheaders.
5971         * configure: Regenerated.
5972         * config.make.in (sysheaders): New substituted variable.
5974         * sysdeps/unix/mkfifo.c: Moved ...
5975         * sysdeps/posix/mkfifo.c: ... here.
5976         * sysdeps/unix/mkfifoat.c: Moved ...
5977         * sysdeps/posix/mkfifoat.c: ... here.
5979         * sysdeps/unix/utime.c: Moved ...
5980         * sysdeps/posix/utime.c: ... here.
5982         * sysdeps/unix/time.c: Moved ...
5983         * sysdeps/posix/time.c: ... here.
5984         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
5985         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
5987         * sysdeps/unix/nice.c: Moved ...
5988         * sysdeps/posix/nice.c: ... here.
5990         * sysdeps/unix/alarm.c: Moved ...
5991         * sysdeps/posix/alarm.c: ... here.
5993         * intl/Makefile ($(codeset_mo)): Depend on the input file.
5995 2012-08-17  Jeff Law <law@redhat.com>
5997         * intl/Makefile (codeset_mo): New variable.
5998         ($(codeset_mo)): New target.
5999         (tst-codeset.out): Depend on that.  Remove explicit rule.
6000         (tst-gettext3.out, tst-gettext5.out): Likewise.
6001         (LOCPATH-ENV, tst-codeset-ENV): New variables.
6002         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
6003         * intl/tst-codeset.sh: Remove.
6004         * intl/tst-gettext3.sh: Likewise.
6005         * intl/tst-gettext5.sh: Likewise.
6007 2012-08-17  Roland McGrath  <roland@hack.frob.com>
6009         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
6010         * sysdeps/unix/syscalls.list: ... here.
6012         * sysdeps/posix/getaddrinfo.c
6013         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
6014         (gaiconf_init, gaiconf_reload): Use them.
6015         [!_STATBUF_ST_NSEC]
6016         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
6017         Define using time_t rather than struct timespec.
6019         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
6020         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
6021         Macros removed.
6022         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
6023         [!NO_THREADS].
6024         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
6025         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
6026         Likewise.
6028         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
6029         __libc_cleanup_push argument.
6031         * bits/param.h: New file.
6032         * misc/sys/param.h: New file.
6033         * include/sys/param.h: New file.
6034         * misc/Makefile (headers): Add bits/param.h.
6035         * sysdeps/generic/sys/param.h: File removed.
6036         * sysdeps/unix/sysv/linux/bits/param.h: New file.
6037         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
6038         * sysdeps/mach/hurd/bits/param.h: New file.
6039         * sysdeps/mach/hurd/sys/param.h: File removed.
6041         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
6042         last change.
6044         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
6045         [_IO_MTSAFE_IO].
6046         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
6047         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
6048         New macros.
6050         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
6051         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
6052         rather than -D_IO_MTSAFE_IO conditionally.
6053         * stdio-common/Makefile (CPPFLAGS): Likewise.
6054         * wcsmbs/Makefile (CPPFLAGS): Likewise.
6055         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
6056         Use $(libio-mtsafe).
6057         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
6058         of -D_IO_MTSAFE_IO.
6059         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
6060         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
6061         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
6062         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
6063         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
6064         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
6065         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
6066         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
6067         (CFLAGS-fread_u_chk.c): Likewise.
6068         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
6069         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
6070         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
6071         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
6072         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
6073         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
6074         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
6075         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
6076         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
6078         * libio/Makefile: Test [$(libc-reentrant) = yes]
6079         instead of [$(filter %REENTRANT, $(defines)) nonempty].
6081         * Makeconfig
6082         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
6083         * sysdeps/pthread/configure: File removed.
6084         * sysdeps/pthread/Makeconfig: New file.
6085         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
6086         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
6088 2012-08-16  Gary Benson  <gbenson@redhat.com>
6090         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
6091         unmapping the first object in a namespace.
6093 2012-08-16  Roland McGrath  <roland@hack.frob.com>
6095         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
6096         (__internal_setnetgrent): ... this.  Add internal_function to
6097         definition.  Add libc_hidden_def.
6098         (setnetgrent): Update caller.
6099         (internal_endnetgrent): Renamed to ...
6100         (__internal_endnetgrent): ... this.  Add internal_function to
6101         definition.  Add libc_hidden_def.
6102         (endnetgrent): Update caller.
6103         (internal_getnetgrent_r): Renamed to ...
6104         (__internal_getnetgrent_r): ... this.  Add internal_function to
6105         definition.  Add libc_hidden_def.
6106         (__getnetgrent_r): Update caller.
6107         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
6109 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
6111         * stdlib/longlong.h: Update from GCC.
6113 2012-08-16  Roland McGrath  <roland@hack.frob.com>
6115         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
6116         on _QL, which is set by umul_ppmm but never used.
6117         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
6118         variables, which are set by GMP macros but never used.
6119         * stdio-common/_itowa.c (_itowa): Likewise.
6120         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
6121         * stdlib/mod_1.c (mpn_mod_1): Likewise.
6123 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
6125         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
6126         struct La_sh_regs is not constant.
6127         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
6128         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
6129         and struct La_sparc64_regs are not constant.
6131 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
6133         * sysdeps/unix/sysv/linux/kernel-features.h
6134         (__ASSUME_POSIX_TIMERS): Remove.
6135         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6136         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6137         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
6138         Make code unconditional.
6139         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6140         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
6141         Make code unconditional.
6142         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6143         * sysdeps/unix/sysv/linux/clock_nanosleep.c
6144         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
6145         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6146         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
6147         Make code unconditional.
6148         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6149         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
6150         (__libc_missing_posix_timers): Remove.
6152 2012-08-15  Roland McGrath  <roland@hack.frob.com>
6154         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
6155         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
6157         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
6159         * elf/dl-sym.c: Include <stdlib.h>.
6161         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
6162         constants, which avoids warnings in 32-bit builds.
6164         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
6165         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
6167         * misc/lseek.c: File moved to ...
6168         * io/lseek.c: ... here.
6170         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
6172         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
6173         shifting LEN more than 31 bits at once.
6175 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6177         [BZ #14195]
6178         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
6179         segmentation fault for a case of two empty input strings.
6180         * string/test-strncasecmp.c (check1): Renamed to...
6181         (bz12205): ...this.
6182         (bz14195): Add new testcase for two empty input strings and N > 0.
6183         (test_main): Call new testcase, adapt for renamed function.
6185 2012-08-15  Andreas Jaeger  <aj@suse.de>
6187         [BZ #14090]
6188         * crypt/md5test2.c: New test, based on test supplied by Serge
6189         Belyshev <belyshev@depni.sinp.msu.ru>.
6190         * crypt/Makefile (xtests): Add md5test-giant..
6191         * crypt/Makefile ($(objpfx)md5test-giant): Add.
6193 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
6195         [BZ #14090]
6196         * crypt/md5.c (md5_process_block): Don't assume the buffer
6197         length is less than 2**32.
6198         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
6199         length is less than 2**64.
6201 2012-08-15  Roland McGrath  <roland@hack.frob.com>
6203         * string/str-two-way.h: Include <sys/param.h>.
6204         (MAX): Macro removed.
6206         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
6207         Move #define and #undef of memmove to just before and after
6208         including <string.h>.
6210         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
6211         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
6212         and after including <string.h>.  Move declarations of
6213         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
6214         to before #include "string/memmove.c".
6216         * include/dirent.h: Declare __getdirentries.
6218         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
6219         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
6221 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
6223         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
6224         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
6225         * sysdeps/i386/configure: Regenerated.
6226         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
6227         STABS_CURRENT_FILE, and STABS_FUN.
6228         (END): Remove call to STABS_FUN_END.
6229         (STABS_CURRENT_FILE1): Delete.
6230         (STABS_CURRENT_FILE): Likewise.
6231         (STABS_FUN): Likewise.
6232         (STABS_FUN_END): Likewise.
6233         (STABS_FUN2): Likewise.
6234         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
6235         * sysdeps/x86_64/configure: Regenerated.
6237 2012-08-14  Roland McGrath  <roland@hack.frob.com>
6239         * elf/dl-open.c: Include <atomic.h>.
6240         * elf/dl-lookup.c: Likewise.
6242 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
6244         * sysdeps/unix/sysv/linux/kernel-features.h
6245         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
6246         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
6247         unconditionally.
6248         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
6249         unconditionally.
6250         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
6251         condition on __ASSUME_CLONE_THREAD_FLAGS.
6253 2012-08-14  Andreas Jaeger  <aj@suse.de>
6255         * sysdeps/i386/fpu/libm-test-ulps: Update.
6257 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
6259         * include/atomic.h (atomic_exchange_and_add): Split into ...
6260         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
6261         New atomic macros.
6263 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
6265         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6267 2012-08-13  Jeff Law <law@redhat.com>
6269         * manual/stdio.texi (snprintf): Clarify handling of the trailing
6270         null byte in the output string.
6272 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
6274         * sysdeps/unix/sysv/linux/kernel-features.h
6275         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
6276         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
6277         (__ASSUME_ARG_MAX_STACK_BASED): Define.
6278         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6279         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
6280         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
6281         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
6283 2012-08-09  Jeff Law <law@redhat.com>
6285         [BZ #13939]
6286         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
6287         When avoid_arena is set, don't retry in the that arena.  Pick the
6288         next one, whatever it might be.
6289         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
6290         (arena_lock): Pass in new parameter to arena_get2.
6291         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
6292         arena_get2.
6293         (__libc_malloc): Unify retrying after main arena failure with
6294         __libc_memalign version.
6295         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
6297 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
6299         [BZ #14166]
6300         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
6301         to __redirect_strstr.
6302         (__strstr_sse42): Use typeof __redirect_strstr.
6303         (__strstr_ia32): Likewise.
6304         (__libc_strstr): New prototype.
6305         (strstr): Renamed to ...
6306         (__libc_strstr): This.
6307         (strstr): New strong alias of __libc_strstr.
6308         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6309         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
6310         __redirect_time.
6311         Include <time.h>.
6312         (__libc_time): New prototype.
6313         (time_ifunc): Replace time with __libc_time.
6314         (time): New strong alias and hidden definition of __libc_time.
6315         (__GI_time): Remove strong alias.
6316         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
6317         Include <stddef.h>.
6318         (memmove): Redefined to __redirect_memmove.
6319         (__memmove_sse2): Use typeof __redirect_memmove.
6320         (__memmove_ssse3): Likewise.
6321         (__memmove_ssse3_back): Likewise.
6322         (__libc_memmove): New prototype.
6323         (memmove): Renamed to ...
6324         (__libc_memmove): This.
6325         (memmove): New strong alias of __libc_memmove.
6327 2012-08-08  Mark Salter  <msalter@redhat.com>
6329         * elf/elf.h
6330         (R_MN10300_TLS_GD): Define.
6331         (R_MN10300_TLS_LD): Likewise.
6332         (R_MN10300_TLS_LDO): Likewise.
6333         (R_MN10300_TLS_GOTIE): Likewise.
6334         (R_MN10300_TLS_IE): Likewise.
6335         (R_MN10300_TLS_LE): Likewise.
6336         (R_MN10300_TLS_DTPMOD): Likewise.
6337         (R_MN10300_TLS_DTPOFF): Likewise.
6338         (R_MN10300_TLS_TPOFF): Likewise.
6339         (R_MN10300_SYM_DIFF): Likewise.
6340         (R_MN10300_ALIGN): Likewise.
6341         (R_MN10300_NUM): Update.
6343 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
6345         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
6346         Remove.
6348 2012-08-08  Roland McGrath  <roland@hack.frob.com>
6350         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
6352         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
6353         sysdeps/unix -> sysdeps/posix move.
6354         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6356 2012-08-07      Allan McRae     <allan@archlinux.org>
6358         [BZ #14303]
6359         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
6360         (SUNOS_CPP): Likewise.
6361         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
6362         not found.
6363         (open_input): Call CPP using execvp.
6365 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
6367         * sysdeps/unix/sysv/linux/kernel-features.h
6368         (__ASSUME_PROT_GROWSUPDOWN): Remove.
6369         (__ASSUME_NO_CLONE_DETACHED): Likewise.
6370         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6371         (__ASSUME_WAITID_SYSCALL): Likewise.
6372         * sysdeps/unix/sysv/linux/dl-execstack.c
6373         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
6374         code unconditional.
6375         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
6376         conditional code.
6377         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
6378         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
6379         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
6380         code.
6381         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
6382         unconditional.
6383         [__ASSUME_WAITID_SYSCALL]: Likewise.
6384         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
6386 2012-08-07  Roland McGrath  <roland@hack.frob.com>
6388         * sysdeps/unix/closedir.c: Renamed to ...
6389         * sysdeps/posix/closedir.c: ... here.
6390         * sysdeps/unix/dirfd.c: Renamed to ...
6391         * sysdeps/posix/dirfd.c: ... here.
6392         * sysdeps/unix/dirstream.h: Renamed to ...
6393         * sysdeps/posix/dirstream.h: ... here.
6394         * sysdeps/unix/fdopendir.c: Renamed to ...
6395         * sysdeps/posix/fdopendir.c: ... here.
6396         * sysdeps/unix/opendir.c: Renamed to ...
6397         * sysdeps/posix/opendir.c: ... here.
6398         * sysdeps/unix/readdir.c: Renamed to ...
6399         * sysdeps/posix/readdir.c: ... here.
6400         * sysdeps/unix/readdir_r.c: Renamed to ...
6401         * sysdeps/posix/readdir_r.c: ... here.
6402         * sysdeps/unix/rewinddir.c: Renamed to ...
6403         * sysdeps/posix/rewinddir.c: ... here.
6404         * sysdeps/unix/seekdir.c: Renamed to ...
6405         * sysdeps/posix/seekdir.c: ... here.
6406         * sysdeps/unix/telldir.c: Renamed to ...
6407         * sysdeps/posix/telldir.c: ... here.
6408         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
6409         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6410         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
6411         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
6413         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
6414         * bits/fcntl.h: ... here.
6416         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
6417         not 0.
6418         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
6419         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
6420         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
6421         (struct flock): Move l_start, l_len to the beginning.
6422         Use __pid_t for l_pid.
6423         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
6424         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
6425         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
6426         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
6427         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
6428         [__USE_LARGEFILE64] (struct flock64): New type.
6429         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
6431         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
6432         * bits/dirent.h: ... here.
6434         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
6435         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
6437 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
6439         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6440         Change from 2.6.0 to 2.6.16.
6441         * sysdeps/unix/sysv/linux/configure: Regenerated.
6442         * sysdeps/unix/sysv/linux/kernel-features.h
6443         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
6444         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
6445         version.
6446         (__ASSUME_UTIMES): Likewise.
6447         (__ASSUME_CLONE_STOPPED): Remove.
6448         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
6449         architectures, not kernel version.
6450         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
6451         (__ASSUME_NO_CLONE_DETACHED): Likewise.
6452         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6453         (__ASSUME_WAITID_SYSCALL): Likewise.
6454         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
6455         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
6456         * README: State 2.6.16 as minimum Linux kernel version.  Do not
6457         refer to older versions.
6459 2012-08-06  Roland McGrath  <roland@hack.frob.com>
6461         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
6462         Define alphasort64 as an alias.
6463         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
6464         Define versionsort64 as an alias.
6465         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
6466         Define scandir64 as an alias.
6467         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
6468         Define scandirat64 as an alias.
6469         * dirent/alphasort64.c (alphasort64):
6470         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
6471         * dirent/versionsort64.c: Likewise.
6472         * dirent/scandir64.c: Likewise.
6473         * dirent/scandirat64.c: Likewise.
6474         * sysdeps/wordsize-64/alphasort.c: File removed.
6475         * sysdeps/wordsize-64/alphasort64.c: File removed.
6476         * sysdeps/wordsize-64/scandir.c: File removed.
6477         * sysdeps/wordsize-64/scandir64.c: File removed.
6478         * sysdeps/wordsize-64/scandirat.c: File removed.
6479         * sysdeps/wordsize-64/scandirat64.c: File removed.
6480         * sysdeps/wordsize-64/versionsort.c: File removed.
6481         * sysdeps/wordsize-64/versionsort64.c: File removed.
6482         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
6483         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
6484         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
6485         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
6486         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
6487         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
6488         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
6489         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
6491         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
6492         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6493         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
6494         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6495         [defined __arch64__ || defined __sparcv9]
6496         (__INO_T_MATCHES_INO64_T): New macro.
6497         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6498         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
6499         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
6500         * sysdeps/unix/sysv/linux/bits/dirent.h
6501         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
6502         (_DIRENT_MATCHES_DIRENT64): New macro.
6504         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
6505         Define lockf64 as an alias.
6506         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
6507         Define fseeko64 as an alias.
6508         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
6509         Define ftello64 as an alias.
6510         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
6511         Define _IO_fgetpos64 and fgetpos64 as aliases.
6512         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
6513         Define _IO_fsetpos64 and fsetpos64 as aliases.
6514         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
6515         Conditionalize body on this.
6516         * libio/fseeko64.c: Likewise.
6517         * libio/ftello64.c: Likewise.
6518         * libio/iofgetpos64.c: Likewise.
6519         * libio/iofsetpos64.c: Likewise.
6520         * sysdeps/wordsize-64/lockf.c: File removed.
6521         * sysdeps/wordsize-64/lockf64.c: File removed.
6522         * sysdeps/wordsize-64/fseeko.c: File removed.
6523         * sysdeps/wordsize-64/fseeko64.c: File removed.
6524         * sysdeps/wordsize-64/ftello.c: File removed.
6525         * sysdeps/wordsize-64/ftello64.c: File removed.
6526         * sysdeps/wordsize-64/iofgetpos.c: File removed.
6527         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
6528         * sysdeps/wordsize-64/iofsetpos.c: File removed.
6529         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
6530         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
6531         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
6532         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
6533         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
6534         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
6535         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
6536         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
6537         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
6538         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
6539         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
6541         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6542         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6543         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
6544         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6545         [defined __arch64__ || defined __sparcv9]
6546         (__OFF_T_MATCHES_OFF64_T): New macro.
6547         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6548         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6549         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6550         (__OFF_T_MATCHES_OFF64_T): New macro.
6552 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
6554         * stdlib/secure-getenv.c (__secure_getenv): Replace
6555         GLIBC_2_16 with GLIBC_2_17.
6557 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
6559         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
6560         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6562 2012-08-03  David S. Miller  <davem@davemloft.net>
6564         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6566 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
6568         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
6569         Remove.
6570         (__ASSUME_CORRECT_SI_PID): Likewise.
6571         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
6572         (__ASSUME_TMPFS_NAME): Likewise.
6573         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
6574         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
6575         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
6576         (HAVE_AUX_SECURE): Make definition unconditional.
6577         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
6578         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
6580 2012-08-03  Roland McGrath  <roland@hack.frob.com>
6582         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
6583         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
6584         * sysdeps/mach/hurd/eloop-threshold.h: New file.
6585         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6586         __eloop_threshold instead of SYMLOOP_MAX.
6588         * sysdeps/generic/eloop-threshold.h: New file.
6589         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
6590         of MAXSYMLINKS.
6591         * elf/chroot_canon.c (chroot_canon): Likewise.
6593 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
6595         [BZ #13717]
6596         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6597         Change to 2.6.0 everywhere.
6598         * sysdeps/unix/sysv/linux/configure: Regenerated.
6599         * sysdeps/unix/sysv/linux/kernel-features.h
6600         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
6601         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
6602         kernel versions.
6603         (__ASSUME_POSIX_TIMERS): Define unconditionally.
6604         (__ASSUME_FUTEX_REQUEUE): Remove.
6605         (__ASSUME_STATFS64): Define unconditionally.
6606         (__ASSUME_AT_SECURE): Likewise.
6607         (__ASSUME_CORRECT_SI_PID): Likewise.
6608         (__ASSUME_TGKILL): Define without depending on kernel version for
6609         i386.
6610         (__ASSUME_UTIMES): Likewise.
6611         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
6612         kernel version.
6613         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
6614         (__ASSUME_TMPFS_NAME): Likewise.
6615         * README: Update reference to Linux kernel versions.
6617 2012-08-02  Marek Polacek  <polacek@redhat.com>
6619         [BZ# 14150]
6620         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
6621         libc_cv_asm_type_prefix with %.
6622         * configure: Regenerated.
6623         * include/libc-symbols.h: Remove comment about
6624         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6625         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
6626         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
6627         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
6628         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
6629         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6630         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
6631         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
6632         * elf/tst-unique2mod1.c: Likewise.
6633         * elf/tst-unique1mod2.c: Likewise.
6634         * elf/tst-unique1mod1.c: Likewise.
6635         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
6636         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
6637         Replace ASM_TYPE_DIRECTIVE with .type.
6638         * sysdeps/s390/s390-64/sysdep.h: Likewise.
6639         * sysdeps/i386/sysdep.h: Likewise.
6640         * sysdeps/x86_64/sysdep.h: Likewise.
6641         * sysdeps/sh/sysdep.h: Likewise.
6642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6643         Do not define ASM_TYPE_DIRECTIVE.
6644         * sysdeps/powerpc/sysdep.h: Likewise.
6645         * sysdeps/powerpc/powerpc32/sysdep.h:
6646         Replace ASM_TYPE_DIRECTIVE with .type.
6647         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6648         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6649         * sysdeps/i386/fpu/e_powf.S: Likewise.
6650         * sysdeps/i386/fpu/e_expl.S: Likewise.
6651         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6652         * sysdeps/i386/fpu/e_acosh.S: Likewise.
6653         * sysdeps/i386/fpu/e_pow.S: Likewise.
6654         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6655         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6656         * sysdeps/i386/fpu/s_expm1.S: Likewise.
6657         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6658         * sysdeps/i386/fpu/e_log2.S: Likewise.
6659         * sysdeps/i386/fpu/e_log2l.S: Likewise.
6660         * sysdeps/i386/fpu/e_scalb.S: Likewise.
6661         * sysdeps/i386/fpu/e_powl.S: Likewise.
6662         * sysdeps/i386/fpu/e_log10f.S: Likewise.
6663         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6664         * sysdeps/i386/fpu/e_logl.S: Likewise.
6665         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6666         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6667         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6668         * sysdeps/i386/fpu/e_log2f.S: Likewise.
6669         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6670         * sysdeps/i386/fpu/e_log.S: Likewise.
6671         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6672         * sysdeps/i386/fpu/e_logf.S: Likewise.
6673         * sysdeps/i386/fpu/e_log10l.S: Likewise.
6674         * sysdeps/i386/fpu/e_atanh.S: Likewise.
6675         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6676         * sysdeps/i386/fpu/e_log10.S: Likewise.
6677         * sysdeps/i386/fpu/s_frexp.S: Likewise.
6678         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6679         * sysdeps/i386/fpu/s_asinh.S: Likewise.
6680         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6681         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6682         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
6683         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6684         * sysdeps/i386/i686/strtok.S: Likewise.
6685         * sysdeps/i386/i386-mcount.S: Likewise.
6686         * sysdeps/i386/strtok.S: Likewise.
6687         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
6688         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6689         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6690         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6691         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6692         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6693         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6694         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6695         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6696         * sysdeps/x86_64/_mcount.S: Likewise.
6697         * sysdeps/x86_64/strtok.S: Likewise.
6698         * sysdeps/sh/_mcount.S: Likewise.
6700 2012-08-01  Roland McGrath  <roland@hack.frob.com>
6702         * libio/iofopen.c: Include <fcntl.h>.
6703         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
6704         (_IO_fopen64, fopen64): Define as aliases.
6705         * libio/iofopen64.c: Include <fcntl.h>.
6706         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
6707         Conditionalize body on this.
6708         * sysdeps/wordsize-64/iofopen.c: File removed.
6709         * sysdeps/wordsize-64/iofopen64.c: File removed.
6711 2012-08-01  Marek Polacek  <polacek@redhat.com>
6713         * libc/Makeconfig: Use elf in place of binfmt-subdir.
6714         Use dlfcn directly instead of a variable.
6715         (binfmt-subdir): Do not define.
6716         (dlfcn): Likewise.
6718 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
6720         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
6721         Remove all definitions.
6722         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
6723         <kernel-features.h>.
6724         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6725         (miss_F_GETOWN_EX): Remove all definitions.
6726         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
6727         macro definition.
6728         [!__ASSUME_FCNTL64]: Remove conditional code.
6729         [__ASSUME_FCNTL64]: Make code unconditional.
6730         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
6731         <kernel-features.h>.
6732         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6733         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
6734         (lockf64) [__NR_fcntl64]: Make code unconditional.
6735         (lockf64) [__ASSUME_FCNTL64]: Likewise.
6737         * sysdeps/unix/sysv/linux/kernel-features.h
6738         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
6739         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
6740         Make code unconditional.
6741         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6742         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
6744         [__NR_vfork]: Make code unconditional.
6745         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6746         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
6748         [__NR_vfork]: Make code unconditional.
6749         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6750         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6752 2012-08-01  Roland McGrath  <roland@hack.frob.com>
6754         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
6755         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
6757         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6758         Define mkstemp64 as an alias.
6759         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6760         Define mkstemps64 as an alias.
6761         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6762         Define mkostemp64 as an alias.
6763         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6764         Define mkostemps64 as an alias.
6765         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
6766         Conditionalize body on this.
6767         * misc/mkostemp64.c: Likewise.
6768         * misc/mkostemps64.c: Likewise.
6769         * misc/mkstemps64.c: Likewise.
6770         * sysdeps/wordsize-64/mkstemp64.c: File removed.
6771         * sysdeps/wordsize-64/mkostemp64.c: File removed.
6772         * sysdeps/wordsize-64/mkostemp.c: File removed.
6773         * sysdeps/wordsize-64/mkstemp.c: File removed.
6774         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
6775         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
6776         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
6777         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
6779         [BZ #14138]
6780         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
6781         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
6782         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
6783         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
6785         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
6786         compat_symbol macros from <shlib-compat.h> rather than the underlying
6787         default_symbol_version and symbol_version macros, so that DEFAULT
6788         lines in shlib-versions are respected.
6789         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
6791 2012-08-01  Florian Weimer  <fweimer@redhat.com>
6793         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
6794         Declare with warn_unused_result.
6795         (setgid, setregid, setegid, setresgid): Likewise.
6796         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
6797         Likewise.
6798         * WUR-REPORT: Remove set*id functions.
6800 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
6802         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
6804 2012-07-31  Roland McGrath  <roland@hack.frob.com>
6806         * include/sys/socket.h (__libc_accept, __libc_accept4):
6807         Add attribute_hidden.
6808         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
6810         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
6811         use of PTR_MANGLE.
6812         * inet/getnetgrent_r.c (setup): Likewise.
6814         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
6816 2012-07-31  David S. Miller  <davem@davemloft.net>
6818         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6820 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
6822         [BZ #13629]
6823         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
6824         value between 1.0 and 2.0 and smaller part has absolute value less
6825         than 1.0.
6826         * math/s_clog10.c (__clog10): Likewise.
6827         * math/s_clog10f.c (__clog10f): Likewise.
6828         * math/s_clog10l.c (__clog10l): Likewise.
6829         * math/s_clogf.c (__clogf): Likewise.
6830         * math/s_clogl.c (__clogl): Likewise.
6831         * math/libm-test.inc (clog_test): Add more tests.
6832         (clog10_test): Likewise.
6833         * sysdeps/i386/fpu/libm-test-ulps: Update.
6834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6836 2012-07-31  Florian Weimer  <fweimer@redhat.com>
6838         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
6839         Exit with zero in case no suitable GID is found, and write a
6840         message to standard error.
6842 2012-07-30  Roland McGrath  <roland@hack.frob.com>
6844         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
6845         rather than to 1.
6846         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
6847         (MAXPATHLEN): Removed.
6848         (NOGROUP, NODEV): New macros.
6849         (setbit, clrbit, isset, isclr): New macros.
6850         (howmany, roundup, powerof2): New macros.
6851         (DEV_BSIZE): New macro.
6853         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
6854         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
6856         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
6857         definition on [!__NO_LONG_DOUBLE_MATH].
6859         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
6860         PTR_MANGLE and PTR_DEMANGLE.
6862         * socket/accept4.c (accept4): Rename to __libc_accept4.
6863         Define accept4 as a weak alias.
6865         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
6866         on [_DIRENT_HAVE_D_TYPE].
6867         * io/ftw.c (ftw_dir): Likewise.
6869         * io/xmknod.c (__xmknod): Don't check PATH for being null.
6871         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
6873         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
6874         Use the BSD numbers rather than the arbitrary ones we had.
6875         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
6876         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
6877         (SIGXCPU, SIGXFSZ): New macros.
6878         (_NSIG): Now 32.
6880         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
6881         initializer on [_LIBC_REENTRANT].
6883         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
6884         definitions inside [_POSIX_MAPPED_FILES].
6886         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
6888         * dirent/opendir.c: Include <fcntl.h>.
6890         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
6891         (__libc_getspecific): Likewise.
6892         (__libc_key_create): Likewise.
6894         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
6895         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
6896         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
6897         (tmpfile64): Define as alias.
6898         * sysdeps/wordsize-64/tmpfile.c: File removed.
6899         * sysdeps/wordsize-64/tmpfile64.c: File removed.
6900         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
6901         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
6903         * stdio-common/vfscanf.c: Include <stdbool.h>.
6904         * nss/makedb.c: Likewise.
6905         * stdio-common/_i18n_number.h: Likewise.
6906         * argp/argp-help.c: Likewise.
6907         * posix/wordexp.c: Likewise.
6908         * sysdeps/posix/spawni.c: Likewise.
6909         * nss/nss_files/files-initgroups.c: Likewise.
6910         * stdio-common/reg-modifier.c: Include <stdlib.h>.
6911         * nss/nss_files/files-initgroups.c: Likewise.
6912         * nss/nss_db/db-netgrp.c: Likewise.
6913         * nss/nss_db/db-initgroups.c: Likewise.
6914         * io/fchmodat.c: Include <sys/stat.h>.
6916         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
6917         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
6919         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
6920         [HAVE_MMAP].
6922         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
6923         Add multiple inclusion protection.
6925 2012-07-27  David S. Miller  <davem@davemloft.net>
6927         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6929 2012-07-27  Gary Benson  <gbenson@redhat.com>
6931         [BZ #14298]
6932         * elf/rtld.c: Include <stap-probe.h>.
6933         (dl_main): Added static probes "init_start" and "init_complete".
6934         * elf/dl-load.c: Include <stap-probe.h>.
6935         (lose): Take new parameter "nsid".
6936         Added static probe "map_failed".
6937         (_dl_map_object_from_fd): Pass namespace id to lose.
6938         Added static probe "map_start".
6939         (open_verify): Pass namespace id to lose.
6940         * elf/dl-open.c: Include <stap-probe.h>.
6941         (dl_open_worker) Added static probes "map_complete", "reloc_start"
6942         and "reloc_complete".
6943         * elf/dl-close.c: Include <stap-probe.h>.
6944         (_dl_close_worker): Added static probes "unmap_start" and
6945         "unmap_complete".
6946         * elf/rtld-debugger-interface.txt: New file documenting the above.
6948 2012-07-26  Roland McGrath  <roland@hack.frob.com>
6950         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
6951         rather than a string variable.
6952         * sunrpc/rpc_main.c (h_output): Likewise.
6953         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
6955 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
6957         * inet/check_native.c: New file.
6959 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
6961         [BZ #13629]
6962         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
6963         if larger part has absolute value 1.0.
6964         * math/s_clog10.c (__clog10): Likewise.
6965         * math/s_clog10f.c (__clog10f): Likewise.
6966         * math/s_clog10l.c (__clog10l): Likewise.
6967         * math/s_clogf.c (__clogf): Likewise.
6968         * math/s_clogl.c (__clogl): Likewise.
6969         * math/libm-test.inc (clog_test): Add more tests.
6970         (clog10_test): Likewise.
6971         * sysdeps/i386/fpu/libm-test-ulps: Update.
6972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6974         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
6975         (pltexit): Likewise.
6976         (La_regs): Likewise.
6977         (La_retval): Likewise.
6978         (int_retval): Likewise.
6979         Update #error for removed macros to refer only to definitions in
6980         tst-audit.h.
6981         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
6982         macro.
6983         (pltexit): Likewise.
6984         (La_regs): Likewise.
6985         (La_retval): Likewise.
6986         (int_retval): Likewise.
6987         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
6988         macro.
6989         (pltexit): Likewise.
6990         (La_regs): Likewise.
6991         (La_retval): Likewise.
6992         (int_retval): Likewise.
6993         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
6994         macro.
6995         (pltexit): Likewise.
6996         (La_regs): Likewise.
6997         (La_retval): Likewise.
6998         (int_retval): Likewise.
6999         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
7000         macro.
7001         (pltexit): Likewise.
7002         (La_regs): Likewise.
7003         (La_retval): Likewise.
7004         (int_retval): Likewise.
7005         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
7006         macro.
7007         (pltexit): Likewise.
7008         (La_regs): Likewise.
7009         (La_retval): Likewise.
7010         (int_retval): Likewise.
7011         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
7012         macro.
7013         (pltexit): Likewise.
7014         (La_regs): Likewise.
7015         (La_retval): Likewise.
7016         (int_retval): Likewise.
7017         * sysdeps/generic/tst-audit.h: Update comment to refer only to
7018         macro definitions in tst-audit.h.
7019         * sysdeps/i386/tst-audit.h: New file.
7020         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
7021         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
7022         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
7023         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
7024         * sysdeps/sh/tst-audit.h: Likewise.
7025         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
7026         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
7027         * sysdeps/x86_64/tst-audit.h: Likewise.
7029 2012-07-26  Andreas Jaeger  <aj@suse.de>
7031         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
7032         ptrace.
7034         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
7035         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
7036         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
7037         PTRACE_O_MASK.
7038         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
7039         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
7040         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
7042         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
7043         value.
7045         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
7046         _sigsys.
7047         (si_call_addr, si_syscall, si_arch): Define new macro.
7048         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
7049         _sigsys.
7050         (si_call_addr, si_syscall, si_arch): Define new marcro.
7051         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
7052         _sigsys.
7053         (si_call_addr, si_syscall, si_arch): Define new macro.
7054         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
7055         _sigsys.
7056         (si_call_addr, si_syscall, si_arch): Define new macro.
7058 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
7060         [BZ #13717]
7061         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7062         Change to 2.4.21 where previously 2.4.1.
7063         * sysdeps/unix/sysv/linux/configure: Regenerated.
7064         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
7065         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
7066         Linux kernel version.
7067         (__ASSUME_STD_AUXV): Remove.
7068         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
7069         kernel version.
7070         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
7071         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
7072         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
7073         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
7074         (__ASSUME_NETLINK_SUPPORT): Likewise.
7075         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
7076         (__no_netlink_support): Remove conditional definition.
7077         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
7078         Remove.
7079         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7080         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
7081         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
7082         (if_nameindex_ioctl): Remove.
7083         (if_nameindex_netlink): Do not handle __no_netlink_support.
7084         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7085         code.
7086         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
7087         Remove conditional code.
7088         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7089         code.
7090         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
7091         unconditional.
7092         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7093         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
7094         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
7095         Remove.
7096         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
7097         [!__ASSUME_STD_AUXV]: Remove conditional code.
7098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
7099         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
7100         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
7101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
7102         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
7103         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7104         code.
7105         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7107         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
7108         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7109         conditional code.
7110         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7112         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7113         code.
7114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7115         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7116         conditional code.
7117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
7118         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7119         code unconditional.
7120         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7121         conditional code.
7122         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7123         unconditional.
7124         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7125         conditional code.
7126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7127         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7128         unconditional.
7129         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7130         conditional code.
7131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
7132         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7133         code unconditional.
7134         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7135         conditional code.
7136         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7137         unconditional.
7138         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7139         conditional code.
7140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
7141         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7142         code unconditional.
7143         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7144         conditional code.
7145         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7146         unconditional.
7147         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7148         conditional code.
7150 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
7152         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
7153         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
7154         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7155         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
7156         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
7157         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7158         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7159         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
7160         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
7161         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7162         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
7163         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7164         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
7165         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7166         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7167         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
7168         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
7169         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
7170         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
7171         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
7172         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
7173         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7174         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7176 2012-07-25  Florian Weimer  <fweimer@redhat.com>
7178         * Versions.def: Add GLIBC_2.17.
7179         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
7180         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
7181         Introduce __libc_secure_getenv.
7182         * stdlib/Versions (2.17): Add secure_getenv
7183         (GLIBC_PRIVATE): Add __libc_secure_getenv.
7184         * stdlib/secure-getenv.c: Rename __secure_getenv to
7185         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
7186         symbol __secure_getenv for GLIBC_2.0.
7187         * stdlib/tst-secure-getenv.c: New.
7188         * stdlib/Makefile (tests): Add testcase.
7189         * manual/startup.texi (Environment Access): Document
7190         secure_getenv.
7191         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
7192         __libc_secure_getenv.
7193         * inet/ruserpass.c (ruserpass): Likewise.
7194         * malloc/mtrace.c (mtrace): Likewise.
7195         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
7196         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
7197         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
7198         * sysdeps/posix/tempname.c: Likewise.  Evaluate
7199         HAVE_SECURE_GETENV.
7200         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
7201         __secure_getenv to __libc_secure_getenv.
7202         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
7203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7204         Likewise.
7205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7206         Likewise.
7207         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7208         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7209         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7210         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7211         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7212         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7213         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7215 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
7217         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
7218         (struct La_i86_retval): Likewise.
7219         (struct La_x86_64_regs): Likewise.
7220         (struct La_x86_64_retval): Likewise.
7221         (struct La_x32_regs): Likewise.
7222         (struct La_x32_retval): Likewise.
7223         (struct La_ppc32_regs): Likewise.
7224         (struct La_ppc32_retval): Likewise.
7225         (struct La_ppc64_regs): Likewise.
7226         (struct La_ppc64_retval): Likewise.
7227         (struct La_sh_regs): Likewise.
7228         (struct La_sh_retval): Likewise.
7229         (struct La_s390_32_regs): Likewise.
7230         (struct La_s390_32_retval): Likewise.
7231         (struct La_s390_64_regs): Likewise.
7232         (struct La_s390_64_retval): Likewise.
7233         (struct La_sparc32_regs): Likewise.
7234         (struct La_sparc32_retval): Likewise.
7235         (struct La_sparc64_regs): Likewise.
7236         (struct La_sparc64_retval): Likewise.
7237         (struct audit_ifaces): Remove architecture-specific pltenter and
7238         pltexit members.
7239         * sysdeps/i386/ldsodefs.h: New file.
7240         * sysdeps/powerpc/ldsodefs.h: Likewise.
7241         * sysdeps/s390/ldsodefs.h: Likewise.
7242         * sysdeps/sh/ldsodefs.h: Likewise.
7243         * sysdeps/sparc/ldsodefs.h: Likewise.
7244         * sysdeps/x86_64/ldsodefs.h: Likewise.
7246 2012-07-25  Marek Polacek  <polacek@redhat.com>
7248         [BZ #6808]
7249         * math/libm-test.inc (yn_test): Add another test.
7250         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
7251         to ERANGE when the result is +-Inf.
7252         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7253         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7254         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
7255         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
7257 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
7259         * conform/data/time.h-data (NULL): Use macro-constant.  Require
7260         equal to 0.
7261         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
7262         clock_t.
7263         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
7265 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
7267         * configure.in <sysdeps resolving>: Correct printing
7268         Implies_before.
7269         * configure: Regenerate.
7271 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
7273         * math/w_ilogb.c: Include <limits.h>.
7274         * math/w_ilogbl.c: Likewise.
7276 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
7278         * manual/lang.texi (__va_copy): Document primarily as ISO C99
7279         va_copy.  Document allowing for unavailable va_copy only as
7280         pre-C99 compatibility.
7281         * manual/string.texi (Copying and Concatenation): Use va_copy
7282         instead of __va_copy in concat example.
7284 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
7286         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
7287         (__sendto): Use create_address_port.  Initialize APORT and deallocate
7288         it if not null.
7290         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
7291         with O_NOLINK passed to __file_name_lookup.
7293         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
7294         with O_NOLINK passed to __file_name_lookup.
7296         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
7297         negative N or less than NGIDS.
7299         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
7300         type to string_t.  Set ERANGE as errno and return it if NAME is not big
7301         enough.  Use memcpy instead of strncpy.
7303 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
7305         * elf/Makefile (check-data): Remove.
7306         (localplt.data): New vpath directive.
7307         ($(objpfx)check-localplt.out): Use localplt.data from vpath
7308         instead of $(check-data).
7309         * scripts/data/localplt-generic.data: Move to ...
7310         * sysdeps/generic/localplt.data: ... here.
7311         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
7312         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
7313         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
7314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7315         ... here.
7316         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
7317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7318         ... here.
7319         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
7320         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
7321         ... here.
7322         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
7323         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7324         ... here.
7325         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
7326         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
7327         ... here.
7328         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
7329         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
7330         ... here.
7332 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7334         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
7335         PPC32 and PPC64 files.
7336         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
7337         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
7339 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7341         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
7342         __makecontext_ret to ...
7343         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
7344         ... here and call exit if uc_link is NULL.  New file.
7345         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
7346         __makecontext_ret.S.
7347         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
7348         __makecontext_ret to ...
7349         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
7350         ... here and call exit if uc_link is NULL.  New file.
7351         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
7352         __makecontext_ret.S.
7354 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7356         * elf/elf.h (R_390_IRELATIVE): New definition.
7357         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
7358         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
7359         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
7360         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7361         (elf_machine_lazy_rel): Likewise.
7362         * sysdeps/s390/dl-irel.h: New file.
7363         * sysdeps/s390/s390-64/memcpy.S: New asm code.
7364         * sysdeps/s390/s390-64/memset.S: New asm code.
7365         * sysdeps/s390/s390-64/memcmp.S: New asm code.
7366         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
7367         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
7368         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
7369         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
7370         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
7371         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
7372         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
7373         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
7374         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
7375         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
7376         * sysdeps/s390/s390-32/memcpy.S: New asm code.
7377         * sysdeps/s390/s390-32/memset.S: New asm code.
7378         * sysdeps/s390/s390-32/memcmp.S: New asm code.
7380 2012-07-17  Marek Polacek  <polacek@redhat.com>
7382         [BZ #14349]
7383         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
7384         * sysdeps/s390/s390-64/configure.in: Likewise.
7385         * sysdeps/sparc/configure.in: Likewise.
7386         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
7387         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
7388         * sysdeps/i386/configure.in: Likewise.
7389         * sysdeps/x86_64/configure.in: Likewise.
7390         * sysdeps/sh/configure.in: Likewise.
7391         * sysdeps/s390/s390-32/configure: Regenerated.
7392         * sysdeps/s390/s390-64/configure: Likewise.
7393         * sysdeps/x86_64/configure: Likewise.
7394         * sysdeps/sh/configure: Likewise.
7395         * sysdeps/powerpc/powerpc64/configure: Likewise.
7396         * sysdeps/powerpc/powerpc32/configure: Likewise.
7397         * sysdeps/sparc/configure: Likwise.
7398         * sysdeps/i386/configure: Likewise.
7400         * elf/dl-open.c: Comment fixes.
7402 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
7404         * Makefile [CXX] (check-data): Remove.
7405         [CXX] (c++-types.data): New vpath directive.
7406         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
7407         vpath.  Do not allow for C++ type data being missing.
7408         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
7409         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
7410         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
7411         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
7412         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
7413         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
7414         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
7415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7416         ... here.
7417         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
7418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7419         ... here.
7420         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
7421         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
7422         ... here.
7423         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
7424         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
7425         ... here.
7426         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
7427         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
7428         ... here.
7429         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
7430         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
7431         ... here.
7432         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
7433         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
7434         ... here.
7435         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
7436         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
7438         * elf/tls-macros.h (TLS_LE): Move architecture-specific
7439         definitions to architecture-specific files.
7440         (TLS_IE): Likewise.
7441         (TLS_LD): Likewise.
7442         (TLS_GD): Likewise.
7443         * sysdeps/i386/tls-macros.h: New file.
7444         * sysdeps/powerpc/tls-macros.h: Likewise.
7445         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7446         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7447         * sysdeps/sh/tls-macros.h: Likewise.
7448         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
7449         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
7450         * sysdeps/x86_64/tls-macros.h: Likewise.
7452 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
7454         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
7455         zero value for regular exit case.
7457         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7458         (__start_context): Preserve zero value for regular exit case.
7460 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
7461             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7463         * manual/setjmp.texi (setcontext): Clarify normal process
7464         termination when uc_link is the null pointer.
7465         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
7466         exit call.
7468 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
7470         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
7471         preprocessor.  Test for each exception mask separately.
7473 2012-07-16  Andreas Jaeger  <aj@suse.de>
7475         * po/ru.po: Update from translation team.
7477 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
7479         * conform/data/string.h-data (NULL): Use macro-constant.  Require
7480         equal to 0.
7481         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7482         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7483         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
7484         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
7485         [ISO || ISO99 || ISO11] (*_t): Do not allow.
7487 2012-07-13  Andreas Jaeger  <aj@suse.de>
7489         * po/fr.po: Update from translation team.
7491 2012-07-12  Marek Polacek  <polacek@redhat.com>
7493         [BZ #14173]
7494         * math/libm-test.inc (yn_test): Add test for BZ #14173.
7495         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
7496         loop condition.
7498 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
7500         [BZ #13717]
7501         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7502         Change to 2.4.1 where previously 2.4.0.
7503         * sysdeps/unix/sysv/linux/configure: Regenerated.
7504         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
7505         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
7506         version.
7507         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
7508         (__ASSUME_AT_CLKTCK): Remove.
7509         (__ASSUME_AT_PAGESIZE): Likewise.
7510         (__ASSUME_AT_XID): Likewise.
7511         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
7512         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
7513         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
7514         unconditionally.
7515         (HAVE_AUX_PAGESIZE): Likewise.
7516         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
7517         [__ASSUME_AT_CLKTCK]: Make code unconditional.
7518         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
7520 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
7522         [BZ #14307]
7523         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
7524         the temporary buffer used to invoke __gethostbyname2_r,
7525         __gethostbyaddr_r and gethostbyname4_r to make room for struct
7526         host_data / struct gaih_addrtuple.
7527         * resolv/nss_dns/dns-host.c (global scope): Move definition of
7528         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
7529         header file nss/nsswitch.h.
7530         * nss/nsswitch.h (global scope): Add definition of implementation
7531         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
7532         resolv/nss_dns/dns-host.c).
7534 2012-07-11  Andreas Jaeger  <aj@suse.de>
7536         * po/fr.po: Update from translation team.
7538         * po/sv.po: Update from translation team
7539         * po/fr.po: Another update from translation team.
7541 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7543         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
7544         for subnormals or multiply small sinh result by itself.
7545         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7546         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7548 2012-07-11  David S. Miller  <davem@davemloft.net>
7550         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7552 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
7554         [BZ #14347]
7555         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
7556         (INTERNAL_MARK): Shift it here.
7558 2012-07-10  Marek Polacek  <polacek@redhat.com>
7560         [BZ #14151]
7561         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
7562         libc_cv_asm_global_directive with .globl.
7563         * configure: Regenerated.
7564         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
7565         with .globl.
7566         * sysdeps/i386/configure: Regenerated.
7567         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
7568         with .globl.
7569         * sysdeps/x86_64/configure: Regenerated.
7570         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
7571         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
7572         * elf/tst-unique2mod2.c: Likewise.
7573         * elf/tst-unique2mod1.c: Likewise.
7574         * elf/tst-unique1mod2.c: Likewise.
7575         * elf/tst-unique1mod1.c: Likewise.
7576         * sysdeps/s390/s390-32/sysdep.h: Likewise.
7577         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7578         * sysdeps/s390/s390-64/sysdep.h: Likewise.
7579         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7580         * sysdeps/mach/sysdep.h: Likewise.
7581         * sysdeps/i386/sysdep.h: Likewise.
7582         * sysdeps/i386/i386-mcount.S: Likewise.
7583         * sysdeps/x86_64/_mcount.S: Likewise.
7584         * sysdeps/x86_64/sysdep.h: Likewise.
7585         * sysdeps/sh/_mcount.S: Likewise.
7586         * sysdeps/sh/sysdep.h: Likewise.
7587         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
7588         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
7589         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
7590         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7591         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
7592         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
7593         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
7594         * locale/localeinfo.h: Likewise.
7595         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
7596         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
7598 2012-07-09  Roland McGrath  <roland@hack.frob.com>
7600         [BZ #14336]
7601         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
7602         system".
7603         * manual/message.texi (The Uniforum approach): Likewise.
7604         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
7605         (glibc iconv Implementation): Likewise.
7607 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
7609         [BZ #14337]
7610         * math/s_clog.c (__clog): Avoid scaling a value down where that
7611         could result in underflow.
7612         * math/s_clog10.c (__clog10): Likewise.
7613         * math/s_clog10f.c (__clog10f): Likewise.
7614         * math/s_clog10l.c (__clog10l): Likewise.
7615         * math/s_clogf.c (__clogf): Likewise.
7616         * math/s_clogl.c (__clogl): Likewise.
7617         * math/libm-test.inc (clog_test): Add more tests.
7618         (clog10_test): Likewise.
7619         * sysdeps/i386/fpu/libm-test-ulps: Update.
7620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7622 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
7624         [BZ #14283]
7625         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
7626         by 7 not 8 to examine high bit of fractional part.
7628         [BZ #14042]
7629         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
7630         for call to __mcount_internal.
7631         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
7632         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
7633         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
7635 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
7637         [BZ #14154]
7638         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
7639         approximation for values within 0x1p-13f of an odd multiple of
7640         pi/4.
7641         * math/libm-test.inc (tan_test): Do not allow spurious underflow
7642         exception.  Add more tests.
7643         * sysdeps/i386/fpu/libm-test-ulps: Update.
7645         [BZ #6778]
7646         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
7647         inputs and return -1 for them.  Do not check for +Inf in case not
7648         reachable for +Inf.
7649         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7650         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
7651         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7652         and return -1 for them.  Do not check for +Inf in case not
7653         reachable for +Inf.
7654         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
7655         define.
7656         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7657         and return -1 for them.  Do not check for +Inf in case not
7658         reachable for +Inf.
7659         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
7660         spurious underflow.
7661         * sysdeps/i386/fpu/libm-test-ulps: Update.
7662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7664 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
7666         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
7668 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
7670         [BZ #14157]
7671         [BZ #14331]
7672         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
7673         could result in spurious underflow.  Scale down values above
7674         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
7675         * math/s_csqrtf.c (__csqrtf): Likewise.
7676         * math/s_csqrtl.c (__csqrtl): Likewise.
7677         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
7678         spurious underflow.
7679         * sysdeps/i386/fpu/libm-test-ulps: Update.
7680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7682 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
7684         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
7685         xopen-msg.sed.
7686         * catgets/xopen-msg.awk: New file.
7687         * catgets/xopen-msg.sed: Removed.
7689         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
7690         po2text.sed.
7691         * intl/po2test.awk: New file.
7692         * intl/po2test.sed: Removed.
7694 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
7696         [BZ #14328]
7697         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
7698         or multiply small sinh result by itself.
7699         * math/s_ctanf.c (__ctanf): Likewise.
7700         * math/s_ctanh.c (__ctanh): Likewise.
7701         * math/s_ctanhf.c (__ctanhf): Likewise.
7702         * math/s_ctanhl.c (__ctanhl): Likewise.
7703         * math/s_ctanl.c (__ctanl): Likewise.
7704         * math/libm-test.inc (ctan_test_tonearest): New function.
7705         (ctan_test_towardzero): Likewise.
7706         (ctan_test_downward): Likewise.
7707         (ctan_test_upward): Likewise.
7708         (ctanh_test_tonearest): Likewise.
7709         (ctanh_test_towardzero): Likewise.
7710         (ctanh_test_downward): Likewise.
7711         (ctanh_test_upward): Likewise.
7712         (main): Call these new functions.
7713         * sysdeps/i386/fpu/libm-test-ulps: Update.
7714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7716 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
7718         * .gitignore: Delete /ports entry.
7720 2012-07-03  Andreas Jaeger  <aj@suse.de>
7722         * po/bg.po: Update from translation team.
7723         * po/cs.po: Likewise.
7724         * po/de.po: Likewise.
7725         * po/hr.po: Likewise.
7726         * po/nl.pl: Likewise.
7727         * po/pl.po: Likewise.
7728         * po/vi.po: Likewise.
7730 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
7732         * Makeconfig [!+link] (+link-before-libc): New variable.
7733         [!+link] (+link-after-libc): Likewise.
7734         [!+link] (+link-tests): Likewise.
7735         [!+link] (+link): Define in terms of $(+link-before-libc) and
7736         $(+link-after-libc).
7737         [!+link-static] (+link-static-before-libc): New variable.
7738         [!+link-static] (+link-static-after-libc): Likewise.
7739         [!+link-static] (+link-static-tests): Likewise.
7740         [!+link-static] (+link-static): Define in terms of
7741         $(+link-static-before-libc) and $(+link-static-after-libc).
7742         [build-shared] (link-libc-before-gnulib): New variable.
7743         [build-shared] (link-libc-tests): Likewise.
7744         [build-shared] (link-libc): Define in terms of
7745         $(link-libc-before-gnulib).
7746         [!build-shared] (link-libc-tests): New variable.
7747         (link-libc-static-tests): New variable.
7748         [!gnulib] (gnulib-arch): New variable.
7749         [!gnulib] (gnulib-tests): Likewise.
7750         [!gnulib] (static-gnulib-arch): Likewise.
7751         [!gnulib] (static-gnulib-tests): Likewise.
7752         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
7753         Define with "=" instead of ":=".
7754         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
7755         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
7756         * Rules (binaries-all-notests): New variable.
7757         (binaries-all-tests): Likewise.
7758         (binaries-static-notests): Likewise.
7759         (binaries-static-tests): Likewise.
7760         (binaries-all): Define using $(binaries-all-notests) and
7761         $(binaries-all-tests).
7762         (binaries-static): Define using $(binaries-static-notests) and
7763         $(binaries-static-tests).
7764         (binaries-shared-tests): New variable.
7765         (binaries-shared-notests): Likewise.
7766         (binaries-shared): Remove variable.
7767         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
7768         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
7769         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
7770         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
7771         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
7772         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
7773         * elf/Makefile (sln-modules): New variable.
7774         (extra-objs): Add $(sln-modules:=.o).
7775         (ldconfig-modules): Add static-stubs.
7776         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
7777         * elf/static-stubs.c: New file.
7779         [BZ #14283]
7780         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
7781         by 7 not 8 to examine high bit of fractional part.  Use volatile
7782         variables when splitting into final array of floats if
7783         __FLT_EVAL_METHOD__ != 0.
7784         * math/libm-test.inc (cos_test): Add another test.
7785         (sin_test): Likewise.
7786         * sysdeps/i386/fpu/libm-test-ulps: Update.
7788         [BZ #14273]
7789         * math/libm-test.inc (cosh_test): Add more tests.
7791         * version.h (RELEASE): Set to "development".
7792         (VERSION): Set to "2.16.90".
7794 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
7796         * NEWS: Update copyright. Remove last-updated date.
7797         Mention math library bug fixes and timezone data changes.
7798         * README: Mention GNU/Hurd, x32, and HPPA support status.
7800 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
7802         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
7804 2012-06-27  Andreas Jaeger  <aj@suse.de>
7806         * manual/contrib.texi (Contributors): Add Samuel Thibault.
7808 2012-06-25  Andreas Jaeger  <aj@suse.de>
7810         * sysdeps/s390/fpu/libm-test-ulps: Update.
7812 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
7813             Thomas Schwinge  <thomas@codesourcery.com>
7815         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
7816         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
7817         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
7818         fanotify_mark.
7820 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
7822         * sysdeps/mach/start.c: Remove file.
7823         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
7824         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
7825         * sysdeps/sh/init-first.c: Likewise.
7827         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
7828         registers for frame unwinding purposes, add CFI directives.
7829         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7830         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
7831         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
7832         Likewise.
7834         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
7835         __fortify_fail returning.
7836         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7838         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
7839         sysdeps/sh/____longjmp_chk.S.
7840         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
7841         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
7842         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
7843         (gen-as-const-headers): Append sigaltstack-offsets.sym.
7845         * sysdeps/sh/abort-instr.h: New file.
7846         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
7847         process in case exit returns.
7849         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
7850         initialize the GOT register before use.
7852         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
7853         calculation of ARGC > 4.
7855         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
7856         meaningful names to some local labels.
7858 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
7859             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7861         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
7862         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
7863         (__arch_compare_and_exchange_val_16_acq): Likewise.
7864         (__arch_compare_and_exchange_val_32_acq): Likewise.
7865         (atomic_exchange_and_add): Fix gUSA sequence.
7866         (atomic_add): Likewise.
7867         (atomic_add_negative): Likewise.
7868         (atomic_add_zero): Likewise.
7869         (atomic_bit_test_set): Likewise.
7871 2012-06-22  Andreas Schwab  <schwab@redhat.com>
7873         [BZ #13579]
7874         * include/link.h (struct link_map): Add l_free_initfini.
7875         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
7876         l_initfini.
7877         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
7878         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
7879         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
7880         set.
7882 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
7884         * configure.in: Use AC_LANG_SOURCE.
7885         * configure: Regenerate.
7887 2012-06-22  Roland McGrath  <roland@hack.frob.com>
7889         * configure.in (libc_cv_localstatedir): New substituted variable.
7890         * configure: Regenerated.
7891         * config.make.in (localstatedir): New variable, substituted from
7892         libc_cv_localstatedir.
7893         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
7894         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
7895         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
7896         * sysdeps/gnu/configure: Regenerated.
7898 2012-06-21  Jeff Law  <law@redhat.com>
7900         [BZ #14277]
7901         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
7902         free.  Simplify list management for _LIBC case.
7904 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
7906         [BZ #14273]
7907         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7908         Clear sign bit of 64-bit integer value before comparing against
7909         overflow value.
7911         * sysdeps/mach/configure: Regenerated.
7913 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
7915         [BZ #14278]
7916         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
7918 2012-06-21  Jeff Law  <law@redhat.com>
7920         [BZ #13882]
7921         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
7922         uint16_t for elements in the "seen" array to avoid char overflows.
7923         * elf/dl-fini.c (_dl_sort_fini): Likewise.
7924         * elf/dl-open.c (dl_open_worker): Likewise.
7926 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
7928         * scripts/list-sources.sh: Scan PORTS for translations.
7929         * po/libc.pot: Regenerated.
7931 2012-06-21  Andreas Jaeger  <aj@suse.de>
7933         [BZ #12194]
7934         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
7935         warning.
7936         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
7937         * bits/byteswap-16.h (__bswap_16): Likewise.
7938         * bits/byteswap.h (__bswap_constant_16): Likewise.
7940 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
7942         [BZ #14117]
7943         * sysdeps/i386/fpu_control.h: Removed.
7944         * sysdeps/x86_64/fpu_control.h: Moved to ...
7945         * sysdeps/x86/fpu_control.h: Here.
7947         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
7948         (_FPU_SETCW): Likewise.
7950 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
7952         [BZ #14117]
7953         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
7954         * sysdeps/x86/fpu/bits/mathinline.h: This.
7955         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
7957         [BZ #14050]
7958         [BZ #14117]
7959         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
7960         functions if __x86_64__ is defined.
7962 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
7964         * string/endian.h: Add !__ASSEMBLER__ condition for including
7965         conversion interfaces.
7967 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
7969         [BZ #14241]
7970         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
7971         of ABS(x) in calculating zero to negative powers other than odd
7972         integers.
7973         * math/libm-test.inc (pow_test): Add more tests.
7975 2012-06-15  Andreas Jaeger  <aj@suse.de>
7977         * manual/contrib.texi (Contributors): Update entry of Liubov
7978         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
7979         Machado Filho.
7981 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
7983         * string/string.h: Add __wur to GNU version of strerror_r.
7985 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
7987         [BZ #14229]
7988         * string/Makefile (tests): Add tst-strtok_r.
7989         * string/tst-strtok_r.c: New file.
7990         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
7991         RAX_LP/RDX_LP on SAVE_PTR.
7993 2012-06-14  Roland McGrath  <roland@hack.frob.com>
7995         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
7997 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
7999         * libm_test.inc (csqrt_test): Allow more spurious underflow
8000         exceptions.
8001         (j0_test): Likewise.
8002         (j1_test): Likewise.
8003         (y0_test): Likewise.
8004         (y1_test): Likewise.
8006 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
8008         * po/Makefile (libc.pot): Use UTF-8 charset.
8010 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
8012         [BZ #14210]
8013         Suppress sign-conversion warning from FD_SET.
8014         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
8015         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
8016         not unsigned long int.
8017         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
8019 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
8021         [BZ #14050]
8022         [BZ #14117]
8023         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
8024         __extern_always_inline instead of __extern_inline.
8025         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
8026         (__signbit): Likewise.
8027         (__signbitl): Support C++ namespace.
8028         (lrintf): New inline function.
8029         (lrint): Likewise.
8030         (llrintf): Likewise.
8031         (llrint): Likewise.
8032         (fmaxf): Likewise.
8033         (fmax): Likewise.
8034         (fminf): Likewise.
8035         (fmin): Likewise.
8036         (rint): Likewise.
8037         (rintf): Likewise.
8038         (ceil): Likewise.
8039         (ceilf): Likewise.
8040         (floor): Likewise.
8041         (floorf): Likewise.
8042         (nearbyint): Likewise.
8043         (nearbyintf): Likewise.
8045 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
8047         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
8048         non-default versions.
8050 2012-06-11  Roland McGrath  <roland@hack.frob.com>
8052         [BZ #14218]
8053         * manual/argp.texi (Argp): Reword argp_parse description slightly.
8055 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
8057         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
8058         (FE_UPWARD, FE_DOWNWARD): Don't define.
8059         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
8060         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8062         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
8063         reading it.
8064         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8065         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8067 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8069         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8070         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
8071         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
8072         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
8074 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
8076         [BZ #14117]
8077         * sysdeps/i386/fpu/bits/fenv.h: Removed.
8078         * sysdeps/i386/fpu/Implies: New file.
8079         * sysdeps/x86_64/fpu/Implies: Likewise.
8080         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
8081         * sysdeps/x86/fpu/bits/fenv.h: This.
8083         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
8084         __SSE_MATH__.
8086 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
8088         [BZ #14134]
8089         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
8090         character 0xffff that matches the last element of the
8091         conversion table.
8093 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8095         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
8096         fmodl commit.
8098 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8100         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
8101         values higher than 25.6283.
8103 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8105         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
8106         subnormal exponent extraction and add some __builtin_expect.
8107         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
8108         Fix for subnormal mantissa calculation.
8110 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
8112         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
8113         cpu2 is -1 and errno is not ENOSYS.
8115 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
8117         [BZ #14117]
8118         * sysdeps/i386/i486/bits/string.h: Renamed to ...
8119         * sysdeps/x86/bits/string.h: This.
8120         * sysdeps/x86_64/bits/string.h: Removed.
8122         * sysdeps/i386/i486/bits/string.h: Define inline functions only
8123         if not compiling for x86-64, but compiling for >= i486.
8125         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
8126         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
8128         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
8129         New macro from Linux kernel 3.4.0.
8130         (FP_XSTATE_MAGIC2): Likewise.
8131         (FP_XSTATE_MAGIC2_SIZE): Likewise.
8132         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
8133         (struct _fpx_sw_bytes): New struct.
8134         (struct _xsave_hdr): Likewise.
8135         (struct _ymmh_state): Likewise.
8136         (struct _xstate): Likewise.
8138         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
8139         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
8140         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
8141         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
8142         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
8143         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
8145         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
8146         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
8147         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
8148         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
8149         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
8150         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
8152 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8154         [BZ #13743]
8155         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
8156         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
8157         (sysdep_headers): Include sys/platform/ppc.h.
8158         * sysdeps/powerpc/test-gettimebase.c: Test for
8159         __ppc_get_timebase() to catch future ISA opcode/insn changes.
8160         * manual/Makefile (appendices): Include platform.texi.
8161         * manual/contrib.texi (Contributors): Update @node pointers.
8162         * manual/maint.texi (Maintenance): Likewise.
8163         (Platform): New node.
8164         * manual/platform.texi: New file.  Document the new features.
8166 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8167             Jakub Jelinek  <jakub@redhat.com>
8169         [BZ #14188]
8170         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
8171         where __builtin_expect is unavailable.
8173 2012-06-03  David S. Miller  <davem@davemloft.net>
8175         * stdlib/longlong.h: Updated from GCC.
8177 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
8179         [BZ #14042]
8180         * sysdeps/powerpc/powerpc32/mcount.c: New file.
8181         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
8182         __mcount_internal.
8183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8184         (GLIBC_2.16): Likewise.
8186 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
8188         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
8190 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
8192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8193         (default-abi): New variable.
8194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
8195         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
8196         variable.
8197         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
8198         Likewise.
8199         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
8200         Likewise.
8201         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
8202         Likewise.
8204         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
8205         definition.  Document in comment.
8207 2012-06-01  David S. Miller  <davem@davemloft.net>
8209         * stdlib/longlong.h: Updated from GCC.
8211 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
8213         [BZ #14117]
8214         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
8215         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
8216         sys/debugreg.h sys/io.h here.
8217         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
8218         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
8219         sys/io.h.
8220         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
8221         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
8222         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
8223         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
8224         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
8225         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
8227         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
8228         Define only if __x86_64__ is defined.
8230 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
8232         [BZ #14048]
8233         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
8234         Use int64_t for variable i.
8235         * math/libm-test.inc (fmod_test): Add more tests.
8237         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
8238         z computation is not scheduled after fetestexcept.
8239         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
8240         Use math_force_eval instead of asm to ensure calculation scheduled
8241         before exception test.
8242         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
8243         Ensure a1 + u.d computation is not scheduled after fetestexcept.
8245 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
8247         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
8248         computation is not scheduled after fetestexcept.
8250 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
8252         [BZ #14117]
8253         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
8254         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
8256 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8258         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
8259         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8261 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
8263         [BZ #14117]
8264         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
8265         <bits/wordsize.h>.
8266         (__WCHAR_MIN): Support __WORDSIZE == 64.
8267         (__WCHAR_MAX): Likewise.
8269         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
8270         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
8272         [BZ #14183]
8273         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
8274         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
8276         [BZ #14117]
8277         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
8278         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
8280         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
8281         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
8283         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
8284         Defined to 1 if __x86_64__ isn't defined.
8285         (_STAT_VER_LINUX_OLD): New.
8286         (st_atime): Remove duplicate.
8287         (st_mtime): Likewise.
8288         (st_ctime): Likewise.
8290 2012-05-31  David S. Miller  <davem@davemloft.net>
8292         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
8293         entries.
8295 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
8297         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
8298         gen-libm-test.pl.
8300         [BZ #14132]
8301         * elf/dl-reloc.c: Include <_itoa.h>.
8302         (_dl_reloc_bad_type): Remove use of INTUSE.
8303         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
8304         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
8305         * stdio-common/psiginfo.c (psiginfo): Likewise.
8306         * stdio-common/psignal.c (psignal): Likewise.
8307         * string/strsignal.c (strsignal): Likewise.
8308         * include/signal.h (_sys_siglist): Declare hidden proto.
8309         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
8310         INTVARDEF with libc_hidden_data_def.
8311         * stdio-common/itoa-udigits.c: Likewise.
8312         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
8313         (_itoa_lower_digits_internal): Remove declaration.
8314         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
8315         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
8316         (_sys_sigabbrev_internal): Remove aliases.
8317         (_sys_siglist): Define hidden alias.
8319 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
8321         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8322         bits/sysctl.h.
8324 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
8326         [BZ #14117]
8327         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
8328         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
8330         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
8331         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
8332         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
8333         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
8334         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
8335         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
8337         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
8338         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
8339         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
8341         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
8342         with __addr.
8343         (insw): Likewise.
8344         (insl): Likewise.
8345         (outsb): Likewise.
8346         (outsw): Likewise.
8347         (outsl): Likewise.
8349         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
8350         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
8351         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
8353         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
8354         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
8355         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
8356         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
8357         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
8358         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
8360         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
8361         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
8363         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
8364         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
8366         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
8367         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
8368         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
8370         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
8371         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
8372         to ...
8373         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
8375         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
8376         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
8377         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
8379         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
8380         for x86-64.
8381         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
8383 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
8385         * math/math.h (M_El): Use two more decimal places.
8386         (M_LOG2El): Likewise.
8387         (M_LOG10El): Likewise.
8388         (M_LN2l): Likewise.
8389         (M_LN10l): Likewise.
8390         (M_PIl): Likewise.
8391         (M_PI_2l): Likewise.
8392         (M_PI_4l): Likewise.
8393         (M_1_PIl): Likewise.
8394         (M_2_PIl): Likewise.
8395         (M_2_SQRTPIl): Likewise.
8396         (M_SQRT2l): Likewise.
8397         (M_SQRT1_2l): Likewise.
8399 2012-05-31  David S. Miller  <davem@davemloft.net>
8401         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
8402         values between float registers.
8403         * sysdeps/sparc/sparc64/memset.S: Likewise.
8404         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8406 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
8408         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
8409         -D_FORTIFY_SOURCE=1.
8410         (CPPFLAGS-tst-longjmp_chk.c): Define.
8411         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
8412         (CPPFLAGS-tst-longjmp_chk2.c): Define.
8413         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
8414         CFLAGS-tst-wchar-h.c.
8416 2012-05-31  Marek Polacek  <polacek@redhat.com>
8418         [BZ #14132]
8419         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
8420         __endmntent_internal): Remove declaration.
8421         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
8422         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
8423         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
8425 2012-05-30  David S. Miller  <davem@davemloft.net>
8427         * sysdeps/sparc/sparc32/soft-fp/q_util.c
8428         (___Q_simulate_exceptions): Use real FP ops rather than writing
8429         into the %fsr.
8430         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
8431         Likewise.
8433 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
8435         [BZ #14117]
8436         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
8437         * sysdeps/x86/bits/xtitypes.h: This.
8439         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
8440         * sysdeps/x86/bits/wordsize.h: This.
8442         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
8443         * sysdeps/x86/bits/huge_vall.h: This.
8445         * sysdeps/i386/bits/select.h: Removed.
8446         * sysdeps/x86_64/bits/select.h: Renamed to ...
8447         * sysdeps/x86/bits/select.h: This.
8449         * sysdeps/i386/bits/setjmp.h: Removed.
8450         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
8451         * sysdeps/x86/bits/setjmp.h: This.
8453         * sysdeps/i386/bits/mathdef.h: Removed.
8454         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
8455         * sysdeps/x86/bits/mathdef.h: This.
8457 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
8459         [BZ #14132]
8460         * include/sys/socket.h (__connect_internal)
8461         (__libc_sa_len_internal): Remove declaration.
8462         (__connect, __libc_sa_len): Declare hidden_proto.
8463         (SA_LEN): Remove use of INTUSE.
8464         * socket/connect.c: Add libc_hidden_def.
8465         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
8466         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
8467         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
8468         alias.
8469         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8470         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8471         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
8472         of adding _internal alias.
8474 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
8476         [BZ #14117]
8477         * sysdeps/i386/bits/link.h: Removed.
8478         * sysdeps/i386/bits/linkmap.h: Likewise.
8479         * sysdeps/x86_64/bits/link.h: Renamed to ...
8480         * sysdeps/x86/bits/link.h: This.
8481         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
8482         * sysdeps/x86/bits/linkmap.h: This.
8484         * sysdeps/i386/bits/endian.h: Removed.
8485         * sysdeps/x86_64/bits/endian.h: Renamed to ...
8486         * sysdeps/x86/bits/endian.h: This.
8488         * sysdeps/i386/bits/byteswap.h: Removed.
8489         * sysdeps/i386/bits/byteswap-16.h: Likewise.
8490         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
8491         * sysdeps/x86/bits/byteswap.h: This.
8492         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
8493         * sysdeps/x86/bits/byteswap-16.h: This.
8494         * sysdeps/i386/Implies: Add x86.
8495         * sysdeps/x86_64/Implies: Likewise.
8497 2012-05-30  David S. Miller  <davem@davemloft.net>
8499         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
8500         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
8501         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8502         (FP_TRAPPING_EXCEPTIONS): Define.
8503         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8504         (FP_TRAPPING_EXCEPTIONS): Define.
8505         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
8506         subnormals only when inexact has been signalled or underflow
8507         exceptions are enabled.
8508         (_FP_PACK_CANONICAL): Likewise.
8510 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
8512         [BZ #14183]
8513         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
8514         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
8516 2012-05-30  Richard Henderson  <rth@twiddle.net>
8518         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
8519         with #ifndef NOT_IN_libc.
8521         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
8522         marked to avoid plt entry.
8524 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
8526         [BZ #14112]
8527         * Makeconfig (default-abi): New macro.
8528         (abi-includes): Likewise.
8529         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
8530         $(abi-$(default-abi)-lib-soname) for soname if defined.
8531         ($(common-objpfx)gnu/lib-names.stmp): Generate from
8532         abi-variants.
8533         * Makefile (installed-stubs): Likewise.
8534         * include/stubs-biarch.h: Removed.
8535         * scripts/lib-names.awk: Only handle one library at a time.
8536         * scripts/soversions.awk: Remove WORDSIZE support.
8537         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
8538         entries.
8539         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
8540         Removed.
8541         (syscall-list-default-condition): Likewise.
8542         (syscall-list-default-condition): Likewise.
8543         (syscall-list-includes): Likewise.
8544         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
8545         syscall-list-* with abi-*.  Handle undefined abi-variants.
8546         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
8547         * sysdeps/unix/sysv/linux/i386/Implies: New file.
8548         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
8549         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
8550         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
8551         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
8552         Removed.
8553         (syscall-list-32-options): Likewise.
8554         (syscall-list-32-condition): Likewise.
8555         (syscall-list-64-options): Likewise.
8556         (syscall-list-64-condition): Likewise.
8557         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
8558         macro.
8559         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
8560         Renamed to ...
8561         (abi-*): This.
8562         (abi-64-ld-soname): New macro.
8563         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
8564         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
8565         Renamed to ...
8566         (abi-*): This.
8567         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
8568         * sysdeps/x86_64/x32/shlib-versions: Likewise.
8570 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
8572         * sysdeps/unix/sysv/linux/kernel-features.h
8573         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
8574         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
8575         include <kernel-features.h>.
8576         [!__NR_ftruncate64]: Remove conditional code.
8577         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8578         [__NR_ftruncate64]: Make code unconditional.
8579         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8580         * sysdeps/unix/sysv/linux/truncate64.c: Do not
8581         include <kernel-features.h>.
8582         [!__NR_ftruncate64]: Remove conditional code.
8583         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8584         [__NR_ftruncate64]: Make code unconditional.
8585         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
8587         include <kernel-features.h>.
8588         [!__NR_ftruncate64]: Remove conditional code.
8589         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8590         [__NR_ftruncate64]: Make code unconditional.
8591         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8593         include <kernel-features.h>.
8594         [!__NR_ftruncate64]: Remove conditional code.
8595         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8596         [__NR_ftruncate64]: Make code unconditional.
8597         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8599         * configure.in (libc_cv_fpie): Weaken to a compile test using
8600         LIBC_TRY_CC_OPTION.
8601         * configure: Regenerated.
8603 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8605         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
8606         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
8607         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
8608         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8609         Refreshed.
8610         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
8611         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
8612         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
8613         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
8614         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
8615         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8616         Refreshed.
8618 2012-05-27  David S. Miller  <davem@davemloft.net>
8620         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
8621         (___Q_zero): New.
8622         (__Q_simulate_exceptions): Return void.  Change to simulate
8623         exceptions by writing into the %fsr.
8624         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
8625         (__Qp_handle_exceptions): Likewise.
8626         (numbers): Delete.
8627         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
8628         __Qp_handle_exceptions.
8629         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
8630         __Qp_handle_exceptions.
8631         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8632         as unused and give dummy FP_RND_NEAREST initializer.
8633         (FP_INHIBIT_RESULTS): Define.
8634         (___Q_simulate_exceptions): Update declaration.
8635         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
8636         formatting.
8637         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8638         as unused and give dummy FP_RND_NEAREST initializer.
8639         (__Qp_handle_exceptions): Update declaration.
8640         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
8641         formatting.
8643 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
8645         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
8646         the temporary FPU control word.
8647         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8648         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
8649         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8650         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8651         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8652         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8653         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8654         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8655         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8656         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8657         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8659 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8661         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
8662         fields.
8664 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
8666         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
8667         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
8668         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
8669         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
8670         Likewise.
8671         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
8672         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
8673         Likewise.
8675 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
8677         * po/h.po: Update from translation team.
8679 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
8681         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
8683         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
8684         handling of denormals.
8685         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8686         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8687         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8688         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8689         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8690         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
8691         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
8692         Likewise.
8694 2012-05-26  Marek Polacek  <polacek@redhat.com>
8696         [BZ #14152]
8697         * math/libm-test.inc (fma_test): Don't always expect underflow
8698         exception.
8700 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8702         [BZ #12416]
8703         * elf/tst-execstack.c: Include stackinfo.h.
8704         (do_test): Adjust test case to ensure that pthread_getattr_np
8705         behaviour remains the same after marking stack executable.
8707 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
8709         * sysdeps/unix/sysv/linux/kernel-features.h
8710         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
8711         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
8712         kernel-features.h.
8713         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8714         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8715         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
8716         kernel-features.h.
8717         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8718         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8720 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
8722         * configure.in: Define the default includes to being none.
8723         * configure: Regenerated.
8725 2012-05-25  Roland McGrath  <roland@hack.frob.com>
8727         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
8728         * sysdeps/x86_64/setjmp.S: Likewise.
8729         * sysdeps/i386/bsd-setjmp.S: Likewise.
8730         * sysdeps/i386/bsd-_setjmp.S: Likewise.
8731         * sysdeps/i386/setjmp.S: Likewise.
8732         * sysdeps/i386/__longjmp.S: Likewise.
8733         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8734         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
8736         * include/stap-probe.h: New file.
8737         * configure.in: Handle --enable-systemtap.
8738         * configure: Regenerated.
8739         * config.h.in (USE_STAP_PROBE): New #undef.
8740         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
8741         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
8742         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8744 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
8746         [BZ #13717]
8747         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8748         to 2.4.0 where earlier.
8749         * sysdeps/unix/sysv/linux/configure: Regenerated.
8750         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8751         <kernel-features.h>.
8752         [__ASSUME_32BITUIDS]: Make code unconditional.
8753         [!__ASSUME_32BITUIDS]: Remove conditional code.
8754         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
8755         <kernel-features.h>.
8756         [__ASSUME_32BITUIDS]: Make code unconditional.
8757         [!__ASSUME_32BITUIDS]: Remove conditional code.
8758         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
8759         [__ASSUME_32BITUIDS]: Make code unconditional.
8760         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
8761         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
8762         <kernel-features.h>.
8763         [__ASSUME_32BITUIDS]: Make code unconditional.
8764         [!__ASSUME_32BITUIDS]: Remove conditional code.
8765         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
8766         <kernel-features.h>.
8767         [__ASSUME_32BITUIDS]: Make code unconditional.
8768         [!__ASSUME_32BITUIDS]: Remove conditional code.
8769         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
8770         <kernel-features.h>.
8771         [__ASSUME_32BITUIDS]: Make code unconditional.
8772         [!__ASSUME_32BITUIDS]: Remove conditional code.
8773         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
8774         <kernel-features.h>.
8775         [__ASSUME_32BITUIDS]: Make code unconditional.
8776         [!__ASSUME_32BITUIDS]: Remove conditional code.
8777         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8778         <kernel-features.h>.
8779         [__ASSUME_32BITUIDS]: Make code unconditional.
8780         [!__ASSUME_32BITUIDS]: Remove conditional code.
8781         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8782         <kernel-features.h>.
8783         [__ASSUME_32BITUIDS]: Make code unconditional.
8784         [!__ASSUME_32BITUIDS]: Remove conditional code.
8785         * sysdeps/unix/sysv/linux/i386/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
8802         <kernel-features.h>.
8803         [__NR_setresgid] (__setresgid): Do not declare.
8804         [__ASSUME_32BITUIDS]: Make code unconditional.
8805         [!__ASSUME_32BITUIDS]: Remove conditional code.
8806         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
8807         <kernel-features.h>.
8808         [__NR_setresuid] (__setresuid): Do not declare.
8809         [__ASSUME_32BITUIDS]: Make code unconditional.
8810         [!__ASSUME_32BITUIDS]: Remove conditional code.
8811         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
8812         <kernel-features.h>.
8813         [__ASSUME_32BITUIDS]: Make code unconditional.
8814         [!__ASSUME_32BITUIDS]: Remove conditional code.
8815         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
8816         <kernel-features.h>.
8817         [__ASSUME_32BITUIDS]: Make code unconditional.
8818         [!__ASSUME_32BITUIDS]: Remove conditional code.
8819         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
8820         <kernel-features.h>.
8821         [__ASSUME_32BITUIDS]: Make code unconditional.
8822         [!__ASSUME_32BITUIDS]: Remove conditional code.
8823         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
8824         <kernel-features.h>.
8825         [__ASSUME_32BITUIDS]: Make code unconditional.
8826         [!__ASSUME_32BITUIDS]: Remove conditional code.
8827         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
8828         <kernel-features.h>.
8829         [__ASSUME_32BITUIDS]: Make code unconditional.
8830         [!__ASSUME_32BITUIDS]: Remove conditional code.
8831         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
8832         <kernel-features.h>.
8833         [__ASSUME_32BITUIDS]: Make code unconditional.
8834         [!__ASSUME_32BITUIDS]: Remove conditional code.
8835         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
8836         <kernel-features.h>.
8837         [__ASSUME_32BITUIDS]: Make code unconditional.
8838         [!__ASSUME_32BITUIDS]: Remove conditional code.
8839         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
8840         <kernel-features.h>.
8841         [__ASSUME_32BITUIDS]: Make code unconditional.
8842         [!__ASSUME_32BITUIDS]: Remove conditional code.
8843         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
8844         <kernel-features.h>.
8845         [__ASSUME_32BITUIDS]: Make code unconditional.
8846         [!__ASSUME_32BITUIDS]: Remove conditional code.
8847         * sysdeps/unix/sysv/linux/i386/shmctl.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/kernel-features.h
8852         (__ASSUME_SETRESUID_SYSCALL): Remove.
8853         (__ASSUME_SETRESGID_SYSCALL): Likewise.
8854         (__ASSUME_32BITUIDS): Likewise.
8855         (__ASSUME_LDT_WORKS): Likewise.
8856         (__ASSUME_O_DIRECTORY): Likewise.
8857         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
8858         architecture but not kernel version.
8859         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8860         (__ASSUME_MMAP2_SYSCALL): Likewise.
8861         (__ASSUME_STAT64_SYSCALL): Likewise.
8862         (__ASSUME_IPC64): Likewise.
8863         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
8864         <kernel-features.h>.
8865         [__ASSUME_32BITUIDS]: Make code unconditional.
8866         [!__ASSUME_32BITUIDS]: Remove conditional code.
8867         * sysdeps/unix/sysv/linux/opendir.c: Do not include
8868         <kernel-features.h>.
8869         [__ASSUME_O_DIRECTORY]: Make code unconditional.
8870         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
8871         132096]: Remove conditional code.
8872         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
8873         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8874         <kernel-features.h>.
8875         [__ASSUME_32BITUIDS]: Make code unconditional.
8876         [!__ASSUME_32BITUIDS]: Remove conditional code.
8877         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8878         <kernel-features.h>.
8879         [__ASSUME_32BITUIDS]: Make code unconditional.
8880         [!__ASSUME_32BITUIDS]: Remove conditional code.
8881         * sysdeps/unix/sysv/linux/setegid.c: Do not include
8882         <kernel-features.h>.
8883         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
8884         unconditional.
8885         (__setresgid): Do not declare.
8886         [__ASSUME_32BITUIDS]: Make code unconditional.
8887         [!__ASSUME_32BITUIDS]: Remove conditional code.
8888         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
8889         <kernel-features.h>.
8890         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
8891         unconditional.
8892         (__setresuid): Do not declare.
8893         [__ASSUME_32BITUIDS]: Make code unconditional.
8894         [!__ASSUME_32BITUIDS]: Remove conditional code.
8895         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8896         <kernel-features.h>.
8897         [__ASSUME_32BITUIDS]: Make code unconditional.
8898         [!__ASSUME_32BITUIDS]: Remove conditional code.
8899         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
8900         <kernel-features.h>.
8901         [__ASSUME_32BITUIDS]: Make code unconditional.
8902         [!__ASSUME_32BITUIDS]: Remove conditional code.
8904 2012-05-25  Richard Henderson  <rth@twiddle.net>
8906         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
8907         dl_hwcap to ifunc resolver.
8908         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
8909         elf_ifunc_invoke.
8910         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
8911         dl_hwcap to ifunc resolver.
8912         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
8914 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
8916         [BZ #14153]
8917         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
8918         for |x| <= 2**-26, not 2**-57.
8919         * math/libm-test.inc (acos_test): Do not allow spurious underflow
8920         exception.
8922 2012-05-24  Jeff Law  <law@redhat.com>
8924         * stdio-common/Makefile (tests): Add bug25.
8925         * stdio-common/bug25.c: New test.
8927 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
8929         [BZ #13576]
8930         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
8931         multiple of MALLOC_ALIGNMENT in size.
8932         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
8934 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
8936         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
8937         Require >= 256.
8938         (FILENAME_MAX): Use macro-int-constant.
8939         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
8940         (_IOFBF): Use macro-int-constant.
8941         (_IOLBF): Likewise.
8942         (_IONBF): Likewise.
8943         (SEEK_CUR): Likewise.
8944         (SEEK_END): Likewise.
8945         (SEEK_SET): Likewise.
8946         (TMP_MAX): Likewise.
8947         (EOF): Use macro-int-constant.  Require < 0.
8948         (NULL): Use macro-constant.  Require == 0.
8949         (stdin): Require type to be FILE *.
8950         (stdout): Likewise.
8951         (stderr): Likewise.
8952         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
8953         macro-int-constant.
8954         (EXIT_SUCCESS): Likewise.
8955         (NULL): Use macro-constant.  Require == 0.
8956         (RAND_MAX): Use macro-int-constant.
8957         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
8958         [C99-based standards] (strtof): Require function.
8959         [C99-based standards] (strtold): Likewise.
8960         [C99-based standards] (strtoll): Likewise.
8961         [C99-based standards] (strtoull): Likewise.
8962         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8963         [ISO || ISO99 || ISO11] (limits.h): Likewise.
8964         [ISO || ISO99 || ISO11] (math.h): Likewise.
8965         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
8966         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8967         [ISO || ISO99 || ISO11] (*_t): Do not allow.
8969 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
8971         [BZ #14132]
8972         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
8973         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
8974         * intl/dgettext.c (DCGETTEXT): Likewise.
8975         * intl/gettext.c (DCGETTEXT): Likewise.
8976         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
8977         * posix/regex_internal.h (gettext): Likewise.
8978         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
8979         Remove declaration.
8980         * include/argz.h (__argz_count_internal)
8981         (__argz_stringify_internal): Remove declaration.
8982         (__argz_count, __argz_stringify): Declare hidden proto.
8983         * intl/dcgettext.c: Remove use of INTDEF.
8984         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
8985         * string/argz-stringify.c: Likewise.
8986         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8987         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8988         Declare hidden proto.
8989         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8990         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8991         Declare hidden proto.
8992         * include/stdio.h (__asprintf_internal): Don't declare.
8993         (__asprintf): Don't define as macro.  Declare hidden proto.
8994         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
8995         (__fsetlocking): Declare hidden proto.
8996         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
8997         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
8998         hidden proto.
8999         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
9000         (_IO_setlinebuf): Remove use of INTUSE.
9001         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
9002         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
9003         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
9004         Remove declaration.
9005         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
9006         (_IO_do_flush): Remove use of INTUSE.
9007         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
9008         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
9009         (_IO_adjust_column, _IO_least_wmarker)
9010         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
9011         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
9012         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
9013         (_IO_default_doallocate, _IO_wdefault_doallocate)
9014         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
9015         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
9016         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
9017         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
9018         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
9019         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
9020         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
9021         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
9022         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
9023         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
9024         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
9025         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
9026         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
9027         proto.
9028         (_IO_flush_all_internal, _IO_adjust_column_internal)
9029         (_IO_default_uflow_internal, _IO_default_finish_internal)
9030         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
9031         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
9032         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
9033         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
9034         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
9035         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
9036         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
9037         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
9038         (_IO_file_close_internal, _IO_file_close_it_internal)
9039         (_IO_file_underflow_internal, _IO_file_overflow_internal)
9040         (_IO_file_init_internal, _IO_file_attach_internal)
9041         (_IO_file_fopen_internal, _IO_file_read_internal)
9042         (_IO_file_sync_internal, _IO_file_seek_internal)
9043         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
9044         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
9045         (_IO_str_underflow_internal, _IO_str_overflow_internal)
9046         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
9047         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
9048         (_IO_list_all_internal, _IO_link_in_internal)
9049         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
9050         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
9051         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
9052         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
9053         (_IO_do_write_internal, _IO_padn_internal)
9054         (_IO_getline_info_internal, _IO_getline_internal)
9055         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
9056         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
9057         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
9058         (_IO_vfscanf_internal, _IO_vfprintf_internal)
9059         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
9060         (_IO_init_internal, _IO_un_link_internal): Don't declare.
9061         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
9062         with libc_hidden_ver, remove use of INTUSE.
9063         * libio/genops.c: Likewise.
9064         * libio/freopen.c: Likewise.
9065         * libio/freopen64.c: Likewise.
9066         * libio/iofclose.c: Likewise.
9067         * libio/iofdopen.c: Likewise.
9068         * libio/iofflush.c: Likewise.
9069         * libio/iofflush_u.c: Likewise.
9070         * libio/iofgets.c: Likewise.
9071         * libio/iofgets_u.c: Likewise.
9072         * libio/iofopen.c: Likewise.
9073         * libio/iofopncook.c: Likewise.
9074         * libio/iofread.c: Likewise.
9075         * libio/iofread_u.c: Likewise.
9076         * libio/ioftell.c: Likewise.
9077         * libio/iofwrite.c: Likewise.
9078         * libio/iogetline.c: Likewise.
9079         * libio/iogets.c: Likewise.
9080         * libio/iogetwline.c: Likewise.
9081         * libio/iopadn.c: Likewise.
9082         * libio/iopopen.c: Likewise.
9083         * libio/ioseekoff.c: Likewise.
9084         * libio/ioseekpos.c: Likewise.
9085         * libio/iosetbuffer.c: Likewise.
9086         * libio/iosetvbuf.c: Likewise.
9087         * libio/ioungetc.c: Likewise.
9088         * libio/ioungetwc.c: Likewise.
9089         * libio/iovdprintf.c: Likewise.
9090         * libio/iovsprintf.c: Likewise.
9091         * libio/iovsscanf.c: Likewise.
9092         * libio/memstream.c: Likewise.
9093         * libio/obprintf.c: Likewise.
9094         * libio/oldfileops.c: Likewise.
9095         * libio/oldiofclose.c: Likewise.
9096         * libio/oldiofdopen.c: Likewise.
9097         * libio/oldiofopen.c: Likewise.
9098         * libio/oldiopopen.c: Likewise.
9099         * libio/oldstdfiles.c: Likewise.
9100         * libio/putc.c: Likewise.
9101         * libio/setbuf.c: Likewise.
9102         * libio/setlinebuf.c: Likewise.
9103         * libio/stdfiles.c: Likewise.
9104         * libio/strops.c: Likewise.
9105         * libio/vasprintf.c: Likewise.
9106         * libio/vscanf.c: Likewise.
9107         * libio/vsnprintf.c: Likewise.
9108         * libio/vswprintf.c: Likewise.
9109         * libio/wfiledoalloc.c: Likewise.
9110         * libio/wfileops.c: Likewise.
9111         * libio/wgenops.c: Likewise.
9112         * libio/wmemstream.c: Likewise.
9113         * libio/wstrops.c: Likewise.
9114         * libio/__fpurge.c: Likewise.
9115         * libio/__fsetlocking.c: Likewise.
9116         * assert/assert.c: Likewise.
9117         * debug/fgets_chk.c: Likewise.
9118         * debug/fgets_u_chk.c: Likewise.
9119         * debug/fread_chk.c: Likewise.
9120         * debug/fread_u_chk.c: Likewise.
9121         * debug/gets_chk.c: Likewise.
9122         * debug/obprintf_chk.c: Likewise.
9123         * debug/vasprintf_chk.c: Likewise.
9124         * debug/vdprintf_chk.c: Likewise.
9125         * debug/vsnprintf_chk.c: Likewise.
9126         * debug/vsprintf_chk.c: Likewise.
9127         * malloc/mtrace.c: Likewise.
9128         * misc/error.c: Likewise.
9129         * misc/syslog.c: Likewise.
9130         * stdio-common/asprintf.c: Likewise.
9131         * stdio-common/fxprintf.c: Likewise.
9132         * stdio-common/getw.c: Likewise.
9133         * stdio-common/isoc99_fscanf.c: Likewise.
9134         * stdio-common/isoc99_scanf.c: Likewise.
9135         * stdio-common/isoc99_vfscanf.c: Likewise.
9136         * stdio-common/isoc99_vscanf.c: Likewise.
9137         * stdio-common/isoc99_vsscanf.c: Likewise.
9138         * stdio-common/printf-prs.c: Likewise.
9139         * stdio-common/printf_fp.c: Likewise.
9140         * stdio-common/printf_fphex.c: Likewise.
9141         * stdio-common/printf_size.c: Likewise.
9142         * stdio-common/putw.c: Likewise.
9143         * stdio-common/scanf.c: Likewise.
9144         * stdio-common/sprintf.c: Likewise.
9145         * stdio-common/tmpfile.c: Likewise.
9146         * stdio-common/vfprintf.c: Likewise.
9147         * stdio-common/vfscanf.c: Likewise.
9148         * stdlib/strfmon_l.c: Likewise.
9149         * sunrpc/openchild.c: Likewise.
9150         * sunrpc/xdr_stdio.c: Likewise.
9151         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
9152         * sysdeps/mach/hurd/tmpfile.c: Likewise.
9154 2012-05-24  Roland McGrath  <roland@hack.frob.com>
9156         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9158         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
9159         in the third column, to generate for the shared library an IFUNC
9160         that uses _dl_vdso_vsym.
9161         * Makerules (COMPILE.c, compile-stdin.c): New variables.
9162         * Makeconfig (object-suffixes-noshared): New variable.
9164         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
9165         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
9166         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
9167         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
9169         [BZ #14132]
9170         * include/sys/time.h (__gettimeofday): Remove macro.
9171         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
9172         * time/gettimeofday.c (__gettimeofday): Remove #undef.
9173         Remove INTDEF.
9174         (__gettimeofday): Add libc_hidden_def.
9175         (gettimeofday): Add libc_hidden_weak.
9176         * sysdeps/mach/gettimeofday.c: Likewise.
9177         * sysdeps/posix/gettimeofday.c: Likewise.
9178         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
9179         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9180         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
9181         (__gettimeofday_internal): Remove strong_alias.
9182         (__gettimeofday): Add libc_hidden_def.
9183         (gettimeofday): Add libc_hidden_weak.
9184         * sysdeps/unix/syscalls.list (gettimeofday):
9185         Remove __gettimeofday_internal alias.
9187 2012-05-24  Daniel Jacobowitz  <drow@false.org>
9188             H.J. Lu  <hongjiu.lu@intel.com>
9190         [BZ #12495]
9191         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
9192         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
9193         (largebin_index_32_big): New.
9194         (largebin_index): Use it for 16-byte alignment.
9195         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
9196         correction with front_misalign.
9198 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
9200         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
9201         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9202         Likewise.
9203         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
9204         Likewise.
9205         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9206         Likewise.
9207         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
9208         Likewise.
9209         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
9210         Likewise.
9211         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
9212         Likewise.
9213         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
9214         Likewise.
9215         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
9216         Likewise.
9217         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
9218         Likewise.
9219         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
9220         Likewise.
9221         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9222         Likewise.
9223         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
9224         Likewise.
9226         * scripts/data/c++-types-x32-linux-gnu.data: New file.
9227         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
9229 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
9231         [BZ #10846]
9232         [BZ #14036]
9233         * math/libm-test.inc (exp_test): Add test from bug 14036.
9234         (pow_test): Add test from bug 10846.
9236         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
9237         and other flags.
9238         (special_function): Do not include flags in test name.
9239         (parse_args): Likewise.
9240         * sysdeps/i386/fpu/libm-test-ulps: Update.
9241         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9242         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9243         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9246         * math/gen-libm-test.pl (%beautify): Add entries for underflow
9247         exceptions.
9248         * math/libm-test.inc ("Philosophy"): Update comment about
9249         exception testing.
9250         (UNDERFLOW_EXCEPTION): New macro.
9251         (UNDERFLOW_EXCEPTION_OK): Likewise.
9252         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9253         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9254         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9255         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9256         (INVALID_EXCEPTION_OK): Update value.
9257         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9258         (OVERFLOW_EXCEPTION_OK): Likewise.
9259         (IGNORE_ZERO_INF_SIGN): Likewise.
9260         (test_exceptions): Handle underflow exceptions.
9261         (acos_test): Update for underflow exception expectations.
9262         (cexp_test): Likewise.
9263         (clog_test): Likewise.
9264         (clog10_test): Likewise.
9265         (csqrt_test): Likewise.
9266         (ctan_test): Likewise.
9267         (ctanh_test): Likewise.
9268         (exp_test): Likewise.
9269         (exp10_test): Likewise.
9270         (exp2_test): Likewise.
9271         (expm1_test): Likewise.
9272         (fma_test): Likewise.
9273         (j0_test): Likewise.
9274         (jn_test): Likewise.
9275         (nexttoward_test): Likewise.
9276         (pow_test): Likewise.
9277         (scalbn_test): Likewise.
9278         (scalbln_test): Likewise.
9279         (tan_test): Likewise.
9280         (y1_test): Likewise.
9281         * sysdeps/i386/fpu/libm-test-ulps: Update.
9282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9284 2012-05-23  David S. Miller  <davem@davemloft.net>
9286         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9287         (__libc_sigaction): Remove unused local variables.
9289 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
9291         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
9293 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
9295         mktime: avoid signed integer overflow
9296         * time/mktime.c (__mktime_internal): Do not mishandle the case
9297         where diff == INT_MIN.
9299         mktime: simplify computation of average
9300         * time/mktime.c (ranged_convert): Use new time_t_avg function
9301         instead of rolling our own (probably-slower) code.
9303         mktime: do not assume signed right shift propagates sign bit
9304         * time/mktime.c (isdst_differ): New static function.
9305         (__mktime_internal): No need to normalize tm_isdst now.
9306         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
9307         tm_isdst values.
9309         mktime: merge another wrapv change from gnulib
9310         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
9311         from some compilers.
9313         mktime: remove incorrect attempt at unusual arithmetics
9314         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
9315         The code didn't really work on such machines anyway.
9316         (TYPE_MINIMUM): Assume two's complement.
9317         (twos_complement_arithmetic): Verify that long_int and time_t
9318         are two's complement (or unsigned, in the latter case).
9320         mktime: check signed shifts on long_int and time_t, too
9321         * time/mktime.c (SHR): Check that shifts work as desired
9322         on the types long_int and time_t too, as SHR is used on
9323         such types.
9325         mktime: do not assume 'long' is wide enough
9326         * time/mktime.c (verify): Move decl up.
9327         (long_int): New type.
9328         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
9329         to remove assumption in the code that 'long' is wide enough to
9330         store year values.  This assumption is not true on x32 and on
9331         some non-glibc platforms.
9333         mktime: merge wrapv change from gnulib
9334         * time/mktime.c (WRAPV): New macro.
9335         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
9336         (guess_time_tm, __mktime_internal): Do not assume that signed
9337         integer overflow wraps around; modern compilers generate code
9338         where this assumption is no longer valid.
9340 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
9342         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9343         Replace "jmp L(pseudo_end)" with "ret".
9344         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
9345         Likewise.
9347 2012-05-23  Andreas Jaeger  <aj@suse.de>
9349         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
9350         * sysdeps/unix/sysv/linux/poll.c: Remove file.
9352 2012-05-23  Andreas Jaeger  <aj@suse.de>
9353             Maximilian Attems  <max@stro.at>
9355         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
9356         New macros.
9358 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
9360         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
9361         code so that pseudo_end is just ret and the stack pointer is
9362         correct also for static library in error case.
9364 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
9366         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
9367         move to syscalls.list.
9368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9373         * manual/install.texi (Running make install): Do not mention Linux
9374         kernel version for which pt_chown is not needed.
9375         (Linux): Do not mention problems with nscd with 2.0 kernels.
9376         * INSTALL: Regenerated.
9378 2012-05-23  Andreas Jaeger  <aj@suse.de>
9380         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
9381         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
9382         macro.
9383         * sysdeps/unix/sysv/linux/s390/bits/mman.h
9384         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9385         * sysdeps/unix/sysv/linux/sh/bits/mman.h
9386         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9387         * sysdeps/unix/sysv/linux/i386/bits/mman.h
9388         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9389         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
9390         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9391         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
9392         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9393         * sysdeps/unix/sysv/linux/bits/in.h
9394         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
9396 2012-05-22  Roland McGrath  <roland@hack.frob.com>
9398         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
9399         (PREPARE_VERSION): Just use assert instead, it will be elided
9400         under [NDEBUG] anyway.
9402 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
9404         * sysdeps/unix/sysv/linux/Makefile: Include
9405         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
9406         (sysdep_routines): Remove sysctl.
9407         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
9408         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
9409         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
9410         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
9411         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
9413 2012-05-22  Andreas Jaeger  <aj@suse.de>
9415         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
9416         that pseudo_end is just ret and the stack pointer is correct also
9417         for static library in error case.
9419 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
9421         [BZ #14122]
9422         * nss/nsswitch.c (defconfig_entries): New variable.
9423         (__nss_database_lookup): Don't leak defconfig entries.
9424         (nss_parse_service_list): Don't leak on error paths.
9425         (free_database_entries): New function.
9426         (free_defconfig): New function.
9427         (free_mem): Move common code to free_database_entries.
9429 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
9431         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
9432         Add arch_prctl.
9433         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
9435         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9436         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
9437         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
9438         New macro.
9439         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9440         (INTERNAL_SYSCALL_TYPES): Likewise.
9441         (LOAD_ARGS_TYPES_[1-6]): Likewise.
9442         (LOAD_REGS_TYPES_[1-6]): Likewise.
9443         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
9444         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
9446 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9448         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
9449         copysignl for GLIBC_2_0.
9450         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
9451         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
9452         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
9453         logbl for GLIBC_2_0.
9454         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9455         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9457 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
9459         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
9460         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
9462         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9463         Use "neg %eax".
9465         * time/mktime.c: Update copyright years.
9467 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
9469         mktime: merge comment-quoting-style change from gnulib
9470         * time/mktime.c: Quote 'like this' in comments.
9471         The GNU coding standards suggest that we no longer quote `like this',
9472         as "`" and "'" are typically rendered asymmetrically nowadays.
9473         The typical gnulib style is to quote 'like this' when quoting
9474         code, and "like this" when quoting English.
9476         * time/mktime.c (compile-command): Add "-I.".
9478         mktime: merge mktime-internal.h change from gnulib
9479         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
9481         mktime: merge time_r change from gnulib
9482         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
9484         mktime: merge DEBUG change from gnulib
9485         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
9486         case system <time.h> has a #define.
9488         mktime: merge <sys/types.h> change from gnulib
9489         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
9490         since <time.t> is now guaranteed to define time_t.
9492         mktime: merge HAVE_CONFIG_H change from gnulib
9493         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
9495 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
9497         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9498         Use "neg %eax".
9500         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
9501         __rlim_t cast.
9502         (struct rusage): Use anonymous union to pad each field to
9503         __syscall_slong_t.
9505 2012-05-21  David S. Miller  <davem@davemloft.net>
9507         * Makefules (o-iterator): Remove .s cases.
9508         (compile-command.s): Delete.
9509         (COMPILE.s): Delete.
9510         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
9512 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
9514         * configure.in (libc_cv_predef_stack_protector): Only consider
9515         "foobar" and "__stack_chk_fail" lines in libc_undefs.
9516         * configure: Regenerated.
9518 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
9520         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9521         New macro.  Use R*LP on int and pointer.
9522         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
9523         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
9524         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
9525         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
9527         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
9528         [__WORDSIZE_TIME64_COMPAT32] instead of
9529         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
9530         (struct utmp): Likewise.
9531         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
9532         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
9533         Renamed to ...
9534         (__WORDSIZE_TIME64_COMPAT32): This.
9535         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
9536         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
9537         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
9538         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
9539         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
9540         (__WORDSIZE_TIME64_COMPAT32): New macro.
9542 2012-05-21  Andreas Jaeger  <aj@suse.de>
9544         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
9545         only if [SHARED]. Add prototype for __wcschr_ia32.
9547 2012-05-21  Roland McGrath  <roland@hack.frob.com>
9549         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
9550         of %rbp unmolested in the jmp_buf while mangling the low bits.
9551         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
9552         unmolested high bits of %rbp while demangling the low bits.
9553         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9555 2012-05-21  Andreas Jaeger  <aj@suse.de>
9557         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
9558         * sunrpc/svc_simple.c: Use it for registerrpc.
9559         * sunrpc/xcrypt.c: Use it for passwd2des.
9561         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
9563 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
9565         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
9566         Don't define if [__SYSCALL_WORDSIZE != 32].
9567         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
9568         New macro.
9570 2012-05-21  Bruno Haible  <bruno@clisp.org>
9571             Andreas Jaeger  <aj@suse.de>
9573         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
9574         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
9575         inptr and inend for must_buffer_ch.
9576         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
9577         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
9578         * stdio-common/Makefile (tests): Remove bug15.
9579         (bug15-ENV): Remove macro.
9580         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
9581         anymore.
9583 2012-05-19  Andreas Jaeger  <aj@suse.de>
9584             Roland McGrath  <roland@hack.frob.com>
9586         * manual/contrib.texi: Completely rewritten. It contains now an
9587         alphabetical list of contributors and their contributions.
9589 2012-05-21  Richard Henderson  <rth@twiddle.net>
9591         * misc/getauxval.c (__getauxval): Use unsigned long int.
9592         * misc/sys/auxv.h: Include <sys/cdefs.h>.
9593         (getauxval): Use unsigned long int.
9595 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
9597         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9599 2012-05-21  Roland McGrath  <roland@hack.frob.com>
9601         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
9602         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
9603         __alignof__ (long double).
9605 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9607         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9609 2012-05-20  Richard Henderson  <rth@twiddle.net>
9611         * misc/getauxval.c: New file.
9612         * misc/sys/auxv.h: New file.
9613         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
9614         (routines): Add getauxval.
9615         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
9616         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
9617         * elf/dl-sysdep.c (_dl_auxv): Remove.
9618         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
9619         * elf/dl-support.c (_dl_auxv): New variable.
9620         (_dl_aux_init): Initialize it.
9621         * manual/startup.texi (Auxiliary Vector): New node.
9622         * sysdeps/generic/bits/hwcap.h: New file.
9623         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
9624         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
9625         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
9626         * sysdeps/sparc/sysdep.h: ... here.  Include it.
9627         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
9628         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
9629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9630         Update.
9631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
9632         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
9633         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
9634         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
9635         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9636         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9637         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
9638         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
9640 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9642         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9644 2012-05-19  David S. Miller  <davem@davemloft.net>
9646         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9648 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
9650         [BZ #14123]
9651         * math/s_ccosh.c: Include <float.h>
9652         (__ccosh): Avoid internal overflow calculating sinh and cosh
9653         values before multiplying by sin and cos values.
9654         * math/s_ccoshf.c: Likewise.
9655         * math/s_ccoshl.c: Likewise.
9656         * math/s_csin.c: Likewise.
9657         * math/s_csinf.c: Likewise.
9658         * math/s_csinl.c: Likewise.
9659         * math/s_csinh.c: Likewise.
9660         * math/s_csinhf.c: Likewise.
9661         * math/s_csinhl.c: Likewise.
9662         * math/libm-test.inc (ccos_test): Add more tests.
9663         (ccosh_test): Likewise.
9664         (csin_test): Likewise.
9665         (csinh_test): Likewise.
9666         * sysdeps/i386/fpu/libm-test-ulps: Update.
9667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9669 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
9671         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
9672         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9674         * sysdeps/x86_64/x32/_itoa.h: Add comment.
9676 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
9678         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
9679         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
9680         * sysdeps/powerpc/soft-fp/Versions: Likewise.
9681         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
9682         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
9683         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
9684         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
9685         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
9686         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
9687         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
9688         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
9689         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
9690         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
9691         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
9692         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
9693         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
9694         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
9695         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
9696         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
9697         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
9698         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
9699         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
9700         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
9701         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
9702         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
9703         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
9704         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
9705         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
9706         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
9707         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
9708         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
9710 2012-05-18  Andreas Jaeger  <aj@suse.de>
9712         * csu/.gitignore: Delete.
9714 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
9716         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
9717         (timex): Use __syscall_slong_t.
9719 2012-05-18  Andreas Jaeger  <aj@suse.de>
9720             Carlos O'Donell  <carlos_odonell@mentor.com>
9722         * manual/install.texi (Configuring and compiling): Update
9723         description about files modified in the source directory.
9724         * INSTALL: Regenerated.
9726 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
9728         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
9729         value.  Use "or" to set return value to -1.
9730         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
9731         negate return value.
9733 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9735         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
9736         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
9737         failure if the compiler has Graphite support disabled.
9738         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
9739         Likewise.
9740         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
9741         CFLAGS-memmove.c): Likewise.
9742         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
9743         Likewise.
9745 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
9747         * sysdeps/x86_64/x32/_itoa.h: New file.
9749         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
9750         getdents system call only if kernel and user dirents have the
9751         same d_ino and d_off.
9753         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9754         LLONG_MAX != LONG_MAX.
9755         (_itoa_word): Use _ITOA_WORD_TYPE on value.
9756         (_fitoa_word): Likewise.
9758         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
9759         years.
9760         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
9761         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
9762         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
9764         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
9765         include <bits/wordsize.h>.  Check __x86_64__ instead of
9766         __WORDSIZE.
9767         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
9768         if __x86_64__ is defined.  Use anonymous union on fpstate.
9770         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
9771         anonymous union.
9773 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
9775         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9776         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
9777         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
9778         Refer to _rtld_local_ro instead of _rtld_global_ro.
9779         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
9780         Likewise.
9781         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
9782         Likewise.
9783         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
9784         Likewise.
9785         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
9786         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
9787         of _rtld_global, and rtld_progname instead of _dl_argv[0].
9789         * sysdeps/powerpc/powerpc32/dl-machine.c
9790         (__elf_machine_runtime_setup) [PROF]: Don't reference
9791         _dl_prof_resolve.
9793 2012-05-18  Andreas Jaeger  <aj@suse.de>
9795         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
9796         function only available for GCCs before 3.4 since GCC 3.4
9797         introduced a builtin.
9798         (lrint): Likewise.
9799         (llrintf): Likewise.
9800         (llrint): Likewise.
9801         (fmaxf): Likewise.
9802         (fmax): Likewise.
9803         (fminf): Likewise.
9804         (fmin): Likewise.
9805         (rint): Likewise.
9806         (rintf): Likewise.
9807         (nearbyint): Likewise.
9808         (nearbyintf): Likewise.
9809         (ceil): Likewise.
9810         (ceilf): Likewise.
9811         (floor): Likewise.
9812         (floorf): Likewise.
9814 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
9816         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
9817         on both fields and cast pointer to __syscall_ulong_t.
9819         * bits/types.h (__fsword_t): New type.
9820         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
9821         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
9822         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9823         (__FSWORD_T_TYPE): Likewise.
9824         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9825         (__FSWORD_T_TYPE): Likewise.
9826         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9827         (__FSWORD_T_TYPE): Likewise.
9828         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
9829         (__FSWORD_T_TYPE): Likewise.
9830         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
9831         __SWORD_TYPE with __fsword_t.
9832         (statfs64): Likewise.
9834 2012-05-17  David S. Miller  <davem@davemloft.net>
9836         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
9838 2012-05-17  Andreas Jaeger  <aj@suse.de>
9840         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
9841         warning.
9843 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
9845         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
9847 2012-05-17  Andreas Jaeger  <aj@suse.de>
9849         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
9850         when it is used.
9852 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
9854         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
9856 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
9858         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
9859         * sysdeps/x86_64/tst-mallocalign1.c: New file.
9861 2012-05-17  Andreas Jaeger  <aj@suse.de>
9862             Carlos O'Donell  <carlos_odonell@mentor.com>
9864         [BZ #14059]
9865         * sysdeps/x86_64/multiarch/init-arch.h
9866         (bit_YMM_Usable): Rename to...
9867         (bit_AVX_Usable): ... this.
9868         (bit_FMA4_Usable): New macro.
9869         (bit_XMM_state): New macro.
9870         (bit_YMM_state): New macro.
9871         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
9872         [__ASSEMBLER__] (index_AVX_Usable): ... this.
9873         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
9874         (CPUID_OSXSAVE): New macro.
9875         (CPUID_AVX): New macro.
9876         (CPUID_FMA4): New macro.
9877         (index_YMM_Usable): Rename to...
9878         (index_AVX_Usable): ... this.
9879         (HAS_AVX): Use HAS_ARCH_FEATURE.
9880         (HAS_FMA4): Likewise.
9881         (HAS_YMM_USABLE): Remove.
9882         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9883         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
9884         are present.
9885         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
9886         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
9887         * sysdeps/x86_64/multiarch/Makefile: Likewise.
9888         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
9889         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
9891 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
9893         * math/libm-test.c: Support platforms without multiple rounding modes.
9894         * math/bug-nextafter.c: Support platforms without FP exceptions.
9895         * math/bug-nexttoward.c: Likewise.
9896         * math/test-fenv.c: Likewise.
9897         * math/test-misc.c: Likewise.
9898         * stdlib/bug-getcontext.c: Likewise.
9900 2012-05-17  Andreas Jaeger  <aj@suse.de>
9902         * manual/examples/search.c (critter_cmp): Change signature to
9903         avoid warnings.
9904         * manual/string.texi (Collation Functions): Likewise.
9906 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9908         * bits/types.h: Fold copyright years.
9909         * bits/typesizes.h: Likewise.
9910         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
9911         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9912         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
9913         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
9914         * time/time.h: Likewise.
9916 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
9918         [BZ #208]
9919         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
9920         in instead of returning them.  Return void.
9921         (__libc_mallinfo): Accumulate over all arenas.
9922         (__malloc_stats): Adjust for change in int_mallinfo interface.
9924 2012-05-16  Roland McGrath  <roland@hack.frob.com>
9926         [BZ #10375]
9927         * configure.in (NM): Add AC_CHECK_TOOL for it.
9928         (libc_extra_cflags): New substituted variable.
9929         Check for -fstack-protector being used implicitly.
9930         * configure: Regenerated.
9931         * config.make.in (config-extra-cflags): New variable,
9932         gets @libc_extra_cflags@.
9933         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
9935         [BZ #10375]
9936         * configure.in: Check for _FORTIFY_SOURCE being predefined.
9937         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
9938         * configure: Regenerated.
9939         * config.make.in (CPPUNDEFS): New substituted variable.
9940         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
9941         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
9942         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
9944 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9946         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
9947         (mq_attr): Use __syscall_slong_t.
9949 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9951         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
9952         Check __x86_64__ instead of __WORDSIZE.
9953         (_STAT_VER_LINUX): Likewise.
9954         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
9955         __syscall_ulong_t and __syscall_slong_t.
9956         (stat64): Likewise.
9958 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9960         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
9962 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9964         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
9966 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9968         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
9969         __syscall_ulong_t.
9971         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
9972         include <bits/wordsize.h>.  Check __x86_64__ instead of
9973         __WORDSIZE.
9974         (greg_t): Use "__extension__ long long int" if __x86_64__ is
9975         defined.
9976         (mcontext_t): Replace "unsigned long" with "unsigned long long".
9978         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
9979         include <bits/wordsize.h>.  Check __x86_64__ instead of
9980         __WORDSIZE.
9981         (user_regs_struct): Use "__extension__ unsigned long long"
9982         instead of "unsigned long" if __x86_64__ is defined.
9983         (user): Likewise.  Pad after pointer field if __ILP32__ is
9984         defined.
9986 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
9988         * configure.in (makeinfo): Require version 4.5 or later.  Allow
9989         versions 5 to 9.
9990         * configure: Regenerated.
9991         * manual/install.texi (texinfo): Increase version requirement to
9992         4.5 or later.
9993         * INSTALL: Regenerated.
9995         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
9997 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9999         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
10001         * sysdeps/x86_64/x32/ffs.c: New file.
10003         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
10004         __syscall_ulong_t.
10005         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
10006         defined.  Use __syscall_ulong_t.
10007         (shminfo): Use __syscall_ulong_t.
10008         (shm_info): Likewise.
10010         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
10011         __syscall_ulong_t.
10013         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
10014         <bits/wordsize.h>.
10015         (msgqnum_t): Use __syscall_ulong_t.
10016         (msglen_t): Likewise.
10017         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
10018         __syscall_ulong_t.
10020         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
10021         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
10023         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
10025         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
10026         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
10028         * sysvipc/sys/msg.h (msgbuf): Replace long int with
10029         __syscall_slong_t.
10031         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
10032         include <bits/wordsize.h>.  Check __x86_64__ instead of
10033         __WORDSIZE.
10035         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
10036         "unsigned long long int" if __x86_64__ is defined.
10037         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
10039         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
10040         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
10041         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
10043         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
10044         <stdint.h>.
10045         (GET_PC): Cast to uintptr_t first.
10046         (GET_FRAME): Likewise.
10047         (GET_STACK): Likewise.
10049         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
10050         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
10051         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
10052         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
10053         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
10054         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
10055         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
10056         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
10057         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
10058         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
10059         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
10060         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
10061         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10062         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
10063         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
10064         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
10065         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
10066         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
10067         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
10068         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
10069         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
10070         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
10071         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
10072         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
10073         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
10074         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
10075         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
10076         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
10077         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
10079 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
10081         * Makerules (+depfiles): Also collect depfiles from .oS in
10082         $(extra-objs).
10083         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
10084         .oS, $(libnldbl-routines)).
10086         * Makerules (native-compile-mkdep-flags): Define.
10087         * sunrpc/Makefile (extra-objs): Add $(addprefix
10088         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
10089         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
10090         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
10091         calling $(make-target-directory).
10093 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10095         * bits/types.h (__snseconds_t): Removed.
10096         * time/time.h (struct timespec): Replace __snseconds_t with
10097         __syscall_slong_t.
10098         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
10099         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
10100         Likewise.
10101         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10102         (__SNSECONDS_T_TYPE): Likewise.
10103         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10104         (__SNSECONDS_T_TYPE): Likewise.
10105         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10106         (__SNSECONDS_T_TYPE): Likewise.
10108 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10110         * sysdeps/mach/hurd/bits/typesizes.h
10111         (__SYSCALL_SLONG_TYPE): New macro.
10112         (__SYSCALL_ULONG_TYPE): Likewise.
10114 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10116         * bits/types.h (__syscall_slong_t): New type.
10117         (__syscall_ulong_t): Likewise.
10119         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
10120         (__SYSCALL_ULONG_TYPE): Likewise.
10121         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10122         (__SYSCALL_SLONG_TYPE): Likewise.
10123         (__SYSCALL_ULONG_TYPE): Likewise.
10124         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10125         (__SYSCALL_SLONG_TYPE): Likewise.
10126         (__SYSCALL_ULONG_TYPE): Likewise.
10127         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10128         (__SYSCALL_SLONG_TYPE): Likewise.
10129         (__SYSCALL_ULONG_TYPE): Likewise.
10131 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10133         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
10134         Add sigaltstack-offsets.sym.
10135         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10136         <sigaltstack-offsets.h>.
10137         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
10138         longjmp_msg pointer.
10139         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
10140         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
10141         signal stack.
10142         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
10144 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
10146         * elf/stackguard-macros.h: Remove file.
10147         * sysdeps/generic/stackguard-macros.h: New file.
10148         * sysdeps/i386/stackguard-macros.h: Likewise.
10149         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10150         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10151         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10152         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10153         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10154         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10155         * sysdeps/x86_64/stackguard-macros.h: Likewise.
10156         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
10157         <elf/stackguard-macros.h>.
10159         [BZ #14109]
10160         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
10161         __aligned__ in attribute.
10162         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
10163         (gregset_t): Likewise.
10165 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10167         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
10168         * sysdeps/x86_64/64/Implies-after: Here.  New file.
10169         * sysdeps/x86_64/x32/Implies-after: New file.
10171 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10173         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
10174         and access return value for _dl_profile_fixup.  Use R10_LP to
10175         load frame size.
10177 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10179         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
10181 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10183         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
10184         * sysdeps/x86_64/x32/sysdep.h: New file.
10186 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10188         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
10189         * sysdeps/x86_64/setjmp.S: Likewise.
10191 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10193         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
10194         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
10195         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
10196         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
10197         remove unused global constant.
10199 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
10201         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
10202         include of <not-cancel.h>.
10204 2012-05-15  Roland McGrath  <roland@hack.frob.com>
10206         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
10208 2012-05-15  Jeff Law  <law@redhat.com>
10209             Andreas Jaeger  <aj@suse.de>
10211         [BZ #13594]
10212         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
10213         out from...
10214         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
10215         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
10216         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
10217         code changing __hst_map_handle.map.
10219 2012-05-15  Roland McGrath  <roland@hack.frob.com>
10221         * configure.in (sysnames): Look for Implies-before and Implies-after
10222         files.
10223         * configure: Regenerated.
10225 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10227         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
10228         8-byte data alignment with LP_SIZE alignment.
10230 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10232         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
10233         into R10_LP.
10235 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10237         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
10239 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10241         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
10242         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
10243         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
10244         Likewise.
10245         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10247 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10249         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
10250         (stackinfo_sub_sp): Likewise.
10252 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10254         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
10255         RAX_LP.
10257 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10259         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
10260         into R*_LP.
10262 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10264         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
10265         sizes into R*_LP.
10267 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10269         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
10271 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10273         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
10274         into R11_LP and load __x86_64_shared_cache_size_half into
10275         R8_LP.
10277 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10279         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
10280         R8_LP.
10282 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10284         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
10285         logb for POWER7.
10286         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
10287         logbf for POWER7.
10288         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
10289         logbl for POWER7.
10290         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
10291         powerpc32/power7/fpu/s_logb.c via #include.
10292         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
10293         powerpc32/power7/fpu/s_logbf.c via #include.
10294         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
10295         powerpc32/power7/fpu/s_logbl.c via #include.
10297 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
10299         * README.libm: Remove file.
10301 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10303         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
10304         count for x32.  Use R*_LP and omit operand-size suffix.
10306 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10308         * shlib-versions: Move x86_64-.*-linux.* entries to ...
10309         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
10310         * sysdeps/x86_64/x32/shlib-versions: New file.
10312 2012-05-14  Roland McGrath  <roland@hack.frob.com>
10314         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
10315         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
10316         Use _dl_fatal_printf instead.
10318 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
10320         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
10321         set if not set by the user.  Do not allow for being unset.
10322         * sysdeps/unix/sysv/linux/configure: Regenerated.
10324 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10326         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
10327         the `q' suffix from lea and replace .quad with ASM_ADDR.
10329 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10331         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
10332         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
10333         instead of $17.
10334         (PTR_DEMANGLE): Likewise.
10336 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10338         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
10339         (LP_OP): Likewise.
10340         (ASM_ADDR): Likewise.
10341         (RAX_LP): Likewise.
10342         (RBP_LP): Likewise.
10343         (RBX_LP): Likewise.
10344         (RCX_LP): Likewise.
10345         (RDI_LP): Likewise.
10346         (RSI_LP): Likewise.
10347         (RSP_LP): Likewise.
10348         (R8_LP): Likewise.
10349         (R9_LP): Likewise.
10350         (R10_LP): Likewise.
10351         (R10_LP): Likewise.
10352         (R11_LP): Likewise.
10353         (R12_LP): Likewise.
10354         (R13_LP): Likewise.
10355         (R14_LP): Likewise.
10356         (R15_LP): Likewise.
10358 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10360         * sysdeps/x86_64/x32/dl-machine.h: New file.
10362 2012-05-14  Andreas Jaeger  <aj@suse.de>
10364         * manual/Makefile (subdir): Remove export of subdir.
10365         (all): Remove target.
10366         (.PHONY): Remove all from list.
10367         (mkinstalldirs): Remove.
10368         (.PHONY): Remove installdirs from list.
10369         ($(inst_infodir)/libc.info): Use make-target-directory.
10370         (installdirs): Remove.
10371         (subdir_%): Remove.
10372         (glibc-targets): Remove.
10373         (lib): Remove.
10374         (stubs): Remove.
10375         ($(objpfx)stubs ../po/manual.pot): Remove.
10376         ($(objpfx)stamp%): Remove.
10377         (make-target-directory): Remove.
10378         (subdir_install): Remove.
10379         (routines): Remove.
10380         (aux): Remove.
10381         (sources): Remove.
10382         (objects): Remove.
10383         (headers): Remove.
10385         [BZ #13750]
10386         * manual/.gitignore: Remove, it's not needed anymore.
10387         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
10388         all files in it.
10389         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
10390         directory.
10391         (texis): Renamed to $(objpfx)texis.
10392         (texis-path): New, contains path to generated files.
10393         (chapters.%): Use texis-path for complete path, add extra argument
10394         libc-texinfo.sh.
10395         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
10396         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
10397         (summary,texi, stamp-summary): Use complete path of
10398         files. Generate files in build dir.
10399         (dir-add.texi): Build in build dir.
10400         (libm-err.texi,stamp-libm-err): Likewise.
10401         (version.texi, stamp-version): Likewise.
10402         (.%c.texi): Likewise.
10403         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
10404         (mostlyclean): Remove target.
10405         (realclean): Remove target.
10406         (generated): Add new variable with contents from mostlyclean and
10407         realclean, remove entries duplicated in common-mostlyclean, add
10408         stamp-libm-err and stamp-version.
10409         (generated-dirs): Add libc directory.
10410         ($(inst_infodir)/libc.info): Install files from build dir.
10412         * manual/install.texi (Configuring and compiling): Adjust since
10413         the info files are not part of the tar ball anymore.
10415 2012-05-14  Andreas Jaeger  <aj@suse.de>
10417         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
10418         variable.
10420 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
10422         [BZ #13717]
10423         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10424         to 2.2.0 where earlier.
10425         * sysdeps/unix/sysv/linux/configure: Regenerated.
10426         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
10427         Remove conditional code.
10428         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
10429         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
10430         Remove conditional code.
10431         [!__NR_lchown]: Likewise.
10432         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10433         [__NR_lchown]: Likewise.
10434         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
10435         comment referencing __ASSUME_LCHOWN_SYSCALL.
10436         * sysdeps/unix/sysv/linux/i386/sigaction.c
10437         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10438         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10439         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
10440         Remove conditional code.
10441         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
10442         (__protocol_available): Remove #if 0 code.
10443         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
10444         conditional code.
10445         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
10446         * sysdeps/unix/sysv/linux/kernel-features.h
10447         (__ASSUME_GETCWD_SYSCALL): Don't define.
10448         (__ASSUME_REALTIME_SIGNALS): Likewise.
10449         (__ASSUME_PREAD_SYSCALL): Likewise.
10450         (__ASSUME_PWRITE_SYSCALL): Likewise.
10451         (__ASSUME_POLL_SYSCALL): Likewise.
10452         (__ASSUME_LCHOWN_SYSCALL): Likewise.
10453         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
10454         non-SPARC.
10455         (__ASSUME_SIOCGIFNAME): Don't define.
10456         (__ASSUME_MSG_NOSIGNAL): Likewise.
10457         (__ASSUME_SENDFILE): Define unconditionally.
10458         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
10459         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
10460         conditional code.
10461         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
10462         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
10463         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10464         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10465         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
10466         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10467         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
10469         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10470         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10472         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10473         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
10475         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10476         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10478         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10479         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
10481         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10482         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
10484         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10485         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
10487         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10488         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
10490         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10491         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10492         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
10493         Remove conditional code.
10494         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10495         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10496         Remove conditional code.
10497         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10498         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
10499         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
10500         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10501         Remove conditional code.
10502         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10503         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
10504         Remove conditional code.
10505         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10506         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
10507         Remove conditional code.
10508         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10509         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10510         Remove conditional code.
10511         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10512         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10513         Remove conditional code.
10514         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10515         * sysdeps/unix/sysv/linux/sh/pwrite64.c
10516         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10517         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10518         * sysdeps/unix/sysv/linux/sigaction.c
10519         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10520         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10521         * sysdeps/unix/sysv/linux/sigpending.c
10522         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10523         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10524         * sysdeps/unix/sysv/linux/sigprocmask.c
10525         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10526         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10527         * sysdeps/unix/sysv/linux/sigsuspend.c
10528         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10529         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10530         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10531         (__libc_missing_rt_sigs): Remove.
10532         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
10533         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
10534         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
10535         Remove conditional code.
10536         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
10537         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
10538         return 1.
10539         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
10540         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
10541         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
10542         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
10544 2012-05-14  Andreas Jaeger  <aj@suse.de>
10546         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
10547         it's not used in glibc.
10548         (__coshm1): Likewise.
10549         (__acosh1p): Likewise.
10550         (__sgn): Likewise.
10552         * manual/string.texi (Copying and Concatenation): Add missing
10553         variable in concat example.
10554         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10556 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10558         [BZ #14103]
10559         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
10560         __builtin_clzl with __builtin_clzll.
10562 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10564         [BZ #14104]
10565         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
10566         libc_freeres_ptr.
10568 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10570         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
10571         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
10572         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
10573         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
10575 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
10577         * NEWS: Update ia64 info.
10579 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
10581         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
10582         used as bcopy.
10584 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
10586         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
10587         * sysdeps/unix/syscalls.list (dup3): Likewise.
10588         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
10589         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
10591 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
10593         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
10594         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
10596 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
10598         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
10599         thread pointer.
10600         (TLS_IE): Use mov/add instead of movq/addq to load thread
10601         pointer.
10602         (TLS_GD_PREFIX): New.
10603         (TLS_GD): Use it.
10605 2012-05-11  David S. Miller  <davem@davemloft.net>
10607         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
10608         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
10609         (_FPU_SETCW): Likewise.
10611 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
10613         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
10614         is 32-byte aligned.
10616 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
10618         [BZ #11837]
10619         * iconvdata/gb18030.c: Update tables.
10620         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
10621         characters specially.
10622         (BODY for TO_LOOP): Add encoding of missing ranges.
10624 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
10626         [BZ #13673]
10627         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
10628         * sysdeps/mach/hurd/dup3.c: Likewise.
10629         * sysdeps/mach/hurd/readlinkat.c: Likewise.
10630         * sysdeps/powerpc/memmove.c:: Likewise.
10632 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
10634         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
10635         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
10637 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
10639         * elf/elf.h (R_X86_64_RELATIVE64): New.
10640         (R_X86_64_NUM): Updated.
10641         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10642         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
10643         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
10644         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
10645         tst-quad1pie tst-quad2pie
10646         (modules-names): Add tst-quadmod1 tst-quadmod2.
10647         ($(objpfx)tst-quad1): New dependency.
10648         ($(objpfx)tst-quad2): Likewise.
10649         ($(objpfx)tst-quad1pie): Likewise.
10650         ($(objpfx)tst-quad2pie): Likewise.
10651         * sysdeps/x86_64/tst-quad1.c: New file.
10652         * sysdeps/x86_64/tst-quad1pie.c: New file.
10653         * sysdeps/x86_64/tst-quad2.c: Likewise.
10654         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
10655         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
10656         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
10657         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
10658         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
10660 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10662         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
10663         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
10664         * streams/stropts.h (t_scalar_t): Define type.
10666         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
10667         (_PATH_PRESERVE): Set to "/var/lib".
10668         (_PATH_RWHODIR): Set to "/var/spool/rwho".
10670         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
10671         instead of int.
10673         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
10674         if __dir_mkfile succeeded.
10676         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
10677         checking for _hurd_dtablesize.  Unlock it right after having
10678         finished _hurd_dtable allocation.
10680 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10682         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
10683         * sysdeps/mach/hurd/configure: Regenerated.
10684         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
10685         special-casing to...
10686         * sysdeps/gnu/configure.in: ... this new file.
10687         * sysdeps/unix/sysv/linux/configure: Regenerated.
10688         * sysdeps/gnu/configure: New generated file.
10690         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
10691         for Linux: use nsec instead of usec, as well as:
10692         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
10693         members of type struct timespec.
10694         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
10695         New macros.
10696         (struct stat64): Likewise.
10697         (_STATBUF_ST_NSEC): New macro.
10698         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
10700         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10701         __strtoul_internal rather than strtoul.
10703 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10705         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
10706         and reject them.
10708 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10710         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
10711         which preserves existing values.
10712         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
10714 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10716         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
10717         TIMEOUT values.  Return EINVAL for NFDS values either negative or
10718         greater than FD_SETSIZE.
10720 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10722         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
10723         allocated, call __vm_protect to finish enabling the existing space, and
10724         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
10725         allocate the remainder.
10727 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10729         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
10730         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
10732 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10734         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
10735         sysdeps/mach/hurd/readlink.c.
10737         * posix/tst-sysconf.c (posix_options): Only use
10738         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
10739         _POSIX_SYNCHRONIZED_IO when they are defined
10740         * sysdeps/mach/hurd/bits/posix_opt.h:
10741         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
10742         (_XOPEN_REALTIME): Undefine macro.
10743         (_XOPEN_REALTIME_THREADS): Undefine macro.
10744         (_XOPEN_SHM): Undefine macro.
10745         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
10746         macro to -1.
10747         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
10748         macro to -1.
10749         (_POSIX_ASYNC_IO): Undefine macro.
10750         (_POSIX_PRIORITIZED_IO): Undefine macro.
10751         (_POSIX_SPIN_LOCKS): Define macro to -1.
10753         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
10754         SA_NODEFER, SA_RESETHAND.
10755         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
10756         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
10757         F_DUPFD_CLOEXEC.
10759 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10761         * elf/Makefile (pldd-modules): Define unconditionally.
10763 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10765         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
10767 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10769         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
10770         Return ENOENT when name is empty.
10771         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
10773 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10775         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
10777         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
10779 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10781         Fix mlock in all cases except non-readable pages.
10782         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
10783         instead of VM_PROT_ALL as parameter to __vm_wire function.
10785         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
10786         (__mkdir): When path is `/', just fail with EEXIST.
10787         * sysdeps/mach/hurd/mkdirat.c: Likewise.
10789 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10791         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
10792         <sys/uio.h> (for writev).
10793         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
10794         and <sys/param.h> (for MIN).
10796 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10798         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
10799         REQUESTED_TIME.  Properly set the remaining time and return EINTR
10800         if interrupted.
10802 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10804         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
10805         Depend on against $(link-rpcuserlibs).
10807 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10809         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
10810         (__libc_stack_end): Do not use attribute_relro.
10811         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
10812         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
10813         to libthread-provided value.
10814         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
10815         attribute_relro.
10817 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10819         [BZ #3748]
10820         * bits/libc-lock.h (__libc_once_get): New macro.
10821         * sysdeps/mach/bits/libc-lock.h: Likewise.
10822         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
10823         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
10824         instead of using implementation details.
10826         * libio/fileops.c: Unconditionally include <kernel-features.h>.
10827         * libio/freopen.c: Likewise.
10828         * libio/freopen64.c: Likewise.
10829         * misc/syslog.c: Likewise.
10830         * nscd/connections.c: Likewise.
10831         * nscd/netgroupcache.c: Likewise.
10832         * sysdeps/posix/getcwd.c: Likewise.
10834 2012-05-10  Roland McGrath  <roland@hack.frob.com>
10836         * math/w_ilogbf.c: Add #include <limits.h>.
10838 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10840         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
10841         path instead of returning without unlocking.
10843         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
10844         immediate-write ioctls.
10845         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
10847 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10849         * sysdeps/mach/hurd/i386/init-first.c (init): Use
10850         __builtin_frame_address instead of making assumptions about the
10851         location of the return address relative to DATA.  Force early load of
10852         the return address.
10853         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
10854         __builtin_frame_address.
10856         dup3 for GNU Hurd.
10857         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
10858         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
10859         implement dup3 and do some further code clean-ups.
10860         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
10861         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
10863 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10865         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
10867         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
10868         HURD_CRITICAL_END around holding _hurd_dtable_lock.
10869         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
10870         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
10871         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
10872         d->port.lock.
10874         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
10875         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
10876         when handler == SIG_ERR, not when handler != SIG_ERR.
10878 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10880         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
10881         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
10882         definitions.
10884         accept4 for GNU Hurd.
10885         * include/sys/socket.h (__libc_accept4): New prototype.
10886         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
10887         to implement __libc_accept4.
10888         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
10889         __libc_accept4.
10890         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
10892         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
10893         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
10894         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
10895         signal-defines.sym.
10897 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10899         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
10901 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10903         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
10904         assertion on O_CLOEXEC flag.
10905         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
10906         * hurd/intern-fd.c: Likewise.
10907         * hurd/port2fd.c: Likewise.
10909 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10911         [BZ #3906]
10912         * bits/in.h (IPV6_PKTINFO): Define new macro.
10913         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
10915 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10917         [BZ #13954]
10918         [BZ #13955]
10919         [BZ #13956]
10920         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
10921         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10922         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
10923         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10924         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10925         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10926         * math/libm-test.inc (logb_test) : Additional logb tests.
10928 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
10929             Andreas Jaeger  <aj@suse.de>
10931         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
10932         * configure: Regenerated.
10933         * config.h.in (LINK_OBSOLETE_RPC): New macro.
10934         * config.make.in (link-obsolete-rpc): New substituted variable.
10935         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
10936         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
10937         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10938         (shared-only-routines): Don't set it under [link-obsolete-rpc],
10939         so that libc.a contains the symbols.
10940         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10941         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
10942         * sunrpc/auth_none.c: Likewise.
10943         * sunrpc/auth_unix.c: Likewise.
10944         * sunrpc/authdes_prot.c: Likewise.
10945         * sunrpc/authuxprot.c: Likewise.
10946         * sunrpc/clnt_gen.c: Likewise.
10947         * sunrpc/clnt_perr.c: Likewise.
10948         * sunrpc/clnt_raw.c: Likewise.
10949         * sunrpc/clnt_simp.c: Likewise.
10950         * sunrpc/clnt_tcp.c: Likewise.
10951         * sunrpc/clnt_udp.c: Likewise.
10952         * sunrpc/clnt_unix.c: Likewise.
10953         * sunrpc/des_crypt.c: Likewise.
10954         * sunrpc/des_soft.c: Likewise.
10955         * sunrpc/get_myaddr.c: Likewise.
10956         * sunrpc/key_call.c: Likewise.
10957         * sunrpc/key_prot.c: Likewise.
10958         * sunrpc/netname.c: Likewise.
10959         * sunrpc/pm_getmaps.c: Likewise.
10960         * sunrpc/pm_getport.c: Likewise.
10961         * sunrpc/pmap_clnt.c: Likewise.
10962         * sunrpc/pmap_prot.c: Likewise.
10963         * sunrpc/pmap_prot2.c: Likewise.
10964         * sunrpc/pmap_rmt.c: Likewise.
10965         * sunrpc/publickey.c: Likewise.
10966         * sunrpc/rpc_cmsg.c: Likewise.
10967         * sunrpc/rpc_common.c: Likewise.
10968         * sunrpc/rpc_dtable.c: Likewise.
10969         * sunrpc/rpc_prot.c: Likewise.
10970         * sunrpc/rpc_thread.c: Likewise.
10971         * sunrpc/rtime.c: Likewise.
10972         * sunrpc/svc.c: Likewise.
10973         * sunrpc/svc_auth.c: Likewise.
10974         * sunrpc/svc_raw.c: Likewise.
10975         * sunrpc/svc_run.c: Likewise.
10976         * sunrpc/svc_tcp.c: Likewise.
10977         * sunrpc/svc_udp.c: Likewise.
10978         * sunrpc/svc_unix.c: Likewise.
10979         * sunrpc/svcauth_des.c: Likewise.
10980         * sunrpc/xcrypt.c: Likewise.
10981         * sunrpc/xdr.c: Likewise.
10982         * sunrpc/xdr_array.c: Likewise.
10983         * sunrpc/xdr_float.c: Likewise.
10984         * sunrpc/xdr_intXX_t.c: Likewise.
10985         * sunrpc/xdr_mem.c: Likewise.
10986         * sunrpc/xdr_rec.c: Likewise.
10987         * sunrpc/xdr_ref.c: Likewise.
10988         * sunrpc/xdr_sizeof.c: Likewise.
10989         * sunrpc/xdr_stdio.c: Likewise.
10991 2012-05-10  Roland McGrath  <roland@hack.frob.com>
10993         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
10994         change.  Update copyright years.
10996 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
10998         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
11000 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
11001             Joseph Myers  <joseph@codesourcery.com>
11002             Paul Pluzhnikov  <ppluzhnikov@google.com>
11004         [BZ #14012]
11005         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
11006         requiring rpcgen.
11007         [cross-compiling] (extra-libs): Likewise.
11008         [cross-compiling] (extra-libs-others): Likewise.
11009         [cross-compiling] (librpcsvc-routines): Likewise.
11010         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
11011         [cross-compiling] (omit-deps): Likewise.
11012         (sunrpc-CPPFLAGS): New variable.
11013         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
11014         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
11015         (cross-rpcgen-objs): New variable.
11016         (extra-objs): Append $(cross-rpcgen-objs).
11017         ($(cross-rpcgen-objs)): New rule.
11018         ($(objpfx)cross-rpcgen): Likewise.
11019         (rpcgen-cmd): Define to use $(built-program-file).  Expand
11020         comment.
11021         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
11022         ($(objpfx)x%.stmp): Likewise.
11023         * sunrpc/proto.h [IS_IN_build] (_): Define.
11024         [IS_IN_build] (_libc_intl_domainname): Likewise.
11026 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
11028         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
11029         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
11030         and R_X86_64_TPOFF64.
11032 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
11034         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
11035         sysdeps/unix/sysv/syscalls.list.
11036         (stime): Likewise.
11037         (utime): Likewise.
11038         * sysdeps/unix/sysv/syscalls.list: Remove file.
11040 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
11042         [BZ #3440]
11043         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
11044         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
11045         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
11046         (__LC_IDENTIFICATION): Make these macros useful in #if
11047         expressions, as required by C99.
11049 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
11051         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
11052         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
11053         after this.
11055 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
11057         * stdlib/longlong.h: Updated from GCC.
11059 2012-05-09  Andreas Jaeger  <aj@suse.de>
11061         * nscd/nscd.c (run_modes): Make named enum, reorder so that
11062         default is first entry.
11063         (run_mode): Set type.
11064         (main): Remove informal message about syslog.
11065         (options): Fix typo.
11067         [BZ #14053]
11068         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
11069         to asm.
11070         (lrint): Likewise.
11071         (llrintf): Likewise.
11072         (llrint): Likewise.
11073         (rint): Likewise.
11074         (rintf): Likewise.
11075         (nearbyint): Likewise.
11076         (nearbyintf): Likewise.
11078 2012-05-09  Andreas Jaeger  <aj@suse.de>
11079             Pedro Alves  <palves@redhat.com>
11081         * nscd/nscd.c (run_mode): Use enum.
11082         (main): Cleanup coding style issue.
11084 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
11085             Andreas Jaeger  <aj@suse.de>
11087         * nscd/nscd.c (go_background): Replaced with...
11088         (run_mode): ... this.
11089         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
11090         (options): Add -F --foreground.
11091         (main): Implement it.
11092         (parse_opt): Parse it.
11094 2012-05-09  Andreas Jaeger  <aj@suse.de>
11096         [BZ #14083]
11097         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
11098         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
11099         -Wconversion warning.
11100         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
11101         Likewise.
11103 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
11105         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
11106         == 0.
11107         (LC_ALL): Use macro-int-constant.
11108         (LC_COLLATE): Likewise.
11109         (LC_CTYPE): Likewise.
11110         (LC_MESSAGES): Likewise.
11111         (LC_MONETARY): Likewise.
11112         (LC_NUMERIC): Likewise.
11113         (LC_TIME): Likewise.
11114         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
11115         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11116         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11117         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
11118         Specify type.
11119         [C99-based standards] (float_t): Expect type.
11120         [C99-based standards] (double_t): Expect type.
11121         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
11122         type.
11123         [C99-based standards] (HUGE_VALL): Likewise.
11124         [C99-based standards] (INFINITY): Likewise.
11125         [C99-based standards] (NAN): Likewise.
11126         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
11127         [C99-based standards] (FP_NAN): Likewise.
11128         [C99-based standards] (FP_NORMAL): Likewise.
11129         [C99-based standards] (FP_SUBNORMAL): Likewise.
11130         [C99-based standards] (FP_ZERO): Likewise.
11131         [C99-based standards] (FP_FAST_FMA): Use
11132         optional-macro-int-constant.  Specify type.  Require == 1.
11133         [C99-based standards] (FP_FAST_FMAF): Likewise.
11134         [C99-based standards] (FP_FAST_FMAL): Likewise.
11135         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
11136         [C99-based standards] (FP_ILOGBNAN): Likewise.
11137         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
11138         Specify type.
11139         [C99-based standards] (MATH_ERREXCEPT): Likewise.
11140         [C99-based standards] (math_errhandling): Specify type.
11141         [ISO99 || ISO11] (signgam): Do not allow.
11142         [non-C99-based standards] (copysignf): Do not allow.
11143         [non-C99-based standards] (exp2f): Likewise.
11144         [non-C99-based standards] (log2f): Likewise.
11145         [non-C99-based standards] (modff): Allow.
11146         [non-C99-based standards] (erff): Do not allow.
11147         [non-C99-based standards] (erfcf): Likewise.
11148         [non-C99-based standards] (gammaf): Likewise.
11149         [non-C99-based standards] (hypotf): Likewise.
11150         [non-C99-based standards] (j0f): Likewise.
11151         [non-C99-based standards] (j1f): Likewise.
11152         [non-C99-based standards] (jnf): Likewise.
11153         [non-C99-based standards] (lgammaf): Likewise.
11154         [non-C99-based standards] (tgammaf): Likewise.
11155         [non-C99-based standards] (y0f): Likewise.
11156         [non-C99-based standards] (y1f): Likewise.
11157         [non-C99-based standards] (ynf): Likewise.
11158         [non-C99-based standards] (isnanf): Likewise.
11159         [non-C99-based standards] (acoshf): Likewise.
11160         [non-C99-based standards] (asinhf): Likewise.
11161         [non-C99-based standards] (atanhf): Likewise.
11162         [non-C99-based standards] (cbrtf): Likewise.
11163         [non-C99-based standards] (expm1f): Likewise.
11164         [non-C99-based standards] (ilogbf): Likewise.
11165         [non-C99-based standards] (log1pf): Likewise.
11166         [non-C99-based standards] (logbf): Likewise.
11167         [non-C99-based standards] (nextafterf): Likewise.
11168         [non-C99-based standards] (remainderf): Likewise.
11169         [non-C99-based standards] (rintf): Likewise.
11170         [non-C99-based standards] (scalbf): Likewise.
11171         [non-C99-based standards] (copysignl): Likewise.
11172         [non-C99-based standards] (exp2l): Likewise.
11173         [non-C99-based standards] (log2l): Likewise.
11174         [non-C99-based standards] (modfl): Allow.
11175         [non-C99-based standards] (erfl): Do not allow.
11176         [non-C99-based standards] (erfcl): Likewise.
11177         [non-C99-based standards] (gammal): Likewise.
11178         [non-C99-based standards] (hypotl): Likewise.
11179         [non-C99-based standards] (j0l): Likewise.
11180         [non-C99-based standards] (j1l): Likewise.
11181         [non-C99-based standards] (jnl): Likewise.
11182         [non-C99-based standards] (lgammal): Likewise.
11183         [non-C99-based standards] (tgammal): Likewise.
11184         [non-C99-based standards] (y0l): Likewise.
11185         [non-C99-based standards] (y1l): Likewise.
11186         [non-C99-based standards] (ynl): Likewise.
11187         [non-C99-based standards] (isnanl): Likewise.
11188         [non-C99-based standards] (acoshl): Likewise.
11189         [non-C99-based standards] (asinhl): Likewise.
11190         [non-C99-based standards] (atanhl): Likewise.
11191         [non-C99-based standards] (cbrtl): Likewise.
11192         [non-C99-based standards] (expm1l): Likewise.
11193         [non-C99-based standards] (ilogbl): Likewise.
11194         [non-C99-based standards] (log1pl): Likewise.
11195         [non-C99-based standards] (logbl): Likewise.
11196         [non-C99-based standards] (nextafterl): Likewise.
11197         [non-C99-based standards] (remainderl): Likewise.
11198         [non-C99-based standards] (rintl): Likewise.
11199         [non-C99-based standards] (scalbl): Likewise.
11200         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11201         [non-C99-based standards] (FP_*): Do not allow.
11202         [C99-based standards] (FP_*): Change to
11203         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11204         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11205         allow.
11206         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
11207         (SIG_ERR): Likewise.
11208         [X/Open-based standards] (SIG_HOLD): Likewise.
11209         (SIG_IGN): Likewise.
11210         (SIGABRT): Use macro-int-constant.  Specify type.  Require
11211         positive value.
11212         (SIGFPE): Likewise.
11213         (SIGILL): Likewise.
11214         (SIGINT): Likewise.
11215         (SIGSEGV): Likewise.
11216         (SIGTER): Likewise.
11217         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
11218         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
11219         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
11220         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
11221         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
11222         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
11223         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
11224         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
11225         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
11226         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
11227         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
11228         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
11229         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
11230         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
11231         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
11232         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
11233         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
11234         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
11235         [X/Open-based standards] (SIGTRAP): Likewise.
11236         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
11237         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
11238         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
11239         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
11240         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11241         allow.
11243 2012-05-08  Ian Wienand  <ianw@vmware.com>
11245         [BZ #14080]
11246         * time/tzset.c (__tzset_parse_tz): Update default rules for
11247         daylight time changes in the Energy Policy Act of 2005.
11249 2012-05-09  Andreas Jaeger  <aj@suse.de>
11251         [BZ #13983]
11252         * elf/ldconfig.c (parse_conf): Change string to make clear that
11253         ldconfig only issued a warning if ld.so.conf does not exist.
11255 2012-05-08  David S. Miller  <davem@davemloft.net>
11257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
11258         movxtod instead of popping the value on the stack.
11260         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11262 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
11264         * config.h.in: Add HAVE_ARM_PCS_VFP.
11266 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
11268         [BZ #13979]
11269         * include/features.h: Warn if user requests __FORTIFY_SOURCE
11270         checking but the checks are disabled for any reason.
11272 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
11274         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
11275         and ELF64_R_TYPE with ELFW(R_TYPE).
11277 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
11279         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
11280         (ulimit): Likewise.
11282         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
11283         (settimeofday): Likewise.
11285 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
11287         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
11288         a struct th_u2 inside the union, and move tu_block/tu_code into
11289         a new th_u3 union of tu_block/tu_code inside of that.  Move
11290         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
11291         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
11292         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
11293         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
11294         (th_stuff): Change to th_u1.tu_stuff.
11295         (th_data): Define.
11296         (th_msg): Change to th_u1.th_u2.tu_data.
11298 2012-05-07  David S. Miller  <davem@davemloft.net>
11300         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11302         [BZ #14074]
11303         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
11304         (SETUP_PIC_REG): Use it.
11305         (SETUP_PIC_REG_LEAF): Use it.
11307 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
11309         [BZ #13885]
11310         [BZ #13923]
11311         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11312         USE_AS_EXPM1L.
11313         (EXPL_FINITE): Likewise.
11314         (FLDLOG): Likewise.
11315         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11316         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11317         e_expl.S.
11318         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11319         USE_AS_EXPM1L.
11320         (EXPL_FINITE): Likewise.
11321         (FLDLOG): Likewise.
11322         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11323         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11324         e_expl.S.
11325         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
11326         test of -max_value argument for long double.
11327         * sysdeps/i386/fpu/libm-test-ulps: Update.
11328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11330 2012-05-06  David S. Miller  <davem@davemloft.net>
11332         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
11333         quad soft-float symbols whose references which are compiler
11334         generated.
11335         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11337 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
11339         [BZ #13884]
11340         [BZ #13914]
11341         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11342         USE_AS_EXP10L.
11343         (EXPL_FINITE): Likewise.
11344         (FLDLOG): Likewise.
11345         (c0): Likewise.
11346         (c1): Likewise.
11347         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
11348         Adjust comments for base varying.
11349         (__expl_finite): Change alias to EXPL_FINITE.
11350         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
11351         e_expl.S.
11352         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
11353         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11354         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11355         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
11356         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11357         USE_AS_EXP10L.
11358         (EXPL_FINITE): Likewise.
11359         (FLDLOG): Likewise.
11360         (c0): Likewise.
11361         (c1): Likewise.
11362         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
11363         Adjust comments for base varying.
11364         (__expl_finite): Change alias to EXPL_FINITE.
11365         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
11366         tests for bugs.
11367         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11369         [BZ #14064]
11370         * math/libm-test.inc (check_float_internal): Correct ulp
11371         calculation for subnormal expected results.
11373 2012-05-06  Andreas Jaeger  <aj@suse.de>
11375         * Makeconfig (+math-flags): New, set to -frounding-math.
11376         (+cflags): Add +math-flags so that all of glibc gets compiled with
11377         it.
11379         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
11381 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
11383         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
11384         Disable one test.
11386         [BZ #13787]
11387         [BZ #13922]
11388         [BZ #14036]
11389         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
11390         (__ieee754_expl): Allow for and saturate large arguments.
11391         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
11392         (u_threshold): Likewise.
11393         (__exp): Call __ieee754_exp before checking for overflow and
11394         underflow.
11395         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
11396         (u_threshold): Likewise.
11397         (__expf): Call __ieee754_expf before checking for overflow and
11398         underflow.
11399         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
11400         (u_threshold): Likewise.
11401         (__expl): Call __ieee754_expl before checking for overflow and
11402         underflow.
11403         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
11404         (__ieee754_expl): Allow for and saturate large arguments.
11405         * math/libm-test.inc (exp_test): Add another test.  Do not allow
11406         missing overflow exception on overflow.
11407         (expm1_test): Do not allow missing overflow exception on overflow.
11409         * sysdeps/i386/fpu/e_expl.c: Move to ...
11410         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
11411         rather than using inline asm.
11412         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
11413         * sysdeps/x86_64/fpu/e_expl.S: Copy from
11414         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
11416         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
11417         (nice): Likewise.
11418         (poll): Likewise.
11419         (signal): Likewise.
11420         (time): Likewise.
11421         (times): Likewise.
11423 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
11425         * sysdeps/unix/syscalls.list (adjtime): Add entry from
11426         sysdeps/unix/common/syscalls.list.
11427         (fchmod): Likewise.
11428         (fchown): Likewise.
11429         (ftruncate): Likewise.
11430         (getrusage): Likewise.
11431         (gettimeofday): Likewise.
11432         (setpgid): Likewise.
11433         (setregid): Likewise.
11434         (setreuid): Likewise.
11435         (sigaction): Likewise.
11436         (truncate): Likewise.
11437         (vhangup): Likewise.
11438         * sysdeps/unix/common/syscalls.list: Remove file.
11439         * sysdeps/unix/bsd/Implies: Don't include unix/common.
11440         * sysdeps/unix/sysv/linux/Implies: Likewise.
11442 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
11444         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
11445         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
11446         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
11447         Moved to ...
11448         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11449         Here.
11450         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
11451         to ...
11452         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
11453         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
11454         to ...
11455         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
11456         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
11457         to ...
11458         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
11459         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
11460         to ...
11461         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
11462         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
11463         to ...
11464         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
11465         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
11466         to ...
11467         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
11468         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
11469         to ...
11470         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11471         Here.
11472         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
11473         to ...
11474         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
11475         Here.
11476         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
11477         to ...
11478         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
11479         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
11480         Moved to ...
11481         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
11482         Here.
11483         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
11484         to ...
11485         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
11487 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
11489         * sysdeps/unix/common/bits/dirent.h: Remove file.
11490         * sysdeps/unix/common/bits/fcntl.h: Likewise.
11492         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
11493         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
11494         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
11495         * sysdeps/unix/bsd/isatty.c: Likewise.
11496         * sysdeps/unix/bsd/tcdrain.c: Likewise.
11497         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
11498         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
11500 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11502         [BZ #13563]
11503         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
11504         long double comparison inaccuracies.
11505         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11506         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11508 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
11510         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
11511         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
11513 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
11515         [BZ #14049]
11516         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
11517         nonzero digits before rounding a hex value.
11518         * stdlib/tst-strtod.c (tests): Add another test.
11520 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11522         * sysdeps/s390/fpu/libm-test-ulps: Update.
11524 2012-05-03  Andreas Jaeger  <aj@suse.de>
11526         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
11527         does not get optimized out.
11528         (malloc_opt_barrier): New.
11530 2012-05-03  Andreas Jaeger  <aj@suse.de>
11531             Roland McGrath  <roland@hack.frob.com>
11533         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
11534         intermediate file deletion.
11535         (generated): Add .symlist files.
11537 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
11539         [BZ #13775]
11540         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
11541         Redirect under this condition.
11542         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11543         [__USE_GNU] (__dprintf_chk): Not under this condition.
11544         [__USE_GNU] (__vdprintf_chk): Likewise.
11545         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
11546         under this condition.
11547         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11548         [__USE_XOPEN2K8] (dprintf): Define under this condition.
11549         [__USE_XOPEN2K8] (vdprintf): Likewise.
11550         [__USE_GNU] (__dprintf_chk): Not under this condition.
11551         [__USE_GNU] (__vdprintf_chk): Likewise.
11552         [__USE_GNU] (dprintf): Likewise.
11553         [__USE_GNU] (vdprintf): Likewise.
11555 2012-05-03  Roland McGrath  <roland@hack.frob.com>
11557         * elf/Makefile (common-generated): Set this instead of generated for
11558         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
11559         $(all-built-dso)-derived lists.
11561 2012-05-03  Andreas Jaeger  <aj@suse.de>
11563         * sysdeps/i386/fpu/libm-test-ulps: Update.
11565         * FAQ: Removed.
11566         * FAQ.in: Likewise.
11567         * scripts/gen-FAQ.pl: Likewise.
11568         * manual/install.texi (Installation): Point to online location of
11569         FAQ.
11570         * Makefile (files-for-dist): Remove FAQ.
11571         (FAQ): Remove.
11573 2012-05-02  Allan McRae  <allan@archlinux.org>
11575         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
11576         (LDFLAGS-reldepmod5.so): Likewise.
11577         (LDFLAGS-reldep6mod1.so): Likewise.
11578         (LDFLAGS-reldep6mod4.so): Likewise.
11579         (LDFLAGS-reldep8mod3.so): Likewise.
11580         (LDFLAGS-unload4mod1.so): Likewise.
11581         (LDFLAGS-unload4mod2.so): Likewise.
11582         (LDFLAGS-tst-initorder): Likewise.
11583         (LDFLAGS-tst-initordera2.so): Likewise.
11584         (LDFLAGS-tst-initordera3.so): Likewise.
11585         (LDFLAGS-tst-initordera4.so): Likewise.
11586         (LDFLAGS-tst-initorderb2.so): Likewise.
11587         (LDFLAGS-noload): Likewise.
11588         (LDFLAGS-next): Likewise.
11589         (LDFLAGS-order2mod1.so): Likewise.
11590         (LDFLAGS-order2mod2.so): Likewise.
11591         (LDFLAGS-tst-initorder2): Likewise.
11592         (LDFLAGS-tst-initorder2a.so): Likewise.
11593         (LDFLAGS-tst-initorder2b.so): Likewise.
11594         (LDFLAGS-tst-initorder2c.so): Likewise.
11595         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
11597 2012-05-02  David S. Miller  <davem@davemloft.net>
11599         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11601 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
11603         [BZ #14055]
11604         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
11606 2012-05-02  Andreas Jaeger  <aj@suse.de>
11608         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
11609         since we manipulate rounding mode.
11610         (CPPFLAGS-test-idouble.c): Likewise.
11611         (CPPFLAGS-test-ifloat.c): Likewise.
11612         (CFLAGS-test-ldouble.c): Likewise.
11613         (CFLAGS-test-double.c): Likewise.
11614         (CFLAGS-test-float.c): Likewise.
11615         (CFLAGS-test-misc.c): Likewise.
11616         (CFLAGS-test-test-fenv.c): Likewise.
11618 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11620         [BZ #2550]
11621         [BZ #2570]
11622         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
11623         comparisons to determine direction to adjust input.
11625 2012-05-01  Roland McGrath  <roland@hack.frob.com>
11627         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
11628         output to the target.
11630         * scripts/localplt.awk: New file.
11631         * elf/Makefile ($(objpfx)check-localplt): Target removed.
11632         (check-localplt-CFLAGS): Variable removed.
11633         ($(all-built-dso:=.jmprel)): New static pattern rule.
11634         (generated): Add those targets.
11635         (localplt-built-dso): New variable.
11636         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
11638         * elf/check-localplt.c: File removed.
11640         * scripts/check-execstack.awk: New file.
11641         * elf/Makefile ($(objpfx)check-execstack): Target removed.
11642         (check-execstack-CFLAGS): Variable removed.
11643         ($(objpfx)check-execstack.h): Target removed.
11644         ($(objpfx)execstack-default): New target.
11645         (generated): Add that instead of check-execstack.h.
11646         ($(all-built-dso:=.phdr)): New static pattern rule.
11647         (generated): Add those targets.
11648         * elf/check-execstack.c: File removed.
11650         * scripts/check-textrel.awk: New file.
11651         * elf/Makefile ($(objpfx)check-textrel): Target removed.
11652         (check-textrel-CFLAGS): Variable removed.
11653         (all-built-dso): Use := to define.o
11654         ($(all-built-dso:=.dyn)): New static pattern rule.
11655         (generated): Add those targets.
11656         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
11657         * config.make.in (READELF): New substituted variable.
11658         * elf/check-textrel.c: File removed.
11660 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
11662         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11663         allow.
11664         * conform/data/ctype.h-data [C99-based standards] (isblank):
11665         Expect function.
11666         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
11667         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
11668         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11669         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
11670         Specify type.  Require positive value.
11671         (EILSEQ): Likewise.
11672         (ERANGE): Likewise.
11673         [ISO || POSIX] (EILSEQ): Do not expect.
11674         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
11675         Specify type.  Require positive value.
11676         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
11677         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
11678         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
11679         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
11680         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
11681         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
11682         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
11683         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
11684         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
11685         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
11686         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
11687         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
11688         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
11689         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
11690         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
11691         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
11692         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
11693         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
11694         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
11695         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
11696         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
11697         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
11698         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
11699         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
11700         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
11701         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
11702         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
11703         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
11704         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
11705         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
11706         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
11707         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
11708         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
11709         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
11710         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
11711         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
11712         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
11713         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
11714         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
11715         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
11716         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
11717         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
11718         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
11719         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
11720         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
11721         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
11722         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
11723         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
11724         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
11725         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
11726         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
11727         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
11728         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
11729         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
11730         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
11731         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
11732         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
11733         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
11734         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
11735         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
11736         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
11737         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
11738         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
11739         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
11740         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
11741         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
11742         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
11743         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
11744         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
11745         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
11746         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
11747         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
11748         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
11749         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
11750         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
11751         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
11752         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
11753         Require >= 2.
11754         (FLT_ROUNDS): Expect as macro, not constant.
11755         (FLT_MANT_DIG): Use macro-int-constant.
11756         (DBL_MANT_DIG): Likewise.
11757         (LDBL_MANT_DIG): Likewise.
11758         (FLT_DIG): Likewise.
11759         (DBL_DIG): Likewise.
11760         (LDBL_DIG): Likewise.
11761         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
11762         (DBL_MIN_EXP): Likewise.
11763         (LDBL_MIN_EXP): Likewise.
11764         (FLT_MAX_EXP): Use macro-int-constant.
11765         (DBL_MAX_EXP): Likewise.
11766         (LDBL_MAX_EXP): Likewise.
11767         (FLT_MAX_10_EXP): Likewise.
11768         (DBL_MAX_10_EXP): Likewise.
11769         (LDBL_MAX_10_EXP): Likewise.
11770         (FLT_MAX): Use macro-constant.
11771         (DBL_MAX): Likewise.
11772         (LDBL_MAX): Likewise.
11773         (FLT_EPSILON): Use macro-constant.  Give upper bound.
11774         (DBL_EPSILON): Likewise.
11775         (LDBL_EPSILON): Likewise.
11776         (FLT_MIN): Likewise.
11777         (DBL_MIN): Likewise.
11778         (LDBL_MIN): Likewise.
11779         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
11780         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
11781         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
11782         [ISO11] (FLT_HAS_SUBNORM): Likewise.
11783         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
11784         [ISO11] (DBL_DECIMAL_DIG): Likewise.
11785         [ISO11] (FLT_DECIMAL_DIG): Likewise.
11786         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
11787         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
11788         [ISO11] (FLT_TRUE_MIN): Likewise.
11789         [ISO11] (LDBL_TRUE_MIN): Likewise.
11790         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11791         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
11792         (SCHAR_MIN): Use macro-int-constant.  Specify type.
11793         (SCHAR_MAX): Likewise.
11794         (UCHAR_MAX): Likewise.
11795         (CHAR_MIN): Likewise.
11796         (CHAR_MAX): Likewise.
11797         (MB_LEN_MAX): Use macro-int-constant.
11798         (SHRT_MIN): Use macro-int-constant.  Specify type.
11799         (SHRT_MAX): Likewise.
11800         (USHRT_MAX): Likewise.
11801         (INT_MAX): Likewise.
11802         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
11803         bound negative.
11804         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
11805         bound with "U".
11806         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
11807         bound with "L".
11808         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
11809         bound negative.  Suffix upper bound with "L".
11810         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
11811         bound with "UL".
11812         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
11813         Specify type.
11814         [C99-based standards] (LLONG_MAX): Likewise.
11815         [C99-based standards] (ULLONG_MAX): Likewise.
11816         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
11817         == 0.
11818         [ISO11] (max_align_t): Require type.
11819         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11821         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
11822         from $CFLAGS, without defining away __attribute__ calls.
11823         (checknamespace): Use $CFLAGS_namespace.
11825         * conform/conformtest.pl (@keywords): Only include C99 keywords
11826         for standards based on C99 or C11.
11828         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
11829         Disable tests.
11830         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
11831         UNIX98]: Likewise.
11833         * conform/conformtest.pl: Handle "macro-int-constant" and test for
11834         usability of symbols in #if.
11836         * conform/conformtest.pl: If macro or constant types start
11837         "promoted:", expect the symbol to be of the following type
11838         promoted by the integer promotions.
11840         * conform/conformtest.pl: Parse all "constant" and "macro" lines
11841         in one place.  Also handle "macro-constant".
11843         * conform/conformtest.pl: Only accept expected macro values with
11844         "==".  Parse all "macro" lines in one place.
11845         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
11847         * conform/conformtest.pl: Handle braced types on "constant" lines
11848         instead of handling "typed-constant".
11849         * conform/data/signal.h-data: Use "constant" instead of
11850         "typed-constant".
11852         * conform/conformtest.pl: Handle "optional-" at start of lines in
11853         one place rather than duplicating several cases.  Handle each
11854         format of "macro" line with initial "optional-".
11856         * conform/conformtest.pl: Only accept expected constant or
11857         optional-constant values with "==".  Parse all "constant" lines in
11858         one place.  Parse all "optional-constant" lines in one place.
11859         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
11860         * conform/data/fmtmsg.h-data: Likewise.
11861         * conform/data/netinet/in.h-data: Likewise.
11862         * conform/data/tar.h-data: Likewise.
11863         * conform/data/limits.h-data: Use "==" form on "constant" and
11864         "optional-constant" lines.
11866         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
11867         Use -std=c99 for XOPEN2K.
11868         (@knownproblems): Remove.
11869         (newtoken): Don't check %isknown.
11871         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
11872         Do not expect macro.
11873         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
11874         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
11875         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
11876         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
11877         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
11878         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
11879         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
11880         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
11881         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
11882         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
11883         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
11884         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
11885         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
11886         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
11887         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
11888         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
11889         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
11890         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
11891         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
11892         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
11893         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
11894         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
11895         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
11896         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
11897         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
11898         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
11899         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
11900         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
11901         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
11902         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
11903         [XPG3] (acosh): Likewise.
11904         [XPG3] (asinh): Likewise.
11905         [XPG3] (atanh): Likewise.
11906         [XPG3] (cbrt): Likewise.
11907         [XPG3] (expm1): Likewise.
11908         [XPG3] (ilogb): Likewise.
11909         [XPG3] (log1p): Likewise.
11910         [XPG3] (logb): Likewise.
11911         [XPG3] (nextafter): Likewise.
11912         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
11913         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
11914         [XPG3] (remainder): Likewise.
11915         [XPG3] (rint): Likewise.
11916         [XPG3 || XPG4 || UNIX98] (round): Likewise.
11917         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
11918         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
11919         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
11920         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
11921         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
11922         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
11923         [UNIX98 || XOPEN2K] (scalb): Expect.
11924         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
11925         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
11926         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
11927         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
11928         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
11929         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
11930         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
11931         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
11932         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
11933         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
11934         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
11935         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
11936         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
11937         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
11938         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
11939         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
11940         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
11941         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
11942         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
11943         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
11944         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
11945         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
11946         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
11947         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
11948         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
11949         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
11950         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
11951         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
11952         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
11953         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
11954         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
11955         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
11956         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
11957         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
11958         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
11959         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
11960         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
11961         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
11962         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
11963         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
11964         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
11965         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
11966         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
11967         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
11968         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
11969         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
11970         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
11971         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
11972         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
11973         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
11974         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
11975         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
11976         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
11977         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
11978         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
11979         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
11980         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
11981         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
11982         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
11983         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
11984         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
11985         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
11986         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
11987         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
11988         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
11989         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
11990         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
11991         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
11992         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
11993         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
11994         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
11995         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
11996         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
11997         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
11998         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
11999         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
12000         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
12001         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
12002         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
12003         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
12004         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
12005         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
12006         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
12007         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
12008         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
12009         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
12010         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
12011         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
12012         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
12013         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
12014         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
12015         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
12016         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
12017         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
12018         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
12019         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
12020         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
12021         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
12022         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
12023         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
12024         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
12025         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
12026         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
12027         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
12028         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
12029         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
12030         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
12031         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
12032         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
12033         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
12034         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
12035         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
12036         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
12037         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
12038         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
12039         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
12040         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
12041         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
12042         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
12043         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
12044         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
12045         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
12046         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
12047         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
12048         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
12049         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
12050         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
12051         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
12052         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
12053         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
12054         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
12055         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
12056         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
12057         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
12058         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
12059         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
12060         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
12062         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
12063         _XOPEN_SOURCE_EXTENDED for XPG4.
12065         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
12067         * Makeconfig (localtime): Remove variable.
12068         (inst_localtime-file): Likewise.
12070 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
12072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12073         Update.
12074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12075         Update.
12076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12077         Update.
12078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12079         Update.
12080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12081         Update.
12082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
12083         Update.
12084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12085         Update.
12086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
12087         Update.
12088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12089         Update.
12091 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
12093         [BZ #2550]
12094         [BZ #2570]
12095         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
12096         comparisons to determine direction to adjust input.
12097         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12098         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
12099         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
12100         Likewise.
12101         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
12102         Likewise.
12103         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12104         Likewise.
12105         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
12106         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12107         Likewise.
12108         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12109         Likewise.
12110         * math/libm-test.inc (nexttoward_test): Add more tests.
12112 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
12114         [BZ #14040]
12115         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
12116         in version GLIBC_2.1, not GLIBC_2.0.
12117         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
12118         Likewise.
12120 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
12122         [BZ #13942]
12123         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
12124         (1 - x) * (1 + x).
12125         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12126         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
12127         * math/libm-test.inc (acos_test): Add more tests.
12128         (asin_test): Likewise.
12129         * sysdeps/i386/fpu/libm-test-ulps: Update.
12130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12132         [BZ #14034]
12133         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
12134         of square root.
12135         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
12136         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12137         * math/libm-test.inc (acos_test_tonearest): New function.
12138         (acos_test_towardzero): Likewise.
12139         (acos_test_downward): Likewise.
12140         (acos_test_upward): Likewise.
12141         (asin_test_tonearest): Likewise.
12142         (asin_test_towardzero): Likewise.
12143         (asin_test_downward): Likewise.
12144         (asin_test_upward): Likewise.
12145         (main): Call the new functions.
12146         * sysdeps/i386/fpu/libm-test-ulps: Update.
12147         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12149         [BZ #13884]
12150         [BZ #13924]
12151         * math/e_exp10.c: Include <float.h>.
12152         (__ieee754_exp10): Handle underflow here rather than multiplying
12153         large negative argument by M_LN10.
12154         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
12155         of __ieee754_expf.
12156         * math/e_exp10l.c: Include <float.h>.
12157         (__ieee754_exp10l): Handle underflow here rather than multiplying
12158         large negative argument by M_LN10l.
12159         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
12160         spurious overflow exception on underflow.
12162 2012-04-29  Marek Polacek  <polacek@redhat.com>
12164         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
12165         (__fortify_function): New macro.
12166         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
12167         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
12168         __extern_always_inline.
12169         * libio/bits/stdio2.h: Likewise.
12170         * libio/bits/stdio.h: Likewise.
12171         * string/string.h: Likewise.
12172         * string/bits/string3.h: Likewise.
12173         * include/stdio.h: Likewise.
12174         * stdlib/bits/stdlib.h: Likewise.
12175         * stdlib/stdlib.h: Likewise.
12176         * rt/bits/mqueue2.h: Likewise.
12177         * rt/mqueue.h: Likewise.
12178         * posix/bits/unistd.h: Likewise.
12179         * posix/unistd.h: Likewise.
12180         * io/bits/poll2.h: Likewise.
12181         * io/bits/fcntl2.h: Likewise.
12182         * io/fcntl.h: Likewise.
12183         * io/sys/poll.h: Likewise.
12184         * misc/bits/syslog.h: Likewise.
12185         * misc/bits/syslog-ldbl.h: Likewise.
12186         * misc/sys/syslog.h: Likewise.
12187         * socket/bits/socket2.h: Likewise.
12188         * socket/sys/socket.h: Likewise.
12189         * debug/tst-chk1.c: Likewise.
12190         * wcsmbs/bits/wchar2.h: Likewise.
12191         * wcsmbs/bits/wchar-ldbl.h: Likewise.
12192         * wcsmbs/wchar.h: Likewise.
12194 2012-04-29  Andreas Jaeger  <aj@suse.de>
12196         * Makerules (tests): Remove enable-check-abi protection.
12197         (check-abi-warn): Remove.
12198         (check-abi-%): Remove check-abi-warn usage.
12200         * configure.in: Remove check-abi configure option.
12201         * configure: Regenerated.
12202         * config.make.in (enable-check-abi): Remove.
12204 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
12206         [BZ #14033]
12207         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
12208         double functions to double *_finite functions.
12210         [BZ #13941]
12211         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
12212         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
12213         LDBL_MIN_EXP.
12214         * stdio-common/Makefile (tests): Add tst-sprintf3.
12215         * stdio-common/tst-sprintf3.c: New file.
12217         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
12218         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
12220 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
12222         * conform/conformtest.pl: Remove duplicate typed-constant
12223         handling.
12225 2012-04-28  David S. Miller  <davem@davemloft.net>
12227         * Makerules (%.abilist): Add vpath on sysdep_dirs.
12228         (check-abi-%): Remove AWK script prerequisite and explicit
12229         abilist directory.
12230         (check-abi): Rewrite to just diff the symlist with the abilist.
12231         (config-tls, config-abi-config): Delete, no longer used.
12232         (update-abi-%): Remove AWK script and explicit abilist directory.
12233         (update-abi): Rewrite to simply compare and conditionally copy the
12234         symlist and the sysdep abilist file.  Remove update-abi-config
12235         checks.
12236         * abilist/ld.abilist: Remove.
12237         * abilist/libBrokenLocale.abilist: Remove.
12238         * abilist/libanl.abilist: Remove.
12239         * abilist/libcrypt.abilist: Remove.
12240         * abilist/libdl.abilist: Remove.
12241         * abilist/librt.abilist: Remove.
12242         * abilist/libthread_db.abilist: Remove.
12243         * abilist/libutil.abilist: Remove.
12244         * scripts/extract-abilist.awk: Remove.
12245         * scripts/merge-abilist.awk: Remove.
12246         * sysdeps/generic/libcidn.abilist: New file.
12247         * sysdeps/generic/libnss_compat.abilist: New file.
12248         * sysdeps/generic/libnss_db.abilist: New file.
12249         * sysdeps/generic/libnss_dns.abilist: New file.
12250         * sysdeps/generic/libnss_files.abilist: New file.
12251         * sysdeps/generic/libnss_hesiod.abilist: New file.
12252         * sysdeps/generic/libnss_nis.abilist: New file.
12253         * sysdeps/generic/libnss_nisplus.abilist: New file.
12254         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
12255         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
12256         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
12257         file.
12258         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
12259         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
12260         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
12261         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
12262         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
12263         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
12264         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
12265         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
12266         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
12267         file.
12268         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
12269         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
12270         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
12271         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
12272         file.
12273         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
12274         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
12275         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
12276         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
12277         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
12278         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
12279         file.
12280         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
12281         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
12282         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
12283         file.
12284         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
12285         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
12286         New file.
12287         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
12288         New file.
12289         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
12290         New file.
12291         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
12292         New file.
12293         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
12294         New file.
12295         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
12296         New file.
12297         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
12298         New file.
12299         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
12300         New file.
12301         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
12302         New file.
12303         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
12304         New file.
12305         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
12306         New file.
12307         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
12308         New file.
12309         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
12310         New file.
12311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
12312         file.
12313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
12314         New file.
12315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12316         New file.
12317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
12318         file.
12319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12320         New file.
12321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12322         New file.
12323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
12324         file.
12325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12326         New file.
12327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12328         New file.
12329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12330         New file.
12331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12332         New file.
12333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12334         New file.
12335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12336         New file.
12337         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
12338         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
12339         file.
12340         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12341         New file.
12342         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
12343         file.
12344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
12345         file.
12346         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
12347         file.
12348         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
12349         file.
12350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
12351         file.
12352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12353         New file.
12354         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
12355         file.
12356         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
12357         file.
12358         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12359         New file.
12360         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
12361         file.
12362         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
12363         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
12364         file.
12365         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12366         New file.
12367         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
12368         file.
12369         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
12370         file.
12371         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
12372         file.
12373         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
12374         file.
12375         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
12376         file.
12377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12378         New file.
12379         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
12380         file.
12381         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
12382         file.
12383         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12384         New file.
12385         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
12386         file.
12387         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12388         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
12389         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
12390         file.
12391         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
12392         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
12393         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
12394         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
12395         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
12396         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
12397         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
12398         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
12399         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
12400         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
12401         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
12402         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
12403         file.
12404         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12405         New file.
12406         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
12407         file.
12408         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
12409         file.
12410         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
12411         file.
12412         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
12413         file.
12414         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
12415         file.
12416         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12417         New file.
12418         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12419         New file.
12420         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
12421         file.
12422         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12423         New file.
12424         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
12425         file.
12426         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
12427         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
12428         file.
12429         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12430         New file.
12431         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
12432         file.
12433         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
12434         file.
12435         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
12436         file.
12437         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
12438         file.
12439         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
12440         file.
12441         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12442         New file.
12443         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12444         New file.
12445         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
12446         file.
12447         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12448         New file.
12449         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
12450         file.
12452 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
12454         * conform/conformtest.pl: Fix typo in handling typed-constant from
12455         allow-header.
12457 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
12459         * README: Cut down references to pre-2.6 Linux kernels and
12460         Linuxthreads.  Update lists of configurations in libc and ports
12461         and sort alphabetically.  Say "or newer" with Linux kernel version
12462         requirements.
12464         * config.h.in [IS_IN_build]: Allow compiling without optimization.
12466 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12468         [BZ #887]
12469         * math/libm-test.inc (logb_test_downward): New test to expose
12470         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
12471         rounding mode.
12473 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
12475         [BZ #14027]
12476         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
12477         to be done.
12478         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
12479         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
12481 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
12483         * sysdeps/unix/i386/brk.S: Remove file.
12484         * sysdeps/unix/i386/dl-brk.S: Likewise.
12485         * sysdeps/unix/i386/pipe.S: Likewise.
12486         * sysdeps/unix/i386/sigreturn.S: Likewise.
12487         * sysdeps/unix/i386/syscall.S: Likewise.
12488         * sysdeps/unix/i386/vfork.S: Likewise.
12489         * sysdeps/unix/i386/wait.S: Likewise.
12491         * sysdeps/unix/common/tcsendbrk.c: Move to ...
12492         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
12494         * configure.in (arm*-none*): Do not allow without
12495         --enable-hacker-mode.
12496         (netbsd*): Remove case setting base_os.
12497         (386bsd*): Likewise.
12498         (freebsd*): Likewise.
12499         (bsdi*): Likewise.
12500         (osf*): Likewise.
12501         (sunos*): Likewise.
12502         (ultrix*): Likewise.
12503         (newsos*): Likewise.
12504         (dynix*): Likewise.
12505         (*bsd*): Likewise.
12506         (sysv*): Likewise.
12507         (isc*): Likewise.
12508         (esix*): Likewise.
12509         (sco*): Likewise.
12510         (minix*): Likewise.
12511         (irix4*): Likewise.
12512         (irix6*): Likewise.
12513         (solaris[2-9]*): Likewise.
12514         (none): Likewise.
12515         * configure: Regenerated.
12517 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12519         [BZ #11521]
12520         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
12521         overflow or cancellation in calculating denominator.
12522         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
12523         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
12524         down expression to avoid unexpected rounding in newer GCCs.
12525         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
12527 2012-04-26  David S. Miller  <davem@davemloft.net>
12529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
12530         long-double compat symbols.
12531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
12535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12536         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12537         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12538         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
12539         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
12540         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12541         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
12542         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
12543         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12545 2012-04-25  David S. Miller  <davem@davemloft.net>
12547         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
12548         HWCAP_* values only after the memory barriers have been defined.
12549         (atomic_full_barrier): Define.
12550         (atomic_read_barrier): Define.
12551         (atomic_write_barrier): Define.
12553 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12555         * shlib-versions: Add libgcc_s version information.
12556         * sysdeps/generic/libgcc_s.h: Remove.
12557         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
12558         libgcc_s.h.
12559         * sysdeps/gnu/unwind-resume.c: Likewise.
12560         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
12562 2012-04-25  David S. Miller  <davem@davemloft.net>
12564         * sysdeps/unix/sparc/brk.S: Delete.
12565         * sysdeps/unix/sparc/dl-brk.S: Delete.
12566         * sysdeps/unix/sparc/pipe.S: Delete.
12567         * sysdeps/unix/sparc/sysdep.S: Delete.
12568         * sysdeps/unix/sparc/sysdep.h: Delete.
12569         * sysdeps/unix/sparc/vfork.S: Delete.
12570         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
12571         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
12572         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
12573         ret_ERRVAL, r0, r1, MOVE): Define.
12574         (JUMPTARGET): Remove.
12575         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
12576         sysdeps/unix/sparc/sysdep.h
12577         (ENTRY, END): Remove.
12578         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12580 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
12582         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
12583         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
12584         -DIS_IN_build.
12586         * timezone/README: Update upstream location and email address for
12587         tzcode and tzdata.
12588         * timezone/zdump.c: Update from tzcode 2012b.
12589         * timezone/zic.c: Likewise.
12591         * configure.in (libc_cv_as_needed): Remove test.
12592         * configure: Regenerated.
12593         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
12594         conditional definition.
12595         [$(have-as-needed) != yes] (no-as-needed): Likewise.
12596         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
12597         * config.make.in (have-as-needed): Remove variable.
12599 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12600             Paul Pluzhnikov  <ppluzhnikov@google.com>
12602         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
12603         strings correctly.
12605 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
12607         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
12608         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
12609         * sysdeps/sh/strlen.S: Likewise.
12611 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
12613         * sysdeps/unix/fork.S: Remove file.
12614         * sysdeps/unix/i386/fork.S: Likewise.
12615         * sysdeps/unix/sparc/fork.S: Likewise.
12617         * sysdeps/unix/system.c: Remove file.
12618         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
12620         * sysdeps/unix/getegid.S: Remove file.
12621         * sysdeps/unix/geteuid.S: Likewise.
12623 2012-04-24  Roland McGrath  <roland@hack.frob.com>
12625         * scripts/check-localplt.awk: New file.
12626         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
12627         of diff.
12628         * scripts/data/localplt-generic.data: Add a comment.
12630         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
12631         NODE when __dir_mkfile failed.
12632         * sysdeps/mach/hurd/symlinkat.c: Likewise.
12633         Reported by Ludovic Courtès <ludo@gnu.org>.
12635 2012-04-24  Andreas Jaeger  <aj@suse.de>
12637         * Makerules (common-clean): Also remove gen-as-const-headers
12638         files.
12640 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
12642         * Makerules (native-compile): Do not change working directory for
12643         build.  Use $(OUTPUT_OPTION) in command.
12644         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
12646 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12648         [BZ #13886]
12649         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
12650         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
12651         * math/libm-test.inc (floor_test): Add more tests.
12652         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
12654 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
12656         * sysdeps/unix/getdents.c: Remove file.
12657         * sysdeps/unix/sysv/getdents.c: Likewise.
12658         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
12660         * sysdeps/unix/syscalls.list (madvise): Add syscall from
12661         sysdeps/unix/mman/syscalls.list.
12662         (mmap): Likewise.
12663         (mprotect): Likewise.
12664         (msync): Likewise.
12665         (munmap): Likewise.
12666         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
12667         * sysdeps/unix/mman/syscalls.list: Remove.
12668         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
12670         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
12671         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
12672         * configure: Regenerated.
12673         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
12674         $(libgcc_s_suffix).
12675         * config.make.in (libgcc_s_suffix): Remove variable.
12677 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
12679         * sysdeps/unix/sysv/gethostname.c: Move to ...
12680         * sysdeps/posix/gethostname.c: ... here.
12682         * sysdeps/unix/execve.S: Remove file.
12684         * sysdeps/unix/_exit.S: Remove file.
12686 2012-04-23  Andreas Jaeger  <aj@suse.de>
12688         [BZ #13739]
12689         * manual/Makefile: Remove make dist support, there's no
12690         need for a stand-alone documentation tar ball.
12691         (TEXI2DVI): Define always, it's not in Makeconfig.
12692         (dist): Removed.
12693         (tar-it): Removed.
12694         (edition): Removed.
12695         (glibc-doc-$(edition).tar): Removed
12696         (%.Z): Removed.
12697         (%.gz): Removed.
12698         (%.uu): Removed.
12699         (ETAGS): Remove, it's in Makeconfig.
12700         (move-if-change): Remove, it's in Makeconfig.
12702 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
12704         [BZ #13970]
12705         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
12706         (strtod, strtof, strtold, strtol, strtoul, strtoq)
12707         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
12708         (strtod_l, strtof_l, strtold_l): Remove __wur.
12709         It is not necessarily an error to ignore strtol's return value.
12710         One can reliably look at the stored endptr to decide whether
12711         the number had valid syntax.
12713 2012-04-21  Andreas Jaeger  <aj@suse.de>
12715         [BZ #13739]
12716         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
12718 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
12720         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
12721         * sysdeps/unix/sysv/Versions: Remove file.
12723 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
12725         [BZ #13927]
12726         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12728 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
12730         [BZ #7064]
12731         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
12732         version from __vm86.
12734 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
12736         * sysdeps/unix/common/lxstat.c: Remove file.
12737         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
12739         * sysdeps/unix/sysv/Makefile: Remove file.
12741         * sysdeps/unix/sysv/direct.h: Remove file.
12743         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
12744         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
12745         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
12746         * sysdeps/unix/sysv/bits/signum.h: Likewise.
12747         * sysdeps/unix/sysv/bits/stat.h: Likewise.
12748         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
12749         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
12751         * sysdeps/unix/sysv/setrlimit.c: Remove file.
12753         * sysdeps/unix/xmknod.c: Remove file.
12754         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
12756         * sysdeps/unix/sysv/settimeofday.c: Remove file.
12758         * sysdeps/unix/sysv/i386/time.S: Remove file.
12760         * sysdeps/unix/fxstat.c: Remove file.
12761         * sysdeps/unix/xstat.c: Likewise.
12762         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
12764         * sysdeps/unix/sysv/sigaction.c: Remove file.
12766         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
12767         (sysdep_headers): Remove variable.
12768         [termio.h not in sysdep_headers] (generated): Likewise.
12769         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
12770         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
12771         * sysdeps/unix/sysv/tcdrain.c: Likewise.
12772         * sysdeps/unix/sysv/tcflow.c: Likewise.
12773         * sysdeps/unix/sysv/tcflush.c: Likewise.
12774         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
12775         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
12776         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
12777         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
12778         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
12780         * sysdeps/unix/siglist.c: Remove file.
12782         * sysdeps/unix/getppid.S: Remove file.
12784         * sysdeps/unix/mkdir.c: Remove file.
12785         * sysdeps/unix/rmdir.c: Likewise.
12787 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
12789         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
12790         ERR_MAX value.
12791         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
12792         errlist-compat value.
12794 2012-04-18  David S. Miller  <davem@davemloft.net>
12796         * sysdeps/generic/memcopy.h (reg_char): Delete.
12797         * debug/strcat_chk.c: Use char, not reg_char.
12798         * debug/strcpy_chk.c: Likewise.
12799         * debug/strncat_chk.c: Likewise.
12800         * debug/strncpy_chk.c: Likewise.
12801         * string/memchr.c: Likewise.
12802         * string/memrchr.c: Likewise.
12803         * string/rawmemchr.c: Likewise.
12804         * string/strcat.c: Likewise.
12805         * string/strchr.c: Likewise.
12806         * string/strchrnul.c: Likewise.
12807         * string/strcmp.c: Likewise.
12808         * string/strcpy.c: Likewise.
12809         * string/strncat.c: Likewise.
12810         * string/strncmp.c: Likewise.
12811         * string/strncpy.c: Likewise.
12813 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
12815         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
12816         __builtin_memcopy is called when src and dest ranges are known to not
12817         overlap.
12819 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
12821         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
12822         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
12823         fwd_align_merge macro call.
12824         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
12825         bwd_align_merge macro call.
12826         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12828 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
12830         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
12831         bwd_align_merge macros.
12832         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
12833         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
12834         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12836 2012-04-18  David S. Miller  <davem@davemloft.net>
12838         * sysdeps/sparc/sparc64/memcopy.h: Delete.
12840 2012-04-18  Andreas Jaeger  <aj@suse.de>
12842         [BZ# 6794]
12843         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
12844         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
12845         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12847         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
12848         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
12849         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12851         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
12852         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
12853         Adjust for changed ldbl-128 files.
12855         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
12856         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
12857         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12859 2012-04-17  David S. Miller  <davem@davemloft.net>
12861         * sysdeps/sparc/sparc32/memcopy.h: Delete.
12863 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
12865         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
12866         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
12867         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
12868         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
12869         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12870         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
12872 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12874         [BZ #6794]
12875         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
12876         * math/libm-test.inc: Add ilogb errno and exception tests.
12877         * math/w_ilogb.c: New file: ilogb wrapper.
12878         * math/w_ilogbf.c: New file: ilogbf wrapper.
12879         * math/w_ilogbl.c: New file: ilogbl wrapper.
12880         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
12881         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
12882         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
12883         exception being thrown with 0.0 as argument.
12884         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
12885         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
12886         exception being thrown with 0.0 as argument.
12887         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
12888         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12889         exception being thrown with 0.0 as argument.
12890         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
12891         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12892         exception being thrown with 0.0 as argument.
12893         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
12894         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
12895         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
12896         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
12897         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
12898         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
12899         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
12900         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
12901         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
12903 2012-04-17  Petr Baudis  <pasky@ucw.cz>
12905         * include/sys/uio.h: Change __vector to __iovec to avoid clash
12906         with altivec.
12908 2012-04-16  Marek Polacek  <polacek@redhat.com>
12910         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
12912 2012-04-16  Marek Polacek  <polacek@redhat.com>
12914         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
12915         operands of fdivp instruction.
12917 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
12919         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
12920         * elf/tst-auditmod3b.c: Likewise.
12921         * elf/tst-auditmod4b.c: Likewise.
12922         * elf/tst-auditmod5b.c: Likewise.
12923         * elf/tst-auditmod6b.c: Likewise.
12924         * elf/tst-auditmod6c.c: Likewise.
12925         * elf/tst-auditmod7b.c: Likewise.
12926         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
12927         * sysdeps/x86_64/preconfigure.in: Likewise.
12928         * sysdeps/x86_64/preconfigure: Regenerated.
12930 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
12932         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
12933         __ILP32__.
12935 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
12937         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12938         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
12940 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
12942         [BZ #13973]
12943         * locale/iso-639.def: Fix gl language name. Spotted by
12944         Yaron Shahrabani.
12946 2012-04-12  Roland McGrath  <roland@hack.frob.com>
12948         [BZ #2074]
12949         * libio/libio.h (__io_write_fn): Update comment.
12951 2012-04-12  Petr Baudis  <pasky@ucw.cz>
12953         [BZ #2074]
12954         * stdio.texi (Hook Functions): The user provided writer function
12955         is not allowed to return -1.
12957 2012-04-11  David S. Miller  <davem@davemloft.net>
12959         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12961 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
12963         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
12964         Add a leading slash to rtkaio.
12966 2012-04-11  Jim Meyering  <meyering@redhat.com>
12968         [BZ #11959]
12969         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
12970         It is not necessarily an error to ignore fwrite's return
12971         value.  One can reliably use ferror to test for errors after
12972         the fact.
12974 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
12976         * bits/types.h (__snseconds_t): New type.
12977         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
12979         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
12980         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12981         (__SNSECONDS_T_TYPE): Likewise.
12982         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12983         (__SNSECONDS_T_TYPE): Likewise.
12984         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12985         (__SNSECONDS_T_TYPE): Likewise.
12987 2012-04-10  Andreas Jaeger  <aj@suse.de>
12989         [BZ #2636]
12990         * manual/time.texi (Processor Time): Return type of times is
12991         elapsed real time since an arbitrary point in the past.
12992         (CPU Time): Move CLK_TCK from here...
12993         (Processor Time): ...to here.  Correct description.
12994         * manual/conf.texi (Constants for Sysconf): Correct description of
12995         _SC_CLK_TCK.
12997 2012-04-10  David S. Miller  <davem@davemloft.net>
12999         [BZ #13967]
13000         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
13001         where the is a gap between DT_REL(A) and DT_JMPREL.
13003 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
13005         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
13006         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13007         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13009 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13011         * elf/dl-support.c (_dl_inhibit_cache): New variable.
13012         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
13013         (dl_main): Handle --inhibit-cache.
13014         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
13015         _dl_inhibit_cache.
13016         * elf/dl-load.c (_dl_map_object): Use it.
13017         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
13019 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
13021         [BZ #13872]
13022         * sysdeps/i386/fpu/e_powl.S (p78): New object.
13023         (__ieee754_powl): Saturate large exponents rather than testing for
13024         overflow of y*log2(x).
13025         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13026         * math/libm-test.inc (pow_test): Do not permit spurious overflow
13027         exceptions.
13029         [BZ #11521]
13030         * math/s_ctan.c: Include <float.h>.
13031         (__ctan): Avoid internal overflow or cancellation in calculating
13032         denominator.
13033         * math/s_ctanf.c: Likewise.
13034         * math/s_ctanl.c: Likewise.
13035         * math/s_ctanh.c: Likewise.
13036         * math/s_ctanhf.c: Likewise.
13037         * math/s_ctanhl.c: Likewise.
13038         * math/libm-test.inc (ctan_test): Add more tests.
13039         (ctanh_test): Likewise.
13040         * sysdeps/i386/fpu/libm-test-ulps: Update.
13041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13043 2012-04-09  Andreas Jaeger  <aj@suse.de>
13045         [BZ #6894]
13046         * manual/filesys.texi (Directory Entries): Mention that d_namlen
13047         is an optional BSD extension.
13049         [BZ #10254]
13050         * manual/stdio.texi (Opening Streams): Document additional fopen
13051         parameters.
13053 2012-04-09  Roland McGrath  <roland@hack.frob.com>
13055         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
13056         %eax without telling the compiler.
13058 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
13060         [BZ # 13963]
13061         * manual/install.texi: Use sourceware.org.
13063 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
13065         [BZ #13873]
13066         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
13067         (__ieee754_pow): Generate overflow and underflow using huge*huge
13068         and tiny*tiny rather than just returning constant infinity or zero
13069         for large exponents.
13070         * math/libm-test.inc (pow_test): Require overflow exceptions for
13071         applicable cases of large exponents.
13073         [BZ #706]
13074         * sysdeps/i386/fpu/e_pow.S (p10): New object.
13075         (__ieee754_pow): Use iterative multiplication algorithm only for
13076         integer exponents with absolute value below 1024.  Check for odd
13077         integer exponents when using algorithm for real exponents.
13078         * math/libm-test.inc (pow_test): Add more tests.
13079         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13081 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
13083         [BZ #13705]
13084         * math/libm-test.inc (exp_test): Do not allow overflow exception
13085         on underflow test.
13087 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
13089         [BZ #13705]
13090         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
13091         instead of __kernel_standard_f.
13093 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
13095         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
13096         * sysdeps/x86_64/memset_chk.S: Likewise.
13098 2012-04-08  Andreas Jaeger  <aj@suse.de>
13100         [BZ #10153]
13101         * manual/startup.texi (Environment Access): Describe return value
13102         for putenv and setenv.
13104         [BZ #6895]
13105         * manual/filesys.texi (Directory Entries): Add description for
13106         DT_LNK.
13108         [BZ #6890]
13109         * manual/filesys.texi (Directory Entries): Clarify that it's file
13110         system not operating system in the description of DT_UNKNOWN.
13112         [BZ #6578]
13113         * manual/syslog.texi (closelog): Fix reference, it's openlog.
13115 2012-04-08  Stephen Compall  <s11@member.fsf.org>
13117         [BZ #6649]
13118         * manual/llio.texi (Opening and Closing Files): Add cross
13119         reference to explain mode argument.
13121 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
13123         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
13124         * sysdeps/x86_64/memset_chk.S: Likewise.
13126 2012-04-07  David S. Miller  <davem@davemloft.net>
13128         * elf/elf.h (R_SPARC_WDISP10): Define.
13129         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
13130         R_SPARC_SIZE32.
13131         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
13132         R_SPARC_SIZE64 and R_SPARC_H34.
13134 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
13136         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
13137         conditions and remove no longer applicable assertion.
13139 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
13141         * bits/byteswap.h: Include <features.h>.
13142         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13143         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13145 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
13147         * bits/byteswap.h (__bswap_16): Removed.
13148         Include <bits/byteswap-16.h> to get __bswap_16.
13149         * sysdeps/i386/bits/byteswap.h: Likewise.
13150         * sysdeps/s390/bits/byteswap.h: Likewise.
13151         * sysdeps/x86_64/bits/byteswap.h: Likewise.
13152         * bits/byteswap-16.h: New file.
13153         * sysdeps/i386/bits/byteswap-16.h: Likewise.
13154         * sysdeps/s390/bits/byteswap-16.h: Likewise.
13155         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
13156         * string/Makefile (headers): Add bits/byteswap-16.h.
13158 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
13160         [BZ #13895]
13161         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
13162         extra indirection.
13163         * nss/Makefile (tests-static, tests): Add tst-nss-static.
13164         * nss/tst-nss-static.c: New.
13166 2012-04-06  Robert Millan  <rmh@gnu.org>
13168         [BZ #6486]
13169         * manual/llio.texi (File Position Primitive): lseek
13170         refers to WHENCE when it really means OFFSET.
13172 2012-04-06  Andreas Jaeger  <aj@suse.de>
13174         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
13175         strncmp declarations.
13177         * abilist/libc.abilist: Add __poll and __ppoll.
13179 2012-04-05  David S. Miller  <davem@davemloft.net>
13181         * scripts/check-local-headers.sh: Accept a host triplet in the
13182         path matched by the exclude regexp.
13184         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
13185         definition.
13186         * sysdeps/powerpc/powerpc32/dl-machine.h
13187         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
13188         * sysdeps/s390/s390-32/dl-machine.h
13189         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13190         * sysdeps/sparc/sparc32/dl-machine.h
13191         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13192         * sysdeps/sparc/sparc64/dl-machine.h
13193         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13195         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
13196         lazy binding.
13197         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
13198         undefined symbol errors.
13200         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
13201         DT_NEEDED entries.
13203 2012-04-05  Michael Matz  <matz@suse.de>
13205         [BZ #13592]
13206         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
13208 2012-04-05  Andreas Jaeger  <aj@suse.de>
13210         [BZ #13908]
13211         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
13212         comment.
13214 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
13216         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
13217         which ROUND is no valid rounding mode.
13219 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
13221         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
13222         read again.
13223         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
13225 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
13227         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
13228         an exception using FPU order intentionally.
13230 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
13232         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
13233         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
13234         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
13235         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
13237 2012-04-05  Simon Josefsson  <simon@josefsson.org>
13239         [BZ #12340]
13240         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
13241         EINVAL when BUFLEN is too smal.
13243 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
13245         [BZ #13553]
13246         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
13247         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
13249 2012-04-03  Andreas Jaeger  <aj@suse.de>
13251         [BZ #13938]
13252         * manual/setjmp.texi (System V contexts): Fix sentence.
13254         [BZ #13926]
13255         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
13256         New macro for this case.
13257         [!__GNUC__] (__bswap_64): New inline function for this case.
13258         * sysdeps/x86_64/bits/byteswap.h: Likewise.
13259         * bits/byteswap.h: Likewise.
13260         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
13261         ull, guard with __GLIBC_HAVE_LONG_LONG.
13263         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
13264         __GLIBC_HAVE_LONG_LONG.
13266         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
13267         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
13269 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13271         [BZ #13691]
13272         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
13273         inptr and inend, rather than using last_ch.
13275 2012-04-02  David S. Miller  <davem@davemloft.net>
13277         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
13278         * stdio-common/printf-parse.h (read_int): Change return type to
13279         'int', return -1 on INT_MAX overflow.
13280         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
13281         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
13282         overflows INT_MAX.  Check for overflow of in-format-string precision
13283         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
13284         SIZE_MAX not INT_MAX for integer overflow test.
13285         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
13286         skip the construct in the format string but do not record anything.
13287         * stdio-common/bug22.c: Adjust to test both width/prevision
13288         INT_MAX overflow as well as total length INT_MAX overflow.  Check
13289         explicitly for proper errno values.
13291 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
13293         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
13294         CHAR_MAX.
13295         * string/test-strcmp.c [! WIDE]: Likewise.
13296         * time/tst-mktime2.c: Likewise for INT_MAX.
13297         * string/test-string.h: #include <sys/param.h> for MIN.
13299         * csu/init-first.c (__libc_init_first): Call __ctype_init.
13300         * sysdeps/i386/init-first.c (init): Likewise.
13301         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
13302         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
13303         * sysdeps/sh/init-first.c (init): Likewise.
13305 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
13307         * po/ru.po: Update from translation team.
13308         * po/vi.po: Likewise.
13310 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
13312         * resolv/nss_dns/dns-host.c: Merge copyright years.
13314 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13316         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13317         Optimize memcpy with prefetch if
13318         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
13319         src, dst pointers have unequal 16 byte alignments.
13321 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13323         [BZ #13928]
13324         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
13325         from a CNAME entry and return the minimum ttl for the query.
13326         (gaih_getanswer_slice): Likewise.
13328 2012-03-30  Jeff Law  <law@redhat.com>
13330         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
13331         due to long keys.
13332         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13333         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13335         * resolv/nss_dns/dns-host.c: Update copyright year.
13337 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
13339         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
13340         requests to save a system call.  Fix check that all bytes are sent.
13342         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
13343         comments for sendmmsg.
13345 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13347         [BZ #13691]
13348         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
13349         with only 1 character between 0x0041 and 0x01b0.
13350         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
13351         * wcsmbs/tst-mbsnrtowcs.c: New file.
13353 2012-03-29  David S. Miller  <davem@davemloft.net>
13355         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
13356         small copies by hand.
13358 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13360         [BZ #13761]
13361         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
13362         _nss_compat_initgroups_dyn): Fall back to malloc/free
13363         for large group memberships.
13365 2012-03-28  David S. Miller  <davem@davemloft.net>
13367         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
13368         that branches into memcpy.
13369         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13370         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13371         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13372         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13373         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
13374         bits.
13375         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
13376         implementation too.
13377         * sysdeps/sparc/mempcpy.S: New file.
13379         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
13380         the IFUNC routine in the libc case.
13381         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13383         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
13384         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
13385         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
13386         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
13387         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
13388         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
13389         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
13390         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
13392         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
13393         loop to 256 bytes instead of 64 bytes and fix test signedness.
13395         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
13396         * sysdeps/sparc/sparc32/Makefile: rather than here...
13397         * sysdeps/sparc/sparc64/Makefile: and here.
13399 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
13401         * malloc/mallocbug.c: Avoid warnings about unused variables.
13403 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
13405         [BZ #13760]
13406         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
13407         in the right place. Discard and retry query if response is
13408         larger than input buffer size.
13410 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
13412         [BZ #369]
13413         [BZ #2678]
13414         [BZ #3866]
13415         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
13416         x for large integer exponent.
13417         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13418         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
13419         sign of result as needed afterwards.
13420         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13421         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
13422         result for underflowing pow the same as for overflow.
13423         (__kernel_standard_l): Handle powl overflow and underflow here
13424         rather than calling __kernel_standard.
13425         * math/libm-test.inc (pow_test): Add more tests.
13427         [BZ #3868]
13428         [BZ #13879]
13429         [BZ #13910]
13430         [BZ #13911]
13431         [BZ #13912]
13432         [BZ #13913]
13433         [BZ #13915]
13434         [BZ #13916]
13435         [BZ #13917]
13436         [BZ #13918]
13437         [BZ #13919]
13438         [BZ #13920]
13439         [BZ #13921]
13440         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
13441         * sysdeps/ieee754/k_standard.c: Include <float.h>.
13442         (__kernel_standard_l): New function.
13443         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
13444         __kernel_standard.
13445         * math/w_acosl.c (__acosl): Likewise.
13446         * math/w_asinl.c (__asinl): Likewise.
13447         * math/w_atan2l.c (__atan2l): Likewise.
13448         * math/w_atanhl.c (__atanhl): Likewise.
13449         * math/w_coshl.c (__coshl): Likewise.
13450         * math/w_exp10l.c (__exp10l): Likewise.
13451         * math/w_exp2l.c (__exp2l): Likewise.
13452         * math/w_fmodl.c (__fmodl): Likewise.
13453         * math/w_hypotl.c (__hypotl): Likewise.
13454         * math/w_j0l.c (__j0l, __y0l): Likewise.
13455         * math/w_j1l.c (__j1l, __y1l): Likewise.
13456         * math/w_jnl.c (__jnl, __ynl): Likewise.
13457         * math/w_lgammal.c (__lgammal): Likewise.
13458         * math/w_log10l.c (__log10l): Likewise.
13459         * math/w_log2l.c (__log2l): Likewise.
13460         * math/w_logl.c (__logl): Likewise.
13461         * math/w_powl.c (__powl): Likewise.
13462         * math/w_remainderl.c (__remainderl): Likewise.
13463         * math/w_scalbl.c (sysv_scalbl): Likewise.
13464         * math/w_sinhl.c (__sinhl): Likewise.
13465         * math/w_sqrtl.c (__sqrtl): Likewise.
13466         * math/w_tgammal.c (__tgammal): Likewise.
13467         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
13468         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
13469         * math/libm-test.inc (acos_test): Add more tests.
13470         (acosh_test): Likewise.
13471         (asin_test): Likewise.
13472         (atanh_test): Likewise.
13473         (exp_test): Likewise.
13474         (exp10_test): Likewise.
13475         (exp2_test): Likewise.
13476         (expm1_test): Likewise.
13477         (lgamma_test): Likewise.
13478         (log_test): Likewise.
13479         (log10_test): Likewise.
13480         (log1p_test): Likewise.
13481         (log2_test): Likewise.
13482         (pow_test): Do not allow some spurious overflow exceptions.
13483         (sqrt_test): Add more tests.
13484         (tgamma_test): Likewise.
13485         (y0_test): Likewise.
13486         (y1_test): Likewise.
13487         (yn_test): Likewise.
13489 2012-03-27  Anton Blanchard  <anton@samba.org>
13491         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
13492         MAP_HUGETLB.
13493         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13494         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13495         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13497 2012-03-27  David S. Miller  <davem@davemloft.net>
13499         * conform/Makefile: Run run-conformtest.sh using $(BASH).
13501         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
13502         have-as-vis3 check.
13504 2012-03-27  Andreas Jaeger  <aj@suse.de>
13506         * sysdeps/x86_64/elf/configure.in: Moved to ...
13507         * sysdeps/x86_64/configure.in: ... here.
13508         * sysdeps/x86_64/elf/start.S: Moved to ...
13509         * sysdeps/x86_64/start.S: ... here.
13510         * sysdeps/x86_64/elf/configure: Delete.
13512         * sysdeps/x86_64/configure.in: Merge contents from
13513         sysdeps/i386/configure.in (without i686 check).
13515         * sysdeps/i386/elf/Versions: Merge into ...
13516         * sysdeps/i386/Versions: ... this.
13517         * sysdeps/i386/elf/Versions: Delete file.
13518         * sysdeps/i386/elf/start.S: Moved to ...
13519         * sysdeps/i386/start.S: ...here.
13520         * sysdeps/i386/elf/configure.in: Merge into...
13521         * sysdeps/i386/configure.in: ...here.
13522         * sysdeps/i386/elf/configure.in: Delete file.
13523         * sysdeps/i386/elf/configure: Delete file.
13525         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
13526         * debug/backtracesyms.c: ... here.
13527         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
13528         * debug/backtracesymsfd.c: ... here.
13529         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
13530         * sysdeps/generic/ifunc-sel.h: ... here.
13532         * sysdeps/unix/i386/start.c: Delete file.
13533         * sysdeps/unix/sparc/start.c: Delete file.
13534         * sysdeps/unix/start.c: Delete file.
13536         * sysdeps/sh/elf/configure.in: Moved to ...
13537         * sysdeps/sh/configure.in: ... here.
13538         * sysdeps/sh/elf/start.S: Moved to ...
13539         * sysdeps/sh/start.S: ... here.
13540         * sysdeps/sh/elf/configure: Delete file.
13542         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
13543         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
13544         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
13545         * sysdeps/powerpc/powerpc64/entry.h: ... here.
13546         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
13547         * sysdeps/powerpc/powerpc64/start.S: here.
13548         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
13549         * sysdeps/powerpc/powerpc64/Makefile: ... this.
13550         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
13551         * sysdeps/powerpc/powerpc64/configure.in: ... this.
13552         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
13554         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
13555         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
13556         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
13557         * sysdeps/powerpc/powerpc32/start.S: ... here.
13558         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
13559         * sysdeps/powerpc/powerpc32/configure.in: ... this.
13560         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
13562         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
13563         * sysdeps/powerpc/ifunc-sel.h: ... here.
13564         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
13565         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
13567         * sysdeps/sparc/elf/configure.in: Moved to ...
13568         * sysdeps/sparc/configure.in: ... here.
13569         * sysdeps/sparc/elf/configure: Delete file.
13570         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
13571         * sysdeps/sparc/sparc32/start.S: ... here.
13572         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
13573         * sysdeps/sparc/sparc64/start.S: ... here.
13574         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
13575         * sysdeps/sparc/sparc32/Makefile: ... this.
13576         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
13577         * sysdeps/sparc/sparc64/Makefile: ... this.
13579         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
13580         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
13581         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
13582         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
13583         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
13584         * sysdeps/s390/s390-32/setjmp.S: ... here.
13585         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
13586         * sysdeps/s390/s390-32/configure.in: ... here.
13587         * sysdeps/s390/s390-32/elf/configure: Delete file.
13588         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
13589         * sysdeps/s390/s390-32/start.S: ... here.
13591         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
13592         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
13593         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
13594         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
13595         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
13596         * sysdeps/s390/s390-64/setjmp.S: ... here.
13597         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
13598         * sysdeps/s390/s390-64/configure.in: ... here
13599         * sysdeps/s390/s390-64/elf/configure: Delete file.
13600         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
13601         * sysdeps/s390/s390-64/start.S: ... here.
13602         * sysdeps/s390/s390-64/elf/configure: Delete.
13604         * configure.in: Remove support for elf directories in sysdeps.
13606         * configure: Regenerated.
13607         * sysdeps/i386/configure: Regenerated.
13608         * sysdeps/powerpc/powerpc32/configure: Regenerated.
13609         * sysdeps/powerpc/powerpc64/configure: Regenerated.
13610         * sysdeps/s390/s390-32/configure: Regenerated.
13611         * sysdeps/s390/s390-64/configure: Regenerated.
13612         * sysdeps/sh/configure: Regenerated.
13613         * sysdeps/sparc/configure: Regenerated.
13614         * sysdeps/x86_64/configure: Regenerated.
13616 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
13618         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13620         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
13621         denormal result into account.
13623 2012-03-25  Roland McGrath  <roland@hack.frob.com>
13625         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
13626         Reported by Allan McRae <allan@archlinux.org>.
13628 2012-03-23  Jeff Law  <law@redhat.com>
13630         * nss/getnssent.c (__nss_getent): Fix typo.
13632 2012-03-23  David S. Miller  <davem@davemloft.net>
13634         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13636 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
13638         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
13639         to pad to uint64_t for each field.
13640         (dl_tls_index): Replace unsigned long with uint64_t.
13642 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
13643         Paul Pluzhnikov  <ppluzhnikov@google.com>
13645         [BZ #6528]
13646         * grp/Makefile (otherlibs): Don't set it.
13647         * inet/Makefile (otherlibs): Likewise.
13648         * login/Makefile (otherlibs): Likewise.
13649         * nscd/Makefile (otherlibs): Likewise.
13650         * posix/Makefile (otherlibs): Likewise.
13651         * pwd/Makefile (otherlibs): Likewise.
13652         * rt/Makefile (otherlibs): Likewise.
13653         * sunrpc/Makefile (otherlibs): Likewise.
13654         * nss/Makefile (otherlibs): Likewise.
13655         Add libnss_files to routines and static-only-routines.
13656         ($(objpfx)getent): Remove rule.
13657         * resolv/Makefile: Add libnss_dns and libresolv to routines and
13658         static-only-routines.
13660 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
13662         [BZ #13892]
13663         * math/s_cexp.c: Include <float.h>.
13664         (__cexp): Handle exp result overflowing not necessarily
13665         overflowing both real and imaginary parts of result.
13666         * math/s_cexpf.c: Likewise.
13667         * math/s_cexpl.c: Likewise.
13668         * math/libm-test.inc (cexp_test): Add more tests.
13669         * sysdeps/i386/fpu/libm-test-ulps: Update.
13670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13672 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
13674         * include/link.h (ELFW): New macro.
13675         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
13676         Replace ELF64_R_TYPE with ELFW(R_TYPE).
13678 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
13680         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
13681         with uint64_t.
13683 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
13685         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
13686         declaration.
13687         (struct La_x32_retval): Likewise.
13689 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
13691         * sysdeps/x86_64/preconfigure.in: New file.
13692         * sysdeps/x86_64/preconfigure: New generated file.
13694 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
13696         [BZ #13824]
13697         * math/e_exp2l.c: Include <float.h>.
13698         (__ieee754_exp2l): Handle overflow and underflow cases
13699         separately.  Only pass fractional part of argument to
13700         __ieee754_expl.
13701         * math/libm-test.inc (exp2_test): Add more tests.
13703         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
13704         negating x to take absolute value.
13705         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13706         Likewise.
13707         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13708         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13709         Likewise.
13710         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
13711         computing low part if x was negated.
13712         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13714 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
13716         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
13717         la_x32_gnu_pltexit.
13718         (pltexit): Cast int_retval to ptrdiff_t.
13719         * elf/tst-auditmod3b.c: Likewise.
13720         * elf/tst-auditmod4b.c: Likewise.
13721         * elf/tst-auditmod5b.c: Likewise.
13722         * elf/tst-auditmod6b.c: Likewise.
13723         * elf/tst-auditmod6c.c: Likewise.
13724         * elf/tst-auditmod7b.c: Likewise.
13726         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
13727         and x32_gnu_pltexit.
13729         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
13730         __ELF_NATIVE_CLASS.
13731         (La_x32_regs): New macro.
13732         (La_x32_retval): Likewise.
13733         (la_x32_gnu_pltenter): New function prototype.
13734         (la_x32_gnu_pltexit): Likewise.
13736 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
13738         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
13739         exponent.
13741         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13743         * configure.in (libc_cv_cc_nofma): Check for option to disable
13744         generation of FMA instructions.
13745         * configure: Regenerate.
13746         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
13747         * sysdeps/ieee754/dbl-64/Makefile: New file.
13748         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13749         Remove brandred-fma4.
13750         (CFLAGS-brandred-fma4.c): Remove.
13751         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
13752         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
13753         define.
13754         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
13755         define.
13757 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
13759         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13760         LLONG_MAX != LONG_MAX.
13761         (_itoa_word): Use _ITOA_WORD_TYPE on value.
13762         (_fitoa_word): Likewise.
13763         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
13764         LLONG_MAX != LONG_MAX.
13765         * stdio-common/_itowa.h: Include <_itoa.h>.
13766         (_itowa_word): Use _ITOA_WORD_TYPE on value.
13767         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
13768         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
13769         only if not defined.
13770         (_ITOA_WORD_TYPE): Likewise.
13771         (_itoa_word): Use _ITOA_WORD_TYPE on value.
13772         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
13774 2012-03-21  David S. Miller  <davem@davemloft.net>
13776         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13778 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
13780         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
13781         of x86_64 when setting libc_cv_slibdir, libdir and
13782         libc_cv_localedir.
13783         * sysdeps/unix/sysv/linux/configure: Regenerated.
13785 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
13787         * manual/lang.texi (Old Varargs): Remove section.
13788         (How Variadic): Update menu.
13789         (va_start): Do not mention varargs.h.
13791 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
13792             Joseph Myers  <joseph@codesourcery.com>
13794         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
13795         link test.
13796         * configure: Regenerated.
13798 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
13800         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
13801         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
13802         conformtest.pl
13804 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
13806         * NOTES: Remove.
13807         * Makefile (files-for-dist): Remove NOTES.
13808         (NOTES): Remove rule.
13809         * README: Don't refer to NOTES.
13810         * manual/creature.texi: Don't include macros.texi.
13811         * manual/intro.texi (creature.texi): Remove comment referring to
13812         NOTES.
13814         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
13815         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
13816         * configure: Regenerated.
13817         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
13818         LIBC_TRY_CC_OPTION.
13819         (libc_cv_as_i686): Likewise.
13820         (libc_cv_cc_avx): Likewise.
13821         (libc_cv_cc_sse2avx): Likewise.
13822         (libc_cv_cc_fma4): Likewise.
13823         (libc_cv_cc_novzeroupper): Likewise.
13824         * sysdeps/i386/configure: Regenerated.
13826         [BZ #13883]
13827         * sysdeps/i386/fpu/s_cexp.S: Remove.
13828         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13829         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13830         * math/libm-test.inc (cexp_test): Add more tests.
13831         * sysdeps/i386/fpu/libm-test-ulps: Update.
13832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13834 2012-03-21  Allan McRae  <allan@archlinux.org>
13836         * timezone/Makefile: Do not install iso3166.tab and zone.tab
13838 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
13840         [BZ #13871]
13841         * math/w_exp2.c: Do not include <float.h>.
13842         (o_threshold, u_threshold): Remove.
13843         (__exp2): Calculate result before checking finiteness and calling
13844         __kernel_standard.
13845         * math/w_exp2f.c: Likewise.
13846         * math/w_exp2l.c: Likewise.
13847         * math/libm-test.inc (exp2_test): Require overflow exception for
13848         1e6 input.
13850         [BZ #3866]
13851         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
13852         range of signed 64-bit integers before using fistpll.  Remove
13853         checks for whether integers fit in mantissa bits.
13854         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
13855         the range of signed 32-bit integers before using fistpl.  Remove
13856         checks for whether integers fit in mantissa bits.
13857         * sysdeps/i386/fpu/e_powl.S (p64): New object.
13858         (__ieee754_powl): Test for y outside the range of signed 64-bit
13859         integers before using fistpll.  Reduce 64-bit values to 63-bit
13860         ones as needed.
13861         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
13862         divide-by-zero is raised for zero to large negative powers.
13863         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
13864         (__ieee754_powl): Test for y outside the range of signed 64-bit
13865         integers before using fistpll.  Reduce 64-bit values to 63-bit
13866         ones as needed.
13867         * math/libm-test.inc (pow_test): Add more tests.
13869 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
13871         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
13872         <stdio-common/_itoa.h>.
13873         * debug/segfault.c: Likewise.
13874         * elf/dl-cache.c: Likewise.
13875         * elf/dl-minimal.c: Likewise.
13876         * elf/dl-misc.c: Likewise.
13877         * elf/dl-sysdep.c: Likewise.
13878         * elf/dl-version.c: Likewise.
13879         * elf/rtld.c: Likewise.
13880         * hurd/hurdsock.c: Likewise.
13881         * hurd/lookup-retry.c: Likewise.
13882         * malloc/malloc.c: Likewise.
13883         * malloc/mtrace.c: Likewise.
13884         * nscd/nscd_getgr_r.c: Likewise.
13885         * nscd/nscd_getpw_r.c: Likewise.
13886         * nscd/nscd_getserv_r.c: Likewise.
13887         * posix/getopt_init.c: Likewise.
13888         * posix/wordexp.c: Likewise.
13889         * stdio-common/_itoa.c: Likewise.
13890         * stdio-common/printf_fphex.c: Likewise.
13891         * stdio-common/vfprintf.c: Likewise.
13892         * string/_strerror.c: Likewise.
13893         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
13894         * sysdeps/i386/i686/hp-timing.h: Likewise.
13895         * sysdeps/mach/_strerror.c: Likewise.
13896         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
13897         * sysdeps/mach/hurd/sethostid.c: Likewise.
13898         * sysdeps/mach/hurd/xmknodat.c: Likewise.
13899         * sysdeps/mach/xpg-strerror.c: Likewise.
13900         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13901         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13902         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
13903         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
13904         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13905         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
13906         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13907         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13908         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
13909         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
13910         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
13911         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13912         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
13913         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13914         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13915         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
13916         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
13917         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
13918         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13919         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13920         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
13922         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
13924         * stdio-common/_itoa.h: Moved to ...
13925         * sysdeps/generic/_itoa.h: Here.
13927         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
13929         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
13930         instead of "_itoa.h" and "_itowa.h".
13931         * stdio-common/vfprintf.: Likewise.
13933 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
13935         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
13936         <bits/wordsize.h>.
13937         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
13938         (__signbit): Likwise.
13939         (llrintf): Likwise.
13940         (llrint): Likwise.
13942 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
13944         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
13945         __WORDSIZE != 64.
13947 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
13949         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
13950         OVERFLOW_EXCEPTION_OK.
13951         * math/libm-test.inc ("Philosophy"): Update comment about
13952         exception testing.
13953         (OVERFLOW_EXCEPTION): Define.
13954         (OVERFLOW_EXCEPTION_OK): Likewise.
13955         (INVALID_EXCEPTION_OK): Renumber.
13956         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13957         (IGNORE_ZERO_INF_SIGN): Likewise.
13958         (test_exceptions): Handle FE_OVERFLOW.
13959         (exp10_test): Expect overflow exceptions.
13960         (exp2_test): Likewise.
13961         (expm1_test): Likewise.
13962         (nextafter_test): Likewise.
13963         (pow_test): Likewise.
13964         (scalbn_test): Likewise.
13965         (scalbln_test): Likewise.
13967 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13969         * sysdeps/x86_64/bits/atomic.h
13970         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
13971         64bit integer.
13972         (atomic_exchange_acq): Likewise.
13973         (__arch_exchange_and_add_body): Likewise.
13974         (__arch_add_body): Likewise.
13975         (atomic_add_negative): Likewise.
13976         (atomic_add_zero): Likewise.
13978 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13980         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
13981         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
13983 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13985         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
13986         Check __x86_64__ instead of __WORDSIZE.
13988 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13990         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
13992 2012-03-19  David S. Miller  <davem@davemloft.net>
13994         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13996         * sysdeps/sparc/fpu/fenv_private.h: New file.
13997         * sysdeps/sparc/fpu/math_private.h: Use it.
13998         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
13999         Remove.
14000         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
14001         (libc_feholdexcept_setroundl): Remove.
14002         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
14003         Remove.
14004         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
14005         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
14007 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
14009         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
14010         int64_t instead of long int.
14011         (INSERT_WORDS64): Likwise.
14013 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
14015         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
14016         _Unwind_GetCFA return to _Unwind_Ptr first.
14018 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
14020         [BZ #13629]
14021         * math/s_clog.c: Include <float.h>.
14022         (__clog): Scale large or subnormal inputs.
14023         * math/s_clogf.c: Likewise.
14024         * math/s_clogl.c: Likewise.
14025         * math/s_clog10.c: Include <float.h>.
14026         (M_LOG10_2): Define.
14027         (__clog10): Scale large or subnormal inputs.
14028         * math/s_clog10f.c: Likewise.
14029         * math/s_clog10l.c: Likewise.
14030         * math/libm-test.inc (clog_test): Add more tests.
14031         (clog10_test): Likewise.
14032         * sysdeps/i386/fpu/libm-test-ulps: Update.
14033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14035         [BZ #11451]
14036         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
14037         x and y.
14038         * math/libm-test.inc (atan2_test): Add another test.
14040         * Makerules (common-objdir-compile): Remove.
14041         * sysdeps/unix/Makefile (config-generated): Do not add
14042         $(unix-generated) to variable.
14043         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
14044         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
14045         Remove rule.
14046         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
14047         Likewise.
14048         [generic bits/local_lim.h] (before-compile): Do not append to
14049         variable.
14050         [generic bits/local_lim.h] (common-generated): Likewise.
14051         [generic sys/param.h] (before-compile): Do not append to variable.
14052         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
14053         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
14054         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
14055         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
14056         include.
14057         [generic sys/param.h] (sys/param.h-includes): Remove variable.
14058         [generic sys/param.h] (sys/param.h-includes): Remove rule.
14059         [generic sys/param.h] ($(addprefix
14060         $(common-objpfx),$(sys/param.h-includes))): Likewise.
14061         [generic sys/param.h] (common-generated): Do not append to
14062         variable.
14063         [generic sys/param.h] (sysdep_headers): Likewise.
14064         [generic bits/errno.h] (before-compile): Do not append to
14065         variable.
14066         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
14067         rule.
14068         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
14069         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
14070         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
14071         [generic bits/errno.h] (common-generated): Do not append to
14072         variable.
14073         [generic bits/ioctls.h] (before-compile): Do not append to
14074         variable.
14075         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
14076         rule.
14077         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
14078         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
14079         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
14080         rule.
14081         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
14082         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
14083         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
14084         [generic bits/ioctls.h] (common-generated): Do not append to
14085         variable.
14086         [generic sys/syscall.h] (syscall.h): Remove variable.
14087         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
14088         rule.
14089         [generic sys/syscall.h] (before-compile): Do not append to
14090         variable.
14091         [generic sys/syscall.h] (common-generated): Likewise.
14092         * sysdeps/unix/errnos-tmpl.c: Remove file.
14093         * sysdeps/unix/errnos.awk: Likewise.
14094         * sysdeps/unix/ioctls-tmpl.c: Likewise.
14095         * sysdeps/unix/ioctls.awk: Likewise.
14096         * sysdeps/unix/mk-local_lim.c: Likewise.
14097         * sysdeps/unix/snarf-ioctls: Likewise.
14099 2012-03-19  Richard Henderson  <rth@twiddle.net>
14101         * sysdeps/i386/fpu/fenv_private.h: New file.
14102         * sysdeps/i386/fpu/math_private.h: Use it.
14103         (math_opt_barrier, math_force_eval): Remove.
14104         (libc_feholdexcept_setround_53bit): Remove.
14105         (libc_feupdateenv_53bit): Remove.
14106         * sysdeps/x86_64/fpu/math_private.h: Likewise.
14107         (math_opt_barrier, math_force_eval): Remove.
14108         (libc_feholdexcept): Remove.
14109         (libc_feholdexcept_setround): Remove.
14110         (libc_fetestexcept, libc_fesetenv): Remove.
14111         (libc_feupdateenv_test): Remove.
14112         (libc_feupdateenv, libc_feholdsetround): Remove.
14113         (libc_feresetround): Remove.
14115         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
14116         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14118         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
14119         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
14120         (libc_feupdateenv_testl): New.
14121         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
14122         (libc_feupdateenv_testf): New.
14123         (libc_feupdateenv): Use libc_feupdateenv_test.
14124         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
14125         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
14127         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
14128         (libc_feholdsetroundf, libc_feholdsetroundl): New.
14129         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
14130         (libc_feresetround_noex): New.
14131         (libc_feresetround_noexf): New.
14132         (libc_feresetround_noexl): New.
14133         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
14134         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
14135         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
14136         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
14137         SET_RESTORE_ROUND.
14138         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14139         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
14140         (__cos): Likewise.
14141         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
14142         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14143         SET_RESTORE_ROUND_NOEX.
14144         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
14145         SET_RESTORE_ROUND_NOEXF.
14146         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
14147         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
14148         (libc_feholdsetroundf): New.
14149         (libc_feresetround, libc_feresetroundf): New.
14151         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
14152         (libc_feholdexcept_setround_53bit): Convert from macro to function.
14153         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
14155         * sysdeps/generic/math_private.h: Include <fenv.h>.
14156         (default_libc_feholdexcept): New.
14157         (default_libc_feholdexcept_setround): New.
14158         (default_libc_fesetenv, default_libc_feupdateenv): New.
14159         (libc_feholdexcept): Only define if undefined.
14160         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
14161         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
14162         (libc_feholdexcept_setroundl): Likewise.
14163         (libc_feholdexcept_setround_53bit): Likewise.
14164         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
14165         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
14166         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
14167         (libc_feupdateenv_53bit): Likewise.
14168         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
14169         (libc_feholdexcept): Convert from macro to inline function.
14170         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
14171         (libc_fesetenv, libc_feupdateenv): Likewise.
14173         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
14174         not previously defined.
14175         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
14176         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
14177         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
14178         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
14179         * sysdeps/ieee754/flt-32/math_private.h: New file.
14180         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
14181         math_private.h below SET_FLOAT_WORD.
14182         (__isnan, __isinf_ns, __finite): Remove.
14183         (__isnanf, __isinf_nsf, __finitef): Remove.
14185 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
14187         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14189 2012-03-17  David S. Miller  <davem@davemloft.net>
14191         [BZ #6471]
14192         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
14193         for 2.16.
14195 2012-03-16  David S. Miller  <davem@davemloft.net>
14197         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
14198         warnings.
14200         [BZ #6471]
14201         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
14202         properly.
14203         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
14204         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
14205         sysdep_routines when subdir is sysvipc.
14206         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
14207         __getshmlba helper.
14209         * sysdeps/sparc/fpu/libm-test/ulps: Update.
14211 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14213         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
14214         [__LP64__].
14216 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14218         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
14219         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
14220         (__lround): Renamed to ...
14221         (__llround): This.  Replace long int with long long int.
14222         Define lround functions as aliases of llround functions.
14223         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
14225 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14227         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
14228         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
14229         adresses to uintptr_t.  Replace "long int" and "unsigned long
14230         int" with "greg_t" on va_arg.
14232 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14234         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
14235         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
14237         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
14238         Move e_machine check before EI_CLASS check.  Handle x32
14239         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
14240         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
14241         SKIP_EM_IA_64 and include
14242         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
14244         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
14245         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
14246         (add_system_dir): New macro.
14248         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
14249         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
14251 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
14253         [BZ #2551]
14254         [BZ #2552]
14255         [BZ #2553]
14256         [BZ #2554]
14257         [BZ #2562]
14258         [BZ #2563]
14259         [BZ #2565]
14260         [BZ #2566]
14261         [BZ #2576]
14262         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
14263         (y0): Likewise.
14264         * math/w_j0f.c (j0f): Likewise.
14265         (y0f): Likewise.
14266         * math/w_j0l.c (__j0l): Likewise.
14267         (__y0l): Likewise.
14268         * math/w_j1.c (j1): Likewise.
14269         (y1): Likewise.
14270         * math/w_j1f.c (j1f): Likewise.
14271         (y1f): Likewise.
14272         * math/w_j1l.c (__j1l): Likewise.
14273         (__y1l): Likewise.
14274         * math/w_jn.c (jn): Likewise.
14275         (yn): Likewise.
14276         * math/w_jnf.c (jnf): Likewise.
14277         (ynf): Likewise.
14278         * math/w_jnl.c (__jnl): Likewise.
14279         (__ynl): Likewise.
14280         * math/libm-test.inc (j0_test): Add more tests.
14281         (j1_test): Likewise.
14282         (jn_test): Likewise.  Add trailing semicolon to existing test.
14283         (y0_test): Likewise.
14284         (y1_test): Likewise.
14285         * sysdeps/i386/fpu/libm-test-ulps: Update.
14286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14288         [BZ #13851]
14289         [BZ #13854]
14290         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14291         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
14292         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
14293         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
14294         (__tanl): Set errno for infinite argument.
14295         * sysdeps/i386/fpu/mptan.c: Remove.
14296         * sysdeps/i386/fpu/s_tan.S: Likewise.
14297         * sysdeps/i386/fpu/s_tanl.S: Likewise.
14298         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
14299         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
14300         * math/libm-test.inc (tan_test): Add more tests and enable more
14301         tests for double and long double.
14302         * sysdeps/i386/fpu/libm-test-ulps: Update.
14303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14305 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
14307         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
14308         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
14310 2012-03-16  Roland McGrath  <roland@hack.frob.com>
14312         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
14313         * configure.in: Use it for both main tree and add-ons.
14314         * configure: Regenerated.
14316 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14318         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
14320 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
14322         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
14323         in comment.
14325         [BZ #13851]
14326         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
14327         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
14328         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14329         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
14330         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
14331         infinite argument.
14332         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
14333         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
14334         != 0 for prec == 2.
14335         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
14336         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
14337         * sysdeps/i386/fpu/s_cosl.S: Likewise.
14338         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
14339         * sysdeps/i386/fpu/s_sinl.S: Likewise.
14340         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
14341         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
14342         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
14343         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
14344         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
14345         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
14346         * math/libm-test.inc (cos_test): Add more tests and enable more
14347         tests for long double.
14348         (sin_test): Likewise.
14349         (sincos_test): Likewise.
14350         * sysdeps/i386/fpu/libm-test-ulps: Update.
14351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14353 2012-03-16  David S. Miller  <davem@davemloft.net>
14355         * sysdeps/sparc/fpu/math_private.h: New file.
14357 2012-03-15  David S. Miller  <davem@davemloft.net>
14359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
14360         file.
14361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
14362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
14363         file.
14364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
14365         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
14366         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
14367         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
14368         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
14369         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
14370         sysdep routines.
14371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14373         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
14374         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
14376         * sysdeps/sparc/sparc-ifunc.h: New file.
14377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
14378         sparc-ifunc.h
14379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
14381         Likewise.
14382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
14383         Likewise.
14384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
14385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
14386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14388         Likewise.
14389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
14391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
14393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
14394         Likewise.
14395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
14396         Likewise.
14397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
14399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
14400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
14401         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14402         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14403         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
14404         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
14405         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14406         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14407         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
14408         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
14409         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
14410         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
14411         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
14412         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
14413         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
14414         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
14415         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
14416         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
14417         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
14418         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
14419         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
14420         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
14422 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
14424         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
14425         scaling.
14426         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14428 2012-03-15  Andreas Jaeger  <aj@suse.de>
14430         [BZ #13852]
14431         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
14432         ieee754/flt-32 implementation for sin, cos and sincos.
14433         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
14434         * sysdeps/i386/fpu/s_cosf.S: Likewise.
14435         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
14436         * sysdeps/i386/fpu/s_sinf.S: Likewise.
14437         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
14438         ieee754/flt-32 implementation for tan.
14440         * math/libm-test.inc (cos_test): Enable some large input tests for
14441         float as well
14442         (sin_test): Likewise.
14443         (sincos_test): Likewise.
14444         (tan_test): Add tests for large input.
14446         * sysdeps/i386/fpu/libm-test-ulps: Update.
14448 2012-03-15  Andreas Jaeger  <aj@suse.de>
14450         [BZ #13658]
14451         * math/libm-test.inc (cos_test): Add more test cases.
14452         (sin_test): Likewise.
14453         (sincos_test): Likewise.
14455 2012-03-15  Andreas Jaeger  <aj@suse.de>
14457         [BZ #13837]
14458         * math/libm-test.inc (cos_test): Add a test case for large input
14459         value.
14460         (sin_test): Likewise.
14461         (sincos_test): Likewise.
14463 2012-03-15  Andreas Jaeger  <aj@suse.de>,
14464         Joseph Myers  <joseph@codesourcery.com>
14466         [BZ #13658]
14467         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
14468         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
14469         * sysdeps/i386/fpu/branred.c: Likewise.
14470         * sysdeps/i386/fpu/dosincos.c: Likewise.
14471         * sysdeps/i386/fpu/mpa.c: Likewise.
14472         * sysdeps/i386/fpu/s_cos.S: Likewise.
14473         * sysdeps/i386/fpu/s_sin.S: Likewise.
14474         * sysdeps/i386/fpu/s_sincos.S: Likewise.
14475         * sysdeps/i386/fpu/sincos32.c: Likewise.
14477         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
14478         Define.
14479         (libc_feupdateenv_53bit): Define.
14480         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
14481         Define.
14482         (libc_feupdateenv_53bit): Define.
14484         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
14485         53 bit (without extend i386 double precision).
14487         * math/libm-test.inc (sincos_test): Add tests for large input.
14488         (sin): Likewise.
14489         (cos): Likewise.
14491         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14493 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
14495         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14497 2012-03-15  David S. Miller  <davem@davemloft.net>
14499         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
14500         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
14501         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
14502         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
14503         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
14504         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
14505         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
14506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
14507         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
14508         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
14509         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
14510         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
14511         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
14512         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
14513         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
14514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
14515         file.
14516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
14517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
14518         file.
14519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
14520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
14521         file.
14522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
14523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
14524         file.
14525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
14526         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
14527         fmin/fmax sysdep routines.
14528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14530 2012-03-14  David S. Miller  <davem@davemloft.net>
14532         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
14533         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
14534         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
14535         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
14536         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
14537         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
14538         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
14539         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
14540         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
14541         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
14542         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
14543         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
14544         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
14545         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
14546         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
14547         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
14548         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
14549         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
14550         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
14551         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
14552         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
14553         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
14554         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
14555         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
14556         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
14557         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
14558         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
14559         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
14560         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
14561         routines.
14562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
14563         file.
14564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
14565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
14566         file.
14567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
14568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
14569         file.
14570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
14571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
14572         file.
14573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
14574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
14575         file.
14576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
14577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
14578         file.
14579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
14580         file.
14581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
14582         file.
14583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
14584         file.
14585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
14586         New file.
14587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
14588         file.
14589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
14590         file.
14591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
14592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
14593         file.
14594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
14595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
14596         file.
14597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
14598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
14599         file.
14600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
14601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
14602         VIS3 routines.
14604         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14605         New file.
14607         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14609         * sysdeps/sparc/configure.in: New file.
14610         * sysdeps/sparc/configure: Generate.
14611         * configure.in (libc_cv_sparc_as_vis3): Substitute.
14612         * configure: Regenerate.
14613         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
14614         * config.make.in (have-as-vis3): New.
14615         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
14616         available use -Av9d instead of -Av9a.
14617         * sysdeps/sparc/sparc64/Makefile: Likewise.
14618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
14619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
14620         New file.
14621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
14622         file.
14623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
14624         New file.
14625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
14626         file.
14627         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
14628         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
14629         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
14630         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
14631         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
14633         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
14634         fzeros/fnegs to load 0x80000000 into a float register instead of
14635         using the stack.
14636         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
14638 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
14640         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14641         bits/syscall.h.
14642         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
14643         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
14644         ($(inst_includedir)/bits/syscall.h): Remove rule.
14645         ($(objpfx)bits/syscall.d): Include instead of
14646         $(objpfx)syscall-list.d.
14647         (generated): Change syscall-list.h and syscall-list.d to
14648         bits/syscall.h and bits/syscall.d.
14650 2012-03-14  Roland McGrath  <roland@hack.frob.com>
14652         [BZ #13846]
14653         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
14655 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
14657         [BZ #13841]
14658         * math/s_csqrt.c: Include <float.h>.
14659         (__csqrt): Scale large or subnormal inputs.
14660         * math/s_csqrtf.c: Likewise.
14661         * math/s_csqrtl.c: Likewise.
14662         * math/libm-test.inc (csqrt_test): Add more tests.
14663         * sysdeps/i386/fpu/libm-test-ulps: Update.
14664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14666         [BZ #13840]
14667         * math/libm-test.inc (hypot_test): Add more tests.
14669 2012-03-13  David S. Miller  <davem@davemloft.net>
14671         [BZ #13840]
14672         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
14673         double-precision for the calculation instead of scaling.
14675 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
14677         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
14678         manipulate bits before adding and subtracting TWO52[sx].
14679         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
14680         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
14681         Likewise.
14682         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
14684 2012-03-13  David S. Miller  <davem@davemloft.net>
14686         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
14687         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
14688         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
14689         rtld-global-offsets.h
14690         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14692         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
14693         large parameters.
14695         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
14697         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
14698         'err' in the ifdef scope in which it is actually used.
14700         * nss/nss_db/db-init.c: Include string.h
14702 2012-03-12  David S. Miller  <davem@davemloft.net>
14704         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14705         masking out of the most significant byte of random value used.
14706         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14707         Fix coding style in previous change.
14709         * sysdeps/unix/sysv/linux/kernel-features.h
14710         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
14711         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
14712         expression.
14713         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
14714         later.
14716 2012-03-11  David S. Miller  <davem@davemloft.net>
14718         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14719         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
14720         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
14721         for 'resultvar' otherwise things get truncated on 64-bit.
14723         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14724         Fix masking out of the most significant byte of random value used.
14726         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14728 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
14730         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14732 2012-03-09  David S. Miller  <davem@davemloft.net>
14734         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
14735         variables with appropriate CPP guards.
14736         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
14737         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
14738         on resulting framesize and the management of the outregs buffer for pltexit.
14739         Preserve floating point return values across _dl_call_pltexit call.
14740         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
14741         framesize and the management of the outregs buffer for pltexit.
14742         Preserve floating point return values across _dl_call_pltexit
14743         call.
14744         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
14745         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
14746         (print_exit): Fix format string for return register value.
14748 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
14750         * sunrpc/Makefile (others): Add rpcgen.
14751         ($(objpfx)rpcgen): Remove special build rule and dependency on
14752         libc.
14753         * sunrpc/rpcgen.c: New file.
14755 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
14757         [BZ #13673]
14758         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
14759         * stdio-common/bug-vfprintf-nargs.c: Likewise.
14760         * sysdeps/i386/crti.S: Likewise.
14761         * sysdeps/i386/crtn.S: Likewise.
14762         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
14763         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
14764         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
14765         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
14766         * sysdeps/sh/crti.S: Likewise.
14767         * sysdeps/sh/crtn.S: Likewise.
14768         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14770         [BZ #13673]
14771         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
14772         with URL.
14773         * locale/programs/locfile-kw.gperf: Likewise.
14774         * locale/programs/charmap-kw.h: Regenerated.
14775         * locale/programs/locfile-kw.h: Likewise.
14777         [BZ #13673]
14778         * intl/plural.y: Replace FSF snail mail address with URL.
14779         * intl/plural.c: Regenerated.
14781 2012-03-09  Richard Henderson  <rth@twiddle.net>
14783         * include/math_private.h: Remove file.
14784         * math/math_private.h: Move file ...
14785         * sysdeps/generic/math_private.h: ... here.
14787         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
14788         * sysdeps/powerpc/fpu/math_private.h: Likewise.
14789         * sysdeps/x86_64/fpu/math_private.h: Likewise.
14791         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
14792         and <math_private.h>.
14793         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14794         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14795         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14796         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14797         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14798         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
14799         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14800         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14801         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14802         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14803         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14804         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14805         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14806         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14807         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14808         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14809         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14810         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14811         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14812         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14813         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14814         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14815         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14816         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14817         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14818         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14819         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14820         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14821         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14822         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14823         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14824         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14825         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14826         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14827         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14828         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14829         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14830         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14831         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14832         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14833         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
14834         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14835         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14836         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14837         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14838         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14839         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14840         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14841         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14842         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14843         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14844         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
14845         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14846         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14847         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14848         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14849         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14850         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14851         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14852         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
14853         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14854         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14855         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14856         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14857         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
14858         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14859         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14860         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14861         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
14862         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
14863         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14864         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14865         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14866         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14867         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
14868         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14869         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
14870         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14871         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
14872         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
14873         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14874         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14875         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14876         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14877         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14878         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14879         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
14880         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14881         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14882         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14883         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14884         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14885         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14886         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14887         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14888         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14889         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14890         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14891         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14892         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14893         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14894         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14895         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14896         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14897         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14898         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14899         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14900         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14901         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14902         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14903         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14904         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14905         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14906         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14907         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
14908         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14909         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14910         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14911         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14912         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14913         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14914         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14915         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14916         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
14917         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14918         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14919         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14920         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
14921         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14922         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14923         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
14924         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14925         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14926         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14927         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
14928         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14929         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14930         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14931         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
14932         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14933         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14934         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14935         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14936         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
14937         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
14938         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14939         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14940         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14941         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14942         * sysdeps/ieee754/k_standard.c: Likewise.
14943         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14944         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14945         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14946         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14947         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14948         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14949         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14950         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14951         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14952         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14953         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14954         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14955         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14956         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14957         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14958         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14959         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14960         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14961         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14962         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14963         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14964         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14965         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14966         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14967         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14968         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14969         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14970         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14971         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14972         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14973         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14974         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14975         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14976         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14977         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14978         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14979         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14980         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
14981         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14982         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14983         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14984         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14985         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14986         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14987         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14988         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14989         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14990         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14991         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14992         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14993         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14994         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14995         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14996         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14997         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14998         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14999         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
15000         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15001         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15002         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15003         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15004         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15005         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15006         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15007         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15008         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15009         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15010         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15011         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15012         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15013         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15014         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15015         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15016         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15017         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15018         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15019         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
15020         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15021         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15022         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15023         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15024         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15025         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15026         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15027         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
15028         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15029         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15030         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15031         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15032         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15033         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
15034         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15035         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
15036         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15037         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15038         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15039         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
15040         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
15041         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
15042         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
15043         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15044         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15045         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15046         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15047         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
15048         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15049         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15050         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
15051         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
15052         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15053         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15054         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15055         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15056         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15057         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15058         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15059         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15060         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15061         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15062         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15063         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15064         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15065         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15066         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15067         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15068         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
15069         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15070         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15071         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15072         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15073         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15074         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15075         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15076         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15077         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15078         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15079         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
15080         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15081         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15082         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
15083         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
15084         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15085         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
15086         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
15087         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15088         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15089         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15090         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15091         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15092         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
15093         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15094         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15095         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15096         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15097         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
15098         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
15099         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15100         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15101         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15102         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15103         * sysdeps/ieee754/s_lib_version.c: Likewise.
15104         * sysdeps/ieee754/s_matherr.c: Likewise.
15105         * sysdeps/ieee754/s_signgam.c: Likewise.
15106         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15107         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15108         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
15109         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
15110         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
15111         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15112         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
15113         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
15114         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
15115         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
15116         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15117         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
15118         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15119         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15120         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
15121         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15122         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15123         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15124         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15125         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15126         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15128 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
15130         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
15131         * sunrpc/rpc_main.c: Likewise.
15132         * sunrpc/rpc_svcout.c: Likewise.
15134 2012-03-09  David S. Miller  <davem@davemloft.net>
15136         * include/math_private.h: New file.
15138 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
15140         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
15141         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
15142         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
15143         from <bits/socket_type.h>.
15144         (enum __socket_type): Don't define here.
15145         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
15146         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15147         bits/socket_type.h.
15149         [BZ #13566]
15150         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
15151         checking __USE_GNU.
15153         * Makerules ($(inst_includedir)/%.h): New rule.
15154         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
15155         (install-others): Remove variable setting.
15156         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
15158 2012-03-08  Richard Henderson  <rth@twiddle.net>
15160         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
15161         from macro to inline function; merge with the
15162         !__LIBC_INTERNAL_MATH_INLINES version.
15163         (__ieee754_sqrtf): Likewise.
15165         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
15166         to inline function.
15167         (__rintf, __floor, __floorf): Likewise.
15169         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
15170         macro to inline function.
15171         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
15173         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
15174         not <math/math_private.h>.
15176 2012-03-08  David S. Miller  <davem@davemloft.net>
15178         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
15179         copyright year.
15180         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
15182 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
15184         * resolv/gai_misc.c (handle_requests): Fix struct timespec
15185         normalization.
15186         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
15187         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
15189 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
15191         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
15192         be defined individually, they must be defined as a block.  Define
15193         S for printing a string instead of hidint the different by using a
15194         macro for adding the 'l'.
15195         * stdio-common/tst-fphex-wide.c: Adjust.
15197 2012-03-07  Marek Polacek  <polacek@redhat.com>
15199         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
15201 2012-03-08  Marek Polacek  <polacek@redhat.com>
15203         [BZ #13806]
15204         * stdio-common/Makefile (tests): Add tst-fphex-wide.
15205         * stdio-common/tst-fphex.c: Define a few macros to make the
15206         test reusable.  Use them.
15207         * stdio-common/tst-fphex-wide.c: New file.
15209 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
15211         [BZ #6911]
15212         * manual/macros.texi (gnusystems): New macro.
15213         (nongnusystems): Likewise.
15214         (gnulinuxhurdsystems): Likewise.
15215         (gnuhurdsystems): Likewise..
15216         (gnulinuxsystems): Likewise.
15217         * manual/charset.texi: Use new macros or @theglibc{} to refer to
15218         variants of the GNU system, not "GNU system".
15219         * manual/conf.texi: Likewise.
15220         * manual/errno.texi: Likewise.  Update example of errno macro
15221         expansion.
15222         * manual/filesys.texi: Likewise.
15223         (getumask): Document as specific to GNU/Hurd.
15224         * manual/install.texi: Likewise.  Reword some references to
15225         GNU/Linux.
15226         * manual/intro.texi: Likewise.
15227         * manual/io.texi: Likewise.
15228         (File Name Portability): Detail which constraints are inapplicable
15229         to all GNU systems and which are only inapplicable to GNU/Hurd.
15230         * manual/job.texi: Likewise.
15231         * manual/llio.texi: Likewise.
15232         (O_NOCTTY): Document as present on GNU/Linux.
15233         * manual/maint.texi: Likewise.
15234         * manual/memory.texi: Likewise.
15235         * manual/pattern.texi: Likewise.
15236         * manual/pipe.texi: Likewise.
15237         * manual/process.texi: Likewise.
15238         * manual/resource.texi: Likewise.
15239         (RUSAGE_CHILDREN): Remove statement about specifying a particular
15240         child on GNU/Hurd.
15241         * manual/setjmp.texi: Likewise.
15242         * manual/signal.texi: Likewise.
15243         * manual/startup.texi: Likewise.
15244         * manual/stdio.texi: Likewise.
15245         * manual/terminal.texi: Likewise.
15246         (ONLCR): Document as POSIX.
15247         (OXTABS): Document availability on GNU/Linux as XTABS.
15248         (ONOEOT): Document availability separately from other bits.
15249         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
15250         * manual/time.texi: Likewise.
15251         * manual/users.texi: Likewise.
15252         * INSTALL: Regenerated.
15253         * sysdeps/gnu/errlist.c: Regenerated.
15255         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
15256         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
15257         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
15258         puts.
15259         * configure: Regenerated.
15261 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
15263         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
15264         default includes instead of AC_HEADER_CHECK.
15265         * sysdeps/i386/configure: Regenerated.
15267         [BZ #10716]
15268         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
15269         * math/s_cacoshf.c (__cacoshf): Likewise.
15270         * math/s_cacoshl.c (__cacoshl): Likewise.
15271         * math/s_casinh.c (__casinh): Set signs of result from argument.
15272         * math/s_casinhf.c (__casinhf): Likewise.
15273         * math/s_casinhl.c (__casinhl): Likewise.
15274         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
15275         (casinh_test): Add more tests.
15276         * sysdeps/i386/fpu/libm-test-ulps: Update.
15277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15279 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
15281         * po/zh_TW.po: Update from translation team.
15283         * login/Makefile (distribute): Remove variable.
15284         * catgets/Makefile: Likewise.
15285         * mach/Makefile: Likewise.
15286         * malloc/Makefile: Likewise.
15287         * misc/Makefile: Likewise.
15288         * iconv/Makefile: Likewise.
15289         * nscd/Makefile: Likewise.
15290         * hurd/Makefile: Likewise.
15291         * manual/Makefile: Likewise.
15292         * locale/Makefile: Likewise.
15293         * intl/Makefile: Likewise.
15294         * conform/Makefile: Likewise.
15295         * nss/Makefile: Likewise.
15296         * time/Makefile: Likewise.
15297         * soft-fp/Makefile: Likewise.
15298         * dirent/Makefile: Likewise.
15299         * gmon/Makefile: Likewise.
15300         * po/Makefile: Likewise.
15301         * rt/Makefile: Likewise.
15302         * socket/Makefile: Likewise.
15303         * math/Makefile: Likewise.
15304         * signal/Makefile: Likewise.
15305         * debug/Makefile: Likewise.
15306         * elf/Makefile: Likewise.
15307         * timezone/Makefile: Likewise.
15308         * stdlib/Makefile: Likewise.
15309         * iconvdata/Makefile: Likewise.
15310         * sunrpc/Makefile: Likewise.
15311         * io/Makefile: Likewise.
15312         * argp/Makefile: Likewise.
15313         * inet/Makefile: Likewise.
15314         * hesiod/Makefile: Likewise.
15315         * grp/Makefile: Likewise.
15316         * csu/Makefile: Likewise.
15317         * wctype/Makefile: Likewise.
15318         * crypt/Makefile: Likewise.
15319         * libio/Makefile: Likewise.
15320         * string/Makefile: Likewise.
15321         * nis/Makefile: Likewise.
15322         * resolv/Makefile: Likewise.
15323         * stdio-common/Makefile: Likewise.
15324         * wcsmbs/Makefile: Likewise.
15325         * dlfcn/Makefile: Likewise.
15326         * posix/Makefile: Likewise.
15328         [BZ #6959]
15329         * timezone/Makefile: Don't install timezone files, just the programs
15330         and scripts.
15332 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
15334         * nss/databases.def: Add missing gshadow entry.
15336         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
15338 2012-03-06  Marek Polacek  <polacek@redhat.com>
15340         [BZ #13726]
15341         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
15342         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15343         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
15344         * stdio-common/tst-long-dbl-fphex.c: New file.
15346 2012-03-06  David S. Miller  <davem@davemloft.net>
15348         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15349         (set_obp_int): New function.
15350         (get_obp_int): New function.
15351         (__get_clockfreq_via_dev_openprom): Likewise.
15352         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
15353         Avoid unused variable warnings on 'val' and use builtin_expect.
15354         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
15355         __builtin_expect.
15356         (INLINE_CLONE_SYSCALL): Likewise.
15358 2012-03-05  David S. Miller  <davem@davemloft.net>
15360         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15362 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
15364         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15366         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
15367         only for |x| >= 40.
15368         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15370 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
15372         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
15373         Replace gettimeofday with __vdso_gettimeofday.
15375         * sysdeps/unix/sysv/linux/x86_64/init-first.c
15376         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
15377         __vdso_clock_gettime and __vdso_getcpu.
15379         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
15380         time with __vdso_time.
15382 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
15384         * manual/lang.texi (size_t): Note types to which size_t may be
15385         equivalent with the GNU C Library, but do not describe when
15386         differences between them are significant.
15388 2012-03-05  Andreas Jaeger  <aj@suse.de>
15390         * sysdeps/i386/fpu/libm-test-ulps: Update.
15392 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
15394         [BZ #3976]
15395         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
15396         (__ieee754_pow): Save and restore rounding mode and use
15397         round-to-nearest for main computations.
15398         * math/libm-test.inc (pow_test_tonearest): New function.
15399         (pow_test_towardzero): Likewise.
15400         (pow_test_downward): Likewise.
15401         (pow_test_upward): Likewise.
15402         (main): Call the new functions.
15403         * sysdeps/i386/fpu/libm-test-ulps: Update.
15404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15406         [BZ #3976]
15407         * math/libm-test.inc (cosh_test_tonearest): New function.
15408         (cosh_test_towardzero): Likewise.
15409         (cosh_test_downward): Likewise.
15410         (cosh_test_upward): Likewise.
15411         (sinh_test_tonearest): Likewise.
15412         (sinh_test_towardzero): Likewise.
15413         (sinh_test_downward): Likewise.
15414         (sinh_test_upward): Likewise.
15415         (main): Call the new functions.
15416         * sysdeps/i386/fpu/libm-test-ulps: Update.
15417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15419 2012-03-05  Tom de Vries  <tom@codesourcery.com>
15421         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
15422         default stack guard is set in last bytes.
15423         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
15425 2012-03-05  Kees Cook  <keescook@chromium.org>
15427         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
15429         [BZ #13656]
15430         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
15431         possibly allocate from heap instead of stack.
15432         * stdio-common/bug-vfprintf-nargs.c: New file.
15433         * stdio-common/Makefile (tests): Add nargs overflow test.
15435 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
15437         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15439 2012-03-03  Marek Polacek  <polacek@redhat.com>
15441         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
15442         * math/math_private.h: Likewise.
15443         * stdlib/tst-strtod.c: Likewise.
15444         * sysdeps/i386/i486/bits/atomic.h: Likewise.
15445         * sysdeps/x86_64/bits/atomic.h: Likewise.
15447 2012-03-02  David S. Miller  <davem@davemloft.net>
15449         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
15450         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
15451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
15452         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
15453         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
15454         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
15455         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
15456         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
15458 2012-03-02  Roland McGrath  <roland@hack.frob.com>
15460         [BZ #13792]
15461         * manual/examples/README: New file, says the example source files
15462         can be used under GPL>=2.
15463         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
15464         line containing just "*/".
15465         * manual/examples/add.c: Add copyright header (GPL>=2).
15466         * manual/examples/argp-ex1.c: Likewise.
15467         * manual/examples/argp-ex2.c: Likewise.
15468         * manual/examples/argp-ex3.c: Likewise.
15469         * manual/examples/argp-ex4.c: Likewise.
15470         * manual/examples/atexit.c: Likewise.
15471         * manual/examples/db.c: Likewise.
15472         * manual/examples/dir.c: Likewise.
15473         * manual/examples/dir2.c: Likewise.
15474         * manual/examples/execinfo.c: Likewise.
15475         * manual/examples/filecli.c: Likewise.
15476         * manual/examples/filesrv.c: Likewise.
15477         * manual/examples/fmtmsgexpl.c: Likewise.
15478         * manual/examples/genpass.c: Likewise.
15479         * manual/examples/inetcli.c: Likewise.
15480         * manual/examples/inetsrv.c: Likewise.
15481         * manual/examples/isockad.c: Likewise.
15482         * manual/examples/longopt.c: Likewise.
15483         * manual/examples/memopen.c: Likewise.
15484         * manual/examples/memstrm.c: Likewise.
15485         * manual/examples/mkfsock.c: Likewise.
15486         * manual/examples/mkisock.c: Likewise.
15487         * manual/examples/mygetpass.c: Likewise.
15488         * manual/examples/pipe.c: Likewise.
15489         * manual/examples/popen.c: Likewise.
15490         * manual/examples/rprintf.c: Likewise.
15491         * manual/examples/search.c: Likewise.
15492         * manual/examples/select.c: Likewise.
15493         * manual/examples/setjmp.c: Likewise.
15494         * manual/examples/sigh1.c: Likewise.
15495         * manual/examples/sigusr.c: Likewise.
15496         * manual/examples/stpcpy.c: Likewise.
15497         * manual/examples/strdupa.c: Likewise.
15498         * manual/examples/strftim.c: Likewise.
15499         * manual/examples/strncat.c: Likewise.
15500         * manual/examples/subopt.c: Likewise.
15501         * manual/examples/swapcontext.c: Likewise.
15502         * manual/examples/termios.c: Likewise.
15503         * manual/examples/testopt.c: Likewise.
15504         * manual/examples/testpass.c: Likewise.
15505         * manual/examples/timeval_subtract.c: Likewise.
15507         [BZ #13792]
15508         * manual/time.texi (Elapsed Time): Move timeval_subtract example
15509         function to ...
15510         * manual/timeval_subtract.c.texi: ... here, new file.
15512 2012-03-02  David S. Miller  <davem@davemloft.net>
15514         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
15516 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
15518         [BZ #3976]
15519         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
15520         (__sin): Save and restore rounding mode and use round-to-nearest
15521         for all computations.
15522         (__cos): Save and restore rounding mode and use round-to-nearest
15523         for all computations.
15524         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
15525         <fenv.h>.
15526         (tan): Save and restore rounding mode and use round-to-nearest for
15527         all computations.
15528         * math/libm-test.inc (cos_test_tonearest): New function.
15529         (cos_test_towardzero): Likewise.
15530         (cos_test_downward): Likewise.
15531         (cos_test_upward): Likewise.
15532         (sin_test_tonearest): Likewise.
15533         (sin_test_towardzero): Likewise.
15534         (sin_test_downward): Likewise.
15535         (sin_test_upward): Likewise.
15536         (tan_test_tonearest): Likewise.
15537         (tan_test_towardzero): Likewise.
15538         (tan_test_downward): Likewise.
15539         (tan_test_upward): Likewise.
15540         (main): Call the new functions.
15541         * sysdeps/i386/fpu/libm-test-ulps: Update.
15542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15544         [BZ #10135]
15545         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
15546         small n, then large n, before computing and testing k+n.
15547         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15548         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
15549         Likewise.
15550         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
15551         Likewise.
15552         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
15553         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
15554         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
15555         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
15556         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15557         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15558         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
15559         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
15560         * math/libm-test.inc (scalbn_test): Add more tests.
15561         (scalbln_test): Likewise.
15563         * manual/filesys.texi (mode_t): Describe constraints on size and
15564         signedness, not exact equivalence to a particular type.
15565         (ino_t): Likewise.
15566         (ino64_t): Likewise.
15567         (dev_t): Likewise.
15568         (nlink_t): Likewise.
15569         (blkcnt_t): Likewise.
15570         (blkcnt64_t): Likewise.
15571         * manual/llio.texi (off_t): Likewise.
15573         [BZ #3976]
15574         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
15575         (__ieee754_exp): Save and restore rounding mode and use
15576         round-to-nearest for all computations.
15577         * math/libm-test.inc (exp_test_tonearest): New function.
15578         (exp_test_towardzero): Likewise.
15579         (exp_test_downward): Likewise.
15580         (exp_test_upward): Likewise.
15581         (main): Call the new functions.
15582         * sysdeps/i386/fpu/libm-test-ulps: Update.
15583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15585 2012-03-01  Chris Demetriou  <cgd@google.com>
15587         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
15588         have predictable order.
15590 2012-03-01  David S. Miller  <davem@davemloft.net>
15592         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
15594         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
15595         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
15596         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
15597         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
15599         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
15600         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
15601         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
15602         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
15603         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
15604         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
15605         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
15606         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
15607         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
15609         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15611         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
15612         * sysdeps/sparc/fpu/libm-test-ulps: to here.
15613         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
15615         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
15616         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15617         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15618         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
15619         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
15620         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
15621         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
15622         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15623         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15624         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
15625         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
15626         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15627         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15628         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15629         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15630         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15631         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
15632         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
15633         * sysdeps/sparc/elf/configure: Regenerated.
15635 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
15637         * configure.in (AS, LD): Require binutils 2.20 or later.
15638         * configure: Regenerated.
15639         * manual/install.texi (Tools for Compilation): Give binutils 2.20
15640         as required minimum version.
15641         * INSTALL: Regenerated.
15643         [BZ #2541]
15644         [BZ #4108]
15645         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
15646         before squaring exponent.
15647         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
15648         bottom long double and 27 bits of top long double before squaring
15649         exponent.
15650         * math/libm-test.inc (erfc_test): Add more tests.
15651         * sysdeps/i386/fpu/libm-test-ulps: Update.
15652         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15655 2012-03-01  Kai Tietz  <ktietz@redhat.com>
15657         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
15658         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
15659         containing bit-fields.
15660         * soft-fp/extended.h (_FP_UNION_E): Likewise.
15661         * soft-fp/single.h (_FP_UNION_S): Likewise.
15662         * soft-fp/double.h (_FP_UNION_D): Likewise.
15664 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
15666         [BZ #13786]
15667         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
15668         not include ../strcmp.S.
15669         [USE_AS_STRNCASECMP_L]: Likewise.
15670         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
15671         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
15672         * sysdeps/i386/i686/multiarch/strncase_l-c.c
15673         (__strncasecmp_l_ia32): Define as alias to
15674         __strncasecmp_l_nonascii.
15676         [BZ #5794]
15677         * math/libm-test.inc (expm1_test): Add test for bug 5794.
15678         * sysdeps/i386/fpu/libm-test-ulps: Update.
15679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15681         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
15682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15684 2012-02-29  Jeff Law  <law@redhat.com>
15686         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
15687         out of bounds read.
15689 2012-02-29  Marek Polacek  <polacek@redhat.com>
15691         [BZ #13706]
15692         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
15693         * elf/Makefile: Add rules to run tst-unused-dep.out.
15695 2012-02-28  David S. Miller  <davem@davemloft.net>
15697         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
15698         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
15699         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
15700         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
15701         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
15702         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
15704 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
15706         * math/libm-test.inc (llround_test): Move one test from
15707         lround_test.  Use TEST_f_L in moved test.
15708         (lround_test): Move misplaced test to llround_test.  Add testcase
15709         from bug 2561.
15711 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
15713         * sysdeps/x86_64/fpu/e_expf.S: New file.
15714         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
15716 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
15718         [BZ #13637]
15719         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
15720         of remain_len that may cause incomplete multi-byte character and
15721         false match.
15722         * posix/bug-regex33.c: New file.
15723         * posix/Makefile (tests): Add bug-regex33.
15725 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
15727         * manual/macros.texi: New file.
15728         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
15729         * manual/libc.texinfo: Include macros.texi.
15730         * manual/creatute.texi: Likewise.
15731         * manual/install.texi: Likewise.
15732         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
15733         @glibcadj{} in references to the GNU C Library.
15734         * manual/charset.texi: Likewise.
15735         * manual/conf.texi: Likewise.
15736         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
15737         when not using those macros.
15738         * manual/creature.texi: Likewise.
15739         * manual/crypt.texi: Likewise.
15740         * manual/errno.texi: Likewise.
15741         * manual/filesys.texi: Likewise.
15742         * manual/header.texi: Likewise.
15743         * manual/install.texi: Likewise.
15744         * manual/intro.texi: Likewise.
15745         * manual/io.texi: Likewise.
15746         * manual/job.texi: Likewise.
15747         * manual/lang.texi: Likewise.
15748         * manual/libc.texiinfo: Likewise.
15749         * manual/llio.texi: Likewise.
15750         * manual/locale.texi: Likewise.
15751         * manual/maint.texi: Likewise.
15752         * manual/math.texi: Likewise.
15753         * manual/memory.texi: Likewise.
15754         * manual/message.texi: Likewise.
15755         * manual/nss.texi: Likewise.
15756         * manual/pattern.texi: Likewise.
15757         * manual/process.texi: Likewise.
15758         * manual/resource.texi: Likewise.
15759         * manual/search.texi: Likewise.
15760         * manual/setjmp.texi: Likewise.
15761         * manual/signal.texi: Likewise.
15762         * manual/socket.texi: Likewise.
15763         * manual/startup.texi: Likewise.
15764         * manual/stdio.texi: Likewise.
15765         * manual/string.texi: Likewise.
15766         * manual/sysinfo.texi: Likewise.
15767         * manual/syslog.texi: Likewise.
15768         * manual/terminal.texi: Likewise.
15769         * manual/time.texi: Likewise.
15770         * manual/users.texi: Likewise.
15771         * INSTALL: Regenerated.
15772         * NOTES: Regenerated.
15773         * sysdeps/gnu/errlist.c: Regenerated.
15775 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
15777         * include/dirent.h: Include <dirstream.h> before
15778         <dirent/dirent.h>.
15780 2012-02-28  David S. Miller  <davem@davemloft.net>
15782         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
15783         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
15784         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
15785         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
15787 2012-02-27  David S. Miller  <davem@davemloft.net>
15789         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
15790         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
15791         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
15792         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
15794         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
15795         frame pointer instead of stack pointer relative arg slot.
15796         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15797         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15798         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15800 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
15802         [BZ #3992]
15803         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
15805 2012-02-27  David S. Miller  <davem@davemloft.net>
15807         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
15808         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15809         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15810         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
15811         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15812         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15813         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
15814         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
15816 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
15818         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
15819         later.  Allow versions 5-9.
15820         * configure: Regenerated.
15821         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
15822         required minimum version and 4.6 as recommended version.  Do not
15823         mention bugs in GCC 2.7 and 2.8.
15824         * INSTALL: Regenerated.
15826 2012-02-27  David S. Miller  <davem@davemloft.net>
15828         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
15829         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
15830         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
15831         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
15832         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
15833         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
15834         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
15835         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
15837         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
15838         manipulate bits before adding and subtracting TWO112[sx].
15839         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15841 2012-02-27  Roland McGrath  <roland@hack.frob.com>
15843         [BZ #13775]
15844         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
15845         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
15846         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
15847         being in POSIX, because they are in 1003.1-2008.
15849         * rt/tst-aio.c: Include <fcntl.h>.
15850         * rt/tst-aio7.c: Likewise.
15851         * rt/tst-aio64.c: Likewise.
15853         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
15855 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
15857         * manual/install.texi (--with-headers): Describe headers as
15858         interface headers, not private headers.
15859         (Specific advice for GNU/Linux systems): Describe use of headers
15860         from "make headers_install", not private headers from older
15861         kernels.
15862         * INSTALL: Regenerated.
15863         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
15864         Change to 2.6.19.
15865         * sysdeps/unix/sysv/linux/configure: Regenerated.
15867         * manual/llio.texi (fclean): Remove documentation.
15869         * manual/Makefile (libc-texi-generated): New variable.  Include
15870         version.texi.
15871         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
15872         $(libc-texi-generated), not duplicated list of files.
15873         (version.texi, stamp-version): New rules.
15874         (realclean): Remove $(libc-texi-generated), not individual files
15875         from that list.  Do not remove dir-add.texinfo.
15876         * manual/libc.texinfo: Comment out uses of edition numbers and
15877         references to printed manual.  Remove last-updated dates.
15878         (EDITION): Comment out.
15879         (ISBN): Likewise.
15880         (VERSION, UPDATED): Remove.
15881         (version.texi): Include.
15883 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
15885         * sysdeps/posix/spawni.c: Include <signal.h>.
15886         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
15887         * sysdeps/pthread/aio_fsync.c: Likewise.
15889 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
15891         * conform/Makefile (tests): Run only when not cross-compiling and
15892         when fast-check is not defined.
15894         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
15895         * conform/data/limits.h-data: Fixes for POSIX2008.
15896         * conform/run-conformtest.sh: Run all tests.
15897         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
15898         headers.
15899         * include/bits/dlfcn.h: Likewise.
15900         * include/langinfo.h: Likewise.
15901         * include/monetary.h: Likewise.
15902         * include/sys/poll.h: Likewise.
15904         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
15905         for __USE_GNU.
15906         * posix/spawn.h: Define __need_sigset_t.
15907         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
15908         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
15909         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
15910         to get sigevent_t only.
15911         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
15912         only for __USE_GNU.
15913         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15914         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15915         process_vm_writev only for __USE_GNU.
15916         * termios/termios.h: Declare tcgetsid also for POSIX2008.
15918         * conform/Makefile: For now ignore errors from run-conformtest.
15919         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
15920         POSIX to avoid namespace pollution.  Don't prepend headers.
15921         * conform/data/aio.h-data: Fixes for POSIX testing.
15922         * conform/data/fcntl.h-data: Likewise.
15923         * conform/data/glob.h-data: Likewise.
15924         * conform/data/grp.h-data: Likewise.
15925         * conform/data/pthread.h-data: Likewise.
15926         * conform/data/pwd.h-data: Likewise.
15927         * conform/data/signal.h-data: Likewise.
15928         * conform/data/spawn.h-data: Likewise.
15929         * conform/data/stdio.h-data: Likewise.
15930         * conform/data/stdlib.h-data: Likewise.
15931         * conform/data/stropts.h-data: Likewise.
15932         * conform/data/sys/mman.h-data: Likewise.
15933         * conform/data/sys/stat.h-data: Likewise.
15934         * conform/data/sys/types.h-data: Likewise.
15935         * conform/data/sys/wait.h-data: Likewise.
15936         * conform/data/time.h-data: Likewise.
15937         * conform/data/unistd.h-data: Likewise.
15938         * conform/data/utime.h-data: Likewise.
15940         * io/sys/stat.h: fchmod was always in POSIX.
15941         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
15942         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
15943         * rt/aio.h: Define __need_timespec before including <time.h>.
15944         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
15945         struct.  Add forward declaration of pthread_attr_t and use it in
15946         sigevent.
15947         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15948         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15949         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
15950         always remove CLK_TCK definition.
15952 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
15954         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
15956 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
15958         * conform/run-conformtest.sh: New file.
15959         * conform/Makefile: Run run-conformtest for tests.
15960         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
15961         support.
15963         * conform/data/uchar.h-data: New file.
15964         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
15965         * conform/data/arpa/inet.h-data: Likewise.
15966         * conform/data/assert.h-data: Likewise.
15967         * conform/data/complex.h-data: Likewise.
15968         * conform/data/cpio.h-data: Likewise.
15969         * conform/data/ctype.h-data: Likewise.
15970         * conform/data/dirent.h-data: Likewise.
15971         * conform/data/dlfcn.h-data: Likewise.
15972         * conform/data/errno.h-data: Likewise.
15973         * conform/data/fcntl.h-data: Likewise.
15974         * conform/data/float.h-data: Likewise.
15975         * conform/data/fmtmsg.h-data: Likewise.
15976         * conform/data/fnmatch.h-data: Likewise.
15977         * conform/data/ftw.h-data: Likewise.
15978         * conform/data/glob.h-data: Likewise.
15979         * conform/data/grp.h-data: Likewise.
15980         * conform/data/iconv.h-data: Likewise.
15981         * conform/data/inttypes.h-data: Likewise.
15982         * conform/data/langinfo.h-data: Likewise.
15983         * conform/data/libgen.h-data: Likewise.
15984         * conform/data/limits.h-data: Likewise.
15985         * conform/data/locale.h-data: Likewise.
15986         * conform/data/math.h-data: Likewise.
15987         * conform/data/monetary.h-data: Likewise.
15988         * conform/data/mqueue.h-data: Likewise.
15989         * conform/data/ndbm.h-data: Likewise.
15990         * conform/data/net/if.h-data: Likewise.
15991         * conform/data/netdb.h-data: Likewise.
15992         * conform/data/netinet/in.h-data: Likewise.
15993         * conform/data/nl_types.h-data: Likewise.
15994         * conform/data/poll.h-data: Likewise.
15995         * conform/data/pthread.h-data: Likewise.
15996         * conform/data/pwd.h-data: Likewise.
15997         * conform/data/regex.h-data: Likewise.
15998         * conform/data/sched.h-data: Likewise.
15999         * conform/data/search.h-data: Likewise.
16000         * conform/data/semaphore.h-data: Likewise.
16001         * conform/data/setjmp.h-data: Likewise.
16002         * conform/data/signal.h-data: Likewise.
16003         * conform/data/spawn.h-data: Likewise.
16004         * conform/data/stdarg.h-data: Likewise.
16005         * conform/data/stdio.h-data: Likewise.
16006         * conform/data/stdlib.h-data: Likewise.
16007         * conform/data/string.h-data: Likewise.
16008         * conform/data/strings.h-data: Likewise.
16009         * conform/data/stropts.h-data: Likewise.
16010         * conform/data/sys/ipc.h-data: Likewise.
16011         * conform/data/sys/mman.h-data: Likewise.
16012         * conform/data/sys/msg.h-data: Likewise.
16013         * conform/data/sys/resource.h-data: Likewise.
16014         * conform/data/sys/select.h-data: Likewise.
16015         * conform/data/sys/sem.h-data: Likewise.
16016         * conform/data/sys/shm.h-data: Likewise.
16017         * conform/data/sys/socket.h-data: Likewise.
16018         * conform/data/sys/stat.h-data: Likewise.
16019         * conform/data/sys/statvfs.h-data: Likewise.
16020         * conform/data/sys/time.h-data: Likewise.
16021         * conform/data/sys/timeb.h-data: Likewise.
16022         * conform/data/sys/times.h-data: Likewise.
16023         * conform/data/sys/types.h-data: Likewise.
16024         * conform/data/sys/uio.h-data: Likewise.
16025         * conform/data/sys/un.h-data: Likewise.
16026         * conform/data/sys/utsname.h-data: Likewise.
16027         * conform/data/sys/wait.h-data: Likewise.
16028         * conform/data/syslog.h-data: Likewise.
16029         * conform/data/tar.h-data: Likewise.
16030         * conform/data/termios.h-data: Likewise.
16031         * conform/data/utime.h-data: Likewise.
16032         * conform/data/utmpx.h-data: Likewise.
16033         * conform/data/varargs.h-data: Likewise.
16034         * conform/data/wchar.h-data: Likewise.
16035         * conform/data/wctype.h-data: Likewise.
16036         * conform/data/wordexp.h-data: Likewise.
16038         * include/stropts.h: New file.
16039         * include/uchar.h: New file.
16040         * include/aio.h: Changes to allow conformtest.pl to use the headers.
16041         * include/assert.h: Likewise.
16042         * include/ctype.h: Likewise.
16043         * include/dirent.h: Likewise.
16044         * include/dlfcn.h: Likewise.
16045         * include/fcntl.h: Likewise.
16046         * include/fnmatch.h: Likewise.
16047         * include/glob.h: Likewise.
16048         * include/grp.h: Likewise.
16049         * include/libio.h: Likewise.
16050         * include/locale.h: Likewise.
16051         * include/math.h: Likewise.
16052         * include/net/if.h: Likewise.
16053         * include/netdb.h: Likewise.
16054         * include/netinet/in.h: Likewise.
16055         * include/pthread.h: Likewise.
16056         * include/pwd.h: Likewise.
16057         * include/regex.h: Likewise.
16058         * include/sched.h: Likewise.
16059         * include/search.h: Likewise.
16060         * include/setjmp.h: Likewise.
16061         * include/signal.h: Likewise.
16062         * include/stdio.h: Likewise.
16063         * include/stdlib.h: Likewise.
16064         * include/string.h: Likewise.
16065         * include/sys/cdefs.h: Likewise.
16066         * include/sys/mman.h: Likewise.
16067         * include/sys/msg.h: Likewise.
16068         * include/sys/resource.h: Likewise.
16069         * include/sys/select.h: Likewise.
16070         * include/sys/socket.h: Likewise.
16071         * include/sys/stat.h: Likewise.
16072         * include/sys/statvfs.h: Likewise.
16073         * include/sys/time.h: Likewise.
16074         * include/sys/times.h: Likewise.
16075         * include/sys/uio.h: Likewise.
16076         * include/sys/utsname.h: Likewise.
16077         * include/sys/wait.h: Likewise.
16078         * include/termios.h: Likewise.
16079         * include/time.h: Likewise.
16080         * include/ulimit.h: Likewise.
16081         * include/unistd.h: Likewise.
16082         * include/utime.h: Likewise.
16083         * include/wchar.h: Likewise.
16084         * include/wctype.h: Likewise.
16085         * include/wordexp.h: Likewise.
16087         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
16089         * time/time.h: TIME_UTC must be a macro.
16090         Make timespec_get available for ISO C11 only as well.
16092 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
16094         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
16095         Reported by Peng Haitao <penght@cn.fujitsu.com>.
16097 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
16099         * configure.in: Use -o not -a in test for unsupported multi-arch.
16101 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
16103         * manual/texinfo.tex: Update to version 2012-01-19.16.
16105 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
16107         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
16109 2012-02-24  Roland McGrath  <roland@hack.frob.com>
16111         [BZ #13738]
16112         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
16113         * manual/fdl-1.3.texi: New file.
16114         * manual/fdl-1.1.texi: File removed.
16116         [BZ #13738]
16117         * manual/libc.texinfo (FDL_VERSION): New @set.
16118         Use it for mention of FDL in cover text.
16119         (Documentation License): Use it in @include file name.
16121 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
16122             Roland McGrath  <roland@hack.frob.com>
16124         [BZ #5461]
16125         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
16126         not LONG_LONG_MAX and LONG_LONG_MIN.
16127         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
16128         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
16129         name.
16130         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
16132 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
16134         [BZ #2547]
16135         [BZ #11365]
16136         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
16137         manipulate bits before adding and subtracting TWO23[sx].
16138         * math/libm-test.inc (nearbyint_test): Add more tests.
16140 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
16142         [BZ #2548]
16143         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
16144         bits before adding and subtracting TWO23[sx].
16145         * math/libm-test.inc (rint_test): Add more tests.
16146         (rint_test_tonearest): Likewise.
16147         (rint_test_towardzero): Likewise.
16148         (rint_test_downward): Likewise.
16149         (rint_test_upward: Likewise.
16151 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
16153         [BZ #10110]
16154         * include/stdc-predef.h: New file.  Extracted from features.h.
16155         * include/features.h: Include stdc-predef.h.
16156         * Makefile (headers): Add stdc-predef.h.
16157         * CONFORMANCE (Compiler limitations): Update.
16159 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
16161         * manual/libc.texinfo (VERSION, UPDATED): Revert.
16163 2012-02-21  David S. Miller  <davem@davemloft.net>
16165         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
16166         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16168 2012-02-20  David S. Miller  <davem@davemloft.net>
16170         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
16171         using a normal save/restore sequence, rather than allocating a
16172         dummy stack frame just to store a frame pointer and restore.
16173         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16175 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
16177         * manual/install.texi: Fix stray word in line-wrapped comment.
16179 2012-02-20  David S. Miller  <davem@davemloft.net>
16181         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
16182         both binutils and gcc support GOTDATA.
16184         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
16185         "rd %pc" in the PIC register setup sequences.
16187         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
16188         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
16189         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16190         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
16191         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16192         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16193         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16194         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16195         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
16196         (SYSCALL_ERROR_HANDLER): Likewise.
16197         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16198         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16199         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
16200         (SYSCALL_ERROR_HANDLER): Likewise.
16202         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
16203         (HAVE_GCC_GOTDATA): New.
16204         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
16205         relocation support in both binutils and gcc.
16206         * sysdeps/sparc/elf/configure: Regenerate.
16208         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
16209         * sysdeps/sparc/sparc32/elf/configure: Delete.
16210         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
16211         * sysdeps/sparc/sparc64/elf/configure: Delete.
16212         * sysdeps/sparc/elf/configure.in: New file.
16213         * sysdeps/sparc/elf/configure: Generate.
16215         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
16216         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
16217         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16218         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
16219         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
16221 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
16223         * manual/install.texi: Do not mention specific glibc version
16224         numbers.
16225         * manual/libc.texinfo (VERSION, UPDATED): Update.
16226         (@copying): Use @copyright{} and range of years.
16228 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
16230         [BZ #13695]
16231         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
16232         [crti.S not in sysdirs] (generated): Do not append.
16233         [crti.S not in sysdirs] (omit-deps): Likewise.
16234         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
16235         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
16236         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
16237         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
16238         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
16239         Likewise.
16240         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
16241         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
16242         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
16243         * csu/defs.awk: Remove file.
16244         * sysdeps/generic/initfini.c: Likewise.
16245         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
16246         variable.
16247         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
16248         Likewise.
16250 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
16252         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
16253         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
16254         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
16255         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
16256         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16257         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
16258         <bits/epoll.h>.
16259         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
16260         (__EPOLL_PACKED): Define to empty if not defined by
16261         <bits/epoll.h>.
16262         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
16263         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16264         bits/epoll.h.
16266 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
16268         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
16269         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
16270         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
16271         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
16272         <bits/timerfd.h>.
16273         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
16274         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16275         bits/timerfd.h.
16277 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
16279         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
16280         in C locale.
16281         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16282         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16283         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
16284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16286 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
16288         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16289         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16291 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
16293         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
16294         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
16295         defined.
16296         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
16297         Likewise.
16298         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
16299         entry for 2.16.
16301 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
16303         * math/w_acos.c: Use non-signaling floating-point comparisons.
16304         * math/w_acosf.c: Likewise.
16305         * math/w_acosh.c: Likewise.
16306         * math/w_acoshf.c: Likewise.
16307         * math/w_acoshl.c: Likewise.
16308         * math/w_acosl.c: Likewise.
16309         * math/w_asin.c: Likewise.
16310         * math/w_asinf.c: Likewise.
16311         * math/w_asinl.c: Likewise.
16312         * math/w_atanh.c: Likewise.
16313         * math/w_atanhf.c: Likewise.
16314         * math/w_atanhl.c: Likewise.
16315         * math/w_exp2.c: Likewise.
16316         * math/w_exp2f.c: Likewise.
16317         * math/w_exp2l.c: Likewise.
16318         * math/w_j0.c: Likewise.
16319         * math/w_j0f.c: Likewise.
16320         * math/w_j0l.c: Likewise.
16321         * math/w_j1.c: Likewise.
16322         * math/w_j1f.c: Likewise.
16323         * math/w_j1l.c: Likewise.
16324         * math/w_jn.c: Likewise.
16325         * math/w_jnf.c: Likewise.
16326         * math/w_log.c: Likewise.
16327         * math/w_log10.c: Likewise.
16328         * math/w_log10f.c: Likewise.
16329         * math/w_log10l.c: Likewise.
16330         * math/w_log2.c: Likewise.
16331         * math/w_log2f.c: Likewise.
16332         * math/w_log2l.c: Likewise.
16333         * math/w_logf.c: Likewise.
16334         * math/w_logl.c: Likewise.
16335         * math/w_sqrt.c: Likewise.
16336         * math/w_sqrtf.c: Likewise.
16337         * math/w_sqrtl.c: Likewise.
16338         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16339         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16340         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16341         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16342         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16344 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
16346         [BZ #9739]
16347         * manual/string.texi (strnlen): Use correct parameter name in
16348         equivalent expression.
16350 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
16352         [BZ #11174]
16353         * manual/users.texi (seteuid): Consistently use neweuid for
16354         argument name.
16356 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
16358         [BZ #13704]
16359         * manual/nss.texi (Services in the NSS configuration): Correct
16360         list of services in example configuration file.
16362 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
16364         [BZ #11322]
16365         * manual/arith.texi: Remove statements about negative zero
16366         behaving identically to zero.
16368 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
16370         [BZ #5993]
16371         * manual/install.texi: Do not document upgrading from libc5.
16373 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
16375         [BZ #4596]
16376         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
16378 2012-02-18  David S. Miller  <davem@davemloft.net>
16380         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
16381         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
16382         %o7 across the call.
16383         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
16384         instead.
16385         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
16386         SETUP_PIC_REG_LEAF.
16387         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16388         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
16389         * sysdeps/sparc/crtn.S: Likewise.
16391 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
16393         * aout/Makefile: Remove.
16395 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
16397         [BZ #13058]
16398         * manual/examples/argp-ex1.c (main): Format definition in GNU
16399         style.
16400         * manual/examples/argp-ex2.c (main): Likewise.
16401         * manual/examples/argp-ex3.c (main): Likewise.
16402         * manual/examples/argp-ex4.c (main): Likewise.
16403         * manual/examples/longopt.c (main): Use new-style prototype
16404         definition.
16405         * manual/examples/strncat.c (main): Specify return type and use
16406         (void) for arguments.
16407         * manual/examples/subopt.c (main): Use char **argv argument.
16409 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
16411         [BZ #5077]
16412         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
16413         rounding modes.
16415 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
16417         [BZ #6907]
16418         * manual/string.texi (strchr): Change when strchrnul is
16419         recommended.
16421 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
16423         [BZ #174]
16424         * manual/locale.texi (setlocale): Document LOCPATH.
16426 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
16428         [BZ #10210]
16429         * manual/process.texi (execle): Move @dots{} before last argument.
16431 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
16433         [BZ #12047]
16434         * manual/charset.texi (Generic Charset Conversion): Fix typo
16435         (LC_TYPE -> LC_CTYPE).
16437 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
16439         [BZ #5805]
16440         * manual/arith.texi (scalbn): Use @var{} on parameter names.
16441         (scalbnf): Likewise.
16442         (scalbnl): Likewise.
16443         (scalbln): Likewise.
16444         (scalblnf): Likewise.
16445         (scalblnl): Likewise.
16446         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
16447         (vwarnx): Likewise.
16448         (verr): Likewise.
16449         (verrx): Likewise.
16450         * manual/filesys.texi (telldir): Use braces around return type.
16451         * manual/llio.texi (mmap): Add space after comma.
16452         (mmap64): Likewise.
16453         * manual/math.texi (jn): Use @var{} on parameter names.
16454         (jnf): Likewise.
16455         (jnl): Likewise.
16456         (yn): Likewise.
16457         (ynf): Likewise.
16458         (ynl): Likewise.
16459         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
16460         line.
16461         * manual/resource.texi (ulimit): Use @dots{} instead of literal
16462         "...".
16463         (sched_get_priority_min): Remove semicolon on @deftypefun line.
16464         (sched_get_priority_max): Likewise.
16465         * manual/signal.texi (sigvec): Add space after comma.
16466         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
16467         names.
16468         (if_indextoname): Likewise.
16469         (if_freenameindex): Likewise.
16470         (sendto): Use ',' instead of '.' in prototype.
16471         * manual/startup.texi (syscall): Use @dots{} instead of literal
16472         "...".
16473         * manual/stdio.texi (__fpending): Separate initial words of
16474         paragraph from @deftypefun line.
16475         * manual/syslog.texi (syslog): Use @dots{} instead of literal
16476         "...".
16477         (vsyslog): Use @var{} on parameter names.
16478         * manual/terminal.texi (stty): Use @var{} on parameter names.
16479         * manual/users.texi (getutmp): Use @var{} on parameter names.
16480         (getutmpx): Likewise.
16482 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
16484         [BZ #6884]
16485         * manual/stdio.texi (fopen): Fix typos in description of
16486         ",ccs=STRING".
16488 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
16490         [BZ #4026]
16491         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
16492         get clock_id definition.
16494 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
16496         [BZ #4822]
16497         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
16498         (madvise): Cast every argument to void on its own.
16500 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
16502         [BZ #9902]
16503         * manual/startup.texi (Exit Status): Fix typo.
16505 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
16507         [BZ #10140]
16508         * manual/examples/argp-ex1.c: Include <stdlib.h>.
16509         * manual/examples/argp-ex2.c: Likewise.
16510         * manual/examples/argp-ex3.c: Likewise.
16512 2012-02-16  Richard Henderson  <rth@redhat.com>
16514         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
16515         * sysdeps/s390/s390-32/initfini.c: Remove.
16516         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
16517         * sysdeps/s390/s390-64/initfini.c: Remove.
16519 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16521         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
16522         compiler output for sysdeps/generic/initfini.c.
16523         * sysdeps/sh/elf/initfini.c: Remove file.
16525 2012-02-16  David S. Miller  <davem@davemloft.net>
16527         [BZ #11494]
16528         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
16530         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
16531         * sysdeps/sparc/crti.S: New file.
16532         * sysdeps/sparc/crtn.S: New file.
16533         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
16534         * sysdeps/sparc/sparc64/Makefile: Likewise.
16536 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
16538         [BZ #3335]
16539         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
16541 2012-02-15  Roland McGrath  <roland@hack.frob.com>
16543         [BZ #4822]
16544         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
16546         * mach/devstream.c (cookie_io_functions_t): Macro removed.
16547         (write, read, close): Likewise.
16548         Patch by Aurelien Jarno <aurelien@aurel32.net>.
16550 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
16552         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
16553         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
16554         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
16555         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
16556         <bits/signalfd.h>.
16557         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
16558         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16559         bits/signalfd.h.
16561 2012-02-14  Marek Polacek  <polacek@redhat.com>
16563         * sysdeps/x86_64/crti.S: New file.
16564         * sysdeps/x86_64/crtn.S: New file.
16565         * sysdeps/x86_64/elf/initfini.c: Remove file.
16567 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
16569         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
16570         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
16571         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
16572         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
16573         <bits/inotify.h>.
16574         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
16575         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16576         bits/inotify.h.
16578 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
16580         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
16581         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
16582         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
16583         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
16584         <bits/eventfd.h>.
16585         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
16586         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16587         bits/eventfd.h.
16589 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
16591         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
16592         __feraiseexcept instead of feraiseexcept.
16594         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
16595         nanosleep invocations.
16596         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
16597         strings, and add error checking for a nanosleep invocations.
16599 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
16601         Replace FSF snail mail address with URLs, as per GNU coding standards.
16602         Most of the snail mail addresses were wrong anyway, and omitting
16603         them makes the source code easier to maintain.  Almost all of the
16604         changes are to license notices and to locale LC_IDENTIFICATION
16605         addresses, except for this one:
16606         * manual/libc.texinfo: In "Published by", give the FSF's URL,
16607         not its snail mail address.
16609 2012-02-09  Richard Henderson  <rth@twiddle.net>
16611         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
16612         of kernel-features.h.
16614         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
16616 2012-02-08  Marek Polacek  <polacek@redhat.com>
16618         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
16619         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
16620         * sysdeps/gnu/_G_config.h: Likewise.
16621         * sysdeps/generic/_G_config.h: Likewise.
16623 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
16625         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
16626         tests.
16627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16629         * sysdeps/powerpc/powerpc32/crti.S: New file.
16630         * sysdeps/powerpc/powerpc32/crtn.S: New file.
16631         * sysdeps/powerpc/powerpc64/crti.S: New file.
16632         * sysdeps/powerpc/powerpc64/crtn.S: New file.
16634         * Makeconfig (have-initfini): Don't set.
16635         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
16636         * configure.in (nopic_initfini): Don't substitute.
16637         * config.h.in (HAVE_INITFINI): Don't #undef.
16638         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
16639         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
16641 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
16643         Support crti.S and crtn.S provided directly by architectures.
16644         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
16645         [crti.S in sysdirs] (omit-deps): Likewise.
16646         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
16647         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
16648         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
16649         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
16650         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
16651         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
16652         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
16653         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
16654         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
16655         compiler output for sysdeps/generic/initfini.c.
16656         * sysdeps/i386/elf/Makefile: Remove file.
16657         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
16659 2012-02-07  Marek Polacek  <polacek@redhat.com>
16661         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
16662         * sysdeps/gnu/_G_config.h: Likewise.
16663         * sysdeps/mach/hurd/_G_config.h: Likewise.
16665 2012-02-07  Marek Polacek  <polacek@redhat.com>
16667         * math/Makefile (tests): Add tst-CMPLX2.
16668         * math/tst-CMPLX2.c: New file.
16670 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
16672         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16674         * math/libm-test.inc (jn_test): Add missing L suffix.
16676 2012-02-06  Marek Polacek  <polacek@redhat.com>
16678         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
16679         * sysdeps/i386/fpu/e_powf.S: Likewise.
16680         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16681         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16682         * sysdeps/i386/fpu/e_acosh.S: Likewise.
16683         * sysdeps/i386/fpu/e_pow.S: Likewise.
16684         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16685         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16686         * sysdeps/i386/fpu/s_expm1.S: Likewise.
16687         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16688         * sysdeps/i386/fpu/e_log2.S: Likewise.
16689         * sysdeps/i386/fpu/e_log2l.S: Likewise.
16690         * sysdeps/i386/fpu/e_scalb.S: Likewise.
16691         * sysdeps/i386/fpu/e_powl.S: Likewise.
16692         * sysdeps/i386/fpu/s_log1p.S: Likewise.
16693         * sysdeps/i386/fpu/e_log10f.S: Likewise.
16694         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16695         * sysdeps/i386/fpu/e_logl.S: Likewise.
16696         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16697         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
16698         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16699         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16700         * sysdeps/i386/fpu/e_log2f.S: Likewise.
16701         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16702         * sysdeps/i386/fpu/e_log.S: Likewise.
16703         * sysdeps/i386/fpu/s_cexp.S: Likewise.
16704         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16705         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
16706         * sysdeps/i386/fpu/e_logf.S: Likewise.
16707         * sysdeps/i386/fpu/e_log10l.S: Likewise.
16708         * sysdeps/i386/fpu/e_atanh.S: Likewise.
16709         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
16710         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16711         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16712         * sysdeps/i386/fpu/e_log10.S: Likewise.
16713         * sysdeps/i386/fpu/s_frexp.S: Likewise.
16714         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16715         * sysdeps/i386/fpu/s_asinh.S: Likewise.
16716         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16717         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16718         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16719         * sysdeps/i386/asm-syntax.h: Likewise.
16720         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16721         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16722         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16723         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
16724         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
16725         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16726         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16727         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16728         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16729         * sysdeps/powerpc/sysdep.h: Likewise.
16730         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
16731         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16733 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
16735         [BZ #411]
16736         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
16738 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
16740         * sysdeps/i386/sysdep.h: Include <features.h>.
16741         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
16742         version.
16744 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
16746         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
16747         Define.
16748         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
16749         LOAD_PIC_REG_STR.
16751 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
16753         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
16754         (SETUP_PIC_REG): Use GET_PC_THUNK.
16755         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
16756         macro.
16758 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
16760         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
16761         for non-PIC compilation.
16762         (SETUP_PIC_REG): Add .p2align directive.
16763         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
16764         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
16765         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16766         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16767         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16768         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16769         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16770         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16771         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16772         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16773         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16774         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16775         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16776         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16777         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16778         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16779         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16780         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16781         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16782         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16783         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16784         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16785         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16786         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16787         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16788         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16789         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16790         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16791         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16792         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16793         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16794         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16795         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16796         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16797         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16798         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16799         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16800         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16801         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16802         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16803         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16805 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
16807         * math/tst-CMPLX.c: Include <stdio.h>.
16809 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
16811         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
16812         float.
16813         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16814         * sysdeps/sparc/bits/mathdef.h: Likewise.
16816 2012-01-31  Marek Polacek  <polacek@redhat.com>
16818         * libio/libio.h: Don't define _PARAMS.
16819         * locale/programs/config.h: Don't define PARAMS.
16820         * stdlib/strtol_l.c: Likewise.
16821         (__strtol_l): Remove PARAMS from the prototype.
16823 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
16825         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
16826         names.  Just use the correct names.  Remove unnecessary wrapper
16827         functions.
16828         * malloc/arena.c: Likewise.
16829         * malloc/hooks.c: Likewise.
16831         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
16832         ARENA_TEST says not to.  Simplify test for creation of a new arena.
16833         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
16835 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
16837         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
16838         into tail calls.
16839         (update_get_addr): New function.
16840         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
16841         GET_ADDR_MODULE parameter.
16843 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
16845         * crypt/cert.c: Remove __STDC__ conditionals.
16846         * crypt/crypt-entry.c: Likewise.
16847         * crypt/crypt_util.c: Likewise.
16848         * libio/filedoalloc.c: Likewise.
16849         * libio/fileops.c: Likewise.
16850         * libio/genops.c: Likewise.
16851         * libio/iofclose.c: Likewise.
16852         * libio/iofdopen.c: Likewise.
16853         * libio/iofopen.c: Likewise.
16854         * libio/iofopen64.c: Likewise.
16855         * libio/iogetdelim.c: Likewise.
16856         * libio/iopopen.c: Likewise.
16857         * libio/obprintf.c: Likewise.
16858         * libio/oldfileops.c: Likewise.
16859         * libio/oldiofclose.c: Likewise.
16860         * libio/oldiofdopen.c: Likewise.
16861         * libio/oldiofopen.c: Likewise.
16862         * libio/oldiopopen.c: Likewise.
16863         * libio/wfiledoalloc.c: Likewise.
16864         * libio/wgenops.c: Likewise.
16865         * locale/programs/xmalloc.c: Likewise.
16866         * misc/syslog.c: Likewise.
16867         * stdio-common/xbug.c: Likewise.
16868         * string/memchr.c: Likewise.
16869         * string/memcmp.c: Likewise.
16870         * string/memrchr.c: Likewise.
16871         * string/rawmemchr.c: Likewise.
16872         * sysdeps/posix/getcwd.c: Likewise.
16873         * time/strftime_l.c: Likewise.
16875 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
16877         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
16878         * config.make.in (config-cflags-sse2avx): Define.
16879         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
16880         Fix typo.
16882 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
16884         * scripts/config.guess: Update from upstream config git repository.
16885         * scripts/config.sub: Likewise.
16887 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
16889         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
16890         (EM_NUM): Update.
16891         (R_TILEPRO_*, R_TILEGX_*): New macros.
16893         * scripts/firstversions.awk: Fix bug in version range handling.
16895         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
16897         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
16899         * include/sys/epoll.h: New file.
16900         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
16901         libc_hidden_def.
16903 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
16905         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
16906         Avoid unnecessary __WORDSIZE == 64 test.
16907         (fmaxf): Use VEX format if possible.
16908         (fmax): Likewise.
16909         (fminf): Likewise.
16910         (fmin): Likewise.
16912         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
16913         * math/math_private.h: Remove libc_fegetround* and
16914         libc_fesetround*.
16915         * sysdeps/i386/configure.in: Check for -msse2avx.
16916         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
16917         also if SSE2AVX is defined.
16918         Remove libc_fegetround* and libc_fesetround*.
16919         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
16920         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
16921         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
16922         of HAS_YMM_USABLE.
16923         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16924         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16925         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16926         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16927         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16929         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
16931 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16933         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
16934         size is not set.
16935         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16937 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
16939         [BZ #13618]
16940         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
16941         relocation.
16942         * Makeconfig (libm): Define.
16943         * elf/Makefile: Add rules to build and run tst-relsort1.
16944         * elf/tst-relsort1.c: New file.
16945         * elf/tst-relsort1mod1.c: New file.
16946         * elf/tst-relsort1mod2.c: New file.
16948 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
16950         * math/s_ldexp.c: Remove __STDC__ conditionals.
16951         * math/s_ldexpf.c: Likewise.
16952         * math/s_ldexpl.c: Likewise.
16953         * math/s_nextafter.c: Likewise.
16954         * math/s_nexttowardf.c: Likewise.
16955         * math/s_significand.c: Likewise.
16956         * math/s_significandf.c: Likewise.
16957         * math/s_significandl.c: Likewise.
16958         * math/w_jnl.c: Likewise.
16959         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16960         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16961         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16962         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16963         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16964         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16965         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
16966         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16967         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16968         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16969         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16970         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16971         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16972         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16973         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16974         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16975         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16976         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16977         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16978         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16979         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16980         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16981         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16982         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16983         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16984         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16985         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16986         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16987         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16988         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16989         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16990         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16991         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16992         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16993         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16994         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16995         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16996         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16997         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16998         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16999         * sysdeps/ieee754/k_standard.c: Likewise.
17000         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17001         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17002         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17003         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17004         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17005         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17006         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17007         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17008         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17009         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17010         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17011         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17012         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17013         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17014         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17015         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17016         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17017         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17018         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17019         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17020         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17021         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17022         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17023         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17024         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17025         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17026         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17027         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17028         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17029         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17030         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17031         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
17032         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17033         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17034         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17035         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17036         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
17037         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17038         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17039         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
17040         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
17041         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17042         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
17043         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
17044         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17045         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17046         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17047         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17048         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17049         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17050         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
17051         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17052         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17053         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17054         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17055         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17056         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
17057         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17058         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17059         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17060         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17061         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17062         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17063         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17064         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17065         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17066         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17067         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17068         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17069         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17070         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17071         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17072         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17073         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17074         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17075         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17076         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17077         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17078         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17079         * sysdeps/ieee754/s_matherr.c: Likewise.
17080         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17081         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17082         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17083         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17085 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
17087         * crypt/md5.h: Remove __STDC__ conditionals.
17088         * libio/libioP.h: Likewise.
17089         * locale/programs/config.h: Likewise.
17090         * sysdeps/generic/sysdep.h: Likewise.
17091         * sysdeps/i386/asm-syntax.h: Likewise.
17092         * sysdeps/s390/asm-syntax.h: Likewise.
17093         * sysdeps/unix/sysdep.h: Likewise.
17094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17097 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
17099         * libio/libio.h: Remove __STDC__ conditionals.
17100         * malloc/obstack.h: Likewise.
17101         * math/complex.h: Likewise.
17102         * math/math.h: Likewise.
17103         * sysdeps/generic/_G_config.h: Likewise.
17104         * sysdeps/gnu/_G_config.h: Likewise.
17105         * sysdeps/mach/hurd/_G_config.h: Likewise.
17106         * sysdeps/powerpc/bits/mathdef.h: Likewise.
17107         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17108         * sysdeps/sparc/bits/mathdef.h: Likewise.
17110 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
17112         [BZ #13583]
17113         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
17114         Clean up HAS_* macros.
17115         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
17116         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
17117         possible.
17118         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
17119         HAS_AVX.
17120         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17121         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17122         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17123         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17124         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17126 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
17128         * elf/tst-unique3.cc (gets): Remove declaration.
17129         * elf/tst-unique3lib.cc (gets): Likewise.
17130         * elf/tst-unique3lib2.cc (gets): Likewise.
17131         * elf/tst-unique4.cc (gets): Likewise.
17133 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
17135         * include/stdio.h: Add C++ protection.  Add gets declarations and
17136         definitions.
17137         * debug/tst-chk1.c: Don't declare gets here.
17138         * stdio-common/tst-gets.c: Likewise.
17140 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
17142         * posix/glob: Remove directory.
17144 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
17146         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
17148 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
17150         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
17151         of the non-standard EPFNOSUPPORT.
17153 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17155         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
17156         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
17157         ANYWHERE set to 1 only on KERN_NO_SPACE error.
17159 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
17161         * wcsmbs/uchar.h: Test __STDC_VERSION__.
17163 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
17165         * nscd/aicache.c (addhstaiX): Do not cache negative results of
17166         transient errors.
17167         * nscd/grpcache.c (cache_addgr): Likewise.
17168         * nscd/hstcache.c (cache_addhst): Likewise.
17169         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17170         * nscd/pwdcache.c (cache_addpw): Likewise.
17171         * nscd/servicescache.c (cache_addserv): Likewise.
17173 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
17175         * malloc/malloc.c: Various cleanups.
17176         * malloc/hooks.c: Likewise.
17178         * stdlib/Makefile (tests): Add bug-fmtmsg1.
17179         * stdlib/bug-fmtmsg1.c: New file.
17181         * stdlib/fmtmsg.c (init): Add missing unlock.
17182         Patch by Peng Haitao <penght@cn.fujitsu.com>.
17184 2012-01-12  Marek Polacek  <polacek@redhat.com>
17186         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
17187         and _GNU_SOURCE.
17189 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
17191         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
17192         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
17193         macro to ensure uniqueness of label name.
17194         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17195         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17197 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
17199         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
17201         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
17202         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17203         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17204         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
17206 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
17208         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
17210         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
17211         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17212         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17214         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
17216         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
17217         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17218         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17219         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
17221         * math/bits/math-finite.h: Add ldexp support.
17223 2012-01-10  Marek Polacek  <polacek@redhat.com>
17225         * locale/programs/localedef.h (show_archive_content): Add noreturn
17226         attribute.
17228 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
17230         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
17232 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
17234         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
17236         * io/Makefile (headers): Add bits/poll2.h.
17238 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
17240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
17241         typo #include statement.
17243 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
17245         * include/sys/cdefs.h: Define __attribute_alloc_size.
17246         * catgets/gencat.c: Add alloc_size attribute and apply consistently
17247         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
17248         * elf/pldd.c: Likewise.
17249         * iconv/iconv_charmap.c: Likewise.
17250         * iconv/iconvconfig.c: Likewise.
17251         * iconv/strtab.c: Likewise.
17252         * locale/programs/locale.c: Likewise.
17253         * locale/programs/localedef.h: Likewise.
17254         * locale/programs/simple-hash.c: Likewise.
17255         * nscd/nscd.h: Likewise.
17256         * nss/makedb.c: Likewise.
17257         * sysdeps/generic/ldconfig.h: Likewise.
17258         * locale/programs/localedef.c: Remove xmalloc prototype.
17259         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
17261 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17263         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
17264         appropriate.
17266 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
17268         * math/Makefile (tests): Add tst-CMPLX.
17269         * math/tst-CMPLX.c: New file.
17271         * math/complex.h (CMPLXL): Fix typo.
17273         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
17274         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
17275         GLIBC_2.16.
17276         * debug/tst-chk1.c: Add poll and ppoll tests.
17277         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
17278         * include/sys/poll.h: Add hidden proto for ppoll.
17279         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
17280         * sysdeps/mach/hurd/ppoll.c: Likewise.
17281         * io/ppoll.c: Likewise.
17282         * debug/poll_chk.c: New file.
17283         * debug/ppoll_chk.c: New file.
17284         * include/bits/poll2.h: New file.
17285         * io/bits/poll2.h: New file.
17287         [BZ #1350]
17288         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
17290         * configure.in: static is always set to yes.  Remove.
17291         * config.make.in: Don't set build-static.
17292         * Makeconfig: Remove use of build-static.
17293         * dlfcn/Makefile: Likewise.
17294         * elf/Makefile: Likewise.
17295         * math/Makefile: Likewise.
17296         * misc/Makefile: Likewise.
17297         * nptl/Makefile: Likewise.
17298         * sysdeps/mach/hurd/Makefile: Likewise.
17300         * configure.in: PWD_P is not used anymore.
17301         * config.make.in: Remove PWD_P entry.
17303         * configure.in: Remove last remnants of RANLIB.
17304         No need to check for signed size_t anymore.
17305         Don't set libc_commonpagesize and libc_relro_required here for Alpha
17306         and IA-64.
17307         Remove __builtin_expect test because we require at least gcc 3.4.
17308         * aclocal.m4: Likewise.
17310         * wcsmbs/mbrtoc16.c: Implement using towc function.
17311         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
17312         * wcsmbs/wcsmbsload.c: Likewise.
17313         * iconv/gconv_simple.c: Likewise.
17314         * iconv/gconv_int.h: Likewise.
17315         * iconv/gconv_builtin.h: Likewise.
17316         * iconv/iconv_prog.c: Remove CHAR16 handling.
17318         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
17320         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
17322         * configure.in: Remove --with-elf and --enable-bounded options.
17323         Dont set base_machine for ia64.  More non-ELF conditions removed.
17324         Remove testing and setting of leading underscore information.
17325         * config.make.in (build-bounded): Set to no.
17326         * config.h.in: Remove NO_UNDERSCORES entry.
17327         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
17328         them.
17329         * csu/start.c: Remove !NO_UNDERSCORE code.
17330         * locale/localeinfo.h: Likewise.
17331         * sysdeps/generic/machine-gmon.h: Likewise.
17332         * sysdeps/generic/sysdep.h: Likewise.
17333         * sysdeps/i386/sysdep.h: Likewise.
17334         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17335         * sysdeps/mach/sysdep.h: Likewise.
17336         * sysdeps/s390/s390-32/sysdep.h: Likewise.
17337         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17338         * sysdeps/sh/sysdep.h: Likewise.
17339         * sysdeps/sparc/sparc32/alloca.S: Likewise.
17340         * sysdeps/unix/i386/sysdep.S: Likewise.
17341         * sysdeps/unix/sparc/start.c: Likewise.
17342         * sysdeps/unix/sparc/sysdep.S: Likewise.
17343         * sysdeps/unix/sparc/sysdep.h: Likewise.
17344         * sysdeps/unix/start.c: Likewise.
17345         * sysdeps/unix/x86_64/sysdep.S: Likewise.
17346         * sysdeps/x86_64/sysdep.h: Likewise.
17348 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
17350         [BZ #13553]
17351         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
17352         for non-gcc.
17353         * argp/argp-fmtstream.h: Use const instead __const.
17354         * argp/argp.h: Likewise.
17355         * assert/assert.h: Likewise.
17356         * bits/fenv.h: Likewise.
17357         * bits/sched.h: Likewise.
17358         * bits/sigset.h: Likewise.
17359         * bits/sigthread.h: Likewise.
17360         * catgets/nl_types.h: Likewise.
17361         * conform/data/pthread.h-data: Likewise.
17362         * crypt/crypt-private.h: Likewise.
17363         * crypt/crypt.h: Likewise.
17364         * crypt/crypt_util.c: Likewise.
17365         * ctype/ctype.h: Likewise.
17366         * debug/execinfo.h: Likewise.
17367         * debug/mbsnrtowcs_chk.c: Likewise.
17368         * debug/mbsrtowcs_chk.c: Likewise.
17369         * debug/wcsnrtombs_chk.c: Likewise.
17370         * debug/wcsrtombs_chk.c: Likewise.
17371         * debug/wcstombs_chk.c: Likewise.
17372         * dirent/dirent.h: Likewise.
17373         * dlfcn/dlfcn.h: Likewise.
17374         * elf/neededtest4.c: Likewise.
17375         * grp/grp.h: Likewise.
17376         * gshadow/gshadow.h: Likewise.
17377         * iconv/gconv.h: Likewise.
17378         * iconv/gconv_int.h: Likewise.
17379         * iconv/gconv_simple.c: Likewise.
17380         * iconv/iconv.h: Likewise.
17381         * iconv/loop.c: Likewise.
17382         * iconv/skeleton.c: Likewise.
17383         * include/aio.h: Likewise.
17384         * include/aliases.h: Likewise.
17385         * include/argz.h: Likewise.
17386         * include/arpa/inet.h: Likewise.
17387         * include/assert.h: Likewise.
17388         * include/dirent.h: Likewise.
17389         * include/dlfcn.h: Likewise.
17390         * include/execinfo.h: Likewise.
17391         * include/fcntl.h: Likewise.
17392         * include/fenv.h: Likewise.
17393         * include/glob.h: Likewise.
17394         * include/grp.h: Likewise.
17395         * include/libintl.h: Likewise.
17396         * include/mntent.h: Likewise.
17397         * include/netdb.h: Likewise.
17398         * include/pwd.h: Likewise.
17399         * include/rpc/netdb.h: Likewise.
17400         * include/sched.h: Likewise.
17401         * include/search.h: Likewise.
17402         * include/shadow.h: Likewise.
17403         * include/signal.h: Likewise.
17404         * include/stdio.h: Likewise.
17405         * include/stdlib.h: Likewise.
17406         * include/string.h: Likewise.
17407         * include/sys/socket.h: Likewise.
17408         * include/sys/stat.h: Likewise.
17409         * include/sys/statfs.h: Likewise.
17410         * include/sys/statvfs.h: Likewise.
17411         * include/sys/syslog.h: Likewise.
17412         * include/sys/time.h: Likewise.
17413         * include/sys/uio.h: Likewise.
17414         * include/time.h: Likewise.
17415         * include/unistd.h: Likewise.
17416         * include/utmp.h: Likewise.
17417         * include/wchar.h: Likewise.
17418         * include/wctype.h: Likewise.
17419         * inet/aliases.h: Likewise.
17420         * inet/arpa/inet.h: Likewise.
17421         * inet/netinet/ether.h: Likewise.
17422         * inet/netinet/in.h: Likewise.
17423         * intl/libintl.h: Likewise.
17424         * io/bits/fcntl2.h: Likewise.
17425         * io/fcntl.h: Likewise.
17426         * io/ftw.h: Likewise.
17427         * io/sys/poll.h: Likewise.
17428         * io/sys/stat.h: Likewise.
17429         * io/sys/statfs.h: Likewise.
17430         * io/sys/statvfs.h: Likewise.
17431         * io/utime.h: Likewise.
17432         * libio/bits/stdio.h: Likewise.
17433         * libio/bits/stdio2.h: Likewise.
17434         * libio/libio.h: Likewise.
17435         * libio/libioP.h: Likewise.
17436         * libio/stdio.h: Likewise.
17437         * locale/lc-ctype.c: Likewise.
17438         * locale/locale.h: Likewise.
17439         * login/utmp.h: Likewise.
17440         * malloc/arena.c: Likewise.
17441         * malloc/malloc.c: Likewise.
17442         * malloc/malloc.h: Likewise.
17443         * malloc/mcheck.c: Likewise.
17444         * malloc/mtrace.c: Likewise.
17445         * math/bits/mathcalls.h: Likewise.
17446         * math/fenv.h: Likewise.
17447         * math/math_private.h: Likewise.
17448         * misc/bits/error.h: Likewise.
17449         * misc/bits/syslog.h: Likewise.
17450         * misc/err.h: Likewise.
17451         * misc/error.h: Likewise.
17452         * misc/fstab.h: Likewise.
17453         * misc/mntent.h: Likewise.
17454         * misc/regexp.h: Likewise.
17455         * misc/search.h: Likewise.
17456         * misc/sgtty.h: Likewise.
17457         * misc/sys/mman.h: Likewise.
17458         * misc/sys/syslog.h: Likewise.
17459         * misc/sys/uio.h: Likewise.
17460         * misc/sys/xattr.h: Likewise.
17461         * misc/ttyent.h: Likewise.
17462         * nis/rpcsvc/ypclnt.h: Likewise.
17463         * nss/nss.h: Likewise.
17464         * posix/bits/unistd.h: Likewise.
17465         * posix/fnmatch.h: Likewise.
17466         * posix/glob.h: Likewise.
17467         * posix/sched.h: Likewise.
17468         * posix/spawn.h: Likewise.
17469         * posix/sys/wait.h: Likewise.
17470         * posix/unistd.h: Likewise.
17471         * posix/wordexp.h: Likewise.
17472         * pwd/pwd.h: Likewise.
17473         * resolv/netdb.h: Likewise.
17474         * resource/sys/resource.h: Likewise.
17475         * rt/aio.h: Likewise.
17476         * rt/bits/mqueue2.h: Likewise.
17477         * rt/mqueue.h: Likewise.
17478         * shadow/shadow.h: Likewise.
17479         * signal/signal.h: Likewise.
17480         * socket/send.c: Likewise.
17481         * socket/sendto.c: Likewise.
17482         * socket/sys/socket.h: Likewise.
17483         * stdio-common/printf.h: Likewise.
17484         * stdlib/bits/stdlib.h: Likewise.
17485         * stdlib/fmtmsg.h: Likewise.
17486         * stdlib/monetary.h: Likewise.
17487         * stdlib/stdlib.h: Likewise.
17488         * stdlib/ucontext.h: Likewise.
17489         * streams/stropts.h: Likewise.
17490         * string/argz.h: Likewise.
17491         * string/bits/string2.h: Likewise.
17492         * string/string.h: Likewise.
17493         * string/strings.h: Likewise.
17494         * sunrpc/rpc/auth.h: Likewise.
17495         * sunrpc/rpc/auth_des.h: Likewise.
17496         * sunrpc/rpc/clnt.h: Likewise.
17497         * sunrpc/rpc/netdb.h: Likewise.
17498         * sunrpc/rpc/pmap_clnt.h: Likewise.
17499         * sunrpc/rpc/xdr.h: Likewise.
17500         * sysdeps/generic/inttypes.h: Likewise.
17501         * sysdeps/generic/net/if.h: Likewise.
17502         * sysdeps/generic/sys/swap.h: Likewise.
17503         * sysdeps/gnu/net/if.h: Likewise.
17504         * sysdeps/gnu/utmpx.h: Likewise.
17505         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
17506         * sysdeps/i386/i486/bits/string.h: Likewise.
17507         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
17508         * sysdeps/s390/bits/string.h: Likewise.
17509         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
17510         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
17511         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
17512         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
17513         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
17514         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
17515         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
17516         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
17517         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
17518         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
17519         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
17520         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17521         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
17522         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17523         * sysdeps/unix/sysv/linux/readv.c: Likewise.
17524         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
17525         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17526         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17527         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17528         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17529         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17530         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
17531         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
17532         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
17533         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
17534         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
17535         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
17536         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17537         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
17538         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
17539         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
17540         * sysvipc/sys/ipc.h: Likewise.
17541         * sysvipc/sys/msg.h: Likewise.
17542         * sysvipc/sys/sem.h: Likewise.
17543         * sysvipc/sys/shm.h: Likewise.
17544         * termios/termios.h: Likewise.
17545         * time/sys/time.h: Likewise.
17546         * time/time.h: Likewise.
17547         * wcsmbs/bits/wchar2.h: Likewise.
17548         * wcsmbs/uchar.h: Likewise.
17549         * wcsmbs/wchar.h: Likewise.
17550         * wctype/wctype.h: Likewise.
17552         [BZ #13551]
17553         * Makeconfig: Remove all but ELF support including AIX support.
17554         * Makerules: Likewise.
17555         * config.h.in: Likewise.
17556         * config.make.in: Likewise.
17557         * configure: Likewise.
17558         * configure.in: Likewise.
17559         * csu/Makefile: Likewise.
17560         * csu/version.c: Likewise.
17561         * debug/Makefile: Likewise.
17562         * dlfcn/Makefile: Likewise.
17563         * elf/Makefile: Likewise.
17564         * extra-lib.mk: Likewise.
17565         * iconv/Makefile: Likewise.
17566         * include/libc-symbols.h: Likewise.
17567         * include/shlib-compat.h: Likewise.
17568         * resolv/Makefile: Likewise.
17569         * resolv/res_libc.c: Likewise.
17570         * rt/Makefile: Likewise.
17571         * sysdeps/i386/asm-syntax.h: Likewise.
17572         * sysdeps/i386/sysdep.h: Likewise.
17573         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17574         * sysdeps/mach/sysdep.h: Likewise.
17575         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
17576         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
17577         * sysdeps/s390/asm-syntax.h: Likewise.
17578         * sysdeps/s390/s390-32/sysdep.h: Likewise.
17579         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17580         * sysdeps/sh/sysdep.h: Likewise.
17581         * sysdeps/unix/sparc/sysdep.h: Likewise.
17582         * sysdeps/wordsize-32/divdi3.c: Likewise.
17583         * sysdeps/x86_64/sysdep.h: Likewise.
17585         * argp/Versions: Remove _argp_unlock_xxx.
17587         [BZ #13559]
17588         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
17589         * abilist/libBrokenLocale.abilist: Likewise.
17590         * abilist/libanl.abilist: Likewise.
17591         * abilist/libc.abilist: Likewise.
17592         * abilist/libcrypt.abilist: Likewise.
17593         * abilist/libdl.abilist: Likewise.
17594         * abilist/libm.abilist: Likewise.
17595         * abilist/libnsl.abilist: Likewise.
17596         * abilist/libpthread.abilist: Likewise.
17597         * abilist/libresolv.abilist: Likewise.
17598         * abilist/librt.abilist: Likewise.
17599         * abilist/libthread_db.abilist: Likewise.
17600         * abilist/libutil.abilist: Likewise.
17601         * abilist/libnss_db.abilist: New file.
17603         * scripts/abilist.awk: Add support for indirect functions.
17605         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
17607         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
17609         * shlib-versions: Remove entries for ports architectures.
17611         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
17612         files in ports.
17613         * elf/stackguard-macros.h: Remove support for IA-64.
17614         * elf/tst-auditmod1.c: Likewise.
17615         * sysdeps/generic/ldsodefs.h: Likewise.
17617         * sysdeps/unix/sysv/linux/configure.in: Ports should define
17618         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
17619         configure files.
17621         [BZ #13552]
17622         * configure.in: Remove --enable-omitfp support.
17623         * FAQ.in: Adjust.
17624         * config.make.in: Likewise.
17625         * Makeconfig: Likewise.
17626         * manual/install.texi: Likewise.
17628         In case anyone cares, the IA-64 architecture could move to ports.
17629         * sysdeps/ia64/*: Removed.
17630         * sysdeps/unix/sysv/linux/ia64/*: Removed.
17631         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
17633         [BZ #13555]
17634         * configure.in: Remove entries for unsupported architectures.
17636         [BZ #13533]
17637         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
17638         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
17639         routines.
17640         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
17641         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
17642         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
17643         fall back to using wcrtomb.
17644         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
17645         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
17646         renaming.
17647         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
17648         * wcsmbs/tst-c16c32-1.c: New file.
17650         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
17651         local variable.
17653         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
17655         * elf/tst-unique3.cc: Add explicit declaration of gets.
17656         * elf/tst-unique3lib.cc: Likewise.
17657         * elf/tst-unique3lib2.cc: Likewise.
17658         * elf/tst-unique4.cc: Likewise.
17660         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
17662 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
17664         [BZ #13566]
17665         * assert/assert.h (static_assert): Don't define for C++.
17666         * libio/stdio.h (gets): Do declare for C++ <= C++11.
17667         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
17669 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
17671         * iconv/loop.c (single loop): Fix assertion in storing of
17672         remaining bytes.
17674         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
17676 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
17678         * posix/getconf.c: Update copyright year.
17679         * nss/getent.c: Likewise.
17680         * nss/makedb.c: Likewise.
17681         * iconv/iconvconfig.c: Likewise.
17682         * iconv/iconv_prog.c: Likewise.
17683         * elf/ldconfig.c: Likewise.
17684         * elf/pldd.c: Likewise.
17685         * elf/sotruss.ksh: Likewise.
17686         * catgets/gencat.c: Likewise.
17687         * csu/version.c: Likewise.
17688         * elf/ldd.bash.in: Likewise.
17689         * elf/sprof.c (print_version): Likewise.
17690         * locale/programs/locale.c: Likewise.
17691         * locale/programs/localedef.c: Likewise.
17692         * login/programs/pt_chown.c: Likewise.
17693         * nscd/nscd.c (print_version): Likewise.
17694         * debug/xtrace.sh: Likewise.
17695         * malloc/memusage.sh: Likewise.
17696         * malloc/mtrace.pl: Likewise.
17697         * debug/catchsegv.sh: Likewise.
17699 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
17701         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
17702         pure attribute.
17704 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
17706         [BZ #13533]
17707         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
17708         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
17709         transformations.
17710         * iconv/gconv_int.h: Likewise.
17711         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
17712         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
17713         from libc for GLIBC_2.16.
17714         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
17715         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
17716         * wcsmbs/uchar.h: Really define mbstate_t.
17717         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
17718         * wcsmbs/c16rtomb.c: New file.
17719         * wcsmbs/mbrtoc16.c: New file.
17720         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
17721         for C/POSIX locale.
17722         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
17723         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
17725         * wcsmbs/wchar.h: Add missing __restrict.
17727 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
17729         [BZ #13532]
17730         * time/Makefile (routines): Add timespec_get.
17731         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
17732         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
17733         timespec for ISO C11.
17734         * time/timespec_get.c: New file.
17735         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
17736         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
17738         [BZ #13531]
17739         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
17740         * stdlib/stdlib.h: Declare aligned_alloc.
17741         * Versions.def: Add GLIBC_2.16 for libc.
17742         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
17744         [BZ 13527]
17745         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
17746         ISO C11.
17748         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
17749         code.
17751         [BZ #13528]
17752         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
17754         [BZ #13529]
17755         * assert/assert.h (static_assert): Define.
17757         * version.h: Update for 2.16 development version.
17759         [BZ #13526]
17760         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
17761         _ISOC11_SOURCE.
17763         * version.h (RELEASE): Bump for 2.15 release.
17764         * include/features.h (__GLIBC_MINOR__): Bump to 15.
17766         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
17767         Patch by Marek Polacek <mpolacek@redhat.com>.
17769         * bits/byteswap.h: Protect long long constants with __extension__.
17770         * sysdeps/i386/bits/byteswap.h: Likewise.
17771         * sysdeps/ia64/bits/byteswap.h: Likewise.
17772         * sysdeps/s390/bits/byteswap.h: Likewise.
17773         * sysdeps/x86_64/bits/byteswap.h: Likewise.
17775 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17777         [BZ #13540]
17778         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
17779         destination buffer.
17780         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17782 2011-12-23  Marek Polacek  <polacek@redhat.com>
17784         * elf/dl-addr.c (determine_info): Add inline keyword.
17785         * elf/tst-auditmod4b.c (check_avx): Likewise.
17786         * elf/tst-auditmod6b.c (check_avx): Likewise.
17787         * elf/tst-auditmod6c.c (check_avx): Likewise.
17788         * elf/tst-auditmod7b.c (check_avx): Likewise.
17790 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
17792         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
17793         !__SSE_MATH__.
17795 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17797         [BZ #13540]
17798         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
17799         processing for last bytes.
17801 2011-08-06  Bruno Haible  <bruno@clisp.org>
17803         [BZ #13061]
17804         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
17805         U+0385, not to U+1FEE.
17807         [BZ #13062]
17808         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
17809         entry for U+00A5 U+0301.
17811 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
17813         [BZ #13166]
17814         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
17815         buffer for the output is too small.
17817         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
17818         optimization.
17820         [BZ #13185]
17821         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
17822         SSE flags if possible.
17824 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17826         [BZ #13540]
17827         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
17828         processing for last bytes.
17830 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
17832         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
17833         (syscall-list-default-options, syscall-list-default-condition)
17834         (syscall-list-includes): Define.
17835         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
17836         list of ABIs and options and #if conditions for each ABI.  Do not
17837         handle common syscalls between ABIs specially.
17838         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
17839         Remove.
17840         (syscall-list-variants, syscall-list-32bit-options)
17841         (syscall-list-32bit-condition, syscall-list-64bit-options)
17842         (syscall-list-64bit-condition): Define.
17843         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
17844         (syscall-list-variants, syscall-list-32bit-options)
17845         (syscall-list-32bit-condition, syscall-list-64bit-options)
17846         (syscall-list-64bit-condition): Define.
17847         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
17848         Remove.
17849         (syscall-list-variants, syscall-list-32bit-options)
17850         (syscall-list-32bit-condition, syscall-list-64bit-options)
17851         (syscall-list-64bit-condition): Define.
17852         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
17853         Remove.
17854         (syscall-list-variants, syscall-list-32bit-options)
17855         (syscall-list-32bit-condition, syscall-list-64bit-options)
17856         (syscall-list-64bit-condition): Define.
17858 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
17860         * locale/iso-639.def: Add brx entry.
17862         [BZ #13328]
17863         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
17864         Proposed by Mariusz_Cukr <marcukr@op.pl>.
17866         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
17867         __feraiseexcept_renamed.
17869 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
17871         [BZ #13538]
17872         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
17873         EPOLLET with unsigned values.
17874         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17875         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17877         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
17878         to large cancellation.
17879         * math/s_cacoshf.c: Likewise.
17880         * math/s_cacoshl.c: Likewise.
17882 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
17884         [BZ #13305]
17885         [BZ #12786]
17886         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
17887         * math/s_cacoshf.c: Likewise.
17888         * math/s_cacoshl.c: Likewise.
17890 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
17892         [BZ #13439]
17893         * iconv/gconv.h: Define __GCONV_SWAP.
17894         * iconvdata/unicode.c: The swap bit must be stored in __flags.
17895         * iconvdata/utf-16.c: Likewise.
17896         * iconvdata/utf-32.c: Likewise.
17898 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
17900         [BZ #13524]
17901         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
17902         numerator after shifting it by one limb.
17904 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
17906         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
17907         under [__USE_EXTERN_INLINES].
17909 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
17911         [BZ #13446]
17912         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
17914 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17916         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
17917         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
17918         optimized code.
17919         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
17920         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
17921         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
17922         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
17923         for strncasecmp/strncasecmp_l compilation.
17924         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
17925         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
17927 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
17929         [BZ #13484]
17930         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
17931         of __asm__.
17933 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
17935         [BZ #13506]
17936         * time/tzfile.c (__tzfile_read): Check values from file header.
17938 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
17940         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
17941         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
17942         * powerpc/powerpc32/dl-start.S: Likewise.
17943         * powerpc/powerpc32/elf/start.S: Likewise.
17944         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17945         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
17946         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
17947         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
17948         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17949         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
17950         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
17951         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17952         * powerpc/powerpc32/fpu/s_round.S: Likewise.
17953         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17954         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17955         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17956         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17957         * powerpc/powerpc32/memset.S: Likewise.
17958         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17959         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17960         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17961         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17962         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17963         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17964         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17965         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17966         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
17967         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
17968         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
17969         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17970         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17972 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17974         * math/libm-test.inc: Added more nearbyint tests.
17975         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
17976         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
17977         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
17978         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
17980 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
17982         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
17983         FD_CLOEXEC.
17985 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17987         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
17988         Add wcscpy-ssse3 wcscpy-c.
17989         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
17990         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
17991         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
17992         * sysdeps/x86_64/wcschr.S: New file.
17993         * sysdeps/x86_64/wcsrchr.S: New file.
17994         * string/test-strcmp.c: Remove checking of wcscmp function for
17995         wrong alignments.
17996         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
17997         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
17998         wcsrchr-sse2 wcsrchr-c.
17999         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
18000         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
18001         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
18002         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
18003         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
18004         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
18005         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
18006         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
18007         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
18008         * wcsmbc/wcschr.c (WCSCHR): New macro.
18010 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18012         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
18013         * wcsmbs/test-wcsrchr.c: New file.
18014         * string/test-strrchr.c: Add wcsrchr support.
18015         (WIDE): New macro.
18016         * wcsmbs/test-wcscpy.c: New file.
18017         * string/test-strcpy.c: Add wcscpy support.
18018         (WIDE): New macro.
18020 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
18022         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
18023         the inner loop.
18025 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
18027         [BZ #13472]
18028         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
18030 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
18032         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
18033         Minor optimizations.
18035         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
18036         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
18037         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
18039 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
18041         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
18042         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
18043         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
18044         for gcc to avoid warnings.
18045         * inet/Makefile (tests): Add tst-checks.
18046         * inet/tst-checks.c: New file.
18048         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
18049         warning.
18051         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
18052         __wmemcmp_sse2.
18054         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
18055         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
18057         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
18059 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
18061         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
18062         problem.
18064         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
18066 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
18068         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
18069         conditional on GCC version.
18070         (__arch_compare_and_exchange_val_8_acq)
18071         (__arch_compare_and_exchange_val_16_acq)
18072         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
18073         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
18074         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
18076 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
18078         * sysdeps/sh/backtrace.c: New file.
18080 2011-12-02  Andreas Schwab  <schwab@redhat.com>
18082         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
18083         parenthesis.
18085 2011-12-01  Andreas Schwab  <schwab@redhat.com>
18087         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
18088         falling back to utime.
18090 2011-11-30  Andreas Schwab  <schwab@redhat.com>
18092         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
18093         expectations for float.
18095 2011-11-29  Andreas Schwab  <schwab@redhat.com>
18097         * locale/weight.h (findidx): Add parameter len.
18098         * locale/weightwc.h (findidx): Likewise.
18099         * posix/fnmatch_loop.c (FCT): Adjust caller.
18100         * posix/regcomp.c (build_equiv_class): Likewise.
18101         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
18102         * posix/regexec.c (check_node_accept_bytes): Likewise.
18103         * string/strcoll_l.c (STRCOLL): Likewise.
18104         * string/strxfrm_l.c (STRXFRM): Likewise.
18106 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
18108         * Makefile.in: Remove CVSOPT handling.
18109         * configure.in: Remove use of AC_REVISION.
18110         * iconvdata/Makefile (distribute): No need to filter out CVS.
18111         * scripts/list-sources.sh: Remove CVS, subversion and monotone
18112         handling.
18114 2011-11-16  Andreas Schwab  <schwab@redhat.com>
18116         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
18117         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
18118         [USE_AS_STRNCASECMP_L]: Likewise.
18119         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
18120         NO_TLS_DIRECT_SEG_REFS.
18121         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
18122         Fix argument offsets for non-PIC.
18123         [USE_AS_STRNCASECMP_L]: Likewise.
18124         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
18125         NO_TLS_DIRECT_SEG_REFS.
18127 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
18129         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
18130         O_CLOEXEC.
18131         * locale/loadlocale.c (_nl_load_locale): Likewise.
18133 2011-11-15  Andreas Schwab  <schwab@redhat.com>
18135         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
18136         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
18137         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
18138         (SYSCALL_GETTIME): Set errno on error.
18140         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
18141         count references to noai6ai_cached.
18143 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
18145         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
18147         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
18148         FD_CLOEXEC for /proc/self/maps.
18150         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
18151         FD_CLOEXEC for /proc/meminfo.
18153         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
18154         gai.conf.
18156         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
18157         FD_CLOEXEC for given file.
18159         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
18161         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
18162         FD_CLOEXEC for /etc/hosts.
18163         (_gethtent): Likewise.
18165         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
18167         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
18168         cancellation and set FD_CLOEXEC for /etc/netgroup.
18170         * nss/nss_files/files-key.c (search): Don't allow cancellation when
18171         reading /etc/publickey.
18173         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
18174         allow cancellation when reading /etc/group.
18176         * nss/nss_files/files-alias.c (internal_setent): Don't allow
18177         cancellation.
18178         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
18180         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
18181         when using data file.
18183         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
18185         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
18186         (write_nis_obj): Use "c" and "e" in fopen.
18188         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
18190         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
18192         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
18194         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
18196         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
18197         locale.alias.
18199         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
18201         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
18203         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
18205         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
18206         file parsing and set FD_CLOEXEC.
18208 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
18210         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
18212 2011-11-14  Andreas Schwab  <schwab@redhat.com>
18214         * malloc/arena.c (arena_get2): Don't call reused_arena when
18215         _int_new_arena failed.
18217 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
18219         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
18220         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
18221         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
18222         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18223         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18224         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
18225         to compile strcasecmp and strncasecmp.
18226         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
18227         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
18229         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
18231 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
18233         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
18234         locale-defines.sym to gen-as-const-headers.
18235         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
18236         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
18237         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
18238         to compile strcasecmp and strncasecmp.
18239         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
18240         strcasecmp_l and strncasecmp_l.
18241         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
18242         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
18243         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
18244         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
18245         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
18246         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
18247         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
18248         * sysdeps/i386/i686/multiarch/strncase.S: New file.
18249         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
18250         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
18251         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
18253 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
18255         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
18256         result of SYSDEP_GETTIME_CPU to retval.
18257         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
18258         parameter list to macro.  Remove trailing semicolon.  Adjust users.
18260         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
18261         variable.
18263         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
18264         mantissa words.
18265         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18267         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
18268         from unused variable.
18270         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
18271         DWARF definitions.
18272         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
18273         for assembling.
18275         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
18276         over namespaces.
18278         * sunrpc/rpc_prot.c (rejected): Fix case value.
18280         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
18281         unsigned long long int to avoid warnings in shift.
18283         * posix/regex_internal.c (re_string_reconstruct): Actually use result
18284         of use of trans.
18285         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
18286         variable tmp.
18288         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
18289         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18290         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18292         * nis/nis_table.c (nis_list): Use variable of correct type for
18293         result of __follow_path call.
18295 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18297         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
18298         of math functions ceil, trunc, floor, round, and sqrt, when
18299         avaliable on the platform.
18300         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
18301         name clash.
18302         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18303         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18304         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18306 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
18308         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
18309         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18311 2011-11-11  Roland McGrath  <roland@hack.frob.com>
18313         * include/unistd.h: Fix __readlink return type.
18314         Reported by Chris Metcalf <cmetcalf@tilera.com>.
18316 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
18318         * stdlib/ucontext.h: Undo last change for makecontext.
18320 2011-11-11  Andreas Schwab  <schwab@redhat.com>
18322         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
18324         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
18325         * setjmp/setjmp.h: Mark functions as non-leaf.
18326         * setjmp/bits/setjmp2.h: Likewise.
18327         * stdlib/ucontext.h: Likewise.
18329 2011-11-10  Andreas Schwab  <schwab@redhat.com>
18331         * malloc/arena.c (_int_new_arena): Don't increment narenas.
18332         (reused_arena): Don't check arena limit.
18333         (arena_get2): Atomically check arena limit.
18335 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
18337         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
18338         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
18340         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
18341         instructions.
18343 2011-11-07  Andreas Schwab  <schwab@redhat.com>
18345         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
18346         handler when locking.
18348         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18349         Fix size of allocated buffer.
18351 2011-11-04  Andreas Schwab  <schwab@redhat.com>
18353         [BZ #10103]
18354         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
18355         declarations for long double functions.
18356         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
18358         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
18360 2011-11-03  Andreas Schwab  <schwab@redhat.com>
18362         * nscd/nscd.c (main): Don't start AVC thread until credentials are
18363         installed.
18365         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
18366         is disabled.
18368 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18370         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
18372 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
18374         * include/alloca.h (stackinfo_alloca_round): Define.
18375         (extend_alloca): Use it.
18376         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
18377         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
18378         here.
18380         * scripts/check-local-headers.sh: Ignore libaudit.h.
18382         * nscd/Makefile (extra-objs): Make recursively expanded.
18384 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
18386         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
18387         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18389         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
18390         * posix/tst-rfc3484-2.c: Likewise.
18391         * posix/tst-rfc3484-3.c: Likewise.
18393         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18394         process_vm_writev.
18395         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
18396         process_vm_writev.
18397         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
18398         process_vm_writev from libc using GLIBC_2.15 version.
18400         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
18402 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
18404         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
18405         stack usage.
18407 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
18409         [BZ #13367]
18410         * nss/getent.c (initgroups_keys): Show error message in case no group
18411         names are given.
18413         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
18414         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
18415         __bump_nl_timestamp.
18416         * nscd/connections (nscd_init): When host database is served open
18417         netlink socket and request notification about configuration changes.
18418         (main_loop_poll): Track netlink file descriptor and bump timestamp
18419         in case data becomes available.
18420         (main_loop_epoll): Likewise.
18421         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
18422         (database_pers_head): Add extra_data fileds.
18423         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
18424         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
18425         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
18426         Adjust caller.
18427         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
18428         in6ai data, call __free_in6ai.
18429         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
18430         Add -DHAVE_NETLINK.
18431         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
18432         interface information.  Reuse previous data if netlink timestamp
18433         is not changed.
18434         (__bump_nl_timestamp): New function.
18435         (__free_in6ai): New function.
18437 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
18439         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
18440         close_not_cancel_no_status here.
18441         (__check_pf): Reorganize code a bit to not call close twice if OOM.
18443 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
18445         [BZ #13276]
18446         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
18447         return value.
18449         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
18450         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
18451         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
18453 2011-07-03  Andreas Jaeger  <aj@suse.de>
18455         [BZ #10709]
18456         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
18457         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
18458         * math/libm-test.inc (sin_test): Add test case.
18460 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
18462         [BZ #13337]
18463         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
18464         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18466         * elf/chroot_canon.c (chroot_canon): Cleanups.
18468         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
18470         [BZ #13335]
18471         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
18472         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18474         * string/test-strchr.c: Make usable for strchrnul testing.
18475         * string/test-strchrnul.c: New file.
18476         * string/Makefile (strop-tests): Add strchrnul.
18478         * po/it.po: Update from translation team.
18479         * po/es.po: Likewise.
18481 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
18483         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
18484         the three constants needed as parameters.  Drop the others.
18485         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
18486         __m128i_strloadu_tolower.
18487         Create and initialize variable zero and use it in all the places
18488         where _mm_setzero_si128 was used.
18490         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
18491         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
18492         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
18493         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
18494         anymore.
18495         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
18496         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
18497         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
18498         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
18499         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
18500         __mpranred, __mptan.
18501         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
18502         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
18503         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
18504         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
18505         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
18506         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
18507         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
18508         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
18509         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
18511 2011-10-28  Andreas Schwab  <schwab@redhat.com>
18513         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
18514         redefine if SHARED.
18515         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
18517         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
18518         wide char related routines to wcsmbs subdir.
18520 2011-10-27  Andreas Schwab  <schwab@redhat.com>
18522         [BZ #13344]
18523         * misc/sys/cdefs.h (__THROWNL): Define.
18524         * posix/unistd.h: Use __THREADNL instead of __THREAD
18525         for memory synchronization functions.
18527 2011-10-26  Roland McGrath  <roland@hack.frob.com>
18529         [BZ #13349]
18530         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
18531         doesn't exist.
18532         * manual/stdio.texi (Obstack Streams): Node removed.
18534 2011-10-26  Andreas Schwab  <schwab@redhat.com>
18536         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
18537         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18538         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18540         * math/math_private.h (math_force_eval): Allow non-addressable
18541         arguments.
18542         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
18544 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
18546         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
18547         file is not needed.
18549         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
18550         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18551         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18552         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18553         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18554         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18555         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18556         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
18557         Add AVX variants.
18558         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
18559         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
18560         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
18561         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
18562         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
18563         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
18564         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
18565         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
18566         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
18567         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
18568         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
18569         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
18570         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
18571         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
18572         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
18573         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
18574         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
18575         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
18576         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
18578         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
18579         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
18581         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
18582         place.  Use VEX encoding when compiling for AVX.
18584 2011-10-25  Andreas Schwab  <schwab@redhat.com>
18586         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
18587         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18589         * string/test-strchr.c (do_test): Don't generate NUL bytes.
18591 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
18593         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
18594         useless if() expression.
18595         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18596         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18597         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18598         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18599         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18600         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18601         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18602         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18603         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18604         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18605         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18606         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18607         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18608         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18609         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18610         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18611         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18612         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18613         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18615         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
18617 2011-10-25  Andreas Schwab  <schwab@redhat.com>
18619         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
18620         condition.
18621         * elf/dl-fini.c (_dl_sort_fini): Likewise.
18623 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
18625         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
18626         .text section.  Avoid duplicate constants.
18627         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18628         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18629         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18630         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18631         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18632         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18633         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18634         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18635         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18636         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
18637         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18638         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18639         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18640         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18641         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18642         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18643         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18644         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18645         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18646         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18647         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18648         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18649         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18650         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
18651         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
18652         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
18653         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
18654         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
18655         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
18656         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18657         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
18658         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18659         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18660         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
18661         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
18662         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18663         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18664         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
18665         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
18666         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
18667         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
18668         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
18669         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
18670         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18671         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18673 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
18675         * sysdeps/x86_64/dla.h: Move to ...
18676         * sysdeps/x86_64/fpu/dla.h: ...here.
18677         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
18678         situations.  Use __builtin_fma only for gcc 4.6 and up.
18680         * config.make.in: Add have-mfma4 entry.
18681         * configure.in: Substitute libc_cv_cc_fma4.
18682         * math/Makefile (dbl-only-routines): Add sincostab.
18683         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
18684         Use __sincostab not sincos.
18685         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
18686         name is a macro.
18687         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18688         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18689         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18690         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
18691         using __copysign.
18692         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
18693         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
18694         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
18695         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
18696         and __inv.
18697         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
18698         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
18699         __copysign.
18700         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
18701         define aliases when function name is a macro.
18702         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
18703         sysdeps/ieee754/dbl-64/sincos.tbl.
18704         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
18705         fma4-enabled routines.
18706         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
18707         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
18708         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
18709         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
18710         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
18711         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
18712         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
18713         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
18714         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
18715         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
18716         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
18717         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
18718         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
18719         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
18720         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
18721         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
18722         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
18723         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
18724         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
18725         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
18726         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
18727         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
18728         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
18729         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
18730         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
18731         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
18732         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
18733         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
18734         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
18735         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
18737         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
18738         rename.
18739         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18740         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18741         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18742         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18743         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18744         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18745         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18746         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18748 2011-10-24  Andreas Schwab  <schwab@redhat.com>
18750         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
18752 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
18754         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
18756         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
18757         prediction.
18758         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
18760         * string/strnlen.c: Don't define STRNLEN, reverse logic.
18761         Remove unused variable magic_bits.
18762         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
18764         * string/strnlen.c: Define and use STRNLEN macro.
18765         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
18766         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
18767         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
18768         * wcsmbs/wcslen.c: Define and use WCSLEN.
18769         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
18770         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
18771         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
18772         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
18773         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
18774         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
18775         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18777 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18779         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18780         strnlen-sse2-no-bsf.
18781         Rename strlen-no-bsf to strlen-sse2-no-bsf.
18782         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
18783         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
18784         Add strnlen support.
18785         (USE_AS_STRNLEN): New macro.
18786         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
18787         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
18788         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
18789         * sysdeps/x86_64/wcslen.S: New file.
18791 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
18793         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18794         XMM-moves are used for copying on small sizes.
18796 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18798         * wcsmbs/Makefile (strop-tests): Add wcschr.
18799         * wcsmbs/test-wcschr.c: New file.
18800         * string/test-strchr.c: Update.
18801         Add wcschr support.
18802         (WIDE): New macro.
18804 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18806         * wcsmbs/Makefile (strop-tests): Add wcslen.
18807         * wcsmbs/test-wcslen.c: New file.
18808         * string/test-strlen.c: Update.
18809         Add wcslen support.
18810         (WIDE): New macro.
18812 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
18814         * po/it.po: Update from translation team.
18816 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18818         * sysdeps/x86_64/wcscmp.S: Update.
18819         Fix wrong comparison semantics.
18820         wcscmp shall use signed comparison not unsigned.
18821         Don't use substraction to avoid overflow bug.
18822         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18823         * wcsmbc/wcscmp.c: Likewise.
18824         * string/test-strcmp.c: Likewise.
18825         Add new tests to check cases with negative values.
18827 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
18829         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
18830         * sysdeps/x86_64/dla.h: ...here.  New file.
18831         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
18832         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18833         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18834         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18835         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18836         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18837         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18838         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18839         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18841 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
18843         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
18844         __ynl_finite aliases.
18846 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
18848         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18850         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
18851         define DLA_FMA.
18852         [DLA_FMA] (EMULV): Use DLA_FMA.
18853         [DLA_FMA] (MUL12): Use EMULV.
18854         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
18855         that are not needed.
18856         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18857         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18858         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18859         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18860         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18861         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18862         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18864 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
18866         * math/s_nan.c: Undef __nan.
18867         * math/s_nanf.c: Undef __nanf.
18868         * math/s_nanl.c: Undef __nanl.
18869         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
18870         "math_private.h".
18872 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
18874         * math/s_catan.c: Add branch predictions.
18875         * math/s_catanf.c: Likewise.
18876         * math/s_catanh.c: Likewise.
18877         * math/s_catanhf.c: Likewise.
18878         * math/s_catanhl.c: Likewise.
18879         * math/s_catanl.c: Likewise.
18880         * math/s_cexp.c: Likewise.
18881         * math/s_cexpf.c: Likewise.
18882         * math/s_cexpl.c: Likewise.
18883         * math/s_clog.c: Likewise.
18884         * math/s_clog10.c: Likewise.
18885         * math/s_clog10f.c: Likewise.
18886         * math/s_clog10l.c: Likewise.
18887         * math/s_clogf.c: Likewise.
18888         * math/s_clogl.c: Likewise.
18889         * math/s_csqrt.c: Likewise.
18890         * math/s_csqrtf.c: Likewise.
18891         * math/s_csqrtl.c: Likewise.
18892         * math/s_ctanf.c: Likewise.
18893         * math/s_ctanh.c: Likewise.
18894         * math/s_ctanhf.c: Likewise.
18895         * math/s_ctanhl.c: Likewise.
18896         * math/s_ctanl.c: Likewise.
18898         * math/math_private.h: Define __nan, __nanf, __nanl.
18899         * math/s_cacosh.c: Include <math_private.h>.
18900         * math/s_cacoshl.c: Likewise.
18901         * math/s_casinh.c: Likewise.
18902         * math/s_casinhf.c: Likewise.
18903         * math/s_casinhl.c: Likewise.
18904         * math/s_ccos.c: Rely entire on ccosh.
18905         * math/s_ccosf.c: Rely entire on ccoshf.
18906         * math/s_ccosl.c: Rely entirely on ccoshl.
18907         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
18908         Remove tests for FE_INVALID.
18909         * math/s_ccoshf.c: Likewise.
18910         * math/s_ccoshl.c: Likewise.
18911         * math/s_csin.c: Likewise.
18912         * math/s_csinf.c: Likewise.
18913         * math/s_csinh.c Likewise.
18914         * math/s_csinhf.c: Likewise.
18915         * math/s_csinhl.c: Likewise.
18916         * math/s_csinl.c: Likewise.
18917         * math/s_ctan.c: Likewise.
18918         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
18919         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
18920         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
18922 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
18924         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
18925         compilation problems.
18927         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
18928         __builtin_expect.
18930 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
18932         * sysdeps/i386/configure.in: Test for -mfma4 option.
18933         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
18934         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
18935         COMMON_CPUID_INDEX_80000001.
18936         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
18937         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
18938         use it if FMA3 is not supported.
18939         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18941         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
18942         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18944 2011-10-20  Andreas Schwab  <schwab@redhat.com>
18946         [BZ #12892]
18947         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
18948         it would create a cycle with a link time dependency.
18950 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
18952         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
18953         instruction.
18954         * string/Makefile (strop-tests): Add rawmemchr.
18955         * string/test-rawmemchr.c: New file.
18957         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
18958         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
18959         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
18960         when compiling str{,n}casecmp and when AVX is available.  Hook up
18961         new optimized code in initializers.
18963 2011-10-19  Andreas Schwab  <schwab@redhat.com>
18965         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
18966         __feraiseexcept instead of feraiseexcept.
18968 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
18970         * math/math_private.h: Define defaults for libc_fetestexcept and
18971         libc_feupdateenv.
18972         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
18973         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18974         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18975         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18976         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18977         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18978         libc_fetestexcept and libc_feupdateenv.
18980         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
18981         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
18982         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
18983         * sysdeps/x86_64/fpu/math_private.h: Define special version of
18984         libc_feholdexcept_setround.
18986         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
18987         Add s_nearbyint-c and s_nearbyintf-c.
18988         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
18989         nearbyintf inlines.
18990         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
18991         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
18992         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
18993         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
18995         * math/math_private.h: Define defaults for libc_fegetround,
18996         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
18997         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
18998         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
18999         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
19000         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
19001         standard functions.
19002         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19003         Remove comments and hacks for old compiler versions.
19004         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19005         libc_fegetround, libc_fesetround, libc_feholdexcept, and
19006         libc_feholdexceptl.
19008 2011-10-18  Andreas Schwab  <schwab@redhat.com>
19010         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
19011         (__feraiseexcept_renamed): Add __NTH.
19012         (feraiseexcept): Add __NTH.  Rename local variables to fix
19013         namespace violations.
19015 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
19017         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
19019         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
19021         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
19022         recently added interfaces.
19023         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
19025         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
19026         about macro parameter expansion.
19028         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
19029         __NO_MATH_INLINES is defined.  Cleanups.
19031         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
19032         and __floorf is target has SSE4.1.
19033         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
19034         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
19035         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
19036         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
19038         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
19039         name.
19040         (floorf): Likewise.
19042         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
19044 2011-10-17  Andreas Schwab  <schwab@redhat.com>
19046         * misc/sys/cdefs.h: Fix last change.
19048         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
19049         database lookup.
19051 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
19053         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
19055         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
19056         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19057         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19058         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19059         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19060         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19061         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19062         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19063         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19064         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
19065         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
19066         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
19067         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
19068         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
19069         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
19070         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
19071         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
19072         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
19073         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
19074         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
19075         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
19076         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
19078         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
19079         ceil, ceilf, floor, floorf.
19081         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
19082         Perform IRELATIVE relocations last.
19084         * elf/do-rel.h: Add another parameter nrelative, replacing the
19085         local variable with the same name.  Change name of the function
19086         to end in Rel or Rela (uppercase).
19087         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
19088         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
19089         elf_dynamic_do_##reloc function.
19091 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
19093         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
19094         is sufficient, at least on modern CPUs.
19096         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
19098         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
19099         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
19101         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
19102         __expl_finite.
19103         * math/bits/math-finite.h: Add entries for exp.
19104         * math/e_expl.c: Add __*_finite alias.
19105         * sysdeps/i386/fpu/e_exp.S: Likewise.
19106         * sysdeps/i386/fpu/e_expf.S: Likewise.
19107         * sysdeps/i386/fpu/e_expl.c: Likewise.
19108         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19109         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19110         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19111         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19112         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
19113         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19114         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19116         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
19117         is sufficient, at least on modern CPUs.
19119         * ctype/ctype-info.c (__ctype_init): Define.
19120         * include/ctype.h (__ctype_init): Declare.
19121         (__ctype_b_loc): The variable is always initialized.
19122         (__ctype_toupper_loc): Likewise.
19123         (__ctype_tolower_loc): Likewise.
19124         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
19125         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
19127 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
19129         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
19131         * configure.in: Also look in $cxxmachine/include for C++ system
19132         headers.
19134 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19136         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
19137         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
19138         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
19139         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
19140         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
19141         (USE_AS_WMEMCMP): New macro.
19142         Fixing indents.
19143         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
19144         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
19145         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
19146         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
19147         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19148         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
19149         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
19150         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
19151         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
19152         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
19153         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
19154         (USE_AS_WMEMCMP): New macro.
19155         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
19156         * sysdeps/string/test-memcmp.c: Update.
19157         Fix simple_wmemcmp.
19158         Add new tests.
19159         * wcsmbs/wmemcmp.c: Update.
19160         (WMEMCMP): New macro.
19161         Fix overflow bug.
19163 2011-10-12  Andreas Jaeger  <aj@suse.de>
19165         [BZ #13268]
19166         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
19168 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
19170         * libio/iofwide.c (do_length): Avoid warning.
19172         * ctype/ctype.h (__isctype_f): Add missing __THROW.
19174 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
19176         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
19178         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
19179         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
19180         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
19181         * sysdeps/i386/i686/fpu/e_log.S: New file.
19182         * sysdeps/i386/i686/fpu/e_logf.S: New file.
19183         * sysdeps/i386/i686/fpu/e_logl.S: New file.
19185         * ctype/ctype.h: Add support for inlined isXXX functions when
19186         compiling C++ code.
19188 2011-10-14  Andreas Schwab  <schwab@redhat.com>
19190         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19192         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
19194 2011-10-13  Roland McGrath  <roland@hack.frob.com>
19196         [BZ #13291]
19197         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
19199 2011-10-13  Andreas Schwab  <schwab@redhat.com>
19201         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
19202         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
19203         feraiseexcept.
19205         * sysdeps/x86_64/memrchr.S: Check for zero size.
19207         * string/stratcliff.c: Add memrchr tests.
19209 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19211         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19212         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
19213         rawmemchr-sse2 rawmemchr-sse2-bsf.
19214         * sysdeps/i386/i686/multiarch/memchr.S: New file.
19215         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
19216         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
19217         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
19218         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
19219         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
19220         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
19221         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
19222         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
19223         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
19224         * string/memrchr.c (MEMRCHR): New macro.
19226 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
19228         Add integration with gcc's -ffinite-math-only and optimize wrapper
19229         functions in libm.
19230         * Versions.def: Define GLIBC_2.15 version for libm.
19231         * math/Makefile (headers): Add bits/math-finite.h.
19232         * math/bits/math-finite.h: New file.
19233         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
19234         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
19235         * math/e_acoshl.c: Add __*_finite alias.
19236         * math/e_acosl.c: Likewise.
19237         * math/e_asinl.c: Likewise.
19238         * math/e_atan2l.c: Likewise.
19239         * math/e_atanhl.c: Likewise.
19240         * math/e_coshl.c: Likewise.
19241         * math/e_exp10.c: Likewise.
19242         * math/e_exp10f.c: Likewise.
19243         * math/e_exp10l.c: Likewise.
19244         * math/e_exp2l.c: Likewise.
19245         * math/e_fmodl.c: Likewise.
19246         * math/e_gammal_r.c: Likewise.
19247         * math/e_hypotl.c: Likewise.
19248         * math/e_j0l.c: Likewise.
19249         * math/e_j1l.c: Likewise.
19250         * math/e_jnl.c: Likewise.
19251         * math/e_lgammal_r.c: Likewise.
19252         * math/e_log10l.c: Likewise.
19253         * math/e_log2l.c: Likewise.
19254         * math/e_logl.c: Likewise.
19255         * math/e_powl.c: Likewise.
19256         * math/e_sinhl.c: Likewise.
19257         * math/e_sqrtl.c: Likewise.
19258         * math/e_scalb.c: Completely rewritten and optimized.
19259         * math/e_scalbf.c: Likewise.
19260         * math/e_scalbl.c: Likewise.
19261         * math/w_acos.c: Likewise.
19262         * math/w_acosf.c: Likewise.
19263         * math/w_acosl.c: Likewise.
19264         * math/w_acosh.c: Likewise.
19265         * math/w_acoshf.c: Likewise.
19266         * math/w_acoshl.c: Likewise.
19267         * math/w_asin.c: Likewise.
19268         * math/w_asinf.c: Likewise.
19269         * math/w_asinl.c: Likewise.
19270         * math/w_atan2.c: Likewise.
19271         * math/w_atan2f.c: Likewise.
19272         * math/w_atan2l.c: Likewise.
19273         * math/w_atanh.c: Likewise.
19274         * math/w_atanhf.c: Likewise.
19275         * math/w_atanhl.c: Likewise.
19276         * math/w_exp10.c: Likewise.
19277         * math/w_exp10f.c: Likewise.
19278         * math/w_exp10l.c: Likewise.
19279         * math/w_fmod.c: Likewise.
19280         * math/w_fmodf.c: Likewise.
19281         * math/w_fmodl.c: Likewise.
19282         * math/w_j0.c: Likewise.
19283         * math/w_j0f.c: Likewise.
19284         * math/w_j0l.c: Likewise.
19285         * math/w_j1.c: Likewise.
19286         * math/w_j1f.c: Likewise.
19287         * math/w_j1l.c: Likewise.
19288         * math/w_jn.c: Likewise.
19289         * math/w_jnf.c: Likewise.
19290         * math/w_log.c: Likewise.
19291         * math/w_logf.c: Likewise.
19292         * math/w_logl.c: Likewise.
19293         * math/w_log10.c: Likewise.
19294         * math/w_log10f.c: Likewise.
19295         * math/w_log10l.c: Likewise.
19296         * math/w_log2.c: Likewise.
19297         * math/w_log2f.c: Likewise.
19298         * math/w_log2l.c: Likewise.
19299         * math/w_pow.c: Likewise.
19300         * math/w_powf.c: Likewise.
19301         * math/w_powl.c: Likewise.
19302         * math/w_remainder.c: Likewise.
19303         * math/w_remainderf.c: Likewise.
19304         * math/w_remainderl.c: Likewise.
19305         * math/w_scalb.c: Likewise.
19306         * math/w_scalbf.c: Likewise.
19307         * math/w_scalbl.c: Likewise.
19308         * math/w_sqrt.c: Likewise.
19309         * math/w_sqrtf.c: Likewise.
19310         * math/w_sqrtl.c: Likewise.
19311         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
19312         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
19313         used.
19314         * math/math_private.h: Declare __kernel_standard_f.
19315         * math/w_cosh.c: Remove cruft and optimize a bit.
19316         * math/w_coshf.c: Likewise.
19317         * math/w_coshl.c: Likewise.
19318         * math/w_exp2.c: Likewise.
19319         * math/w_exp2f.c: Likewise.
19320         * math/w_exp2l.c: Likewise.
19321         * math/w_hypot.c: Likewise.
19322         * math/w_hypotf.c: Likewise.
19323         * math/w_hypotl.c: Likewise.
19324         * math/w_lgamma.c: Likewise.
19325         * math/w_lgamma_r.c: Likewise.
19326         * math/w_lgammaf.c: Likewise.
19327         * math/w_lgammaf_r.c: Likewise.
19328         * math/w_lgammal.c: Likewise.
19329         * math/w_lgammal_r.c: Likewise.
19330         * math/w_sinh.c: Likewise.
19331         * math/w_sinhf.c: Likewise.
19332         * math/w_sinhl.c: Likewise.
19333         * math/w_tgamma.c: Likewise.
19334         * math/w_tgammaf.c: Likewise.
19335         * math/w_tgammal.c: Likewise.
19336         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19337         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19338         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
19339         Minor optimizations.  Pretty printing.  Remove cruft.
19340         * sysdeps/i386/fpu/e_acosf.S: Likewise.
19341         * sysdeps/i386/fpu/e_acosh.S: Likewise.
19342         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19343         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19344         * sysdeps/i386/fpu/e_acosl.c: Likewise.
19345         * sysdeps/i386/fpu/e_asin.S: Likewise.
19346         * sysdeps/i386/fpu/e_asinf.S: Likewise.
19347         * sysdeps/i386/fpu/e_atan2.S: Likewise.
19348         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
19349         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
19350         * sysdeps/i386/fpu/e_atanh.S: Likewise.
19351         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19352         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19353         * sysdeps/i386/fpu/e_exp10.S: Likewise.
19354         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
19355         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
19356         * sysdeps/i386/fpu/e_exp2.S: Likewise.
19357         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
19358         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
19359         * sysdeps/i386/fpu/e_fmod.S: Likewise.
19360         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
19361         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
19362         * sysdeps/i386/fpu/e_hypot.S: Likewise.
19363         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
19364         * sysdeps/i386/fpu/e_log.S: Likewise.
19365         * sysdeps/i386/fpu/e_log10.S: Likewise.
19366         * sysdeps/i386/fpu/e_log10f.S: Likewise.
19367         * sysdeps/i386/fpu/e_log10l.S: Likewise.
19368         * sysdeps/i386/fpu/e_log2.S: Likewise.
19369         * sysdeps/i386/fpu/e_log2f.S: Likewise.
19370         * sysdeps/i386/fpu/e_log2l.S: Likewise.
19371         * sysdeps/i386/fpu/e_logf.S: Likewise.
19372         * sysdeps/i386/fpu/e_logl.S: Likewise.
19373         * sysdeps/i386/fpu/e_pow.S: Likewise.
19374         * sysdeps/i386/fpu/e_powf.S: Likewise.
19375         * sysdeps/i386/fpu/e_powl.S: Likewise.
19376         * sysdeps/i386/fpu/e_remainder.S: Likewise.
19377         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
19378         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
19379         * sysdeps/i386/fpu/e_scalb.S: Likewise.
19380         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19381         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19382         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
19383         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
19384         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
19385         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19386         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19387         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19388         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19389         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19390         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19391         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19392         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19393         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19394         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19395         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19396         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19397         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19398         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19399         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19400         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19401         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19402         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19403         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19404         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19405         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19406         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19407         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19408         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19409         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19410         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19411         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19412         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19413         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
19414         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19415         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19416         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19417         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19418         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19419         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19420         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19421         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19422         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19423         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19424         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19425         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19426         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19427         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19428         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19429         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19430         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19431         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19432         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19433         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19434         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
19435         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19436         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19437         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19438         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19439         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19440         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19441         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19442         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19443         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19444         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19445         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19446         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19447         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19448         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19449         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19450         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19451         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19452         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19453         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
19454         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19455         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19456         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19457         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19458         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19459         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19460         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19461         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19462         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19463         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19464         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19465         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19466         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19467         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
19468         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19469         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19470         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19471         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19472         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19473         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19474         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19475         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19476         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19477         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19478         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19479         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19480         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19481         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19482         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
19483         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
19484         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
19485         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
19486         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
19487         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
19488         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
19489         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19490         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19491         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19492         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19493         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
19494         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19495         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
19496         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
19497         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
19498         (__isnanf): Likewise.
19499         (__isinf_ns): Likewise.
19500         (__isinf_nsf): Likewise.
19501         (__finite): Likewise.
19502         (__finitef): Likewise.
19503         (__ieee754_sqrt): Define as macro.
19504         (__ieee754_sqrtf): Define as macro.
19505         (__ieee754_sqrtl): Define as macro.
19506         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
19507         inlined copy.
19508         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
19509         __FINITE_MATH_ONLY__ consistent.
19510         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
19512 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
19514         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
19515         of rawmemchr.
19517         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
19519 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
19521         * po/ja.po: Update from translation team.
19523 2011-10-08  Roland McGrath  <roland@hack.frob.com>
19525         * locale/programs/locarchive.c (prepare_address_space): New function.
19526         (create_archive, enlarge_archive, open_archive): Use it.
19528         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
19529         inside [SHARED], where it is used.
19531         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
19533         * nss/getent.c (netgroup_keys): Remove unused variable.
19534         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19536 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
19538         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
19539         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
19540         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
19541         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
19542         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
19543         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
19544         * math/Makefile (libm-calls): Add s_isinf_ns.
19545         * math/divtc3.c: Use __isinf_nsl instead of isinf.
19546         * math/multc3.c: Likewise.
19547         * math/s_casin.c: Likewise.
19548         * math/s_casinf.c: Likewise.
19549         * math/s_casinl.c: Likewise.
19550         * math/s_ccos.c: Likewise.
19551         * math/s_ccosf.c: Likewise.
19552         * math/s_ccosl.c: Likewise.
19553         * math/s_ctan.c: Likewise.
19554         * math/s_ctanf.c: Likewise.
19555         * math/s_ctanh.c: Likewise.
19556         * math/s_ctanhf.c: Likewise.
19557         * math/s_ctanhl.c: Likewise.
19558         * math/s_ctanl.c: Likewise.
19559         * math/w_fmod.c: Likewise.
19560         * math/w_fmodf.c: Likewise.
19561         * math/w_fmodl.c: Likewise.
19562         * math/w_remainder.c: Likewise.
19563         * math/w_remainderf.c: Likewise.
19564         * math/w_remainderl.c: Likewise.
19565         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
19566         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
19567         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
19568         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
19569         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
19570         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
19571         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
19572         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
19574         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
19575         of the number.
19576         * stdio-common/printf_fphex.c: Likewise.
19577         * stdio-common/printf_size.c: Likewise.
19579         * math/e_exp10.c: Include math_private.h using <...> not "...".
19580         * math/e_exp10f.c: Likewise.
19581         * math/e_exp10l.c: Likewise.
19582         * math/e_exp2l.c: Likewise.
19583         * math/e_j0l.c: Likewise.
19584         * math/e_j1l.c: Likewise.
19585         * math/e_jnl.c: Likewise.
19586         * math/e_lgammal_r.c: Likewise.
19587         * math/e_rem_pio2l.c: Likewise.
19588         * math/e_scalb.c: Likewise.
19589         * math/e_scalbf.c: Likewise.
19590         * math/e_scalbl.c: Likewise.
19591         * math/k_cosl.c: Likewise.
19592         * math/k_sinl.c: Likewise.
19593         * math/k_tanl.c: Likewise.
19594         * math/s_cacoshf.c: Likewise.
19595         * math/s_catan.c: Likewise.
19596         * math/s_catanf.c: Likewise.
19597         * math/s_catanh.c: Likewise.
19598         * math/s_catanhf.c: Likewise.
19599         * math/s_catanhl.c: Likewise.
19600         * math/s_catanl.c: Likewise.
19601         * math/s_ccosh.c: Likewise.
19602         * math/s_ccoshf.c: Likewise.
19603         * math/s_ccoshl.c: Likewise.
19604         * math/s_cexp.c: Likewise.
19605         * math/s_cexpf.c: Likewise.
19606         * math/s_cexpl.c: Likewise.
19607         * math/s_clog.c: Likewise.
19608         * math/s_clog10.c: Likewise.
19609         * math/s_clog10f.c: Likewise.
19610         * math/s_clog10l.c: Likewise.
19611         * math/s_clogf.c: Likewise.
19612         * math/s_clogl.c: Likewise.
19613         * math/s_csin.c: Likewise.
19614         * math/s_csinf.c: Likewise.
19615         * math/s_csinh.c: Likewise.
19616         * math/s_csinhf.c: Likewise.
19617         * math/s_csinhl.c: Likewise.
19618         * math/s_csinl.c: Likewise.
19619         * math/s_csqrt.c: Likewise.
19620         * math/s_csqrtf.c: Likewise.
19621         * math/s_csqrtl.c: Likewise.
19622         * math/s_ctan.c: Likewise.
19623         * math/s_ctanf.c: Likewise.
19624         * math/s_ctanh.c: Likewise.
19625         * math/s_ctanhf.c: Likewise.
19626         * math/s_ctanhl.c: Likewise.
19627         * math/s_ctanl.c: Likewise.
19628         * math/s_ldexp.c: Likewise.
19629         * math/s_ldexpf.c: Likewise.
19630         * math/s_ldexpl.c: Likewise.
19631         * math/s_significand.c: Likewise.
19632         * math/s_significandf.c: Likewise.
19633         * math/s_significandl.c: Likewise.
19634         * math/w_acos.c: Likewise.
19635         * math/w_acosf.c: Likewise.
19636         * math/w_acosh.c: Likewise.
19637         * math/w_acoshf.c: Likewise.
19638         * math/w_acoshl.c: Likewise.
19639         * math/w_acosl.c: Likewise.
19640         * math/w_asin.c: Likewise.
19641         * math/w_asinf.c: Likewise.
19642         * math/w_asinl.c: Likewise.
19643         * math/w_atan2.c: Likewise.
19644         * math/w_atan2f.c: Likewise.
19645         * math/w_atan2l.c: Likewise.
19646         * math/w_atanh.c: Likewise.
19647         * math/w_atanhf.c: Likewise.
19648         * math/w_atanhl.c: Likewise.
19649         * math/w_cosh.c: Likewise.
19650         * math/w_coshf.c: Likewise.
19651         * math/w_coshl.c: Likewise.
19652         * math/w_dremf.c: Likewise.
19653         * math/w_exp10.c: Likewise.
19654         * math/w_exp10f.c: Likewise.
19655         * math/w_exp10l.c: Likewise.
19656         * math/w_exp2.c: Likewise.
19657         * math/w_exp2f.c: Likewise.
19658         * math/w_fmod.c: Likewise.
19659         * math/w_fmodf.c: Likewise.
19660         * math/w_fmodl.c: Likewise.
19661         * math/w_hypot.c: Likewise.
19662         * math/w_hypotf.c: Likewise.
19663         * math/w_hypotl.c: Likewise.
19664         * math/w_j0.c: Likewise.
19665         * math/w_j0f.c: Likewise.
19666         * math/w_j0l.c: Likewise.
19667         * math/w_j1.c: Likewise.
19668         * math/w_j1f.c: Likewise.
19669         * math/w_j1l.c: Likewise.
19670         * math/w_jn.c: Likewise.
19671         * math/w_jnf.c: Likewise.
19672         * math/w_jnl.c: Likewise.
19673         * math/w_lgamma.c: Likewise.
19674         * math/w_lgamma_r.c: Likewise.
19675         * math/w_lgammaf.c: Likewise.
19676         * math/w_lgammaf_r.c: Likewise.
19677         * math/w_lgammal.c: Likewise.
19678         * math/w_lgammal_r.c: Likewise.
19679         * math/w_log.c: Likewise.
19680         * math/w_log10.c: Likewise.
19681         * math/w_log10f.c: Likewise.
19682         * math/w_log10l.c: Likewise.
19683         * math/w_log2.c: Likewise.
19684         * math/w_log2f.c: Likewise.
19685         * math/w_log2l.c: Likewise.
19686         * math/w_logf.c: Likewise.
19687         * math/w_logl.c: Likewise.
19688         * math/w_pow.c: Likewise.
19689         * math/w_powf.c: Likewise.
19690         * math/w_powl.c: Likewise.
19691         * math/w_remainder.c: Likewise.
19692         * math/w_remainderf.c: Likewise.
19693         * math/w_remainderl.c: Likewise.
19694         * math/w_scalb.c: Likewise.
19695         * math/w_scalbf.c: Likewise.
19696         * math/w_scalbl.c: Likewise.
19697         * math/w_sinh.c: Likewise.
19698         * math/w_sinhf.c: Likewise.
19699         * math/w_sinhl.c: Likewise.
19700         * math/w_sqrt.c: Likewise.
19701         * math/w_sqrtf.c: Likewise.
19702         * math/w_sqrtl.c: Likewise.
19703         * math/w_tgamma.c: Likewise.
19704         * math/w_tgammaf.c: Likewise.
19705         * math/w_tgammal.c: Likewise.
19707         * po/ja.po: Update from translation team.
19709 2011-09-29  Andreas Jaeger  <aj@suse.de>
19711         [BZ #13179]
19712         * sunrpc/netname.c (netname2host): Fix logic.
19714         [BZ #6779]
19715         [BZ #6783]
19716         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
19717         correctly.
19718         * math/w_remainder.c (__remainder): Likewise.
19719         * math/w_remainderf.c (__remainderf): Likewise.
19720         * math/libm-test.inc (remainder_test): Add test cases.
19722 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19724         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
19725         sdiv_qrnnd.
19727 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
19729         * string/test-memcmp.c: Avoid unncessary #defines.
19730         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19732 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19734         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
19735         Use new sse2 version for core i3 - i7 as it's faster
19736         than sse42 version.
19737         (bit_Prefer_PMINUB_for_stringop): New.
19738         * sysdeps/x86_64/rawmemchr.S: Update.
19739         Replace with faster SSE2 version.
19740         * sysdeps/x86_64/memrchr.S: New file.
19741         * sysdeps/x86_64/memchr.S: Update.
19742         Replace with faster SSE2 version.
19744 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
19746         * elf/dl-load.c (lose): Add cast to avoid warning.
19748 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
19750         * po/ca.po: Update from translation team.
19752         * inet/getnetgrent_r.c: Hook up nscd.
19753         * nscd/Makefile (routines): Add nscd_netgroup.
19754         (nscd-modules): Add netgroupcache.
19755         (CFLAGS-netgroupcache.c): Define.
19756         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
19757         (cache_search): Add const to second parameter.
19758         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
19759         INNETGR.
19760         (dbs): Add netgrdb entry.
19761         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
19762         (verify_persistent_db): Handle netgrdb.
19763         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
19764         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
19765         GETFDNETGR.
19766         (netgroup_response_header): Define.
19767         (innetgroup_response_header): Define.
19768         (datahead): Add netgroup_response_header and innetgroup_response_header
19769         elements.
19770         * nscd/nscd.conf: Add entries for netgroup cache.
19771         * nscd/nscd.h (dbtype): Add netgrdb.
19772         (_PATH_NSCD_NETGROUP_DB): Define.
19773         (netgroup_iov_disabled): Declare.
19774         (xmalloc, xcalloc, xrealloc): Move declarations here.
19775         (cache_search): Adjust prototype.
19776         Add netgroup-related prototypes.
19777         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
19778         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
19779         (__nscd_innetgr): Declare.
19780         * nscd/selinux.c (perms): Use access_vector_t as element type and
19781         add netgroup-related initializers.
19782         * nscd/netgroupcache.c: New file.
19783         * nscd/nscd_netgroup.c: New file.
19784         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
19785         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
19786         For four parameters use innetgr.
19787         * nss/nss_files/files-init.c: Add definition and callback for netgr.
19788         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
19789         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
19790         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
19792         * nscd/connections.c (register_traced_file): Don't register file
19793         for disabled databases.
19795 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
19797         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
19799         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
19800         from tree and freeing node.
19802 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
19804         * nss/nsswitch.c (__nss_database_lookup): Handle
19805         nss_parse_service_list out of memory case.
19807 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
19809         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
19810         out of memory case.
19812 2011-10-04  Andreas Schwab  <schwab@redhat.com>
19814         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
19815         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
19816         pass it down.
19817         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
19818         elf_machine_rela, elf_machine_lazy_rel.
19819         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
19820         (ELF_DYNAMIC_DO_REL): Likewise.
19821         (ELF_DYNAMIC_DO_RELA): Likewise.
19822         (ELF_DYNAMIC_RELOCATE): Likewise.
19823         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
19824         to ELF_DYNAMIC_DO_REL.
19825         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
19826         (dl_main): In trace mode always set __RTLD_NOIFUNC.
19827         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
19828         elf_machine_rela.
19829         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
19830         skip_ifunc, don't call ifunc function if non-zero.
19831         (elf_machine_rela): Likewise.
19832         (elf_machine_lazy_rel): Likewise.
19833         (elf_machine_lazy_rela): Likewise.
19834         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19835         (elf_machine_lazy_rel): Likewise.
19836         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19837         Likewise.
19838         (elf_machine_lazy_rel): Likewise.
19839         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19840         Likewise.
19841         (elf_machine_lazy_rel): Likewise.
19842         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
19843         (elf_machine_lazy_rel): Likewise.
19844         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
19845         (elf_machine_lazy_rel): Likewise.
19846         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19847         (elf_machine_lazy_rel): Likewise.
19848         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
19849         (elf_machine_lazy_rel): Likewise.
19850         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
19851         (elf_machine_lazy_rel): Likewise.
19852         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19853         (elf_machine_lazy_rel): Likewise.
19855 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
19857         * nss/nss_files/files-init.c (_nss_files_init): Use static
19858         initialization for all the *_traced_file variables.
19860 2011-09-28  Andreas Schwab  <schwab@redhat.com>
19862         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19864 2011-09-27  Roland McGrath  <roland@hack.frob.com>
19866         [BZ #13226]
19867         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
19869 2011-09-27  Andreas Schwab  <schwab@redhat.com>
19871         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19872         Reread the line before reparsing it.
19874 2011-09-26  Andreas Schwab  <schwab@redhat.com>
19876         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
19878 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
19879             Maxim Kuvyrkov  <maxim@codesourcery.com>
19880             Joseph Myers  <joseph@codesourcery.com>
19882         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
19883         if needed for __stack_chk_guard.
19885 2011-09-19  Roland McGrath  <roland@hack.frob.com>
19887         * sysdeps/posix/spawni.c (script_execute): Always define it.
19888         It will be optimized away if unused.
19889         (maybe_script_execute): New function.
19890         (__spawni): Call it.
19892         * Makerules: Don't include tls.make.
19893         (config-tls): Always set to thread.
19894         * tls.make.c: File removed.
19896 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
19898         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
19899         * config.make.in (CPPFLAGS-config): New substituted variable.
19901 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
19903         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
19905         [BZ #13192]
19906         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
19907         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
19909 2011-09-15  Roland McGrath  <roland@hack.frob.com>
19911         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
19912         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
19913         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19914         (CALL_FAIL): Likewise.
19915         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
19916         (CALL_FAIL): Macro removed.
19917         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
19919 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
19921         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
19922         for __FINITE_MATH_ONLY__ == 1.
19924 2011-09-15  Andreas Schwab  <schwab@redhat.com>
19926         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
19927         __ieee754_sqrt instead of sqrt.
19928         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
19929         __ieee754_sqrtf instead of sqrtf.
19930         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
19931         __floorf instead of floorf.
19932         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
19933         __floorf, __truncf instead of floorf, truncf.
19935 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
19937         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
19939         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
19940         __extern_always_inline.
19941         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
19942         32-bit.
19944 2011-09-14  Andreas Schwab  <schwab@redhat.com>
19946         * elf/rtld.c (dl_main): Also relocate in dependency order when
19947         doing symbol dependency testing.
19949 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
19951         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19952         Always define `refsym'.
19954 2011-09-13  Andreas Schwab  <schwab@redhat.com>
19956         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
19957         (__FD_ELT): Renamed from __FDELT.
19958         * misc/bits/select2.h (__FD_ELT): Likewise.
19959         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
19960         __FD_MASK instead of __FDELT, __FDMASK.
19961         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19962         Likewise.
19963         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19964         Likewise.
19966         * elf/Makefile (gen-ldd): Fix pattern.
19968         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
19969         (init_tls): Likewise.
19971 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
19973         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
19975 2011-09-12  Andreas Schwab  <schwab@redhat.com>
19977         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
19978         `struct cmsghdr *' instead of `void *'.
19979         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
19980         Likewise.
19982 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
19984         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
19985         if non-absolute.
19986         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
19987         ldd_rewrite_script.
19989 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
19991         * configure.in: Remove --with-tls option.
19992         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
19993         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
19994         out in case it is missing.
19995         * sysdeps/ia64/elf/configure.in: Likewise.
19996         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
19997         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
19998         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
19999         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
20000         * sysdeps/sh/elf/configure.in: Likewise.
20001         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
20002         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20003         * sysdeps/x86_64/elf/configure.in: Likewise.
20004         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
20005         * sysdeps/mach/hurd/tls.h: Likewise.
20007         [BZ #13067]
20008         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
20010         [BZ #13090]
20011         * configure.in: Fix use of AC_INIT.
20013         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
20015 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
20017         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
20018         __set_errno.
20019         * malloc/hooks.c: Likewise.
20021         [BZ #11929]
20022         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
20023         variables statically.
20024         (narenas): Initialize.
20025         (list_lock): Initialize.
20026         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
20027         initializtion of main_arena and list_lock.  Small cleanups.
20028         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
20029         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
20030         Add initializers to main_arena and mp_.
20031         (malloc_state): Remove pagesize member.  Change all users to use
20032         GLRO(dl_pagesize).
20034         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
20035         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
20036         is always initialized.
20038         * malloc/malloc.c: Removed unused configurations and dead code.
20039         * malloc/arena.c: Likewise.
20040         * malloc/hooks.c: Likewise.
20041         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
20043         * include/tls.h: Removed.  USE___THREAD must always be defined.
20044         * bits/libc-tsd.h: Don't handle !USE___THREAD.
20045         * elf/dl-libc.c: Likewise.
20046         * elf/dl-tsd.c: Likewise.
20047         * include/errno.h: Likewise.
20048         * include/netdb.h: Likewise.
20049         * include/resolv.h: Likewise.
20050         * inet/herrno-loc.c: Likewise.
20051         * inet/herrno.c: Likewise.
20052         * malloc/arena.c: Likewise.
20053         * malloc/hooks.c: Likewise.
20054         * malloc/malloc.c: Likewise.
20055         * resolv/res-state.c: Likewise.
20056         * resolv/res_libc.c: Likewise.
20057         * sysdeps/i386/dl-machine.h: Likewise.
20058         * sysdeps/ia64/dl-machine.h: Likewise.
20059         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
20060         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20061         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20062         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20063         * sysdeps/sh/dl-machine.h: Likewise.
20064         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20065         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20066         * sysdeps/unix/i386/sysdep.S: Likewise.
20067         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20068         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
20069         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20070         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20071         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20072         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20073         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20074         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20075         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20076         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20077         * sysdeps/unix/x86_64/sysdep.S: Likewise.
20078         * sysdeps/x86_64/dl-machine.h: Likewise.
20079         * tls.make.c: Likewise.
20081         * configure.in: Remove --with-__thread option.  Make tests for
20082         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
20083         tls_model attribute fail if no support is available.  Remove
20084         USE_IN_LIBIO.
20085         * Makeconfig: Adjust for dropped configure option.  All features are
20086         now mandatory.
20087         * Makerules: Likewise.
20088         * Versions.def: Likewise.
20089         * argp/argp-fmtstream.c: Likewise.
20090         * argp/argp-fmtstream.h: Likewise.
20091         * argp/argp-help.c: Likewise.
20092         * assert/assert.c: Likewise.
20093         * config.h.in: Likewise.
20094         * config.make.in: Likewise.
20095         * configure: Likewise.
20096         * configure.in: Likewise.
20097         * csu/Versions: Likewise.
20098         * csu/init.c: Likewise.
20099         * elf/tst-audit2.c: Likewise.
20100         * elf/tst-tls10.c: Likewise.
20101         * elf/tst-tls10.h: Likewise.
20102         * elf/tst-tls11.c: Likewise.
20103         * elf/tst-tls12.c: Likewise.
20104         * elf/tst-tls14.c: Likewise.
20105         * elf/tst-tlsmod11.c: Likewise.
20106         * elf/tst-tlsmod12.c: Likewise.
20107         * elf/tst-tlsmod13.c: Likewise.
20108         * elf/tst-tlsmod13a.c: Likewise.
20109         * elf/tst-tlsmod14a.c: Likewise.
20110         * elf/tst-tlsmod15b.c: Likewise.
20111         * elf/tst-tlsmod16a.c: Likewise.
20112         * elf/tst-tlsmod16b.c: Likewise.
20113         * elf/tst-tlsmod7.c: Likewise.
20114         * elf/tst-tlsmod8.c: Likewise.
20115         * elf/tst-tlsmod9.c: Likewise.
20116         * gmon/gmon.c: Likewise.
20117         * grp/fgetgrent_r.c: Likewise.
20118         * grp/putgrent.c: Likewise.
20119         * hurd/fopenport.c: Likewise.
20120         * include/libc-symbols.h: Likewise.
20121         * include/tls.h: Likewise.
20122         * intl/gettextP.h: Likewise.
20123         * intl/loadinfo.h: Likewise.
20124         * locale/global-locale.c: Likewise.
20125         * locale/localeinfo.h: Likewise.
20126         * mach/devstream.c: Likewise.
20127         * malloc/arena.c: Likewise.
20128         * malloc/set-freeres.c: Likewise.
20129         * misc/err.c: Likewise.
20130         * misc/getttyent.c: Likewise.
20131         * misc/mntent_r.c: Likewise.
20132         * posix/getopt.c: Likewise.
20133         * posix/wordexp.c: Likewise.
20134         * pwd/fgetpwent_r.c: Likewise.
20135         * resolv/Versions: Likewise.
20136         * resolv/res_hconf.c: Likewise.
20137         * shadow/fgetspent_r.c: Likewise.
20138         * shadow/putspent.c: Likewise.
20139         * stdio-common/printf_fphex.c: Likewise.
20140         * stdio-common/tmpfile.c: Likewise.
20141         * stdlib/abort.c: Likewise.
20142         * stdlib/fmtmsg.c: Likewise.
20143         * sunrpc/auth_unix.c: Likewise.
20144         * sunrpc/clnt_perr.c: Likewise.
20145         * sunrpc/clnt_tcp.c: Likewise.
20146         * sunrpc/clnt_udp.c: Likewise.
20147         * sunrpc/clnt_unix.c: Likewise.
20148         * sunrpc/openchild.c: Likewise.
20149         * sunrpc/svc_simple.c: Likewise.
20150         * sunrpc/svc_tcp.c: Likewise.
20151         * sunrpc/svc_udp.c: Likewise.
20152         * sunrpc/svc_unix.c: Likewise.
20153         * sunrpc/xdr.c: Likewise.
20154         * sunrpc/xdr_array.c: Likewise.
20155         * sunrpc/xdr_rec.c: Likewise.
20156         * sunrpc/xdr_ref.c: Likewise.
20157         * sunrpc/xdr_stdio.c: Likewise.
20159 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
20161         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20163 2011-07-03  Andreas Jaeger  <aj@suse.de>
20165         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
20166         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
20167         regenerate with gen-libm-tests.pl.
20169 2010-05-12  Petr Baudis  <pasky@suse.cz>
20171         [BZ #11589]
20172         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
20173         around j0() zero points by switching to j1().
20174         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20175         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20176         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20177         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20179 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
20181         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
20182         instead of 0.
20183         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
20184         instead of 0.
20185         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20186         Patch in part by Pavel Roskin <proski@gnu.org>.
20188         [BZ #13138]
20189         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
20190         realloc.
20191         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
20192         Free memory block if necessary.
20194         [BZ #12847]
20195         * libio/genops.c (INTDEF): For string streams the _lock pointer can
20196         be NULL.  Don't lock in this case.
20198 2011-09-09  Roland McGrath  <roland@hack.frob.com>
20200         * elf/elf.h (ELFOSABI_GNU): New macro.
20201         (ELFOSABI_LINUX): Define to that.
20203 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
20205         * string/strncat.c (strncat): Undef the symbol in case it has been
20206         defined in bits/string.h.
20208 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
20210         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
20212         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
20213         link map.
20215 2011-08-17  Andreas Jaeger  <aj@suse.de>
20217         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
20219 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
20220             Ian Lance Taylor  <iant@google.com>
20222         * math/libm-test.inc (lround_test): New testcase.
20223         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
20225 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
20227         * Makefile: Remove support for automatic cvs check-ins.
20228         * Makerules: Likewise.
20229         * config.make.in: Likewise.
20230         * configure.in: Likewise.
20231         * intl/Makefile: Likewise.
20232         * locale/Makefile: Likewise.
20233         * po/Makefile: Likewise.
20234         * posix/Makefile: Likewise.
20235         * sysdeps/gnu/Makefile: Likewise.
20236         * sysdeps/mach/hurd/Makefile: Likewise.
20237         * sysdeps/sparc/sparc32/Makefile: Likewise.
20239         [BZ #13118]
20240         * posix/Makefile (bug-regex32-ENV): Define.
20241         Patch by John Stanley <jpsinthemix@verizon.net>.
20243         * misc/Makefile (headers): Add bits/select2.h.
20244         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
20245         * misc/bits/select2.h: New file.
20246         * include/bits/select2.h: New file.
20247         * debug/Makefile (routines): Add fdelt_chk.
20248         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
20249         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
20250         FD_ISSET.
20251         * debug/fdelt_chk.c: New file.
20253         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
20254         * wcsmbs/test-wmemcmp.c: Likewise.
20255         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
20256         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
20258 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20260         * string/Makefile (strop-tests): Add memcmp.
20261         * string/test-wmemcmp.c: New file.
20262         * string/test-memcmp.c: Add wmemcmp support.
20264 2011-09-08  Roland McGrath  <roland@hack.frob.com>
20266         [BZ #13153]
20267         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
20268         2011-07-19 change.
20270         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
20271         garbage value in a __mach_port_mod_refs call in the cases of the
20272         task-self and thread-self ports.
20274 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20276         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
20278 2011-09-08  Andreas Schwab  <schwab@redhat.com>
20280         * elf/dl-load.c (lose): Check for non-null L.
20282 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
20284         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
20286         * elf/dl-libc.c (dlerror_run): Pass back error code from
20287         dl_catch_error.
20289         [BZ #13123]
20290         * elf/dl-load.c (lose): Free l_origin if it is valid.
20292         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
20293         names.
20294         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20295         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20296         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20297         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20298         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20299         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
20301 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20303         * sysdeps/powerpc/fpu/e_hypot.c: New file.
20304         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
20305         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
20306         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
20307         * sysdeps/powerpc/fpu/k_cosf.c: New file.
20308         * sysdeps/powerpc/fpu/k_sinf.c: New file.
20309         * sysdeps/powerpc/fpu/s_cosf.c: New file.
20310         * sysdeps/powerpc/fpu/s_sinf.c: New file.
20311         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
20312         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
20314 2011-08-15  Alan Modra  <amodra@gmail.com>
20316         [BZ #13092]
20317         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
20318         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
20319         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
20320         ppc_mcount to static-only-routines.
20321         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
20322         __mcount_internal.
20323         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
20324         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
20326 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
20328         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
20329         for finite and infinity parameters.
20331 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
20333         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
20334         and add nop instructions for throughput optimization.
20335         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20337 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
20339         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
20340         aligned copy for power7 with vector-scalar instructions.
20341         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20343 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
20345         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
20346         AVX check.
20348 2011-09-07  Andreas Schwab  <schwab@redhat.com>
20350         [BZ #13144]
20351         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
20352         last change.
20354 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
20356         * sysdeps/unix/sysv/linux/x86_64/init-first.c
20357         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
20358         syscall wrapper around clock_gettime in __vdso_clock_gettime.
20359         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
20360         clock_gettime.
20362 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
20364         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
20365         Forgot to demangle the pointer.
20367         * sysdeps/i386/sysdep.h: Define atom_text_section.
20368         * sysdeps/x86_64/sysdep.h: Likewise.
20369         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
20370         section with atom_text_section.
20371         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20372         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20373         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20374         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20375         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
20377         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
20378         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
20379         already be defined.  Change to take two parameters and don't assign
20380         result to variable.  Adjust all users.
20381         Define INTERNAL_GETTIME if not already defined.
20382         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
20383         call.
20384         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
20385         HAVE_CLOCK_GETTIME_VSYSCALL.
20386         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
20388         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
20389         gettimeofday vsyscall, just use time.
20391 2011-09-06  Andreas Schwab  <schwab@redhat.com>
20393         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
20394         <errno.h>.
20396 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
20398         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
20399         syscall on x86-64.
20400         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
20401         syscall.
20402         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20403         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
20404         syscall if possible.
20406 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
20408         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
20409         e_ident.  Don't pass to find_mapsXX.
20410         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
20412 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20414         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20415         strchr-sse2-no-bsf strrchr-sse2-no-bsf
20416         * sysdeps/x86_64/multiarch/strchr.S: Update.
20417         Check bit_slow_BSF bit.
20418         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20419         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
20420         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
20422 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
20424         [BZ #13134]
20425         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
20426         before glibc 2.15.
20427         (tryshell): Define.
20428         (__spawni): Change last parameter to be flag.  Test
20429         SPAWN_XFLAGS_USE_PATH flag to use path or not.
20430         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
20431         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
20432         * posix/spawni.c: Likewise.
20433         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
20434         * posix/spawnp.c: Likewise.  Change normal version to use
20435         SPAWN_XFLAGS_USE_PATH.
20436         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
20437         SPAWN_XFLAGS_TRY_SHELL.
20439         [BZ #13150]
20440         * posix/glob.h: Remove gcc 1.x support.
20442         [BZ #13068]
20443         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
20445 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20447         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20448         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
20449         strrchr-sse2-bsf
20450         * sysdeps/i386/i686/multiarch/strchr.S: New file.
20451         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
20452         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
20453         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
20454         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
20455         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
20457 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20459         * sysdeps/x86_64/wcscmp.S: New file.
20461         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
20462         wcscmp-c wcscmp-sse2
20463         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
20464         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
20465         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
20466         * wcsmbs/wcscmp.c: Allow renaming.
20468 2011-09-05  David S. Miller  <davem@davemloft.net>
20470         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
20471         stack slot, rather than the struct return pointer slot.
20472         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
20473         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
20474         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
20475         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
20477 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
20479         * po/ja.po: Update from translation team.
20481         [BZ #13144]
20482         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
20483         kernel in 64-bit binaries.
20485 2011-09-01  David S. Miller  <davem@davemloft.net>
20487         * elf/elf.h (HWCAP_SPARC_*): Move to..
20488         * sysdeps/sparc/sysdep.h: this new file and add new values.
20489         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
20490         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
20491         _DL_HWCAP_COUNT to 24.
20492         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20493         entries.
20494         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
20495         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
20496         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
20497         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
20498         instead of magic constants.
20499         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20501 2011-08-31  David S. Miller  <davem@davemloft.net>
20503         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
20504         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
20505         Reimplement to do errno handling inline.
20506         (SYSCALL_ERROR_HANDLER): New macro.
20507         (__SYSCALL_STRING): Do not do errno handling in asm.
20508         (__CLONE_SYSCALL_STRING): Delete.
20509         (__INTERNAL_SYSCALL_STRING): Delete.
20510         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
20511         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
20512         (PSEUDO): Reimplement to do errno handling inline.
20513         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
20514         (SYSCALL_ERROR_HANDLER): New macro.
20515         (__SYSCALL_STRING): Do not do errno handling in asm.
20516         (__CLONE_SYSCALL_STRING): Delete.
20517         (__INTERNAL_SYSCALL_STRING): Delete.
20518         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
20519         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
20520         i386.
20521         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
20522         (inline_syscall*): Add 'err' argument.
20523         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
20524         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
20525         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
20526         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
20528         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
20529         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20531 2011-08-30  Andreas Schwab  <schwab@redhat.com>
20533         * elf/rtld.c (dl_main): Relocate objects in dependency order.
20535 2011-08-29  Jiri Olsa <jolsa@redhat.com>
20537         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
20538         directive.
20540 2011-08-24  David S. Miller  <davem@davemloft.net>
20542         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
20544 2011-08-24  Andreas Schwab  <schwab@redhat.com>
20546         * elf/Makefile: Add rules to build and run unload8 test.
20547         * elf/unload8.c: New file.
20548         * elf/unload8mod1.c: New file.
20549         * elf/unload8mod1x.c: New file.
20550         * elf/unload8mod2.c: New file.
20551         * elf/unload8mod3.c: New file.
20553         * elf/dl-close.c (_dl_close_worker): Reset private search list if
20554         it wasn't used.
20556 2011-08-23  David S. Miller  <davem@davemloft.net>
20558         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
20559         subtract stack bias.
20560         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
20561         %sp not %fp in calculations.
20562         (_JMPBUF_UNWINDS_ADJ): Likewise.
20564         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
20565         (aio_suspend): Call it to force an exception region around the
20566         AIO_MISC_WAIT() invocation.
20568 2011-08-23  Andreas Schwab  <schwab@redhat.com>
20570         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
20571         backslash.
20573 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
20575         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
20576         protection macro.
20577         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
20578         and <dl-machine.h>.
20579         (Elf64_FuncDesc): Remove.
20581 2011-08-22  David S. Miller  <davem@davemloft.net>
20583         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
20584         sigaltstack check, add missing cfi directives.
20585         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
20586         missing cfi directives, and sigaltstack handling.
20588 2011-08-16  Andreas Schwab  <schwab@redhat.com>
20590         [BZ #11724]
20591         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
20592         object is seen twice.
20593         * elf/dl-fini.c (_dl_sort_fini): Likewise.
20595         * elf/Makefile (distribute): Add tst-initorder2.c.
20596         (tests): Add tst-initorder2.
20597         (modules-names): Add tst-initorder2a tst-initorder2b
20598         tst-initorder2c tst-initorder2d.  Add rules to build them.
20599         ($(objpfx)tst-initorder2.out): New rule.
20600         * elf/tst-initorder2.c: New file.
20601         * elf/tst-initorder2.exp: New file.
20603 2011-08-22  Andreas Schwab  <schwab@redhat.com>
20605         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
20607         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
20608         dependencies back to end of function.
20610         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20611         $(elfobjdir)/ld.so.
20613 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
20615         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
20616         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
20617         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
20618         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
20619         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
20620         of __vdso_gettimeofday.
20621         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
20622         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
20623         attribute_hidden.
20624         (_libc_vdso_platform_setup): Remove initialization of
20625         __vdso_gettimeofday and __vdso_time.
20627 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
20629         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
20630         and fgetc_unlocked.
20631         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
20632         getc_unlocked.
20634         * elf/dl-open.c (add_to_global): Report additions to the global scope
20635         for LD_DEBUG=scopes.
20636         (dl_open_worker): Also print scope of newly loaded dependencies.
20637         (_dl_show_scope): Indicate if there is no scope.
20639         [BZ #13114]
20640         * stdio-common/Makefile (tests): Add bug24.
20641         * stdio-common/bug24.c: New file.
20643 2011-08-19  Andreas Jaeger  <aj@suse.de>
20645         [BZ #13114]
20646         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
20647         non-existant file when using close-on-exec mode.
20649 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
20651         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
20652         the very first instruction.
20654         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
20655         the CFI state in the end.
20656         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
20657         inclusion of dl-trampoline.h.
20658         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
20660 2011-08-19  Andreas Schwab  <schwab@redhat.com>
20662         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
20663         expectations for long double.
20665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
20666         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
20668 2011-08-14  David S. Miller  <davem@davemloft.net>
20670         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
20671         artificual limit depends upon the system page size.
20673 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
20675         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
20676         * resolv/Makefile: Define CFLAGS-libresolv.
20678 2011-08-17  Andreas Schwab  <schwab@redhat.com>
20680         * nss/makedb.c (compute_tables): Make variables used in nested
20681         function static.
20683 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
20685         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
20686         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
20687         if buffer was too small.
20689         * elf/pldd.c (main): Attach to all threads in the process.
20690         Rewrite /proc handling to use *at functions.
20692 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
20694         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
20695         specifies first scope to show.
20696         (dl_open_worker): Update callers.  Move printing scope of new
20697         object to before the relocation.
20698         * elf/rtld.c (dl_main): Update _dl_show_scope call.
20699         * sysdeps/generic/ldsodefs.h: Update declaration.
20701         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
20702         string for the scope number.
20704 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
20706         * nscd/servicescache.c (cache_addserv): Make sure written is always
20707         initialized.
20709 2011-08-14  Roland McGrath  <roland@hack.frob.com>
20711         * sysdeps/i386/i486/bits/atomic.h
20712         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
20713         statement expression, so as to suppress "set but not used" warning.
20714         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
20716         * string/strncat.c (STRNCAT): Use prototype definition.
20718         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
20719         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
20720         -Iprograms here.
20721         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
20722         (localedef-modules): Add localedef.
20723         (locale-modules): Add locale.
20725         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
20726         * elf/rtld.c (dl_main): Invert order of assignment in last change,
20727         to avoid a warning.
20729 2011-08-14  David S. Miller  <davem@davemloft.net>
20731         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
20732         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
20734 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
20736         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
20737         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
20738         * elf/rtld.c (dl_main): Set l_name of vDSO.
20739         Call _dl_show_scope when DL_DEBUG_SCOPES.
20740         (process_dl_debug): Recognize scopes flag and also set it for all.
20741         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
20742         Declare _dl_show_scope.
20744         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
20745         (do_dlopen): Pass caller_dlopen to dl_open.
20746         (__libc_dlopen_mode): Initialize caller_dlopen.
20748         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
20749         of libc.  Make tolower call locale-independent.  Optimize a bit by
20750         using isdigit instead of isalnum.
20751         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
20753 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
20755         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
20756         was a dependency or dynamically loaded.
20758 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
20760         * intl/l10nflist.c: Allow architecture-specific pop function.
20761         * sysdeps/x86_64/l10nflist.c: New file.
20763         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
20764         classification.
20766 2011-08-10  Andreas Schwab  <schwab@redhat.com>
20768         * include/dirent.h: Add libc_hidden_proto for scandirat and
20769         scandirat64.  Don't declare __scandirat64.
20770         * dirent/scandirat.c: Add libc_hidden_def.
20771         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
20772         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
20774 2011-08-10  David S. Miller  <davem@davemloft.net>
20776         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
20777         enum.
20778         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20779         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20780         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20782 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
20784         * Versions.def [libc]: Add GLIBC_2.15.
20785         * dirent/Makefile (routines): Add scandirat and scandirat64.
20786         * dirent/Versions [libc]: Export scandirat and scandirat64 for
20787         GLIBC_2.15.
20788         * dirent/dirent.h: Declare scandirat and scandirat64.
20789         * dirent/scandirat.c: New file.
20790         * dirent/scandirat64.c: New file.
20791         * sysdeps/wordsize-64/scandirat.c: New file.
20792         * sysdeps/wordsize-64/scandirat64.c: New file.
20793         * dirent/opendir.c: Define opendirat.
20794         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
20795         using scandirat.
20796         * dirent/scandir64.c: Adjust for scandir.c change.
20797         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
20798         __scandirat64, and __scandir_cancel_handler.
20799         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
20800         additional parameter and use openat instead of open (outside of ld.so).
20801         Add new __opendir as wrapper around __opendirat.
20802         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
20803         here without requiring old scandirat implementation.
20805 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
20807         * dirent/scandir.c (cancel_handler): Renamed to
20808         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
20809         defined.  Adjust users.
20810         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
20811         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
20813 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
20815         * string/test-string.h (IMPL): Use __STRING to expand name and then
20816         stringify it.
20818         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
20819         of cleanups.
20821 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20823         * string/Makefile: Update.
20824         (strop-tests): Append strncat.
20825         * string/test-wcscmp.c: New file.
20826         New comprehensive test for wcscmp.
20827         * string/test-strcmp.c: Update.
20828         (WIDE): New define.
20830 2011-07-22  Andreas Schwab  <schwab@redhat.com>
20832         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
20833         line.
20835 2011-07-26  Andreas Schwab  <schwab@redhat.com>
20837         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20838         encoding to ACE if AI_IDN.
20840 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
20842         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
20843         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
20845 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20847         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
20848         Fix overflow bug in strncat.
20849         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20851         * string/test-strncat.c: Update.
20852         Add new tests for checking overflow bugs.
20854 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20856         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20857         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
20858         * sysdeps/i386/i686/multiarch/strcat.S: New file.
20859         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
20860         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
20861         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
20862         * sysdeps/i386/i686/multiarch/strncat.S: New file.
20863         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
20864         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
20866         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
20867         (USE_AS_STRCAT): Define.
20868         Add strcat and strncat support.
20869         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20871 2011-07-25  Andreas Schwab  <schwab@redhat.com>
20873         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
20874         __n bigger than INT_MAX+1.
20875         (__strncmp_g): Likewise.
20877 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
20879         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
20880         * libio/stido.h: Likewise.
20882         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
20883         (AF_NFC): Define.
20884         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
20885         (AF_NFC): Define.
20887         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
20888         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20889         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20890         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20891         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20893         [BZ #13021]
20894         * scripts/test-installation.pl: Don't expect libnss_test1 to be
20895         installed.
20897         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
20898         typo.
20899         (_dl_x86_64_save_sse): Likewise.
20901 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
20903         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
20904         OSXSAVE.
20905         (_dl_x86_64_save_sse): Likewise.
20907         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
20909         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
20911 2011-07-21  Andreas Schwab  <schwab@redhat.com>
20913         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
20914         change.
20915         (_dl_x86_64_save_sse): Use correct AVX check.
20917 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20919         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
20920         bug in strncpy/strncat.
20921         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20923 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
20925         * string/tester.c (test_strcat): Add tests for different alignments
20926         of source and destination.
20927         (test_strncat): Likewise.
20929 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
20931         [BZ #12852]
20932         * posix/glob.c (glob): Check passed in values before using them in
20933         expressions to avoid some overflows.
20934         (glob_in_dir): Likewise.
20936         [BZ #13007]
20937         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
20938         check for AVX enablement so that we don't crash with old kernels and
20939         new hardware.
20940         * elf/tst-audit4.c: Add same checks here.
20941         * elf/tst-audit6.c: Likewise.
20943         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
20945 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
20947         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
20949 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
20951         * po/cs.po: Update from translation team.
20952         * po/bg.po: Likewise.
20954 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
20956         * misc/sys/cdefs.h: Add support for const attribute.
20957         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
20958         to gnu_dev_{major,minor,makedev} functions.
20960 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
20962         * intl/dcigettext.c (get_output_charset): Add missing bracket.
20964 2011-07-20  Andreas Schwab  <schwab@redhat.com>
20966         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
20967         strlen results.
20969 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20971         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20972         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
20973         register in order to avoid conflicts with the soft frame pointer
20974         being held in r11 when necessary.
20975         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20976         (INTERNAL_VSYSCALL_NCS): Likewise.
20978 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
20980         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
20981         * elf/dl-fini.c (_dl_fini): Adjust caller.
20982         * elf/dl-close.c (_dl_close_worker): Likewise.
20983         * sysdeps/generic/ldsodefs.h: Adjust declaration.
20985 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
20987         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
20988         "aux_cache->nlibs < 0".
20990         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
20991         in the reload-count case.
20993 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20995         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20996         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
20997         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
20998         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
20999         * sysdeps/x86_64/multiarch/strcat.S: New file.
21000         * sysdeps/x86_64/multiarch/strncat.S: New file.
21001         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
21002         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
21003         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
21004         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
21005         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
21006         (USE_AS_STRCAT): Define.
21007         Add strcat and strncat support.
21008         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21009         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21010         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
21011         * string/strncat.c: Update.
21012         (USE_AS_STRNCAT): Define.
21013         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21014         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
21015         and i7.
21016         * sysdeps/x86_64/multiarch/init-arch.h
21017         (bit_Prefer_PMINUB_for_stringop): New.
21018         (index_Prefer_PMINUB_for_stringop): Likewise.
21019         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
21020         bit_Prefer_PMINUB_for_stringop.
21022 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
21024         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
21025         buffer64.
21026         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
21027         of casting of buffer.
21028         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
21029         buffer32 and buffer64.
21030         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
21031         writes instead of casting of buffer.
21032         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
21033         buffer32.
21034         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
21035         casting of buffer.
21037 2011-07-19  Andreas Schwab  <schwab@redhat.com>
21039         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
21041 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
21043         * nscd/nscd.c (termination_handler): Don't do anything for a database
21044         if it has not yet been initialized.
21046 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
21048         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21050 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
21052         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21054 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
21056         * po/nl.po: Update from translation team.
21057         * po/sv.po: Likewise.
21059 2011-07-16  Roland McGrath  <roland@hack.frob.com>
21061         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
21062         now disallowed by GCC.
21064         * configure.in (use-default-link): Default to yes if a test -shared
21065         link meets our qualifications.
21066         * configure: Regenerated.
21068         * config.make.in (output-format): New variable.
21069         * configure.in: Check for ld --print-output-format support.
21070         * configure: Regenerated.
21071         * Makerules ($(common-objpfx)format.lds)
21072         [$(output-format) != unknown]: Just use $(output-format),
21073         instead of the linker-script munging.
21075 2011-07-14  Roland McGrath  <roland@hack.frob.com>
21077         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
21078         of $(common-objpfx)shlib.lds.
21079         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
21081         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
21082         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
21084         * configure.in (-z relro check): Adjust test code to add a large
21085         writable data section after it.
21086         * configure: Regenerated.
21088 2011-07-11  Roland McGrath  <roland@hack.frob.com>
21090         * configure.in (-z relro check): Fix test code to make the variable
21091         truly const.
21092         * configure: Regenerated.
21094 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
21096         * nscd/nscd.h (struct traced_file): Define.
21097         (struct database_dyn): Remove inotify_descr, reset_res, and filename
21098         elements.  Add traced_files.
21099         (inotify_fd): Declare.
21100         (register_traced_file): Declare.
21101         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
21102         (inotify_fd): Export.
21103         (resolv_conf_descr): Remove.
21104         (nscd_init): Move inotify descriptor creation to main.
21105         Don't register files for notification here.
21106         (register_traced_file): New function.
21107         (invalidate_cache): Don't use reset_res to determine whether to call
21108         res_init, go through the list of registered files.
21109         (main_loop_poll): The inotify descriptors are now stored in the
21110         structures for the traced files.
21111         (main_loop_epoll): Likewise
21112         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
21113         to __nss_disable_nscd.
21114         * nscd/cache.c (prune_cache): There is no single inotify descriptor
21115         for a database anymore.  Check the records for all the registered
21116         files instead.
21117         * nss/Makefile (libnss_files-routines): Add files-init.
21118         (libnss_db-routines): Add db-init.
21119         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
21120         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
21121         * nss/nss_db/db-init.c: New file.
21122         * nss/nss_files/files-init.c: New file.
21123         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
21124         __nss_lookup_function.
21125         (__nss_lookup_function): Call nss_load_library.
21126         (nss_load_all_libraries): New function.
21127         (__nss_disable_nscd): Take parameter with callback function for files
21128         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
21129         used for the cached services.
21130         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
21131         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
21132         options for features to all the files in nscd.
21134         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
21136 2011-07-10  Roland McGrath  <roland@hack.frob.com>
21138         * csu/elf-init.c (__libc_csu_init): Comment typo.
21140 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
21142         * po/pl.po: Update from translation team.
21143         * po/ja.po: Likewise.
21144         * po/ru.po: Likewise.
21145         * po/ko.po: Likewise.
21146         * po/fr.po: Likewise.
21148 2011-07-09  Roland McGrath  <roland@hack.frob.com>
21150         * configure.in (.ctors/.dtors header and trailer check):
21151         Use an empirical test on a built program.
21152         * configure: Regenerated.
21154         * configure.in (-z relro check): Use an empirical test on a built DSO.
21155         Detect, but do not require, on ia64.
21156         * configure: Regenerated.
21158         * configure.in (READELF): Find it with AC_CHECK_TOOL.
21159         Update tests that use readelf to use $READELF instead.
21160         * configure: Regenerated.
21162 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
21164         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
21165         if the result is not used.
21167 2011-07-05  Andreas Jaeger  <aj@suse.de>
21169         [BZ#9696]
21170         * stdlib/tst-strtod.c: Add testcase.
21172 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
21174         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
21175         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
21176         The latter has a higher limit.  Take additional parameter to pass to
21177         the new function.
21178         (__pathconf): Pass file to __statfs_link_max.
21179         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
21180         __statfs_link_max.
21181         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
21182         __statfs_link_max.
21184         [BZ #12868]
21185         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
21186         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21187         Handle Lustre.
21188         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
21189         (__statfs_filesize_max): Likewise.
21190         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
21192 2011-07-05  Andreas Jaeger  <aj@suse.de>
21194         * resolv/res_comp.c (dn_skipname): Remove unused variable.
21196 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
21198         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
21199         `status' variable.
21200         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
21201         Likewise.
21203 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
21205         * Makefile (strop-tests): Add strncat.
21206         * string/test-strncat.c: New file.
21208 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
21210         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
21212 2011-06-21  Andreas Jaeger  <aj@suse.de>
21214         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
21215         Copy rule from iconvdata/Makefile.
21217 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
21219         [BZ #12922]
21220         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
21221         but no long options are defined, just return 'W'.
21223 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
21225         [BZ #9696]
21226         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
21228 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
21230         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
21231         netgroups to read.
21232         (innetgr): Likewise.
21234 2011-07-05  Roland McGrath  <roland@hack.frob.com>
21236         * config.make.in (install_root): Default to $(DESTDIR).
21238 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
21240         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
21242 2011-07-02  Roland McGrath  <roland@hack.frob.com>
21244         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
21246         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
21247         containing directory rather than embedding absolute directory names.
21249         * scripts/check-local-headers.sh: Rewritten using awk.
21250         Match by word, not by line.  Print error messages for matches.
21251         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
21253         * Makerules [shlib-lds-flags empty]:
21254         ($(common-objpfx)libc_pic.opts): New target.
21255         ($(common-objpfx)libc_pic.os.clean): New target.
21256         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
21258         * config.make.in (OBJCOPY): New variable.
21259         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
21260         * configure: Regenerated.
21262         * config.make.in (use-default-link): New variable.
21263         * configure.in (use_default_link): Grok --with-default-link to set it.
21264         * configure: Regenerated.
21265         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
21266         (shlib-lds, shlib-lds-flags): Define to empty.
21268         * Makerules (shlib-lds): New variable.
21269         (shlib-lds-flags): New variable.
21270         (build-shlib, build-moduile, build-module-asneeded): Use it.
21271         ($(common-objpfx)libc.so): Use $(shlib-lds).
21272         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
21273         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
21275         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
21276         DT_FLAGS/DT_FLAGS_1 with zero flags.
21278         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
21279         linker script munging.
21281 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
21283         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
21284         as 128-bit value.
21285         * crypt/sha512.c (sha512_process_block): Perform total addition using
21286         128-bit if possible.
21287         (__sha512_finish_ctx): Likewise.
21288         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
21289         as 64-bit value.
21290         * crypt/sha256.c (SWAP64): Define.
21291         (sha256_process_block): Perform total addition using 64-bit if
21292         possible.
21293         (__sha256_finish_ctx): Likewise.
21295 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
21297         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
21298         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21299         * nscd/hstcache.c (cache_addhst): Likewise.
21300         * nscd/grpcache.c (cache_addgr): Likewise.
21301         * nscd/aicache.c (addhstaiX): Likewise
21302         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
21304 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
21306         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
21307         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21308         * nscd/hstcache.c (cache_addhst): Likewise.
21309         * nscd/grpcache.c (cache_addgr): Likewise.
21310         * nscd/aicache.c (addhstaiX): Likewise
21312 2011-07-01  Andreas Schwab  <schwab@redhat.com>
21314         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
21315         domain only when needed.
21317 2011-06-30  Andreas Schwab  <schwab@redhat.com>
21319         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
21320         is always restored.
21322 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
21324         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
21325         are re-adding the entry.
21326         * nscd/servicescache.c (cache_addserv): Likewise.
21328 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
21330         * sysdeps/generic/dl-irel.h: fix protection against multiple
21331         inclusions.
21332         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
21334 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
21336         [BZ #12935]
21337         * malloc/memusage.sh: Fix quoting in message.
21338         * debug/xtrace.sh: Likewise.
21340         * configure.in: Remove support for --experimental-malloc option, make
21341         it the default.
21342         * config.make.in: Likewise.
21343         * malloc/Makefile: Likewise.
21345 2011-06-27  Andreas Schwab  <schwab@redhat.com>
21347         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
21348         two-byte characters.
21350 2011-06-27  Roland McGrath  <roland@hack.frob.com>
21352         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
21353         AC_CACHE_CHECK invocation.
21354         * configure: Regenerated.
21356         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
21358 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
21360         [BZ #12350]
21361         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
21362         bit from old_res_options.
21364         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
21366         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
21367         value type for setfct.
21369 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
21371         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21372         __gettimeofday instead of gettimeofday.
21374 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
21376         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
21378 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
21380         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
21382         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
21383         info.
21385 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
21387         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21388         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21389         strcpy-sse2-unaligned strncpy-sse2-unaligned
21390         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
21391         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
21392         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
21393         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
21394         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
21395         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
21396         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
21397         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
21398         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
21399         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
21400         (STRCPY): Support SSE2 and SSSE3 versions.
21402 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
21404         [BZ #12874]
21405         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
21406         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
21407         kernels which artificially limit size of requests.
21409 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
21411         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21412         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21413         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
21414         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
21415         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
21416         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
21417         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
21418         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
21419         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
21420         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
21421         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
21422         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
21423         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
21424         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
21425         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
21426         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21427         Enable unaligned load optimization for Intel Core i3, i5 and i7
21428         processors.
21429         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
21430         Define.
21431         (index_Fast_Unaligned_Load): Define.
21432         (HAS_FAST_UNALIGNED_LOAD): Define.
21434 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
21436         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
21438 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
21440         [BZ #12907]
21441         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
21442         until it is clear that the information is realy needed.
21443         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
21445 2011-06-22  Andreas Schwab  <schwab@redhat.com>
21447         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
21449 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
21451         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21452         /sys/devices/system/cpu/online if it is usable.
21454         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
21455         reading the information from the /proc filesystem to once a second.
21457 2011-06-21  Andreas Jaeger  <aj@suse.de>
21459         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
21460         NULL after inclusion of kernel headers.
21462 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
21464         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
21465         calls to internal_setent.
21467         [BZ #12885]
21468         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
21469         addresses using gethostbyname4_r ignore IPv4 addresses.
21471         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
21472         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
21474         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
21476 2011-06-20  David S. Miller  <davem@davemloft.net>
21478         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
21479         inclusions.
21480         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
21482         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
21483         (elf_irel): Use it.
21484         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
21485         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
21486         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
21487         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
21488         * sysdeps/x86_64/dl-irel.h: Likewise.
21490         * elf/dl-runtime.c: Use elf_ifunc_invoke.
21491         * elf/dl-sym.c: Likewise.
21493 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
21495         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
21496         need to dereference resplen2.
21498 2011-06-14  Andreas Schwab  <schwab@redhat.com>
21500         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
21502 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
21504         * Makeconfig: Define vardbdir and inst_vardbdir.
21505         * nss/Makefile: Add rules to install db-Makefile.
21507         * nss/nss_db/db-XXX.c: Cleanup.
21509         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
21510         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
21511         GLIBC_PRIVATE.
21512         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
21513         * nss/makedb.c: Implement -g option to specify that value strings
21514         are generated and should not be added to table iterated over for
21515         get*ent calls.
21516         * nss/nss_db/db-initgroups.c: New file.
21518         * nss/getent.c: Add support for initgroups lookups through getgrouplist
21519         interface.
21521         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
21522         (internal_getgrouplist): Adjust to name change.
21523         Update use_initgroups_entry if this is not the first call.
21524         * nss/databases.def: Add initgroups entry.
21526         * nss/makedb.c (compute_tables): Check result of multiple hash table
21527         sizes to minimize maximum chain length.
21529 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
21531         * Versions.def: Add entry for libnss_db.
21532         * shlib-versions: Likewise.
21533         * nss/Makefile: Add rules to build libnss_db.
21534         * nss/Versions: Add libnss_db information.  Organize libnss_files
21535         entries better.
21536         * nss/db-Makefile: Add gshadow support.  Change rules for the new
21537         makedb progra.  Some minor improvements to generate smaller files.
21538         * nss/nss_db/nss_db.h: Move NSS database header data structures to
21539         here from...
21540         * nss/makedb.c: ...here.
21541         Improve database format to be smaller and require less memory at
21542         runtime.
21543         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
21544         db anymore.
21545         * nss/nss_db/db-netgrp.c: Likewise.
21546         * nss/nss_db/db-open.c: Likewise.
21547         * nss/nss_files/flies-XXX.x: Adjust comments.
21548         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
21549         * nss/nss_files/files-grp.c: Likewise.
21550         * nss/nss_files/files-hosts.c: Likewise.
21551         * nss/nss_files/files-network.c: Likewise.
21552         * nss/nss_files/files-proto.c: Likewise.
21553         * nss/nss_files/files-pwd.c: Likewise.
21554         * nss/nss_files/files-rpc.c: Likewise.
21555         * nss/nss_files/files-service.c: Likewise.
21556         * nss/nss_files/files-sgrp.c: Likewise.
21557         * nss/nss_files/files-spwd.c: Likewise.
21558         * nss/nss_db/db-alias.c: Removed.
21559         * nss/nss_db/dummy-db.h: Removed.
21561 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
21563         * nss/makedb.c: Rewritten to not use database library.
21564         * nss/Makefile: Update to build new makedb program.
21566 2011-06-14  Andreas Jaeger  <aj@suse.de>
21568         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
21569         memset declaration.
21571 2011-06-10  Andreas Schwab  <schwab@redhat.com>
21573         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
21574         tmpbuf.
21576 2011-06-10  Roland McGrath  <roland@hack.frob.com>
21578         * Makerules (shlib.lds): Fail if the linker script comes out empty.
21579         * elf/Makefile ($(objpfx)ld.so): Likewise.
21581         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
21582         Don't list ld.so twice in dependencies.
21584         * posix/bug-regex31.c: Include <stdlib.h>.
21586         * nscd/hstcache.c (cache_addhst): Remove unused variable.
21588         * nis/nss_compat/compat-spwd.c
21589         (getspent_next_nss_netgr): Remove unused variable.
21590         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
21592         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
21593         nonmembers" output to use the right array.
21595         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
21597         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
21599         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
21600         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
21601         * catgets/gencat.c (read_input_file): Likewise.
21602         * locale/programs/locarchive.c (enlarge_archive): Likewise.
21604         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
21605         variable definition inside #if's controlling its use.
21607         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
21609         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
21611         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
21613         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
21614         unreachable code.
21616         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
21618         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
21619         * configure: Regenerated.
21621         * Makerules: Revert last change.
21622         * elf/Makefile: Likewise.
21624 2011-06-09  Roland McGrath  <roland@hack.frob.com>
21626         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
21627         * elf/Makefile ($(objpfx)librtld.os): Likewise.
21628         (reloc-link): Likewise.
21630 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
21632         * elf/Makefile: Add rules to build pldd.
21633         * elf/pldd.c: New file.
21634         * elf/pldd-xx.c: New file.
21636 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
21638         * version.h: Update for 2.15 development version.
21640 2011-06-07  David S. Miller  <davem@davemloft.net>
21642         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
21643         ifuncs.
21644         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
21645         elf_machine_lazy_rel): Likewise.
21646         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21647         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
21648         elf_machine_lazy_rel): Likewise.
21649         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
21650         dl_hwcap via passed in argument.
21651         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
21652         Likewise.
21654 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21656         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
21658 2011-06-06  Roland McGrath  <roland@hack.frob.com>
21660         [BZ #12849]
21661         * manual/fdl-1.1.texi: New file, verbatim from:
21662         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
21663         * manual/lgpl-2.1.texi: New file, verbatim from:
21664         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
21665         * manual/Makefile (licenses): New variable, list those new file names.
21666         (texis): Use it.
21667         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
21669         * manual/fdl.texi: File removed.
21670         * manual/lesser.texi: File removed.
21671         * manual/libc.texinfo (Copying, Documentation License):
21672         Use new @include file names, put @appendix directive before @include.
21674 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
21676         [BZ #12841]
21677         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
21678         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
21679         (mq_open): Add __NTH.
21681 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
21683         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21684         Assume Intel Core i3/i5/i7 processor if AVX is available.
21686 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
21688         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21689         typo.
21691 2011-05-31  Andreas Schwab  <schwab@redhat.com>
21693         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
21694         memory.  Use alloca_account.  Fix memory leak when retrying.
21696 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
21698         * version.h (RELEASE): Bump for 2.14 release.
21699         * include/features.h (__GLIBC_MINOR__): Bump to 14.
21701         * config.make.in (RANLIB): Remove entry.
21703 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
21705         * po/Makefile (po-sed-cmd): Add ksh to extensions.
21706         (libc.pot): Work around missing support for .ksh extension in xgettext.
21708         [BZ #12684]
21709         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
21710         if both request failed.
21711         (send_dg): In case of server errors clear resplen or *resplen2.
21713         [BZ #12454]
21714         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
21715         when there are multiple maps.
21716         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
21717         (_dl_fini): Remove test here.
21719         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
21721 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
21723         [BZ #12350]
21724         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
21725         bit from old_res_options.
21726         (gaih_inet): Likewise.
21728         [BZ #11099]
21729         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
21730         as signed.
21732         * resolv/res_init.c (res_setoptions): Make the code more compact.
21734         [BZ #11558]
21735         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
21736         set RES_USEVC.
21738         [BZ #11634]
21739         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
21741         * malloc/malloc.h: Mark malloc hook variables as deprecated.
21743         [BZ #11781]
21744         * malloc/malloc.h: Declare malloc hook variables as volatile.
21746         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
21747         in last patch.
21749         [BZ #11799]
21750         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
21751         raise in the comment.
21752         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21753         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21754         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
21756 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
21758         [BZ #12811]
21759         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
21760         grow the buffers more if it already has to be sufficient.
21761         (build_wcs_upper_buffer): Likewise.
21762         * posix/regexec.c (check_matching): Likewise.
21763         (clean_state_log_if_needed): Likewise.
21764         (extend_buffers): Don't enlarge buffers beyond size of the input
21765         buffer.
21766         Patches mostly by Emil Wojak <emil@wojak.eu>.
21767         * posix/bug-regex32.c: New file.
21768         * posix/Makefile (tests): Add bug-regex32.
21770         * locale/findlocale.c (_nl_find_locale): Return right away if
21771         _nl_explode_name failed.
21772         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21774         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
21776         * debug/xtrace.sh: Unify messages.
21777         * malloc/memusage.sh: Likewise.
21779         [BZ #12813]
21780         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
21781         time symbol from vDSO.  Substitute with vsyscall if not available.
21782         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
21783         __vdso_time.
21785         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
21786         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
21787         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
21788         Add sendmmsg and internal_sendmmsg.
21789         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
21790         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
21791         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
21793         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
21794         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
21795         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
21797 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
21799         [BZ #12813]
21800         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
21801         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
21802         available.
21803         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
21804         __vdso_getcpu.
21806         [BZ #12814]
21807         * iconvdata/Makefile (tests): Add bug-iconv9.
21808         * iconvdata/bug-iconv9.c: New file.
21810 2011-05-27  Andreas Schwab  <schwab@redhat.com>
21812         [BZ #12814]
21813         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
21815 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
21817         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21818         (struct user_regs_struct): Change intcs field back to cs.
21820 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
21822         * po/ja.po: Update from translation team.
21824 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
21826         [BZ #12795]
21827         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
21828         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
21830 2011-05-20  Andreas Schwab  <schwab@redhat.com>
21832         * stdlib/longlong.h: Update from GCC.
21834 2011-05-23  Andreas Schwab  <schwab@redhat.com>
21836         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
21837         parameter name.
21838         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
21839         Add parameter name.
21840         (__sysconf): Pass it down.
21842 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
21844         [BZ #12671]
21845         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
21846         some situations.
21847         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21848         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
21849         add in in __libc_use_alloca calls.  Adjust callers.
21850         (glob): Use malloc in some situations.
21852         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
21853         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
21854         pltexit.
21856 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
21858         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
21859         and CLOCK_BOOTTIME_ALARM.
21861         [BZ #12782]
21862         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
21863         is returned.
21865         * string/_strerror.c (__strerror_r): Print negative errors as signed
21866         numbers.
21868         [BZ #12777]
21869         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
21870         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
21871         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
21873         * configure.in: Fix typo in redirection and correct removal of test
21874         files in two cases.
21876         [BZ #12788]
21877         * locale/setlocale.c (new_composite_name): Fix test to check for
21878         identical name of all categories.
21880         [BZ #12792]
21881         * libio/filedoalloc.c (local_isatty): New function.
21882         (_IO_file_doallocate): Use local_isatty.
21883         * stdio-common/perror.c (perror): In case a new stream is used
21884         forward the stream error.
21885         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
21886         error flag.
21888 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
21890         [BZ #11869]
21891         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
21892         alloca.
21893         * include/alloca.h (extend_alloca_account): Define.
21895         [BZ #11857]
21896         * posix/regex.h: Fix comments with documentation of user-accessible
21897         fields after compilation and describe correct free'ing of pattern
21898         after re_compile_pattern.
21899         Patch by Reuben Thomas <rrt@sc3d.org>.
21901 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
21903         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
21904         and -mno-altivec to prevent the compiler from using Altivec and/or
21905         VSX instructions when the corresponding registers are not available.
21907 2011-05-19  Andreas Schwab  <schwab@redhat.com>
21909         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
21911 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
21913         * libio/freopen.c (freopen): Use __dup2, not dup2.
21914         * libio/freopen64.c (freopen64): Likewise.
21916 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
21918         [BZ #12775]
21919         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
21920         * math/Makefile (tests): Add test-powl.
21921         (CFLAGS-test-powl.c): Define.
21922         * math/test-powl.c: New file.
21924 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21926         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
21928 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
21930         [BZ #11837]
21931         * iconvdata/gb18030.c: Update to GB18020-2005.
21933 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
21935         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
21936         RE_SYNTAX_POSIX_AWK): Update to match recent development.
21937         Patch by Aharon Robbins <arnold@skeeve.com>.
21939         [BZ #11892]
21940         * stdlib/putenv.c (putenv): Don't always create copy of the variable
21941         on the stack.
21943         [BZ #11895]
21944         * misc/pselect.c (__pselect): Handle timeout value errors hidden
21945         through underflows.
21947         [BZ #12766]
21948         * misc/error.c (error_at_line): Ensure file_name and old_file_name
21949         point to strings before performing equality test for error_one_per_line
21950         mode.
21952         [BZ #11697]
21953         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
21955         [BZ #11820]
21956         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21957         (struct user_fpregs_struct): Avoid __uint*_t types.
21959         [BZ #6420]
21960         * malloc/mtrace.c (tr_where): Add additional parameter to point to
21961         symbol info.  Use it instead of calling _dl_addr locally.
21962         (lock_and_info): New function.
21963         (tr_freehook): Call lock_and_info and pass symbol info as additional
21964         parameter to tr_where.
21965         (tr_mallochook): Likewise.
21966         (tr_reallochook): Likewise.
21967         (tr_memalignhook): Likewise.
21969         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
21970         used and couldn't be at all thread-safe.
21972 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
21974         * libio/freopen.c (freopen): Don't close old file descriptor
21975         before the new one is opened.  Instead dup the new file descriptor
21976         to the old one after the new stream is created.
21977         * libio/freopen64.c (freopen64): Likewise.
21978         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
21979         * libio/fileops.c (_IO_new_file_close_it): Handle new
21980         _IO_FLAGS2_NOCLOSE flag.
21981         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
21982         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
21983         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
21984         _IO_FLAGS2_NOCLOSE flag.
21985         * include/unistd.h: Add hidden_proto for dup3.
21986         Define __have_dup3.
21987         * io/dup3.c: Define hidden symbol.
21988         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
21990         [BZ #7101]
21991         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
21992         when an incomplete long option is used.
21993         * posix/tst-getopt_long1.c: New file.
21994         * posix/Makefile (tests): Add tst-getopt_long1.
21996         [BZ #10138]
21997         * scripts/config.guess: Update from autoconf-2.68.
21998         * scripts/config.sub: Likewise.
22000         [BZ #10157]
22001         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
22002         tests into ...
22003         (has_cpuclock): ...this.  New function.
22004         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
22005         macro here based on has_cpuclock code.
22007         [BZ #10149]
22008         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22009         First byte (not low byte) is now always NUL.
22010         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
22012         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22013         Use non-cancelable interfaces.
22015         [BZ #9809]
22016         * locale/iso-639.def: Add entry for Sorani.
22018         [BZ #11901]
22019         * include/stdlib.h: Move include protection to the right place.
22020         Define abort_msg_s.  Declare __abort_msg with it.
22021         * stdlib/abort.c (__abort_msg): Adjust type.
22022         * assert/assert.c (__assert_fail_base): New function.  Majority
22023         of code from __assert_fail.  Allocate memory for __abort_msg with
22024         mmap.
22025         (__assert_fail): Now call __assert_fail_base.
22026         * assert/assert-perr.c: Remove bulk of implementation.  Use
22027         __assert_fail_base.
22028         * include/assert.hL Declare __assert_fail_base.
22029         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
22030         mmap.
22031         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
22033 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
22035         [BZ #11952]
22036         [BZ #12453]
22037         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
22038         until all modules are registered in the DTV.
22039         * elf/Makefile: Add rules to build and run tst-tls19.
22040         * elf/tst-tls19.c: New file.
22041         * elf/tst-tls19mod1.c: New file.
22042         * elf/tst-tls19mod2.c: New file.
22043         * elf/tst-tls19mod3.c: New file.
22044         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
22046         [BZ #12083]
22047         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
22048         correctly.
22050         [BZ #12601]
22051         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
22052         two-byte sequence errors.
22053         * iconvdata/Makefile (tests): Add bug-iconv8.
22054         * iconvdata/bug-iconv8.c: New file.
22056         [BZ #12626]
22057         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
22058         buf2 definition.
22060         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
22062         [BZ #12432]
22063         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
22064         (dummy_getcfa): New function.
22065         (init): Get _Unwind_GetCFA address, use dummy if not found.
22066         (backtrace_helper): In recursion check, also check whether CFA changes.
22067         (__backtrace): Completely initialize arg.
22069         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
22070         storing incomplete byte sequence in state object.  Avoid testing for
22071         guaranteed too small input if we know there is enough data available.
22073 2011-05-11  Andreas Schwab  <schwab@redhat.com>
22075         * Makeconfig (+link-pie): Indent.
22076         * Rules (binaries-pie): Define if $(have-fpie) and
22077         $(build-shared).
22078         (binaries-shared): Also filter out $(binaries-pie).
22079         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
22080         * nscd/Makefile (others-pie): Add nscd.
22081         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
22082         ($(objpfx)nscd): Remove command override.
22083         * login/Makefile (others-pie): Add pt_chown.
22084         ($(objpfx)pt_chown): Remove command override.
22085         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
22086         remove command overrides.
22088 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
22090         * libio/tst_putwc.c: Fix error messages.
22092         [BZ #12724]
22093         * libio/fileops.c (_IO_new_file_close_it): Always flush when
22094         currently writing and seek to current position when not.
22095         * libio/Makefile (tests): Add bug-fclose1.
22096         * libio/bug-fclose1.c: New file.
22098 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
22100         [BZ #12511]
22101         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
22102         don't set DF_1_NODELETE here.
22103         (do_lookup_x): When entering new entry test for copy relocation
22104         and if necessary set DF_1_NODELETE flag.
22105         * elf/tst-unique4.cc: New file.
22106         * elf/tst-unique4.h: New file.
22107         * elf/tst-unique4lib.cc: New file.
22108         * elf/Makefile: Add rules to build and run tst-unique4.
22109         Patch by Piotr Bury <pbury@goahead.com>.
22111 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
22113         [BZ #12052]
22114         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
22116         [BZ #12625]
22117         * misc/mntent_r.c (addmntent): Flush the stream after the output
22119         [BZ #12393]
22120         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
22121         (is_trusted_path_normalize): Skip initial colon.  Append slash
22122         to empty buffer.  Duplicate is_trusted_path code but allow
22123         constructed patch to be prefix.
22124         (is_dst): Allow $ORIGIN followed by /.
22125         (_dl_dst_substitute): Correct clearing of check_for_trusted.
22126         Correct testing of result of is_trusted_path_normalize
22127         (decompose_rpath): Fix warning.
22129 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
22131         [BZ #11257]
22132         * grp/initgroups.c (internal_getgrouplist): When we found the service
22133         list through the initgroups entry in nsswitch.conf do not always
22134         continue on a successful lookup.  Don't always use the
22135         __nss_group_database value if it is set.
22136         * nss/nsswitch.conf (initgroups): Change action for successful db
22137         lookup to continue for compatibility.
22139 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
22141         [BZ #11532]
22142         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
22143         and CP774 modules.
22144         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
22145         and CP774 modules.
22146         * iconvdata/tst-tables.sh: Likewise.
22147         * iconvdata/cp770.c: New file.
22148         * iconvdata/cp771.c: New file.
22149         * iconvdata/cp772.c: New file.
22150         * iconvdata/cp773.c: New file.
22151         * iconvdata/cp774.c: New file.
22152         * iconvdata/testdata/CP770: New file.
22153         * iconvdata/testdata/CP770..UTF8: New file.
22154         * iconvdata/testdata/CP771: New file.
22155         * iconvdata/testdata/CP771..UTF8: New file.
22156         * iconvdata/testdata/CP772: New file.
22157         * iconvdata/testdata/CP772..UTF8: New file.
22158         * iconvdata/testdata/CP773: New file.
22159         * iconvdata/testdata/CP773..UTF8: New file.
22160         * iconvdata/testdata/CP774: New file.
22161         * iconvdata/testdata/CP774..UTF8: New file.
22163         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
22164         END CHARMAP line.
22165         * iconvdata/gen-8bit-gap.sh: Likewise.
22166         * iconvdata/gen-8bit.sh: Likewise.
22168         * locale/iso-639.def: Add ary entry.
22170         [BZ #11258]
22171         * locale/C-translit.h.in: Add U20A1 transliteration.
22173         [BZ #12178]
22174         * locale/iso-639.def: Add wae entry.
22175         Patch by Kevin Bortis <bortis@translate-wae.ch>.
22177         [BZ #12545]
22178         * locale/programs/localedef.c (construct_output_path): Use ssize_t
22179         for n.
22181         [BZ #12711]
22182         * locale/C-translit.h.in: Add entry for U20B9.
22183         Patch by pravin.d.s@gmail.com.
22185 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
22187         [BZ #12713]
22188         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
22189         ENAMETOOLONG use generic getcwd.
22190         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
22191         in rtld.  Use *stat64.
22192         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
22193         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
22194         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
22195         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
22196         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
22197         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
22198         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
22199         __fstatat64 macros.
22200         * include/dirent.h: Add libc_hidden_proto for rewinddir.
22201         * dirent/rewinddir.c: Add libc_hidden_def.
22202         * sysdeps/mach/hurd/rewinddir.c: Likewise.
22203         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
22205         * include/dirent.h (__alloc_dir): Add flags parameter.
22206         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
22207         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
22208         __alloc_dir.
22209         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
22210         from fdopendir if O_CLOEXEC is already set.
22212 2011-03-15  Alan Modra  <amodra@gmail.com>
22214         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
22215         l_tls_firstbyte_offset non-zero.  Save padding offset in
22216         l_tls_firstbyte_offset for later use.
22217         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
22218         freeing static tls block.
22220 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
22222         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
22223         where #ifdef was intended.  The intent is to prevent ARG_MAX from
22224         being defined by the kernel headers.
22226 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
22228         [BZ #12734]
22229         * resolv/resolv.h: Define RES_NOTLDQUERY.
22230         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
22231         no-tld-query and set RES_NOTLDQUERY.
22232         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
22233         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
22234         modern BIND to search name as TLD unless forbidden.
22236 2011-05-07  Petr Baudis  <pasky@suse.cz>
22237             Ulrich Drepper  <drepper@gmail.com>
22239         [BZ #12393]
22240         * elf/dl-load.c (fillin_rpath): Move trusted path check...
22241         (is_trusted_path): ...to here.
22242         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
22243         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
22244         using is_trusted_path_normalize() in setuid scripts.
22246 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22248         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
22249         __BEGIN/__END_DECLS.
22251 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
22253         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
22254         NSS_STATUS_NOTFOUND if no record was found.
22256 2011-05-05  Andreas Schwab  <schwab@redhat.com>
22258         * sunrpc/Makefile (headers): Add rpc/netdb.h.
22259         (headers-not-in-tirpc): Remove rpc/netdb.h
22260         * resolv/netdb.h: Revert last change.
22262 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
22264         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
22265         circular dependency between libgcc.a and libc.a.
22267 2011-05-05  Andreas Schwab  <schwab@redhat.com>
22269         * resolv/netdb.h: Don't include <rpc/netdb.h>.
22270         * nis/Makefile: Don't install rpcsvc/*.
22271         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
22272         instead of <rpc/types.h>.
22273         (MAXHOSTNAMELEN): Define.
22275 2011-05-03  Andreas Schwab  <schwab@redhat.com>
22277         * elf/ldconfig.c (add_dir): Don't crash on empty path.
22279 2011-04-28  Maciej Babinski  <mbabinski@google.com>
22281         [BZ #12714]
22282         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
22283         gethostbyname4_r when IPv6 results are possible.
22285 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
22287         [BZ #12723]
22288         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
22289         _PC_PIPE_BUF handling.
22291 2011-04-30  Bruno Haible  <bruno@clisp.org>
22293         [BZ #12717]
22294         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
22295         * resolv/netdb.h (getnameinfo): Change type of flags parameter
22296         to 'int'.
22297         * inet/getnameinfo.c (getnameinfo): Likewise.
22299 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
22301         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
22302         to groups setting in database lookup.
22303         * nss/nsswitch.conf: Add initgroups entry.
22305 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
22307         [BZ #12685]
22308         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
22309         mode string.
22310         Patch by Eric Blake <eblake@redhat.com>.
22312 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
22314         * sunrpc/Makefile (need-export-routines): Add svc_run.
22315         (routines): Remove svc_run.
22316         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
22317         * sunrpc/clnt_perr.c (clnt_perrno): Export.
22318         * sunrpc/svc_run.c (svc_run): Likewise.
22319         * sunrpc/svc_udp.c (svcudp_create): Likewise.
22321 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
22323         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
22324         problem in reallocation in last patch.
22326 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
22328         * sunrpc/Makefile: Move inclusion of Rules.
22330 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
22332         * nss/nss_files/files-initgroups.c: New file.
22333         * nss/Makefile (libnss_files-routines): Add files-initgroups.
22334         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
22335         _nss_files_initgroups_dyn.
22337 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
22339         * elf/elf.h (R_ARM_IRELATIVE): Define.
22341 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
22343         * po/ru.po: Update from translation team.
22345 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
22347         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
22348         dependencies.
22350 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
22352         [BZ #12653]
22353         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
22354         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
22355         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22356         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22357         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22359 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
22361         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
22362         differing bytes.
22363         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22364         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22365         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22367 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
22369         [BZ #12420]
22370         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
22371         storing it.
22372         * stdlib/bug-getcontext.c: New file.
22373         * stdlib/Makefile: Add rules to build and run bug-getcontext.
22375 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22377         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
22378         instructions into .machine "z9-109".
22379         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22380         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22382 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22384         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
22385         between environment variables and auxiliary vector.
22387 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
22389         * Makefile: Add rules to build linkobj/libc.so.
22390         * include/libc-symbols.h: Define libc_hidden_nolink.
22391         * include/rpc/auth.h: Mark functions which are to be hidden.
22392         * include/rpc/auth_des.h: Likewise.
22393         * include/rpc/auth_unix.h: Likewise.
22394         * include/rpc/clnt.h: Likewise.
22395         * include/rpc/des_crypt.h: Likewise.
22396         * include/rpc/key_prot.h: Likewise.
22397         * include/rpc/pmap_clnt.h: Likewise.
22398         * include/rpc/pmap_prot.h: Likewise.
22399         * include/rpc/pmap_rmt.h: Likewise.
22400         * include/rpc/rpc_msg.h: Likewise.
22401         * include/rpc/svc.h: Likewise.
22402         * include/rpc/svc_auth.h: Likewise.
22403         * include/rpc/xdr.h: Likewise.
22404         * nis/Makefile: Link all DSOs against linkobj/libc.so.
22405         * nss/Makefile: Likewise.
22406         * sunrpc/Makefile: Don't install headers.  Build library with normal
22407         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
22408         * sunrpc/auth_des.c: Hide exported symbols by default, export some
22409         for the compat linking library.  Remove use of INTDEF/INTUSE.
22410         * sunrpc/auth_none.c: Likewise.
22411         * sunrpc/auth_unix.c: Likewise.
22412         * sunrpc/authdes_prot.c: Likewise.
22413         * sunrpc/authuxprot.c: Likewise.
22414         * sunrpc/clnt_gen.c: Likewise.
22415         * sunrpc/clnt_perr.c: Likewise.
22416         * sunrpc/clnt_raw.c: Likewise.
22417         * sunrpc/clnt_simp.c: Likewise.
22418         * sunrpc/clnt_tcp.c: Likewise.
22419         * sunrpc/clnt_udp.c: Likewise.
22420         * sunrpc/clnt_unix.c: Likewise.
22421         * sunrpc/des_crypt.c: Likewise.
22422         * sunrpc/des_soft.c: Likewise.
22423         * sunrpc/get_myaddr.c: Likewise.
22424         * sunrpc/key_call.c: Likewise.
22425         * sunrpc/key_prot.c: Likewise.
22426         * sunrpc/netname.c: Likewise.
22427         * sunrpc/pm_getmaps.c: Likewise.
22428         * sunrpc/pm_getport.c: Likewise.
22429         * sunrpc/pmap_clnt.c: Likewise.
22430         * sunrpc/pmap_prot.c: Likewise.
22431         * sunrpc/pmap_prot2.c: Likewise.
22432         * sunrpc/pmap_rmt.c: Likewise.
22433         * sunrpc/publickey.c: Likewise.
22434         * sunrpc/rpc_cmsg.c: Likewise.
22435         * sunrpc/rpc_common.c: Likewise.
22436         * sunrpc/rpc_dtable.c: Likewise.
22437         * sunrpc/rpc_prot.c: Likewise.
22438         * sunrpc/rpc_thread.c: Likewise.
22439         * sunrpc/rtime.c: Likewise.
22440         * sunrpc/svc.c: Likewise.
22441         * sunrpc/svc_auth.c: Likewise.
22442         * sunrpc/svc_authux.c: Likewise.
22443         * sunrpc/svc_raw.c: Likewise.
22444         * sunrpc/svc_run.c: Likewise.
22445         * sunrpc/svc_simple.c: Likewise.
22446         * sunrpc/svc_tcp.c: Likewise.
22447         * sunrpc/svc_udp.c: Likewise.
22448         * sunrpc/svc_unix.c: Likewise.
22449         * sunrpc/svcauth_des.c: Likewise.
22450         * sunrpc/xcrypt.c: Likewise.
22451         * sunrpc/xdr.c: Likewise.
22452         * sunrpc/xdr_array.c: Likewise.
22453         * sunrpc/xdr_float.c: Likewise.
22454         * sunrpc/xdr_intXX_t.c: Likewise.
22455         * sunrpc/xdr_mem.c: Likewise.
22456         * sunrpc/xdr_rec.c: Likewise.
22457         * sunrpc/xdr_ref.c: Likewise.
22458         * sunrpc/xdr_sizeof.c: Likewise.
22459         * sunrpc/xdr_stdio.c: Likewise.
22461 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
22463         [BZ #12650]
22464         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
22465         * sysdeps/ia64/dl-tls.h: Likewise.
22466         * sysdeps/powerpc/dl-tls.h: Likewise.
22467         * sysdeps/s390/dl-tls.h: Likewise.
22468         * sysdeps/sh/dl-tls.h: Likewise.
22469         * sysdeps/sparc/dl-tls.h: Likewise.
22470         * sysdeps/x86_64/dl-tls.h: Likewise.
22471         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
22473 2011-03-14  Andreas Schwab  <schwab@redhat.com>
22475         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
22476         rpath element also skip the following colon.
22477         (expand_dynamic_string_token): Add is_path parameter and pass
22478         down to DL_DST_REQUIRED and _dl_dst_substitute.
22479         (decompose_rpath): Call expand_dynamic_string_token with
22480         non-zero is_path.  Ignore empty rpaths.
22481         (_dl_map_object_from_fd): Call expand_dynamic_string_token
22482         with zero is_path.
22484 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
22486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22487         Make cancelable.
22489 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
22491         [BZ #12655]
22492         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
22493         Patch by Filipe David Manana <fdmanana@apache.org>.
22495 2011-04-07  Andreas Schwab  <schwab@redhat.com>
22497         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
22498         Maintain aligned stack.
22499         (CHECK_RSP): Remove unused macro.
22501 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
22503         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
22504         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
22506 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
22508         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
22510         * include/features.h: Mention __USE_XOPEN2K8 in comment.
22512 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
22514         [BZ #12518]
22515         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
22516         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
22517         * sysdeps/x86_64/memmove.c: New file.
22518         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
22519         (memcpy): Renamed to ...
22520         (__new_memcpy): This.
22521         (memcpy): Provide GLIBC_2_14 memcpy.
22522         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
22523         (memcpy): Provide GLIBC_2_2_5 memcpy.
22525 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
22527         [BZ #12631]
22528         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
22530 2011-03-30  Andreas Schwab  <schwab@redhat.com>
22532         * misc/syncfs.c: New file.
22533         * misc/Makefile (routines): Add syncfs.
22534         * posix/unistd.h: Declare syncfs.
22535         * sysdeps/unix/syscalls.list: Add syncfs.
22537 2011-04-01  Andreas Schwab  <schwab@redhat.com>
22539         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
22540         open_by_handle_at.
22541         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22542         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22543         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22544         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22545         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22546         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
22547         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22549 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
22551         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
22552         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22553         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
22554         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22555         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22556         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22557         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22559         * io/Makefile: Compile fallocate.c, fallocate64.c, and
22560         sync_file_range.c with -fexceptions.
22561         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
22562         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
22563         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22564         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22565         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
22566         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22567         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
22568         sync_file_range as cancellation point
22569         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
22570         now a wrapper around __call_sync_file_range with cancellation handling.
22571         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
22572         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
22573         function name to __call_sync_file_range.
22574         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
22575         Add call_sync_file_range.
22577 2011-04-01  Andreas Schwab  <schwab@redhat.com>
22579         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22580         bits/timex.h.
22582 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
22584         * iconv/iconv.h: Fix typo in comment.
22585         * io/fcntl.h: Likewise.
22586         * libio/stdio.h: Likewise.
22587         * posix/spawn.h: Likewise.
22588         * posix/unistd.h: Likewise.
22589         * stdlib/stdlib.h: Likewise.
22590         * time/time.h: Likewise.
22591         * wcsmbs/wchar.h: Likewise.
22593         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
22594         open_by_handle): Add.
22595         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
22596         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
22597         Augment a few comments.
22598         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22599         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22600         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22601         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22602         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22603         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
22604         open_by_handle.
22606         * io/fcntl.h (AT_EMPTY_PATH): Define.
22608 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
22610         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
22611         * sysdeps/unix/sysv/linux/bits/time.h: New file.
22612         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
22613         to...
22614         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
22615         * Versions.def: Add GLIBC_2.14.
22616         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
22617         Export.
22619 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
22621         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
22622         round counter.
22623         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22625 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
22627         [BZ #12597]
22628         * string/test-strncmp.c (do_page_test): New function.
22629         (check2): Likewise.
22630         (test_main): Call check2.
22631         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
22633 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
22635         [BZ #12587]
22636         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
22637         Handle cache information in CPU leaf 4.
22638         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22640 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
22642         [BZ #12583]
22643         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
22644         character representation.
22645         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
22647 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
22649         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
22650         END(__isnan) to END(__isnanf) to match function entry point/label
22651         EALIGN(__isnanf,...).
22653 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
22655         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
22657 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
22659         [BZ #12510]
22660         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
22661         copy from the symbol referenced in the relocation to initialize the
22662         used variable.
22663         Patch by Piotr Bury <pbury@goahead.com>.
22664         * elf/Makefile: Add rules to build and tst-unique3.
22665         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
22666         * elf/tst-unique3.cc: New file.
22667         * elf/tst-unique3.h: New file.
22668         * elf/tst-unique3lib.cc: New file.
22669         * elf/tst-unique3lib2.cc: New file.
22671         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
22673 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
22675         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
22676         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
22677         to _start.
22679 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
22681         * elf/dl-load.c (_dl_map_object): If we are looking for the first
22682         to-be-loaded object along a path to loader is ld.so.
22684 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
22685             Ulrich Drepper  <drepper@gmail.com>
22687         * sysdeps/x86_64/memset.S: After aligning destination, code
22688         branches to different locations depending on the value of
22689         misalignment, when multiarch is enabled. Fix this.
22691 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
22693         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
22694         Set _x86_64_preferred_memory_instruction for AMD processsors.
22695         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22696         Set bit_Prefer_SSE_for_memop for AMD processors.
22698 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
22700         * libio/fmemopen.c (fmemopen): Optimize a bit.
22702 2011-03-03  Andreas Schwab  <schwab@redhat.com>
22704         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
22706 2011-03-03  Roland McGrath  <roland@redhat.com>
22708         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
22710 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
22712         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
22713         __bzero_ultra1 instead of __memset_ultra1.
22715 2011-02-23  Andreas Schwab  <schwab@redhat.com>
22716             Ulrich Drepper  <drepper@gmail.com>
22718         [BZ #12509]
22719         * include/link.h (struct link_map): Add l_orig_initfini.
22720         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
22721         returning unsuccessfully.
22722         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
22723         close of a file loaded at startup, restore the original l_initfini
22724         list.
22725         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
22726         list, store the pointer.
22727         * elf/Makefile ($(objpfx)noload-mem): New rule.
22728         (noload-ENV): Define.
22729         (tests): Add $(objpfx)noload-mem.
22730         * elf/noload.c: Include <memcheck.h>.
22731         (main): Call mtrace.  Close all opened handles.
22733 2011-02-17  Andreas Schwab  <schwab@redhat.com>
22735         [BZ #12454]
22736         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
22737         dependencies are missing.
22739 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22741         Fix __if_freereq crash: Unlike the generic version which uses free,
22742         Hurd needs munmap.
22743         * sysdeps/mach/hurd/ifreq.h: New file.
22745 2011-01-27  Petr Baudis  <pasky@suse.cz>
22746             Ulrich Drepper  <drepper@gmail.com>
22748         [BZ 12445]#
22749         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
22750         to extend_alloca().
22751         * stdio-common/bug23.c: New file.
22752         * stdio-common/Makefile (tests): Add bug23.
22754 2010-09-28  Andreas Schwab  <schwab@redhat.com>
22755             Ulrich Drepper  <drepper@gmail.com>
22757         [BZ #12489]
22758         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
22759         before performing relro protection.  At old place add assertion
22760         to make sure nothing changed.
22762 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
22763             Glauber de Oliveira Costa  <glommer@gmail.com>
22765         * elf/elf.h: Add new ARM TLS relocs.
22767 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
22769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22770         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
22771         cast from r3.
22772         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
22773         'tests' variable.
22774         * sysdeps/wordsize-64/tst-writev.c: New file.
22776 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
22778         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
22779         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
22780         insns in _dl_start to prevent a TOC reference before relocs are
22781         resolved.
22783 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
22785         [BZ #12469]
22786         * Makeconfig: Remove RANLIB definition.
22787         * Makerules: Don't use RANLIB.
22788         * aclocal.m4: Remove ranlib test.
22789         * configure.in: No need to check for ranlib.
22790         * elf/rtld-Rules: Don't use RANLIB.
22792 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22794         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
22795         protection macro.
22796         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
22797         inclusion protection macro.
22799         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
22800         SIGRTMIN and SIGRTMAX and print information in that case only when
22801         SIGRTMIN is defined.
22803 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
22805         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
22806         arginfo fn returning -1.
22808         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
22809         and thousands string is zero terminated.
22811 2011-02-03  Andreas Schwab  <schwab@redhat.com>
22813         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
22814         sysdeps/unix/sysv/linux/bits/socket.h.
22816 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22818         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
22819         (__CPU_COUNT): Remove old macros.
22820         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
22821         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
22822         (__CPU_ALLOC, __CPU_FREE): Add macros.
22823         (__sched_cpualloc, __sched_cpufree): Add declarations.
22825 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
22827         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
22828         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
22829         * nscd/aicache.c (addhstaiX): Return timeout of added value.
22830         (readdhstai): Return value of addhstaiX call.
22831         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
22832         (addgrbyX): Return value returned by cache_addgr.
22833         (readdgrbyname): Return value returned by addgrbyX.
22834         (readdgrbygid): Likewise.
22835         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
22836         (addpwbyX): Return value returned by cache_addpw.
22837         (readdpwbyname): Return value returned by addhstbyX.
22838         (readdpwbyuid): Likewise.
22839         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
22840         (addservbyX): Return value returned by cache_addserv.
22841         (readdservbyname): Return value returned by addservbyX:
22842         (readdservbyport): Likewise.
22843         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
22844         (addhstbyX): Return value returned by cache_addhst.
22845         (readdhstbyname): Return value returned by addhstbyX.
22846         (readdhstbyaddr): Likewise.
22847         (readdhstbynamev6): Likewise.
22848         (readdhstbyaddrv6): Likewise.
22849         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
22850         (readdinitgroups): Return value returned by addinitgroupsX.
22851         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
22852         (prune_cache): Keep track of timeout value of re-added entries.
22853         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
22854         * nscd/nscd.h: Adjust prototypes of readd* functions.
22856 2011-02-04  Roland McGrath  <roland@redhat.com>
22858         * nis/nis_server.c (nis_servstate): Use the right name for 0.
22859         (nis_stats): Likewise.
22860         * nis/nis_modify.c (nis_modify): Likewise.
22861         * nis/nis_remove.c (nis_remove): Likewise.
22862         * nis/nis_add.c (nis_add): Likewise.
22864         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
22866         * posix/fnmatch_loop.c: Add some consts.
22868         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
22870 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
22872         [BZ #12460]
22873         * config.make.in (config-cflags-novzeroupper): Define.
22874         * configure.in: Substitute libc_cv_cc_novzeroupper.
22875         * elf/Makefile (AVX-CFLAGS): Define.
22876         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
22877         (CFLAGS-tst-auditmod4a.c): Likewise.
22878         (CFLAGS-tst-auditmod4b.c): Likewise.
22879         (CFLAGS-tst-auditmod6b.c): Likewise.
22880         (CFLAGS-tst-auditmod6c.c): Likewise.
22881         (CFLAGS-tst-auditmod7b.c): Likewise.
22882         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
22884 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
22886         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
22887         function to the callback.
22888         Patch partly by Jiri Olsa <jolsa@redhat.com>.
22890 2011-02-02  Andreas Schwab  <schwab@redhat.com>
22892         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
22893         of errno.
22895 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
22897         [BZ #11724]
22898         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
22899         of constructors.
22900         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
22901         of destructors.
22902         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
22904         [BZ #11724]
22905         * elf/Makefile: Add rules to build and run new test.
22906         * elf/tst-initorder.c: New file.
22907         * elf/tst-initorder.exp: New file.
22908         * elf/tst-initordera1.c: New file.
22909         * elf/tst-initordera2.c: New file.
22910         * elf/tst-initordera3.c: New file.
22911         * elf/tst-initordera4.c: New file.
22912         * elf/tst-initorderb1.c: New file.
22913         * elf/tst-initorderb2.c: New file.
22914         * elf/tst-order-a1.c: New file.
22915         * elf/tst-order-a2.c: New file.
22916         * elf/tst-order-a3.c: New file.
22917         * elf/tst-order-a4.c: New file.
22918         * elf/tst-order-b1.c: New file.
22919         * elf/tst-order-b2.c: New file.
22920         * elf/tst-order-main.c: New file.
22921         New test case by George Gensure <werkt0@gmail.com>.
22923 2010-10-01  Andreas Schwab  <schwab@redhat.com>
22925         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22926         decoding ACE if AI_CANONIDN.
22928 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
22930         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
22932 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
22934         * version.h (RELEASE): Bump for 2.13 release.
22935         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
22937         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
22939         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
22940         MADV_NOHUGEPAGE.
22941         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
22942         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22943         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22944         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22945         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22946         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22948         * posix/getconf.c: Update copyright year.
22949         * catgets/gencat.c: Likewise.
22950         * csu/version.c: Likewise.
22951         * debug/catchsegv.sh: Likewise.
22952         * debug/xtrace.sh: Likewise.
22953         * elf/ldconfig.c: Likewise.
22954         * elf/ldd.bash.in: Likewise.
22955         * elf/sprof.c (print_version): Likewise.
22956         * iconv/iconv_prog.c: Likewise.
22957         * iconv/iconvconfig.c: Likewise.
22958         * locale/programs/locale.c: Likewise.
22959         * locale/programs/localedef.c: Likewise.
22960         * malloc/memusage.sh: Likewise.
22961         * malloc/mtrace.pl: Likewise.
22962         * nscd/nscd.c (print_version): Likewise.
22963         * nss/getent.c: Likewise.
22965         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
22966         PF_CAIF, and PF_ALG.
22967         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22969 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
22971         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
22972         (modules-names): Use them.
22973         (ifunc-test-modules, ifunc-pie-tests): Define.
22974         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
22975         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
22976         (test-extras): Likewise.
22977         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
22978         $(compile-command.c).
22979         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
22980         (all-built-dso): Define.
22981         (check-textrel.out, check-execstack.out): Depend on it.
22983         * configure.in: Don't override --enable-multi-arch.
22985 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
22987         [BZ #6812]
22988         * nscd/hstcache.c (tryagain): Define.
22989         (cache_addhst): Return tryagain not notfound for temporary errors.
22990         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
22991         failed.
22993 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
22995         [BZ #10563]
22996         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
22997         to make the syscall.
22998         * sysdeps/unix/sysv/linux/setgroups.c: New file.
23000         [BZ #12378]
23001         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
23002         and fall back to matching as normal character if the string ends before
23003         the matching ']' is found.  This is what POSIX requires.
23004         * posix/testfnm.c: Adjust test result.
23005         * posix/globtest.sh: Adjust test result.  Add new test.
23006         * posix/tst-fnmatch.input: Likewise.
23007         * posix/tst-fnmatch2.c: Add new test.
23009 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
23011         * elf/Makefile (check-execstack): Revert last change.  Depend on
23012         check-execstack.h.
23013         (check-execstack.h): New target.
23014         (generated): Add check-execstack.h.
23015         * elf/check-execstack.c: Include "check-execstack.h".
23016         (main): Revert last change.
23017         (handle_file): Return zero if GNU_STACK is absent and
23018         DEFAULT_STACK_PERMS doesn't include PF_X.
23020 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
23022         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
23023         in child fails because the descriptor is already closed.
23024         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
23025         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
23026         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
23028         [BZ #12397]
23029         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
23030         syscall.
23032         [BZ #10484]
23033         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
23034         temporary buffer used to handle multi lookups locally.
23035         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
23037 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
23039         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
23040         loader is ld.so.
23042 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
23044         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
23045         alignment for SSE2.
23047 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
23049         [BZ #12394]
23050         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
23051         characters.  When rounding increased number of integer digits recompute
23052         number of groups.
23053         * stdio-common/tst-grouping.c: New file.
23054         * stdio-common/Makefile: Add rules to build and run tst-grouping.
23056 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
23058         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
23059         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
23061         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
23062         void.
23063         * bits/select.h: Likewise.
23065 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
23067         * po/ja.po: Update from translation team.
23069 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
23071         [BZ #11155]
23072         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
23073         implementation just like for lxstat, fxstatat, et al.
23075 2010-12-27  Jim Meyering  <meyering@redhat.com>
23077         [BZ #12348]
23078         * posix/regexec.c (build_trtable): Return failure indication upon
23079         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
23081 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
23083         [BZ #12201]
23084         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
23085         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
23086         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
23087         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
23089         [BZ #12207]
23090         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
23092         [BZ #12204]
23093         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
23094         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
23096 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
23098         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
23099         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
23100         script has SORT_BY_INIT_PRIORITY.
23101         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
23102         NO_CTORS_DTORS_SECTIONS is defined.
23103         * elf/soinit.c: Likewise.
23104         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
23105         NO_CTORS_DTORS_SECTIONS is defined.
23106         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
23107         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
23108         * sysdeps/sh/init-first.c: Likewise.
23109         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
23111 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
23113         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
23114         always use the slow path.
23116 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
23118         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
23119         similar rule which adds the sysdep directories to the header search in
23120         order to pick up the correct platform stackinfo.h.
23121         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
23122         perform test if it is, otherwise return successfully without testing.
23123         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
23124         DEFAULT_STACK_PERMS define in stackinfo.h.
23125         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
23126         defined in stackinfo.h.
23127         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
23128         DEFAULT_STACK_PERMS defined in stackinfo.h.
23129         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
23130         * sysdeps/ia64/stackinfo.h: Likewise.
23131         * sysdeps/s390/stackinfo.h: Likewise.
23132         * sysdeps/sh/stackinfo.h: Likewise.
23133         * sysdeps/sparc/stackinfo.h: Likewise.
23134         * sysdeps/x86_64/stackinfo.h: Likewise.
23135         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
23136         PF_X for powerpc64.  Retain PF_X for powerpc32.
23138 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
23140         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
23141         accurately.
23142         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
23143         GETDENTS_64BIT_ALIGNED.
23145 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
23147         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
23149 2010-12-10  Andreas Schwab  <schwab@redhat.com>
23151         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
23152         _GNU_SOURCE.
23154         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
23155         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
23156         Remove __restrict.
23157         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
23158         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
23160 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
23162         [BZ #11655]
23163         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
23164         are initialized.
23166 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
23168         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
23170 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
23172         * po/it.po: Update from translation team.
23174 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
23176         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
23177         unused codes.
23179 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
23181         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
23183 2010-11-24  Andreas Schwab  <schwab@redhat.com>
23185         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
23186         specially.
23187         (gaih_getanswer_slice): Likewise.
23189 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
23191         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
23193 2010-05-31  Petr Baudis  <pasky@suse.cz>
23195         [BZ #11149]
23196         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
23197         silently even in the chroot mode.
23199 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
23201         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
23202         last patch a bit.  Pretty printing
23204 2010-05-31  Petr Baudis <pasky@suse.cz>
23206         [BZ #10085]
23207         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
23208         initialization of skip_initgroups_dyn.
23210 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
23212         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
23213         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23215 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
23217         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
23219 2010-11-11  Andreas Schwab  <schwab@redhat.com>
23221         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
23222         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
23223         (tst-fnmatch-ENV): Set MALLOC_TRACE.
23224         ($(objpfx)tst-fnmatch-mem): New rule.
23225         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
23226         * posix/tst-fnmatch.c (main): Call mtrace.
23228 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
23230         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23231         Support Intel processor model 6 and model 0x2c.
23233 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
23235         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
23236           signed comparison.
23238 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
23240         [BZ #12205]
23241         * string/test-strncasecmp.c (check_result): New function.
23242         (do_one_test): Use it.
23243         (check1): New function.
23244         (test_main): Use it.
23245         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
23246         Support strcasecmp and strncasecmp.
23248 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
23250         [BZ #12194]
23251         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
23252         * sysdeps/x86_64/bits/byteswap.h: Likewise.
23254 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
23256         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
23257         IFUNC support.
23258         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23259         memset-x86-64.
23260         * sysdeps/x86_64/multiarch/bzero.S: New file.
23261         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
23262         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
23263         * sysdeps/x86_64/multiarch/memset.S: New file.
23264         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
23265         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23266         Set bit_Prefer_SSE_for_memop for Intel processors.
23267         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
23268         Define.
23269         (index_Prefer_SSE_for_memop): Define.
23270         (HAS_PREFER_SSE_FOR_MEMOP): Define.
23272 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
23274         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
23275         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
23277 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
23279         [BZ #12191]
23280         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23281         (__x86_64_raw_data_cache_size_half): Likewise.
23282         (__x86_64_raw_shared_cache_size): Likewise.
23283         (__x86_64_raw_shared_cache_size_half): Likewise.
23285         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23286         (__x86_64_raw_data_cache_size_half): Likewise.
23287         (__x86_64_raw_shared_cache_size): Likewise.
23288         (__x86_64_raw_shared_cache_size_half): Likewise.
23289         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
23290         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
23291         and __x86_64_raw_shared_cache_size_half.  Round
23292         __x86_64_data_cache_size_half, __x86_64_data_cache_size
23293         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
23294         to multiple of 256 bytes.
23296 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
23298         [BZ #12167]
23299         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
23300         of inacessible symlinks.  Verify result of symlink before returning it.
23301         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23302         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
23304 2010-10-28  Erich Ritz  <erichritz@gmail.com>
23306         * math/math.h (isinf): Fix typo in comment.
23308 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
23310         * po/da.po: Update from translation team.
23312 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
23314         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
23315         is added to the list.
23317 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23318             Ulrich Drepper  <drepper@gmail.com>
23320         * elf/dl-object.c (_dl_new_object): Don't append the new object to
23321         the global list here.  Move code to...
23322         (_dl_add_to_namespace_list): ...here.  New function.
23323         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
23324         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
23325         * elf/dl-load.c (lose): Don't remove the element from the list.
23326         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
23327         (_dl_map_object): Likewise.
23329 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
23331         [BZ #12159]
23332         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
23333         into all bytes of SSE register.
23334         Patch by Richard Li <richardpku@gmail.com>.
23336 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
23338         [BZ #12140]
23339         * malloc/malloc.c (_int_free): Fill correct number of bytes when
23340         perturbing.
23342 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
23344         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
23345         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
23346         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
23347         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
23349         submachine.
23350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
23352 2010-10-22  Andreas Schwab  <schwab@redhat.com>
23354         * include/dlfcn.h (__RTLD_SECURE): Define.
23355         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
23356         mode & __RTLD_SECURE instead.
23357         (open_path): Rename preloaded parameter to secure.
23358         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
23359         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
23360         * elf/dl-deps.c (openaux): Likewise.
23361         * elf/rtld.c (struct map_args): Remove is_preloaded.
23362         (map_doit): Don't use it.
23363         (dl_main): Likewise.
23364         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
23365         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
23367 2010-09-09  Andreas Schwab  <schwab@redhat.com>
23369         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
23370         (sysd-rules-targets): Remove duplicates.
23371         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
23372         rtld-%.$o dependency.
23374 2010-10-18  Andreas Schwab  <schwab@redhat.com>
23376         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
23377         _dl_map_object do it.
23379 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
23381         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
23382         fast fma builtins, define the macros in the C99 standard.
23383         (FP_FAST_FMAF): Likewise.
23384         (FP_FAST_FMAL): Likewise.
23385         * sysdeps/x86_64/bits/mathdef.h: Likewise.
23387         * bits/mathdef.h: Update copyright year.
23388         * sysdeps/powerpc/bits/mathdef.h: Likewise.
23390 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
23392         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
23393         builtins, define the macros in the C99 standard.
23394         (FP_FAST_FMAF): Likewise.
23395         (FP_FAST_FMAL): Likewise.
23396         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
23397         multiply/add.
23398         (FP_FAST_FMAF): Likewise.
23400 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
23402         [BZ #3268]
23403         * math/libm-test.inc (fma_test): Some new testcases.
23404         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
23405         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
23406         y and infinite z.  Do multiplication by C already in long double.
23407         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
23408         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
23409         y and infinite z.  Do bitwise or of inexact bit into u.d.
23410         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
23411         * sysdeps/i386/fpu/s_fmaf.S: Removed.
23412         * sysdeps/i386/fpu/s_fma.S: Removed.
23413         * sysdeps/i386/fpu/s_fmal.S: Removed.
23415 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
23417         [BZ #3268]
23418         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
23419         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
23420         computation is not scheduled after fetestexcept.  Fix value
23421         of minimum denormal long double.
23423 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
23425         [BZ #3268]
23426         * math/libm-test.inc (fma_test): Add some more tests.
23427         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
23428         correctly.
23430 2010-10-15  Andreas Schwab  <schwab@redhat.com>
23432         * scripts/data/localplt-s390-linux-gnu.data: New file.
23433         * scripts/data/localplt-s390x-linux-gnu.data: New file.
23435 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
23437         [BZ #3268]
23438         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
23439         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
23440         instead of dbl-64.
23441         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
23442         inlines.
23443         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
23444         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
23445         if one of x and y is very large and the other is subnormal.
23446         * sysdeps/s390/fpu/s_fmaf.c: New file.
23447         * sysdeps/s390/fpu/s_fma.c: New file.
23448         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
23449         * sysdeps/powerpc/fpu/s_fma.S: New file.
23450         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
23451         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
23452         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
23454 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
23456         [BZ #3268]
23457         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
23458         fma tests.
23459         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
23460         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
23461         * sysdeps/i386/i686/multiarch/s_fma.c: Include
23462         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
23463         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
23464         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
23465         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
23467 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
23469         [BZ #12078]
23470         * posix/regcomp.c (parse_branch): One more memory leak plugged.
23471         * posix/bug-regex31.input: Add test case.
23473 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
23475         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
23476         * posix/bug-regex31.input: New file.
23478         [BZ #12078]
23479         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
23480         (parse_sub_exp): Fix last change, use postorder.
23482         * posix/bug-regex31.c: New file.
23483         * posix/Makefile: Add rules to build and run bug-regex31.
23485         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
23487         [BZ #12078]
23488         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
23490         [BZ #12108]
23491         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
23492         to have entries in sys_siglist.
23494         [BZ #12093]
23495         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
23496         be NULL.
23498 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
23500         [BZ #3268]
23501         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
23502         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
23503         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23504         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
23505         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23506         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
23507         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
23508         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
23509         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
23510         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
23511         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
23512         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
23513         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23514         * math/ftestexcept.c (fetestexcept): Likewise.
23515         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
23516         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
23517         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23518         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
23519         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
23520         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
23521         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23523 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
23525         [BZ #12107]
23526         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
23527         newline.
23529 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
23531         * string/bug-strstr1.c: New file.
23532         * string/Makefile: Add rules to build and run bug-strstr1.
23534 2010-10-05  Eric Blake  <eblake@redhat.com>
23536         [BZ #12092]
23537         * string/str-two-way.h (two_way_long_needle): Always clear memory
23538         when skipping input due to the shift table.
23540 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
23542         [BZ #12005]
23543         * malloc/mcheck.c: Handle large requests.
23545         [BZ #12077]
23546         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
23547         for strncmp and strncasecmp.
23548         * string/stratcliff.c: Add tests for strcmp and strncmp.
23549         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
23551 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23553         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
23554         __set_fpscr.
23556 2010-09-30  Andreas Jaeger  <aj@suse.de>
23558         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
23559         (CGROUP_SUPER_MAGIC): Define.
23560         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23561         Handle btrfs and cgroup file systems.
23562         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23563         Likewise.
23565 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
23567         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
23568         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
23570 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23572         [BZ #12067]
23573         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
23574         trying to locate the ELF header.
23576 2010-09-27  Andreas Schwab  <schwab@redhat.com>
23578         [BZ #11611]
23579         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
23580         Mask out sign-bit copies when constructing f_fsid.
23582 2010-09-24  Petr Baudis <pasky@suse.cz>
23584         * debug/stack_chk_fail_local.c: Add missing licence exception.
23585         * debug/warning-nop.c: Likewise.
23587 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
23589         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
23590         implementing getdents64 using getdents syscall, set d_type if
23591         __ASSUME_GETDENTS32_D_TYPE.
23593 2010-09-16  Andreas Schwab  <schwab@redhat.com>
23595         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
23596         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
23598 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
23600         [BZ #12037]
23601         * posix/unistd.h: Undo change of feature selection for ftruncate from
23602         2010-01-11.
23604 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
23606         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
23607         detection.
23609 2010-09-20  Andreas Schwab  <schwab@redhat.com>
23611         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
23612         fanotify_mark.
23613         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23615 2010-09-14  Andreas Schwab  <schwab@redhat.com>
23617         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
23618         variables after CHECK_SP call.
23619         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
23621 2010-09-13  Andreas Schwab  <schwab@redhat.com>
23622             Ulrich Drepper  <drepper@redhat.com>
23624         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
23625         re-relocationg ld.so.
23626         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
23627         _dl_init_paths call.
23628         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
23629         here anymore.
23631 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
23633         * resolv/res_init.c (__res_vinit): Count the default server we added.
23635 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
23636             Ulrich Drepper  <drepper@redhat.com>
23638         [BZ #11968]
23639         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23640         (____longjmp_chk): Use %ebx for saving value across system call.
23641         Add unwind info.
23643 2010-09-06  Andreas Schwab  <schwab@redhat.com>
23645         * manual/Makefile: Don't mix pattern rules with normal rules.
23647 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
23649         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
23650         operation.
23651         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
23652         * libio/iofopncook.c (_IO_cookie_init): Likewise.
23653         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
23654         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23655         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23656         Likewise.
23658 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
23660         [BZ #11979]
23661         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
23662         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
23664 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
23666         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
23667         * sysdeps/x86_64/addmul_1.S: Likewise.
23668         * sysdeps/x86_64/lshift.S: Likewise.
23669         * sysdeps/x86_64/mul_1.S: Likewise.
23670         * sysdeps/x86_64/rshift.S: Likewise.
23671         * sysdeps/x86_64/sub_n.S: Likewise.
23672         * sysdeps/x86_64/submul_1.S: Likewise.
23674 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23676         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
23677         Define __sched_param instead of SCHED_* and sched_param when
23678         <bits/sched.h> is included with __need_schedparam defined.
23679         * bits/sched.h [__need_schedparam]
23680         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
23681         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
23682         (__defined_schedparam): Define to 1.
23683         (__sched_param): New structure, identical to sched_param.
23684         (__need_schedparam): Undefine.
23686 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
23688         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
23689         (epoll_create1): Declare.
23691         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
23693 2010-08-31  Andreas Schwab  <schwab@redhat.com>
23695         [BZ #7066]
23696         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
23697         shifting retval into place.
23699 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
23701         * nis/rpcsvc/nis.h: Update copyright notice.
23702         * nis/rpcsvc/nis.x: Likewise.
23703         * nis/rpcsvc/nis_callback.h: Likewise.
23704         * nis/rpcsvc/nis_callback.x: Likewise.
23705         * nis/rpcsvc/nis_object.x: Likewise.
23706         * nis/rpcsvc/nis_tags.h: Likewise.
23707         * nis/rpcsvc/yp.h: Likewise.
23708         * nis/rpcsvc/yp.x: Likewise.
23709         * nis/rpcsvc/ypupd.h: Likewise.
23710         * nis/yp_xdr.c: Likewise.
23711         * nis/ypupdate_xdr.c: Likewise.
23713         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
23714         mainly the body of pmap_getport.  Add parameters to specify timeouts.
23715         (pmap_getport): Use __libc_rpc_getport.
23716         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
23717         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
23718         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
23720 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
23722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
23723         fanotify_mark.
23725 2010-08-27  Roland McGrath  <roland@redhat.com>
23727         * sysdeps/i386/i686/multiarch/Makefile
23728         (CFLAGS-varshift.c): New variable.
23730 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
23732         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
23733         * sysdeps/i386/i686/multiarch/varshift.c: New file.
23735         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
23737         * sysdeps/x86_64/strlen.S: Minimal code improvement.
23739 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
23741         * sysdeps/x86_64/strlen.S: Unroll the loop.
23742         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23743         strlen-sse2 strlen-sse2-bsf.
23744         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
23745         __strlen_no_bsf if bit_Slow_BSF is set.
23746         (__strlen_sse42): Removed.
23747         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
23748         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
23750 2010-08-25  Roland McGrath  <roland@redhat.com>
23752         * sysdeps/x86_64/multiarch/varshift.S: File removed.
23753         * sysdeps/x86_64/multiarch/varshift.c: New file.
23754         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
23755         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
23756         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
23757         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23759 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
23761         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23762         strlen-sse2 strlen-sse2-bsf.
23763         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
23764         __strlen_sse2_bsf if bit_Slow_BSF is unset.
23765         (__strlen_sse2): Removed.
23766         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
23767         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
23768         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23769         bit_Slow_BSF for Atom.
23770         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
23771         (index_Slow_BSF): Define.
23772         (HAS_SLOW_BSF): Define.
23774 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
23776         [BZ #10851]
23777         * resolv/res_init.c (__res_vinit): When no server address at all
23778         is given default to loopback.
23780 2010-08-24  Roland McGrath  <roland@redhat.com>
23782         * configure.in: Remove config-name.h generation.
23783         * configure: Regenerated.
23784         * config-name.in: File removed.
23785         * scripts/config-uname.sh: New file.
23786         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
23787         ($(objdir)config-name.h): New target.
23789         * sunrpc/rpc_parse.h: Avoid nested comment.
23791 2010-08-24  Richard Henderson  <rth@redhat.com>
23792             Ulrich Drepper  <drepper@redhat.com>
23793             H.J. Lu  <hongjiu.lu@intel.com>
23795         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
23796         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
23797         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
23798         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
23799         _mm_alignr_epi8 with _mm_loadu_si128.
23800         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
23801         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
23802         (__m128i_shift_right): Removed.
23803         * sysdeps/i386/i686/multiarch/varshift.h: New file.
23804         * sysdeps/i386/i686/multiarch/varshift.S: New file.
23805         * sysdeps/x86_64/multiarch/varshift.h: New file.
23806         * sysdeps/x86_64/multiarch/varshift.S: New file.
23808 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
23810         * configure.in: Move assembler checks to before sysdep dir checking.
23812 2010-08-20  Petr Baudis  <pasky@suse.cz>
23814         * LICENSES: Sync the sunrpc license.
23816 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
23818         * sunrpc/auth_des.c: Update copyright notice once again.
23819         * sunrpc/auth_none.c: Likewise.
23820         * sunrpc/auth_unix.c: Likewise.
23821         * sunrpc/authdes_prot.c: Likewise.
23822         * sunrpc/authuxprot.c: Likewise.
23823         * sunrpc/bindrsvprt.c: Likewise.
23824         * sunrpc/clnt_gen.c: Likewise.
23825         * sunrpc/clnt_perr.c: Likewise.
23826         * sunrpc/clnt_raw.c: Likewise.
23827         * sunrpc/clnt_simp.c: Likewise.
23828         * sunrpc/clnt_tcp.c: Likewise.
23829         * sunrpc/clnt_udp.c: Likewise.
23830         * sunrpc/clnt_unix.c: Likewise.
23831         * sunrpc/des_crypt.c: Likewise.
23832         * sunrpc/des_soft.c: Likewise.
23833         * sunrpc/get_myaddr.c: Likewise.
23834         * sunrpc/getrpcport.c: Likewise.
23835         * sunrpc/key_call.c: Likewise.
23836         * sunrpc/key_prot.c: Likewise.
23837         * sunrpc/openchild.c: Likewise.
23838         * sunrpc/pm_getmaps.c: Likewise.
23839         * sunrpc/pm_getport.c: Likewise.
23840         * sunrpc/pmap_clnt.c: Likewise.
23841         * sunrpc/pmap_prot.c: Likewise.
23842         * sunrpc/pmap_prot2.c: Likewise.
23843         * sunrpc/pmap_rmt.c: Likewise.
23844         * sunrpc/rpc/auth.h: Likewise.
23845         * sunrpc/rpc/auth_unix.h: Likewise.
23846         * sunrpc/rpc/clnt.h: Likewise.
23847         * sunrpc/rpc/des_crypt.h: Likewise.
23848         * sunrpc/rpc/key_prot.h: Likewise.
23849         * sunrpc/rpc/netdb.h: Likewise.
23850         * sunrpc/rpc/pmap_clnt.h: Likewise.
23851         * sunrpc/rpc/pmap_prot.h: Likewise.
23852         * sunrpc/rpc/pmap_rmt.h: Likewise.
23853         * sunrpc/rpc/rpc.h: Likewise.
23854         * sunrpc/rpc/rpc_des.h: Likewise.
23855         * sunrpc/rpc/rpc_msg.h: Likewise.
23856         * sunrpc/rpc/svc.h: Likewise.
23857         * sunrpc/rpc/svc_auth.h: Likewise.
23858         * sunrpc/rpc/types.h: Likewise.
23859         * sunrpc/rpc/xdr.h: Likewise.
23860         * sunrpc/rpc_clntout.c: Likewise.
23861         * sunrpc/rpc_cmsg.c: Likewise.
23862         * sunrpc/rpc_common.c: Likewise.
23863         * sunrpc/rpc_cout.c: Likewise.
23864         * sunrpc/rpc_dtable.c: Likewise.
23865         * sunrpc/rpc_hout.c: Likewise.
23866         * sunrpc/rpc_main.c: Likewise.
23867         * sunrpc/rpc_parse.c: Likewise.
23868         * sunrpc/rpc_parse.h: Likewise.
23869         * sunrpc/rpc_prot.c: Likewise.
23870         * sunrpc/rpc_sample.c: Likewise.
23871         * sunrpc/rpc_scan.c: Likewise.
23872         * sunrpc/rpc_scan.h: Likewise.
23873         * sunrpc/rpc_svcout.c: Likewise.
23874         * sunrpc/rpc_tblout.c: Likewise.
23875         * sunrpc/rpc_util.c: Likewise.
23876         * sunrpc/rpc_util.h: Likewise.
23877         * sunrpc/rpcinfo.c: Likewise.
23878         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
23879         * sunrpc/rpcsvc/key_prot.x: Likewise.
23880         * sunrpc/rpcsvc/klm_prot.x: Likewise.
23881         * sunrpc/rpcsvc/mount.x: Likewise.
23882         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
23883         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
23884         * sunrpc/rpcsvc/rex.x: Likewise.
23885         * sunrpc/rpcsvc/rstat.x: Likewise.
23886         * sunrpc/rpcsvc/rusers.x: Likewise.
23887         * sunrpc/rpcsvc/sm_inter.x: Likewise.
23888         * sunrpc/rpcsvc/spray.x: Likewise.
23889         * sunrpc/rpcsvc/yppasswd.x: Likewise.
23890         * sunrpc/rtime.c: Likewise.
23891         * sunrpc/svc.c: Likewise.
23892         * sunrpc/svc_auth.c: Likewise.
23893         * sunrpc/svc_authux.c: Likewise.
23894         * sunrpc/svc_raw.c: Likewise.
23895         * sunrpc/svc_run.c: Likewise.
23896         * sunrpc/svc_simple.c: Likewise.
23897         * sunrpc/svc_tcp.c: Likewise.
23898         * sunrpc/svc_udp.c: Likewise.
23899         * sunrpc/svc_unix.c: Likewise.
23900         * sunrpc/svcauth_des.c: Likewise.
23901         * sunrpc/xcrypt.c: Likewise.
23902         * sunrpc/xdr.c: Likewise.
23903         * sunrpc/xdr_array.c: Likewise.
23904         * sunrpc/xdr_float.c: Likewise.
23905         * sunrpc/xdr_mem.c: Likewise.
23906         * sunrpc/xdr_rec.c: Likewise.
23907         * sunrpc/xdr_ref.c: Likewise.
23908         * sunrpc/xdr_sizeof.c: Likewise.
23909         * sunrpc/xdr_stdio.c: Likewise.
23911         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
23912         handling.
23914 2010-08-19  Andreas Schwab  <schwab@redhat.com>
23916         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
23918 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
23920         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
23921         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
23922         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
23923         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
23924         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
23925         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
23926         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
23927         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
23928         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
23929         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
23930         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
23931         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
23932         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
23933         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
23935 2010-07-26  Anton Blanchard  <anton@samba.org>
23937         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
23938         * malloc/arena.c (heap_trim): Likewise.
23940 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
23942         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
23943         here.  Not...
23944         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
23945         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
23947 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
23949         * sysdeps/i386/elf/Makefile: New file.
23951 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
23953         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
23954         from fanotify_init.
23955         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
23956         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23958 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
23960         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
23961         of strncasecmp_l.
23962         * sysdeps/multiarch/strcmp.S: Likewise.
23964 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
23966         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23967         strncase_l-nonascii.
23968         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23969         Add strncase_l-ssse3.
23970         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
23971         * sysdeps/x86_64/strcmp.S: Likewise.
23972         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
23973         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
23974         * sysdeps/x86_64/strncase.S: New file.
23975         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
23976         * sysdeps/x86_64/strncase_l.S: New file.
23977         * string/Makefile (strop-tests): Add strncasecmp.
23978         * string/test-strncasecmp.c: New file.
23980         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
23981         warning.
23983         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
23984         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
23986 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
23988         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
23990 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
23992         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
23993         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
23994         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
23996 2010-05-01  Alan Modra  <amodra@gmail.com>
23998         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
23999         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
24000         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
24001         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
24002         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
24003         tidying.  Don't tail-call __sigjmp_save for static lib.
24004         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
24005         save location.
24006         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
24007         (CALL_MCOUNT): Add eh info, and nop after bl.
24008         (TAIL_CALL_SYSCALL_ERROR): New macro.
24009         (PSEUDO_RET): Use it.
24010         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24011         Correct save location of integer regs and cr.
24012         (_dl_profile_resolve): Correct cr save location.  Delete nops
24013         after bl when SHARED.  Reduce cfi size a little by better
24014         placement of cfi directives.
24015         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
24016         make a stack frame.  Instead use parm save area as a temp.
24017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
24018         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
24019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24020         Don't make a stack frame for parent, use parm save area.
24021         Increase child stack frame to 112 bytes.  Don't save unused reg,
24022         and adjust reg usage.  Set up cfi on error recovery and
24023         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
24024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24025         (__makecontext): Add dummy nop after jump to exit.
24026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
24027         Use correct parm save area and cr save, reduce stack frame.
24028         Correct cfi for possible PSEUDO_RET frame setup.
24029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
24030         Branch to local label emitted by PSEUDO_RET rather than
24031         __syscall_error.
24033 2010-08-12  Andreas Schwab  <schwab@redhat.com>
24035         [BZ #11904]
24036         * locale/programs/locale.c (print_assignment): New function.
24037         (show_locale_vars): Use it.
24039 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
24041         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
24042         field.
24043         (struct statfs64): Likewise.
24044         (_STATFS_F_FLAGS): Define.
24045         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
24046         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24047         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
24048         (ST_VALID): Define locally.
24049         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
24050         __statvfs_getflags, use the provided value.
24051         * sysdeps/unix/sysv/linux/kernel-features.h: Define
24052         __ASSUME_STATFS_F_FLAGS.
24054         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
24056         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
24057         Add sys/fanotify.h.
24058         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
24059         fanotify_mask for GLIBC_2.13.
24060         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
24061         fanotify_init and fanotify_mark.
24062         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24063         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
24065         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
24066         Add prlimit.
24067         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
24068         prlimit64 for GLIBC_2.13.
24069         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
24070         prlimit64.
24071         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
24072         syscall.
24073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
24074         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24075         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
24076         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
24077         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
24078         add prlimit alias.
24079         * sysdeps/unix/sysv/linux/prlimit.c: New file.
24081         [BZ #11903]
24082         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
24083         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
24085         * nss/Makefile: Add rules to build and run tst-nss-test1.
24086         * shlib-versions: Add entry for libnss_test1.
24087         * nss/nss_test1.c: New file.
24088         * nss/tst-nss-test1.c: New file.
24090         * nss/nsswitch.c (__nss_database_custom): Define new variable.
24091         (__nss_configure_lookup): Set appropriate entry in
24092         __nss_configure_lookup to true.
24093         * nss/nsswitch.h: Define enum with indeces of databases in
24094         databases and __nss_database_custom arrays.  Declare
24095         __nss_database_custom.
24096         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
24097         to avoid using nscd when custom rules are installed.
24098         * nss/getXXbyYY_r.c: Likewise.
24099         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24101         * nss/nss_files/files-parse.c: Whitespace fixes.
24103 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
24105         [BZ #11883]
24106         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
24107         * posix/fnmatch_loop.c: Likewise.
24109 2010-07-17  Andi Kleen  <ak@linux.intel.com>
24111         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
24112         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
24113         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
24114         * Versions.def [GLIBC_2.13]: Add.
24116 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
24118         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24119         Also fail if tpwd after pwuid call is NULL.
24121 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24123         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
24124         when converting to ms.
24126 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24128         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
24129         EOPNOTSUPP errors with ENOTTY.
24130         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
24131         EOPNOTSUPP errors with ENOTTY.
24133 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
24135         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24136         Add strcasecmp_l-ssse3.
24137         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
24138         strcasecmp.
24139         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
24140         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
24141         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
24143 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
24145         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
24147         * string/Makefile (strop-tests): Add strcasecmp.
24148         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24149         strcasecmp_l-nonascii.
24150         (gen-as-const-headers): Add locale-defines.sym.
24151         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
24152         * sysdeps/x86_64/strcasecmp.S: New file.
24153         * sysdeps/x86_64/strcasecmp_l.S: New file.
24154         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
24155         * sysdeps/x86_64/locale-defines.sym: New file.
24156         * string/test-strcasecmp.c: New file.
24158         * string/test-strcasestr.c: Test both ends of the range of characters.
24159         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
24161 2010-07-29  Roland McGrath  <roland@redhat.com>
24163         [BZ #11856]
24164         * manual/locale.texi (Yes-or-No Questions): Fix example code.
24166 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
24168         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
24169         for ld.so.
24171 2010-07-27  Andreas Schwab  <schwab@redhat.com>
24173         * manual/memory.texi (Malloc Tunable Parameters): Document
24174         M_PERTURB.
24176 2010-07-26  Roland McGrath  <roland@redhat.com>
24178         [BZ #11840]
24179         * configure.in (-fgnu89-inline check): Set and substitute
24180         gnu89_inline, not libc_cv_gnu89_inline.
24181         * configure: Regenerated.
24182         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
24184 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
24186         * string/test-strnlen.c: New file.
24187         * string/Makefile (strop-tests): Add strnlen.
24188         * string/tester.c (test_strnlen): Add a few more test cases.
24189         * string/tst-strlen.c: Better error reporting.
24191         * sysdeps/x86_64/strnlen.S: New file.
24193 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
24195         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
24196         lower-latency instructions.
24198 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
24200         * string/test-strcasestr.c: New file.
24201         * string/test-strstr.c: New file.
24202         * string/Makefile (strop-tests): Add strstr and strcasestr.
24203         * string/str-two-way.h: Don't undefine MAX.
24204         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
24206 2010-07-21  Andreas Schwab  <schwab@redhat.com>
24208         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24209         strcasestr-nonascii.
24210         (CFLAGS-strcasestr-nonascii.c): Define.
24211         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
24212         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
24213         Remove unused attribute.
24215 2010-07-20  Roland McGrath  <roland@redhat.com>
24217         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
24218         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
24219         ld.so.cache was broken.  With it, there is no way to disable dsocaps
24220         like LD_HWCAP_MASK can disable hwcaps.
24222 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
24224         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
24226 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
24228         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
24229         call in strcasestr.
24230         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
24231         __strcasestr_sse42_nonascii.
24232         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
24233         strcasestr-nonascii.c.
24234         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
24236 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
24238         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
24239         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
24240         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
24241         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
24243 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
24245         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
24246         fcntl.
24248 2010-07-06  Andreas Schwab  <schwab@redhat.com>
24250         [BZ #11577]
24251         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
24252         dl_signal_cerror.
24254 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
24256         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
24257         _PC_PIPE_BUF using F_GETPIPE_SZ.
24259 2010-07-05  Roland McGrath  <roland@redhat.com>
24261         * manual/arith.texi (Rounding Functions): Fix rint description
24262         implicit in round description.
24264 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
24266         * elf/Makefile: Fix linking for a few tests to make recent linker
24267         happy.
24269 2010-06-30  Andreas Schwab  <schwab@redhat.com>
24271         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24272         $(common-objpfx)libc_nonshared.a.
24274 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
24276         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
24277         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
24278         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24279         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24280         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
24281         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
24282         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24283         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
24285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
24286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
24287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
24289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
24291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
24292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
24293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
24294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
24296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
24298         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
24299         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
24300         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
24301         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
24302         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
24303         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
24304         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
24305         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
24306         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
24307         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
24308         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
24309         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
24310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
24311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
24312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
24313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
24314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
24315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
24316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
24317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
24318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
24319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
24320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
24321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
24322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
24323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
24325 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
24327         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
24328         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
24329         * string/memmove.c (memmove): Renamed to ...
24330         (MEMMOVE): ...this.  Default to memmove.
24331         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
24332         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
24333         (END_CHK): Define.
24334         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24335         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
24336         mempcpy-ssse3-back memmove-ssse3-back.
24337         * sysdeps/x86_64/multiarch/bcopy.S: New file .
24338         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
24339         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
24340         * sysdeps/x86_64/multiarch/memcpy.S: New file.
24341         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
24342         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
24343         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
24344         * sysdeps/x86_64/multiarch/memmove.c: New file.
24345         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
24346         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
24347         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
24348         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
24349         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
24350         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
24351         Define.
24352         (index_Fast_Copy_Backward): Define.
24353         (HAS_ARCH_FEATURE): Define.
24354         (HAS_FAST_REP_STRING): Define.
24355         (HAS_FAST_COPY_BACKWARD): Define.
24357 2010-06-21  Andreas Schwab  <schwab@redhat.com>
24359         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24360         Restore proper fallback handling.
24362 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
24364         [BZ #11701]
24365         * posix/group_member.c (__group_member): Correct checking loop.
24367         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
24368         OOM in getpwuid_r correctly.  Return error number when the caller
24369         should return, otherwise -1.
24370         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
24371         call returning > 0 value.
24372         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
24374 2010-06-07  Andreas Schwab  <schwab@redhat.com>
24376         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
24377         libc_nonshared.a from targets in modules-names.
24379 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
24381         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
24382         requires it.
24384 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
24386         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
24387         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
24388         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
24389         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
24391 2010-06-02  Andreas Schwab  <schwab@redhat.com>
24393         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
24395 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
24397         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
24398         and F_GETPIPE_SZ.
24399         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24400         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24401         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24402         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24403         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24404         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
24406 2010-06-14  Roland McGrath  <roland@redhat.com>
24408         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
24410 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
24412         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
24413         __REDIRECT followed by __THROW.
24414         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
24415         * posix/getopt.h (getopt): Likewise.
24417 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
24419         * hurd/lookup-at.c (__file_name_lookup_at): Accept
24420         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
24421         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
24422         in AT_FLAGS.
24423         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
24424         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
24426 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
24428         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
24430 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
24432         [BZ #11640]
24433         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24434         Properly check family and model.
24436 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
24438         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
24440 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
24442         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
24444 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
24446         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
24447         symbol reference.
24449 2010-05-19  Andreas Schwab  <schwab@redhat.com>
24451         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
24452         symbol reference.
24454 2010-05-21  Andreas Schwab  <schwab@redhat.com>
24456         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
24457         and internal_recvmmsg.
24458         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
24459         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
24460         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
24461         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
24463         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
24464         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24465         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24467 2010-05-20  Andreas Schwab  <schwab@redhat.com>
24469         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
24471 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
24473         POWER7 optimizations.
24474         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
24475         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
24477 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
24479         * version.h: Update for 2.13 development version.
24481 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
24483         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
24484         exceptions.  Return 0.
24486 2010-05-07  Roland McGrath  <roland@redhat.com>
24488         * elf/ldconfig.c (main): Add a const.
24490 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
24492         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
24493         (args_options): Add no-idn option.
24494         (ahosts_keys_int): Add idn_flags to ai_flags.
24495         (parse_option): Handle 'i' option to clear idn_flags.
24497         * malloc/malloc.c (_int_free): Possible race in the most recently
24498         added check.  Only act on the data if no current modification
24499         happened.
24501 See ChangeLog.17 for earlier changes.