AArch64: Implement optimized memset.
[glibc.git] / ChangeLog
blob885176aed4323c7e041cb7a373ec86574fca1998
1 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
5 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
7         * elf/elf.h (R_386_SIZE32): New relocation.
8         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9         R_386_SIZE32.
10         (elf_machine_rela): Likewise.
11         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12         R_X86_64_SIZE64 and R_X86_64_SIZE32.
14 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
16         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
17         (FP_FAST_FMA): Do not define.
18         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
21         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
22         !_SOFT_FLOAT]: Likewise.
23         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25         value.
26         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
27         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
28         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
29         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
30         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
31         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32         file.
34 2013-01-16  Andreas Schwab  <schwab@suse.de>
36         [BZ #14327]
37         * include/stdlib.h (__mktemp): Add declaration.
38         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
39         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
41 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
44         definitions.
45         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
46         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
47         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
48         definitions here.
49         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
50         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
51         definitions.
52         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
53         and ONE.
54         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
55         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
56         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
57         definitions.
58         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
59         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
60         definitions.
61         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
63         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
65 2013-01-15  David S. Miller  <davem@davemloft.net>
67         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
68         trunc{,f} to libm-sysdep_routes.
69         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
70         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
71         file.
72         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
73         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
74         file.
75         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
76         file.
77         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
78         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
79         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
80         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
81         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
82         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
83         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
84         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
86         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
87         nearbyint{,f} to libm-sysdep_routes.
88         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
89         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
90         New file.
91         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
92         file.
93         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
94         New file.
95         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
96         file.
97         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
98         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
99         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
100         file.
101         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
102         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
103         file.
104         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
105         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
106         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
108         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
109         libc_feholdexcept and libc_fesetenv.
111 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
113         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
115 2013-01-14  David S. Miller  <davem@davemloft.net>
117         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
118         (SPARC_ASM_VIS2_IFUNC): Likewise.
119         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
121         use of 'siam' instruction.
122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
123         Likewise.
124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
125         Likewise.
126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
127         Likewise.
128         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
129         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
130         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
131         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
133         file.
134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
135         file.
136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
137         file.
138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
139         file.
140         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
141         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
142         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
143         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
145         new VIS2 routines.
146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
149         Likewise.
150         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
151         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
152         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
153         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
155         routines to libm-sysdep_routines.
156         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
159         fdim/fdimf to libm-sysdep_routines.
160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
161         file.
162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
164         file.
165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
166         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
167         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
168         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
169         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
170         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
171         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
173 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
175         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
176         to optimize copies.
178         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
179         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
180         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
182         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
183         local variable MPTWO.
184         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
185         Likewise.
187 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
189         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
190         GLOB_NOESCAPE.
192 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
194         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
196 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
198         * manual/pattern.texi (glob_t): Document gl_flags.
199         (glob64_t): Likewise.
201 2013-01-11  David S. Miller  <davem@davemloft.net>
203         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
204         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
205         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
206         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
207         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
208         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
209         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
210         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
211         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
212         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
213         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
214         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
215         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
217         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
218         sparc V9 rather than using V8 code.
219         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
220         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
222         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
223         Move to...
224         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
225         Here.
227 2013-01-11  Roland McGrath  <roland@hack.frob.com>
229         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
230         not in the main loop.
231         * configure: Regenerated.
233 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
235         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
236         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
237         to just #else.
238         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
239         [!__GLIBC_HAVE_LONG_LONG] case.
240         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
241         condition to just #else.
242         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
243         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
244         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
245         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
246         unconditional.
247         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
248         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
249         #elif condition to just #else.
250         * sysdeps/unix/sysv/linux/sys/sysmacros.h
251         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
252         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
253         #elif condition to just #else.
255 2013-01-11  Steve Ellcey  <sellcey@mips.com>
257         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
258         (EF_MIPS_ARCH_64): Fix value.
259         (EF_MIPS_ARCH_32R2): New.
260         (EF_MIPS_ARCH_64R2): New.
262 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
264         * Makeconfig (+link-pie-before-libc): New.
265         (+link-pie-after-libc): Likewise.
266         (+link-pie-tests): Likewise.
267         (+link-pie): Rewritten.
268         (link-before-libc): Remove $(config-LDFLAGS).
269         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
270         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
271         (config-LDFLAGS): Renamed to ...
272         (rtld-LDFLAGS): This.
273         (rtld-tests-LDFLAGS): New macro.
274         (link-libc-rpath-link): Likewise.
275         (link-libc-tests-rpath-link): Likewise.
276         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
277         (link-libc): Prepand $(link-libc-rpath-link).
278         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
279         (test-program-prefix): New macro.
280         (test-via-rtld-prefix): Likewise.
281         (test-program-cmd): Likewise.
282         (host-test-program-cmd): Likewise.
283         * Makefile ($(common-objpfx)testrun.sh): Replace
284         $(run-program-prefix) with $(test-program-prefix).
285         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
286         $(rtld-LDFLAGS).
287         ($(common-objpfx)shlib.lds): Likewise.
288         (build-module-helper): Likewise.
289         ($(common-objpfx)format.lds): Likewise.
290         * Rules (binaries-pie-tests): New.
291         (binaries-pie-notests): Likewise.
292         (binaries-pie): Rewritten.
293         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
294         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
295         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
296         (make-test-out): Replace $(host-built-program-cmd) with
297         $(host-test-program-cmd).
298         * config.make.in (build-hardcoded-path-in-tests): New variable.
299         * configure.in (--enable-hardcoded-path-in-tests): New configure
300         option.
301         (hardcoded_path_in_tests): New AC_SUBST.
302         * configure: Regenerated.
303         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
304         $(built-program-cmd) with $(test-program-cmd).
305         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
306         (test_program_cmd): This.
307         * elf/Makefile ($(objpfx)order.out): Run test with
308         $(test-program-prefix).
309         ($(objpfx)order2.out): Likewise.
310         ($(objpfx)tst-initorder.out): Likewise.
311         ($(objpfx)tst-initorder2.out): Likewise.
312         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
313         $(test-program-cmd).
314         ($(objpfx)tst-array1-static.out): Likewise.
315         ($(objpfx)tst-array2.out): Likewise.
316         ($(objpfx)tst-array3.out): Likewise.
317         ($(objpfx)tst-array4.out): Likewise.
318         ($(objpfx)tst-array5.out): Likewise.
319         ($(objpfx)tst-array5-static.out): Likewise.
320         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
321         $(test-program-cmd).
322         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
323         $(run-program-prefix) with $(test-program-prefix).
324         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
325         (test_program_prefix): This.
326         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
327         $(run-program-prefix) with $(test-program-prefix).
328         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
329         (test_program_prefix): This.
330         * iconvdata/tst-tables.sh: Likewise.
331         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
332         $(run-program-prefix) with $(test-program-prefix).
333         ($(objpfx)tst-translit.out): Likewise.
334         ($(objpfx)tst-gettext2.out): Likewise.
335         ($(objpfx)tst-gettext4.out): Likewise.
336         ($(objpfx)tst-gettext6.out): Likewise.
337         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
338         (test_program_prefix): This.
339         * intl/tst-gettext2.sh: Likewise.
340         * intl/tst-gettext4.sh  Likewise.
341         * intl/tst-gettext6.sh: Likewise.
342         * intl/tst-translit.sh: Likewise.
343         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
344         with $(test-program-cmd).
345         * libio/Makefile ($(objpfx)test-freopen.out): Replace
346         $(run-program-prefix) with $(test-program-prefix).
347         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
348         (test_program_prefix): This.
349         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
350         $(run-program-prefix) with $(test-program-prefix).
351         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
352         (test_program_prefix): This.
353         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
354         * posix/Makefile ($(objpfx)globtest.out): Replace
355         $(run-via-rtld-prefix) and $(test-wrapper) with
356         $(test-program-prefix) and $(test-via-rtld-prefix).
357         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
358         $(test-program-prefix).
359         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
360         $(host-test-program-cmd).
361         (tst-spawn-ARGS): Likewise.
362         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
363         $(test-program-prefix).
364         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
365         (test_via_rtld_prefix): This.
366         (test_wrapper): Renamed to ...
367         (test_program_prefix): This.
368         (run_program_prefix): Replaced by test_program_prefix.
369         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
370         (test_program_prefix): This.
371         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
372         with $(host-test-program-cmd).
373         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
374         $(run-program-prefix) with $(test-program-prefix).
375         ($(objpfx)tst-printf.out): Likewise.
376         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
377         $(test-program-cmd).
378         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
379         (test_program_prefix): This.
380         * stdio-common/tst-unbputc.sh: Likewise.
381         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
382         $(run-program-prefix) with $(test-program-prefix).
383         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
384         (test_program_prefix): This.
385         * string/Makefile ($(objpfx)tst-svc.out):  Replace
386         $(built-program-cmd) with $(test-program-cmd).
388 2013-01-11  Andreas Jaeger  <aj@suse.de>
390         [BZ #15003]
391         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
392         value. Sync with Linux 3.7.
394 2013-01-10  David S. Miller  <davem@davemloft.net>
396         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
397         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
398         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
400 2013-01-10  Roland McGrath  <roland@hack.frob.com>
402         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
403         never set.
404         * configure: Regenerated.
406 2013-01-10  David S. Miller  <davem@davemloft.net>
408         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
409         sparc V9 rather than using V8 code.
410         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
411         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
413 2013-01-10  Roland McGrath  <roland@hack.frob.com>
415         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
416         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
417         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
418         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
419         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
420         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
421         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
422         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
423         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
424         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
425         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
426         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
427         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
428         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
429         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
430         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
431         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
432         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
433         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
434         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
435         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
436         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
437         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
438         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
439         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
440         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
441         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
443 2013-01-10  David S. Miller  <davem@davemloft.net>
445         * sysdeps/sparc/fpu/libm-test-ulps: Update.
447 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
449         * posix/Makefile (tests-static): New variable.
450         (tests): Add $(tests-static).
451         (tst-exec-static-ARGS): New variable.
452         (tst-spawn-static-ARGS): Likewise.
453         * posix/tst-exec-static.c: New file.
454         * posix/tst-spawn-static.c: Likewise.
455         * posix/tst-exec.c: Support run directly.
456         * posix/tst-spawn.c: Likewise.
458 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
460         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
461         long.
462         * math/bits/mathcalls.h (llrint): Likewise.
463         (llround): Likewise.
464         * stdlib/stdlib.h (struct drand48_data): Likewise.
465         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
466         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
467         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
468         Likewise.
469         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
470         Likewise.
471         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
472         (elf_greg_t): Likewise.
473         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
474         (__jmp_buf): Likewise.
475         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
476         definitions.
477         (llrint): Likewise, for all definitions.
478         (llrintl): Likewise.
480         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
481         Remove [__GNUC__] condition.
482         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
483         condition to just [__USE_ISOC99].
484         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
486 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
488         [BZ #14200]
489         * sysdeps/unix/sysv/linux/x86/bits/environments.h
490         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
491         defined.
492         (_POSIX_V6_ILP32_OFF32): Likewise.
493         (_XBS5_ILP32_OFF32): Likewise.
494         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
495         (__ILP32_OFFBIG_LDFLAGS): Likewise.
497 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
499         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
501         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
502         doubles __mpexp_twomm1.  Adjust usage.
503         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
504         Remove.
506 2013-01-10  Andreas Schwab  <schwab@suse.de>
508         [BZ #14964]
509         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
510         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
512 2013-01-09  David S. Miller  <davem@davemloft.net>
514         [BZ #15003]
515         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
516         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
517         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
518         TCP_FASTOPEN): Define.
519         (tcp_repair_opt): New structure.
520         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
521         enum values.
522         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
523         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
524         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
525         (tcp_cookie_transactions): New structure.
527 2013-01-09  Anton Blanchard  <anton@samba.org>
529         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
530         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
531         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
532         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
534 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
536         * include/features.h (__USE_ANSI): Remove.
538 2013-01-09  Roland McGrath  <roland@hack.frob.com>
540         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
542         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
544 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
546         * sysdeps/s390/fpu/libm-test-ulps: Update.
548         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
550         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
551         (__acr): Likewise.
552         (__cpy): Likewise.
553         (norm): Likewise.
554         (denorm): Likewise.
555         (__mp_dbl): Likewise.
556         (__dbl_mp): Likewise.
557         (add_magnitudes): Likewise.
558         (sub_magnitudes): Likewise.
559         (__add): Likewise.
560         (__sub): Likewise.
561         (__mul): Likewise.
562         (__inv): Likewise.
563         (__dvd): Likewise.
564         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
565         (__acr): Likewise.
566         (__cpy): Likewise.
567         (norm): Likewise.
568         (denorm): Likewise.
569         (__mp_dbl): Likewise.
570         (__dbl_mp): Likewise.
571         (add_magnitudes): Likewise.
572         (sub_magnitudes): Likewise.
573         (__add): Likewise.
574         (__sub): Likewise.
575         (__mul): Likewise.
576         (__inv): Likewise.
577         (__dvd): Likewise.
578         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
579         (__acr): Likewise.
580         (__cpy): Likewise.
581         (norm): Likewise.
582         (denorm): Likewise.
583         (__mp_dbl): Likewise.
584         (__dbl_mp): Likewise.
585         (add_magnitudes): Likewise.
586         (sub_magnitudes): Likewise.
587         (__add): Likewise.
588         (__sub): Likewise.
589         (__mul): Likewise.
590         (__inv): Likewise.
591         (__dvd): Likewise.
593 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
595         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
596         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
597         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
598         2 && __USE_EXTERN_INLINES]: Likewise.
600 2013-01-08  Andreas Jaeger  <aj@suse.de>
602         [BZ# 14985]
603         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
604         Remove.
605         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
606         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
608 2013-01-07  Anton Blanchard  <anton@samba.org>
610         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
611         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
612         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
613         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
614         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
615         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
616         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
617         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
618         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
619         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
620         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
621         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
622         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
623         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
624         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
625         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
626         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
627         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
628         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
629         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
630         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
631         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
632         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
633         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
634         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
635         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
636         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
637         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
638         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
639         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
640         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
641         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
642         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
643         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
644         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
645         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
646         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
647         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
648         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
649         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
650         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
651         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
652         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
654 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
656         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
657         (__MALLOC_PMT): Likewise.
658         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
659         [__GNUC__], only on [_LIBC].
660         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
661         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
662         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
663         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
664         forward declaration.
665         (realloc_hook_ini): Likewise.
666         (memalign_hook_ini): Likewise.
667         (__libc_memalign): Do not use __MALLOC_PMT in variable
668         declaration.
669         (__libc_valloc): Likewise.
670         (__libc_pvalloc): Likewise.
671         (__libc_calloc): Likewise.
672         (__posix_memalign): Likewise.
674         [BZ #14996]
675         * math/s_casinh.c: Include <float.h>.
676         (__casinh): Do not do computation with squaring and square root
677         for large arguments.
678         * math/s_casinhf.c: Include <float.h>.
679         (__casinhf): Do not do computation with squaring and square root
680         for large arguments.
681         * math/s_casinhl.c: Include <float.h>.
682         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
683         (__casinhl): Do not do computation with squaring and square root
684         for large arguments.
685         * math/libm-test.inc (casin_test): Add more tests.
686         (casinh_test): Likewise.
687         * sysdeps/i386/fpu/libm-test-ulps: Update.
688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
690 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
692         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
693         (__x86_64_raw_data_cache_size): Likewise.
694         (__x86_64_data_cache_size_half): Likewise.
695         (__x86_64_raw_data_cache_size_half): Likewise.
696         (__x86_64_shared_cache_size): Likewise.
697         (__x86_64_raw_shared_cache_size): Likewise.
698         (__x86_64_shared_cache_size_half): Likewise.
699         (__x86_64_raw_shared_cache_size_half): Likewise.
700         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
701         to ...
702         (__x86_data_cache_size): This.
703         (__x86_64_raw_data_cache_size): Renamed to ...
704         (__x86_raw_data_cache_size): This.
705         (__x86_64_data_cache_size_half): Renamed to ...
706         (__x86_data_cache_size_half): This.
707         (__x86_64_raw_data_cache_size_half): Renamed to ...
708         (__x86_raw_data_cache_size_half): This.
709         (__x86_64_shared_cache_size): Renamed to ...
710         (__x86_shared_cache_size): This.
711         (__x86_64_raw_shared_cache_size): Renamed to ...
712         (__x86_raw_shared_cache_size): This.
713         (__x86_64_shared_cache_size_half): Renamed to ...
714         (__x86_shared_cache_size_half): This.
715         (__x86_64_raw_shared_cache_size_half): Renamed to ...
716         (__x86_raw_shared_cache_size_half): This.
717         * sysdeps/x86_64/memcpy.S: Updated.
718         * sysdeps/x86_64/memset.S: Likewise.
719         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
720         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
721         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
723 2013-01-04  David S. Miller  <davem@davemloft.net>
725         * sysdeps/sparc/fpu/libm-test-ulps: Update.
727 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
729         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
730         1 to avoid redefinition warning.
731         (__USE_GNU): Don't define.
732         (init_signaling_nan): Protoize.
734         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
736 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
738         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
739         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
740         (__cpymn): Likewise.
741         (norm): Remove commented code.
742         (denorm): Likewise.
743         (__mp_dbl): Likewise.
744         (__inv): Likewise.
745         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
746         (__cpymn): Likewise.
747         (norm): Remove commented code.
748         (denorm): Likewise.
749         (__mp_dbl): Likewise.
750         (__inv): Likewise.
752         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
753         mp_no value for 1.0 and 2.0.
754         (norm): Use RADIXI instead of radixi.d.
755         (denorm): Likewise.
756         (__mul): Use 0.0 instead of zero.d.
757         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
758         mp_no value for 1.0 and 2.0.
759         (norm): Use RADIXI instead of radixi.d.
760         (denorm): Likewise.
761         (__mul): Use 0.0 instead of zero.d.
763 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
765         [BZ #14994]
766         * math/s_casinh.c (__casinh): Reduce finite argument to first
767         quadrant then set signs of results at the end.
768         * math/s_casinhf.c (__casinhf): Likewise.
769         * math/s_casinhl.c (__casinhl): Likewise.
770         * math/libm-test.inc (casin_test): Add more tests.
771         (casinh_test): Likewise.
772         * sysdeps/i386/fpu/libm-test-ulps: Update.
773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
775 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
777         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
779         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
781         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
782         declarations.
783         (denorm): Likewise.
784         (__mp_dbl): Likewise.
785         (__inv): Likewise.
787         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
788         and adjust the header comment.
790         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
791         variable name from declaration.
793 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
795         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
796         Initialize COMMON_CPUID_INDEX_7 element.
797         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
798         (CPUID_RTM): Likewise.
799         (HAS_RTM): Likewise.
800         (COMMON_CPUID_INDEX_7): New enum.
802 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
804         [BZ #14981]
805         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
806         size is zero, record memory as freed.
808 2013-01-03  Andreas Jaeger  <aj@suse.de>
810         * po/ia.po: Add new Interlingua translation.
812 2012-01-03  Allan McRae  <allan@archlinux.org>
814         * locale/programs/localedef.c: Fix description of '--posix' flag.
816 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
818         * NEWS: Update dates in second copyright notice.
819         * README: Update copyright dates in example.
820         * manual/libc.texinfo: Update copyright dates.
821         * scripts/test-installation.pl: Update copyright date in --version
822         output.
824         * hurd/ctty-input.c: Fix copyright notice formatting.
825         * hurd/ctty-output.c: Likewise.
826         * hurd/dtable.c: Likewise.
827         * hurd/hurd-raise.c: Likewise.
828         * hurd/hurdprio.c: Likewise.
829         * hurd/msgportdemux.c: Likewise.
830         * misc/sys/file.h: Likewise.
831         * misc/sys/ioctl.h: Likewise.
832         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
833         * sysdeps/mach/hurd/chdir.c: Likewise.
834         * sysdeps/mach/hurd/fchdir.c: Likewise.
835         * sysdeps/mach/hurd/rename.c: Likewise.
836         * sysdeps/mach/hurd/rmdir.c: Likewise.
837         * sysdeps/mach/hurd/seekdir.c: Likewise.
838         * sysdeps/mach/hurd/setsid.c: Likewise.
839         * sysdeps/posix/wait3.c: Likewise.
841         * All files with FSF copyright notices: Update copyright dates
842         using scripts/update-copyrights.
843         * intl/plural.c: Regenerated.
844         * locale/programs/charmap-kw.h: Likewise.
845         * locale/programs/locfile-kw.h: Likewise.
847 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
849         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
850         four values.
852         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
853         calculation loop and add branch prediction.
855         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
856         check access beyond bounds of m1np.
858         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
859         MPTWO.
860         (__inv): Remove local variable MPTWO to use the global
861         constant.
862         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
863         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
864         variable MPTWO.
865         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
866         MP3HALFS static const.
868 2013-01-01  David S. Miller  <davem@davemloft.net>
870         * po/ca.po: Update from translation team.
872 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
874         * scripts/update-copyrights: New file.
875         * Makeconfig: Reformat copyright notice.
876         * ctype/ctype.h: Likewise.
877         * debug/swprintf_chk.c: Likewise.
878         * elf/dl-cache.c: Likewise.
879         * elf/dl-debug.c: Likewise.
880         * elf/dl-object.c: Likewise.
881         * grp/initgroups.c: Likewise.
882         * hurd/Makefile: Likewise.
883         * hurd/hurd/signal.h: Likewise.
884         * hurd/hurdfault.c: Likewise.
885         * hurd/hurdioctl.c: Likewise.
886         * hurd/hurdlookup.c: Likewise.
887         * hurd/intr-msg.c: Likewise.
888         * iconv/gconv_open.c: Likewise.
889         * libio/swprintf.c: Likewise.
890         * locale/lc-ctype.c: Likewise.
891         * locale/nl_langinfo.c: Likewise.
892         * mach/Machrules: Likewise.
893         * mach/Makefile: Likewise.
894         * malloc/obstack.h: Likewise.
895         * manual/Makefile: Likewise.
896         * manual/tsort.awk: Likewise.
897         * misc/bits/stab.def: Likewise.
898         * nis/nis_print_group_entry.c: Likewise.
899         * nis/nis_table.c: Likewise.
900         * nis/nss_compat/compat-pwd.c: Likewise.
901         * nis/nss_compat/compat-spwd.c: Likewise.
902         * po/Makefile: Likewise.
903         * posix/fnmatch.c: Likewise.
904         * posix/regex.h: Likewise.
905         * resolv/Makefile: Likewise.
906         * resolv/nss_dns/dns-network.c: Likewise.
907         * resolv/res_hconf.c: Likewise.
908         * scripts/gen-sorted.awk: Likewise.
909         * soft-fp/soft-fp.h: Likewise.
910         * stdio-common/printf.h: Likewise.
911         * stdlib/monetary.h: Likewise.
912         * stdlib/random.c: Likewise.
913         * stdlib/random_r.c: Likewise.
914         * sysdeps/generic/Makefile: Likewise.
915         * sysdeps/gnu/Makefile: Likewise.
916         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
917         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
918         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
919         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
920         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
921         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
922         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
923         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
924         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
925         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
926         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
927         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
928         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
929         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
930         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
931         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
932         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
933         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
934         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
935         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
936         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
937         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
938         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
939         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
940         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
941         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
942         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
943         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
944         * sysdeps/mach/hurd/errnos.awk: Likewise.
945         * sysdeps/mach/hurd/fork.c: Likewise.
946         * sysdeps/mach/hurd/getcwd.c: Likewise.
947         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
948         * sysdeps/mach/hurd/mmap.c: Likewise.
949         * sysdeps/mach/hurd/utimes.c: Likewise.
950         * sysdeps/mach/hurd/xmknod.c: Likewise.
951         * sysdeps/posix/profil.c: Likewise.
952         * sysdeps/posix/readdir_r.c: Likewise.
953         * sysdeps/powerpc/bits/mathdef.h: Likewise.
954         * sysdeps/powerpc/bits/setjmp.h: Likewise.
955         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
956         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
957         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
958         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
959         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
960         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
961         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
962         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
963         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
964         * sysdeps/pthread/lio_listio.c: Likewise.
965         * sysdeps/sparc/dl-procinfo.h: Likewise.
966         * sysdeps/unix/i386/sysdep.S: Likewise.
967         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
968         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
969         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
970         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
972         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
973         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
974         * sysdeps/unix/sysv/linux/speed.c: Likewise.
975         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
976         * sysdeps/wordsize-32/divdi3.c: Likewise.
977         * time/sys/time.h: Likewise.
978         * wcsmbs/Makefile: Likewise.
980 2013-01-01  David S. Miller  <davem@davemloft.net>
982         * po/fr.po: Update from translation team.
984         * catgets/gencat.c: Update copyright year.
985         * csu/version.c: Likewise.
986         * debug/catchsegv.sh: Likewise.
987         * debug/pcprofiledump.c: Likewise.
988         * debug/xtrace.sh: Likewise.
989         * elf/ldconfig.c: Likewise.
990         * elf/ldd.bash.in: Likewise.
991         * elf/pldd.c: Likewise.
992         * elf/sotruss.ksh: Likewise.
993         * elf/sprof.c: Likewise.
994         * iconv/iconv_prog.c: Likewise.
995         * iconv/iconvconfig.c: Likewise.
996         * locale/programs/locale.c: Likewise.
997         * locale/programs/localedef.c: Likewise.
998         * login/programs/pt_chown.c: Likewise.
999         * malloc/memusage.sh: Likewise.
1000         * malloc/memusagestat.c: Likewise.
1001         * malloc/mtrace.pl: Likewise.
1002         * nscd/nscd.c: Likewise.
1003         * nss/getent.c: Likewise.
1004         * nss/makedb.c: Likewise.
1005         * posix/getconf.c: Likewise.
1007 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
1009         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
1010         numbers.
1012 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
1014         * math/bits/mathcalls.h (modf): Use __nonnull.
1016 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1018         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
1019         (split): Use macro CN instead of the bare value.
1020         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
1021         could be used.
1022         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
1023         instead of the bare value.
1024         (power1): Likewise.
1026 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1028         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
1029         __ATAN_TWOM.
1030         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1032         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
1033         their values.
1034         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1035         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1036         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
1037         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1039 2012-12-28  Andreas Jaeger  <aj@suse.de>
1041         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
1042         values are from Linux 3.7.
1044         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
1045         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
1047 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1049         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
1050         TRUE case.
1052         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
1053         (norm): Likewise.
1054         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
1055         variables with preprocessor constants.
1056         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1057         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
1058         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
1060 2012-12-27  Bruno Haible  <bruno@clisp.org>
1062         [BZ #14317]
1063         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
1064         only if needed.
1066 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1068         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
1069         and use variable directly.
1070         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
1072         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1073         MPONE.
1074         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
1075         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1076         variable MPONE.
1077         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1078         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1079         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
1080         include directive.  Remove local variable MPONE.
1081         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
1082         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
1083         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1085 2012-12-25  David S. Miller  <davem@davemloft.net>
1087         * version.h (RELEASE): Set to "development".
1088         (VERSION): Set to "2.17.90".
1089         * NEWS: Add 2.18 section.
1091 2012-12-21  David S. Miller  <davem@davemloft.net>
1093         * po/hr.po: Update from translation team.
1095 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1097         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
1099 2012-12-19  Steve Ellcey  <sellcey@mips.com>
1101         * NEWS:  Mention new memcpy for MIPS.
1103 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1105         * manual/contrib.texi (Contributors): Spelling correction.
1107 2012-12-15  David S. Miller  <davem@davemloft.net>
1109         * po/ru.po: Update from translation team.
1111 2012-12-13  David S. Miller  <davem@davemloft.net>
1113         * NEWS: Mention IFUNC testsuite enhancements.
1115         * po/pl.po: Update from translation team.
1116         * po/bg.po: Likewise.
1118         * manual/contrib.texi (Contributors): Update entries for Hongjiu
1119         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
1121 2012-12-11  David S. Miller  <davem@davemloft.net>
1123         * po/sv.po: Update from translation team.
1125         * po/vi.po: Update from translation team.
1127         * po/cs.po: Update from translation team.
1129         * po/de.po: Update from translation team.
1130         * po/eo.po: Likewise.
1131         * po/nl.po: Likewise.
1133 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1135         [BZ #14246]
1136         * manual/argp.texi (Argp Helper Functions): Move node to follow
1137         Argp Parsing State.
1139         [BZ #14872]
1140         * manual/conf.texi (Limits on File System Capacity): Mention if
1141         terminating null is included in the max size.
1143 2012-12-10  Andreas Jaeger  <aj@suse.de>
1145         * po/cs.po: Update from translation team.
1147 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1149         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
1150         void pointer and cast to uintptr_t.
1151         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
1152         path.
1153         * sysdeps/s390/s390-64/memcpy.S: Likewise.
1154         * sysdeps/s390/s390-64/memset.S: Likewise.
1156 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
1158         [BZ #14833]
1159         * menual/message.texi (Message Translation): Fix typos.
1160         (Helper programs for gettext): Likewise.
1162 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
1164         [BZ #14898]
1165         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
1166         Change to -1.
1168 2012-12-07  David S. Miller  <davem@davemloft.net>
1170         * po/libc.pot: Update.
1172 2012-12-07  Richard Henderson  <rth@redhat.com>
1174         [BZ #10114]
1175         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
1176         normal/normal case to before the switch.
1177         (_FP_DIV): Likewise.
1179 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
1180             Mike Frysinger  <vapier@gentoo.org>
1182         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
1183         check for __NR_fadvise64_64.
1185 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
1187         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
1188         0, not just to plain "0" as a statement.
1189         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
1190         with cw.
1192 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
1194         * NEWS: Use sourceware.org in Bugzilla URL.
1196 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
1198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1199         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1201         * stdio-common/tst-put-error.c (do_test): Add newline to the
1202         padded test to ensure flush.
1204 2012-12-05  Jeff Law  <law@redhat.com>
1206         * sunrpc/etc.rpc (fedfs_admin): Add entry.
1208 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
1210         * README: Don't refer to ports add-on as distributed separately.
1211         Mention AArch64 in list of systems supported in the ports add-on.
1213         * LICENSES: Add more non-FSF copyright and license notices.
1215         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
1216         ((unused)).
1218         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
1220         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
1221         10000 as width of padded output.
1223 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
1225         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
1227         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
1228         variable LX with __attribute__ ((unused)).
1229         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1230         Likewise.
1231         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1232         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1233         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
1234         with __attribute__ ((unused)).
1236 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
1238         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
1240 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
1242         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
1243         (CFLAGS-nldbl-acos.c): New variable.
1244         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
1245         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
1246         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
1247         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
1248         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
1249         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
1250         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
1251         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
1252         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
1253         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
1254         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
1255         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
1256         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
1257         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
1258         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
1259         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
1260         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
1261         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
1262         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
1263         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
1264         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
1265         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
1266         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
1267         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
1268         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
1269         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
1270         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
1271         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
1272         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
1273         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
1274         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
1275         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
1276         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
1277         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
1278         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
1279         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
1280         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
1281         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
1282         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
1283         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
1284         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
1285         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
1286         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
1287         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
1288         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
1289         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
1290         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
1291         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
1292         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
1293         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
1294         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
1295         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
1296         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
1297         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
1298         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
1299         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
1300         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
1301         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
1302         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
1303         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
1304         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
1305         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
1306         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
1307         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
1308         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
1309         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
1310         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
1311         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
1312         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
1313         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
1314         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
1315         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
1316         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
1317         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
1318         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
1319         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
1320         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
1321         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
1322         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
1323         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
1324         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
1325         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
1326         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
1327         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
1328         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
1329         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
1330         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
1331         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
1332         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
1333         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
1334         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
1335         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
1336         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
1337         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
1338         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
1339         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
1340         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
1342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1343         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1345         [BZ #14914]
1346         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
1347         whole low double instead of just low 47 bits when splitting values
1348         into two parts.
1350 2012-12-03  Allan McRae  <allan@archlinux.org>
1352         * manual/stdio.texi (Predefined Printf Handlers): Remove
1353         @hsep and @vsep usage.
1355 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
1357         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
1358         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
1360 2012-12-03  Jeff Law  <law@redhat.com>
1362         * time/sys/time.h (settimeofday): Do not mark TV argument
1363         as __nonnull.
1365 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
1367         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
1368         when currently writing and seek to current position when not.
1369         * libio/Makefile (tests): Remove bug-fclose1.
1370         * libio/bug-fclose1.c: Delete.
1372 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
1374         * manual/arith.texi (feenableexcept): Fix typo.
1375         (fedisableexcept): Likewise.
1377 2012-11-30  Roland McGrath  <roland@hack.frob.com>
1379         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
1380         second, differently-typed declaration, rather than a cast.
1382 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1384         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
1385         * include/rpc/svc.h: ... here.
1387 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
1389         [BZ #13013]
1390         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
1391         depending n and resplen2 to catch cases where answer
1392         equals answerp2.
1394 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
1396         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
1397         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
1399 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
1401         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
1403 2012-11-29  Roland McGrath  <roland@hack.frob.com>
1405         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
1407 2012-11-28  Jeff Law  <law@redhat.com>
1409         [BZ #13761]
1410         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
1411         dataset_temporary.  Track alloca usage into alloca_used.
1412         If dataset is large allocate and release it via malloc/free.
1414 2012-06-04  Florian Weimer  <fweimer@redhat.com>
1416         [BZ #14197]
1417         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
1419 2012-11-28  David S. Miller  <davem@davemloft.net>
1421         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1423 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
1425         [BZ #14803]
1426         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
1427         of pi/2 rounded to nearest to 64 bits.
1428         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
1429         nearest to 64 bits.
1430         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
1431         bits.
1433 2012-11-28  Jeff Law <law@redhat.com>
1434             Martin Osvald <mosvald@redhat.com>
1436         [BZ #14889]
1437         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
1438         * sunrpc/svc.c: Include time.h.
1439         (__svc_accept_failed): New function.
1440         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
1441         any reason other than EINTR, call __svc_accept_failed.
1442         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
1443         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
1445 2012-11-28  Andreas Schwab  <schwab@suse.de>
1447         * scripts/abilist.awk: Also handle indirect functions in .opd
1448         section.
1450 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
1452         [BZ #13881]
1453         * sysdeps/x86/fpu/powl_helper.c: New file.
1454         * sysdeps/x86/fpu/Makefile: Likewise.
1455         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
1456         (p3): New object.
1457         (__ieee754_powl): Use __powl_helper for finite arguments except
1458         integer exponents below 8.
1459         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
1460         (p3): New object.
1461         (__ieee754_powl): Use __powl_helper for finite arguments except
1462         integer exponents below 8.
1463         * math/libm-test.inc (pow_test): Add more tests and enable some
1464         previously disabled tests.
1465         * sysdeps/i386/fpu/libm-test-ulps: Update.
1466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1468 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1469             Carlos O'Donell  <carlos_odonell@mentor.com>
1471         * nss/makedb.c (is_prime): Assert that input is odd and greater
1472         than 4.  Note that fact in a comment too.
1473         (next_prime): Add 4 to input.
1475 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1477         [BZ #11741]
1478         * libio/Makefile (tests): Add test case tst-fwrite-error.
1479         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
1480         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
1481         * libio/tst-fwrite-error.c: New test case.
1483 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
1485         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
1486         before casting to void *.
1487         * include/libc-internal.h (__pointer_type): New macro.
1488         (__integer_if_pointer_type_sub): Likewise.
1489         (__integer_if_pointer_type): Likewise.
1490         (cast_to_integer): Likewise.
1491         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
1492         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
1493         before casting to atomic64_t.
1494         (atomic_exchange_acq): Likewise.
1495         (__arch_exchange_and_add_body): Likewise.
1496         (__arch_add_body): Likewise.
1497         (atomic_add_negative): Likewise.
1498         (atomic_add_zero): Likewise.
1500 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
1502         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
1503         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
1504         (add_fdes): Likewise.
1505         (linear_search_fdes): Likewise.
1506         (binary_search_unencoded_fdes): Likewise.
1508 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
1510         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
1512 2012-11-24  Adam Conrad  <adconrad@0c3.net>
1514         * configure.in: Autodetect C++ header directories.
1515         * configure: Regenerated.
1517 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
1519         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
1521 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
1523         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1525 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
1527         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
1528         LDBL_MANT_DIG == 106]: Disable some tests.
1529         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1530         Likewise.
1531         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1532         Likewise.
1534         [BZ #14871]
1535         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
1536         input for small inputs.  Return +/- pi/2 for large inputs.
1537         * math/libm-test.inc (atan_test): Add more tests.
1539         * sysdeps/generic/unwind-dw2-fde-glibc.c
1540         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
1541         __attribute__ ((unused)).
1543         [BZ #14645]
1544         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
1545         x * y if x and y are nonzero and z is zero.
1547         [BZ #14811]
1548         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
1549         nonzero exponents with absolute value below 0x1p-117 to +/-
1550         0x1p-117.
1552         [BZ #14869]
1553         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
1554         up arguments below 2**-450, not just those below 2**-500.
1555         * math/libm-test.inc (hypot_test): Add another test.
1557         [BZ #14868]
1558         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
1559         Return a+b for ratio over 2**120, not 2**60.
1560         * math/libm-test.inc (hypot_test): Add another test.
1562         * math/libm-test.inc (clog_test): Use
1563         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
1564         (clog10_test): Likewise.
1566         [BZ #6778]
1567         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
1569 2012-11-22  Andreas Schwab  <schwab@suse.de>
1571         * sysdeps/i386/fpu/libm-test-ulps: Update.
1573 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
1575         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
1576         printf output with newline.
1578 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
1580         [BZ #14865]
1581         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
1582         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
1583         -z nodlopen, -z initfirst and -z execstack support.
1584         * configure: Regenerated.
1586         * elf/elf.h (DF_1_NODIRECT): New macro.
1587         (DF_1_IGNMULDEF): Likewise.
1588         (DF_1_NOKSYMS): Likewise.
1589         (DF_1_NOHDR): Likewise.
1590         (DF_1_EDITED): Likewise.
1591         (DF_1_NORELOC): Likewise.
1592         (DF_1_SYMINTPOSE): Likewise.
1593         (DF_1_GLOBAUDIT): Likewise.
1594         (DF_1_SINGLETON): Likewise.
1595         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
1596         DT_1_SUPPORTED_MASK bits.
1597         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
1599 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
1601         * sysdeps/unix/make-syscalls.sh: Document prefixes.
1603 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
1605         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
1606         macro.
1608         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
1609         (sendmmsg): Move declarations...
1610         * socket/sys/socket.h: ... here.
1611         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
1612         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
1613         include it from...
1614         * socket/recvmmsg.c: ... this new file.
1615         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
1616         (sendmmsg): Rename to __sendmmsg, create weak alias and make
1617         definition of __sendmmsg hidden.
1618         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1619         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
1620         Move ENOSYS stub into and include it from...
1621         * socket/sendmmsg.c: ... this new file.
1622         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
1623         (sysdep_routines): Move recvmmsg and sendmmsg...
1624         * socket/Makefile (routines): ... here.
1625         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
1626         (GLIBC_PRIVATE): Add __sendmmsg.
1627         * include/sys/socket.h (__sendmmsg): Add declarations.
1628         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
1629         sendmmsg.
1631 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
1633         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
1634         variable I1 with __attribute__ ((unused)).
1635         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1637 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
1639         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
1640         DUMMY variables with __attribute__ ((unused)).
1642         * bits/byteswap.h: Include <bits/types.h>.
1643         (__bswap_64): Use __uint64_t instead of unsigned long long int.
1645 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
1647         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
1648         string_t.  Do not manually set errno.
1649         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
1650         length with __strnlen.  Make sure to both set errno and return it on
1651         failure.
1653 2012-11-19  David S. Miller  <davem@davemloft.net>
1655         With help from Joseph Myers.
1656         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
1657         very large arguments properly.
1658         * math/libm-test.inc (atan_test): New tests.
1659         (atan2_test): New tests.
1660         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1661         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1663 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
1665         [BZ #14856]
1666         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
1667         Define to 3.
1669         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
1670         [POSIX] (EADDRNOTAVAIL): Likewise.
1671         [POSIX] (EAFNOSUPPORT): Likewise.
1672         [POSIX] (EALREADY): Likewise.
1673         [POSIX] (ECONNABORTED): Likewise.
1674         [POSIX] (ECONNREFUSED): Likewise.
1675         [POSIX] (ECONNRESET): Likewise.
1676         [POSIX] (EDESTADDRREQ): Likewise.
1677         [POSIX] (EDQUOT): Likewise.
1678         [POSIX] (EHOSTUNREACH): Likewise.
1679         [POSIX] (EIDRM): Likewise.
1680         [POSIX] (EISCONN): Likewise.
1681         [POSIX] (ELOOP): Likewise.
1682         [POSIX] (EMULTIHOP): Likewise.
1683         [POSIX] (ENETDOWN): Likewise.
1684         [POSIX] (ENETUNREACH): Likewise.
1685         [POSIX] (ENOBUFS): Likewise.
1686         [POSIX] (ENODATA): Likewise.
1687         [POSIX] (ENOLINK): Likewise.
1688         [POSIX] (ENOMSG): Likewise.
1689         [POSIX] (ENOPROTOOPT): Likewise.
1690         [POSIX] (ENOSR): Likewise.
1691         [POSIX] (ENOSTR): Likewise.
1692         [POSIX] (ENOTCONN): Likewise.
1693         [POSIX] (ENOTSOCK): Likewise.
1694         [POSIX] (EOPNOTSUPP): Likewise.
1695         [POSIX] (EOVERFLOW): Likewise.
1696         [POSIX] (EPROTO): Likewise.
1697         [POSIX] (EPROTONOSUPPORT): Likewise.
1698         [POSIX] (EPROTOTYPE): Likewise.
1699         [POSIX] (ESTALE): Likewise.
1700         [POSIX] (ETIME): Likewise.
1701         [POSIX] (ETXTBSY): Likewise.
1702         [POSIX] (EWOULDBLOCK): Likewise.
1703         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
1704         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
1705         [POSIX] (SEEK_CUR): Likewise.
1706         [POSIX] (SEEK_END): Likewise.
1707         [POSIX || UNIX98] (mode_t): Do not require.
1708         [POSIX] (off_t): Likewise.
1709         [POSIX] (pid_t): Likewise.
1710         [POSIX] (sys/stat.h): Do not allow header.
1711         [POSIX] (unistd.h): Likewise.
1712         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
1713         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
1714         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
1715         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
1716         require.
1717         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
1718         sigevent): Specify elements.
1719         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
1720         entry.
1721         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
1722         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
1724         * conform/data/cpio.h-data [POSIX]: Disable whole file.
1725         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
1726         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
1727         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
1728         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
1729         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
1730         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
1731         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
1732         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
1733         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
1734         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
1735         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
1736         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
1737         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
1738         Likewise.
1739         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
1740         Likewise.
1741         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
1742         Likewise.
1743         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
1744         Likewise.
1745         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
1746         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
1747         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
1748         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
1749         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
1750         Specify lower bound on value.
1751         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
1752         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
1753         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
1754         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
1755         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
1756         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
1757         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
1758         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
1759         value.
1760         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
1761         as optional.
1762         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
1763         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
1764         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
1765         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
1766         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
1767         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
1768         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
1769         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
1770         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
1771         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
1772         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
1773         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
1774         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
1775         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
1776         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
1777         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
1778         entry.
1779         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
1780         optional.
1781         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
1782         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
1783         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
1784         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
1785         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
1786         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
1787         Likewise.
1788         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
1789         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
1790         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
1791         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
1792         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
1793         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
1794         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
1795         as optional.
1796         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
1797         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
1798         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
1799         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
1800         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
1801         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
1802         specify as optional.
1803         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
1804         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
1805         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
1806         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
1807         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
1808         [XPG3] (NL_LANGMAX): Likewise.
1809         [POSIX || XPG3] (NL_MSGMAX): Likewise.
1810         [POSIX || XPG3] (NL_NMAX): Likewise.
1811         [POSIX || XPG3] (NL_SETMAX): Likewise.
1812         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
1813         [XPG3] (NZERO): Likewise.
1814         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
1815         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
1816         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
1817         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
1818         (REG_ERANGE): Expect.
1819         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
1820         optional-constant.
1821         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
1822         Use (void) in prototype.
1823         [POSIX] (*_t): Allow.
1824         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
1825         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
1826         (WRDE_BADVAL): Expect.
1828         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
1829         expect.
1830         [XPG3 || XPG4] (O_RSYNC): Likewise.
1831         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
1832         Likewise.
1833         [XPG3 || XPG4] (pthread_sigmask): Likewise.
1834         [XPG3 || XPG4] (sigqueue): Likewise.
1835         [XPG3 || XPG4] (sigtimedwait): Likewise.
1836         [XPG3 || XPG4] (sigwaitinfo): Likewise.
1837         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
1838         [XPG3 || XPG4] (vsnprintf): Likewise.
1839         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
1840         Likewise.
1841         [XPG3 || XPG4] (blksize_t): Likewise.
1842         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
1843         Likewise.
1844         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
1845         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1846         [XPG3 || XPG4] (struct itimerspec): Likewise.
1847         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
1848         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
1849         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
1850         [XPG3 || XPG4] (clockid_t): Likewise.
1851         [XPG3 || XPG4] (timer_t): Likewise.
1852         [XPG3 || XPG4] (clock_getres): Likewise.
1853         [XPG3 || XPG4] (clock_gettime): Likewise.
1854         [XPG3 || XPG4] (clock_settime): Likewise.
1855         [XPG3 || XPG4] (nanosleep): Likewise.
1856         [XPG3 || XPG4] (timer_create): Likewise.
1857         [XPG3 || XPG4] (timer_delete): Likewise.
1858         [XPG3 || XPG4] (timer_gettime): Likewise.
1859         [XPG3 || XPG4] (timer_getoverrun): Likewise.
1860         [XPG3 || XPG4] (timer_settime): Likewise.
1861         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
1862         [XPG3 || XPG4] (getlogin_r): Likewise.
1863         [XPG3 || XPG4] (pread): Likewise.
1864         [XPG3 || XPG4] (pthread_atfork): Likewise.
1865         [XPG3 || XPG4] (pwrite): Likewise.
1867         [BZ #14835]
1868         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
1869         <bits/siginfo.h>.
1871 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
1873         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
1874         finalizing MALLSTREAM.
1876         * sysdeps/mach/hurd/syncfs.c: New file.
1878 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1880         [BZ #14719]
1881         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
1882         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
1883         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
1884         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
1885         (_nss_dns_gethostbyname4_r): Likewise.
1886         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
1887         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
1889 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
1891         [BZ #13763]
1892         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
1894 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
1896         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
1897         * elf/cache.c (print_entry): Print ",AArch64" for
1898         FLAG_AARCH64_LIB64
1900         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
1901         * elf/cache.c (print_entry): Print ",hard-float" for
1902         FLAG_ARM_LIBHF.
1904 2012-11-18  David S. Miller  <davem@davemloft.net>
1906         With help from Joseph Myers.
1907         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
1908         cutoff to 2**-13.
1909         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
1910         cutoff to 2**-25.
1911         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
1912         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
1913         small.
1914         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1915         * math/libm-test.inc (y0_test): New tests.
1916         (y1_test): New tests.
1917         * sysdeps/i386/fpu/libm-test-ulps: Update.
1918         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1919         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1921 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
1923         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
1924         64-bit targets.
1925         * configure: Regenerated.
1927 2012-11-17  David S. Miller  <davem@davemloft.net>
1929         [BZ #14811]
1930         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
1931         nonzero exponents with absolute value below 0x1p-128 to +/-
1932         0x1p-128.
1934 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
1936         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
1938         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
1940         * posix/getconf-speclist.c: New file.
1941         * posix/posix-envs.def: Likewise.
1942         * posix/confstr.c (START_ENV_GROUP): New macro.
1943         (END_ENV_GROUP): Likewise.
1944         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1945         (KNOWN_PRESENT_ENV_STRING): Likewise.
1946         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1947         (UNKNOWN_ENVIRONMENT): Likewise.
1948         (confstr): Include posix-envs.def instead of handling
1949         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
1950         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
1951         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
1952         (END_ENV_GROUP): Likewise.
1953         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1954         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1955         (UNKNOWN_ENVIRONMENT): Likewise.
1956         (__sysconf): Include posix-envs.def instead of handling associated
1957         cases directly here.
1958         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
1959         preprocessing getconf-speclist.c rather than running getconf or
1960         generating empty file.
1962 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
1964         * scripts/check-local-headers.sh: Ignore 'mach' headers.
1966 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
1968         [BZ #14672]
1969         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
1971 2012-11-16  David S. Miller  <davem@davemloft.net>
1973         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
1974         smaller than LDBL_EPSILON/2.0L, just return xm1.
1976 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
1978         * elf/tst-array1.c (init): Set constructor priority to 1000.
1979         (fini): Set destructor priority to 1000.
1980         * elf/tst-array2dep.c: Likewise.
1982 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1984         [BZ #11741]
1985         * libio/fileops.c (_IO_new_file_write): Correctly return error.
1986         (_IO_new_file_xsputn): Also return EOF if none of the input
1987         data was written when overflow failed.
1988         * libio/iopadn.c (_IO_padn): Likewise.
1989         * libio/iowpadn.c (_IO_wpadn): Likewise.
1990         * stdio-common/tst-put-error.c: Add copyright notice.
1991         (do_test): Add case for printing padded string.
1992         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
1993         _IO_padn returned error.
1994         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
1995         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
1996         return EOF.
1998 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2000         * libio/libioP.h: Add comment note that the references to C++
2001         bits are now obsolete.
2003 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2005         * math/libm-test.inc (check_complex): Use asprintf.
2007 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
2009         * debug/pcprofiledump.c (print_version): Update copyright year.
2010         * malloc/memusagestat.c (print_version): Likewise.
2012 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
2014         [BZ #14831]
2015         * elf/Makefile (tests): Add tst-audit8.
2016         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
2017         ($(objpfx)tst-audit8.out): New target.
2018         (tst-audit8-ENV): New variable.
2019         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
2020         audit if l_reloc_result is NULL.
2021         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
2022         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
2023         * elf/tst-audit8.c: New file.
2025 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2027         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
2028         * misc/Makefile (CFLAGS-select.c): Define.
2029         * posix/Makefile (CFLAGS-pause.c): Define.
2031 2012-11-13  David S. Miller  <davem@davemloft.net>
2033         * crypt/Makefile: Move test targets after toplevel Rules
2034         inclusion.  Grab any necessary sysdep routines when linking.
2035         * crypt/md5.c (md5_process_block): Remove define, we will always
2036         name it __md5_process_block.
2037         (md5_finish_ctx): Update md5_process_block call.
2038         (md5_stream): Likewise.
2039         (md5_process_bytes): Likewise.
2040         (md5_process_block): Rename to __md5_process_block and move to ...
2041         * crypt/md5-block.c: ... here.
2042         * crypt/sha256.c (sha256_process_block): Move to ...
2043         * crypt/sha256-block.c: ... here.
2044         * crypt/sha512.c (sha512_process_block): Move to ...
2045         * crypt/sha512-block.c: ... here.
2046         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
2047         path.
2048         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
2049         * sysdeps/sparc/sparc64/multiarch/Makefile
2050         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
2051         crypt subdir.
2052         (localedef-aux): Add md5 crypto assembler when in locale subdir.
2053         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
2054         multiarch changes.
2055         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
2056         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
2057         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
2058         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
2059         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
2060         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
2061         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
2062         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
2063         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
2064         file.
2065         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
2066         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
2067         file.
2068         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
2070 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
2072         * timezone/tzselect.ksh: Update from tzcode git revision
2073         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
2074         * timezone/zdump.c: Likewise.
2075         * timezone/zic.c: Likewise.
2076         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
2077         in TZVERSION setting, not $(PKGVERSION).
2078         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
2079         REPORT_BUGS_TO settings.
2081         [BZ #14838]
2082         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
2083         macro.
2085 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2087         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
2088         detection to immediately after _FP_ROUND().
2089         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
2090         bits are 0.
2092 2012-11-11  David S. Miller  <davem@davemloft.net>
2094         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
2095         inttypes.h
2096         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
2097         __close rather than their public counterparts.
2099 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
2101         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
2102         file.
2103         [UNIX98] (sem_timedwait): Do not expect.
2104         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
2105         [XPG4 || UNIX98] (sockatmark): Do not expect.
2106         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
2107         (clock_getcpuclockid): Do not expect.
2108         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
2109         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
2110         Do not expect.
2111         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
2112         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
2113         [UNIX98] (vwscanf): Likewise.
2114         [UNIX98] (vswscanf): Likewise.
2116 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
2118         * timezone/version.h: Remove file.
2119         * timezone/README: Do not refer to version.h.
2120         * timezone/Makefile ($(objpfx)zic.o): New dependency on
2121         $(objpfx)version.h.
2122         ($(objpfx)zdump.o): Likewise.
2123         ($(objpfx)version.h): New target.
2125         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
2126         2012i.
2127         * timezone/README: Don't mention modification to tzselect.ksh.
2128         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
2129         work on unmodified tzselect.ksh.  Substitute version numbers in
2130         tzselect.ksh.
2132         * Makefile (format-me): Remove.
2133         (INSTALL): Adjust indentation.  Use commands directly instead of
2134         using $(format-me).
2136         * aclocal.m4 (ACX_PKGVERSION): New macro.
2137         (ACX_BUGURL): Likewise.
2138         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
2139         (PKGVERSION): New AC_DEFINE_UNQUOTED.
2140         (REPORT_BUGS_TO): Likewise.
2141         * configure: Regenerated.
2142         * config.h.in (PKGVERSION): New macro.
2143         (REPORT_BUGS_TO): Likewise.
2144         * config.make.in (PKGVERSION): New variable.
2145         (PKGVERSION_TEXI): Likewise.
2146         (REPORT_BUGS_TO): Likewise.
2147         (REPORT_BUGS_TEXI): Likewise.
2148         * Makefile (format-me): Use -I$(common-objpfx)manual.
2149         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
2150         ($(common-objpfx)manual/%): New target.
2151         (manual/%): Remove target.
2152         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
2153         (print_version): Use PKGVERSION.
2154         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
2155         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
2156         and REPORT_BUGS_TO.
2157         ($(objpfx)xtrace): Likewise.
2158         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
2159         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
2160         (print_version): Use PKGVERSION.
2161         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
2162         (do_version): Use PKGVERSION.
2163         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
2164         REPORT_BUGS_TO.
2165         (common-ldd-rewrite): Likewise.
2166         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
2167         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
2168         (print_version): Use PKGVERSION.
2169         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
2170         * elf/pldd.c (argp_program_bug_address): Remove variable.
2171         (more_help): New function.
2172         (argp): Use more_help.
2173         (print_version): Use PKGVERSION.
2174         * elf/sln.c (main): Use PKGVERSION.
2175         (usage): Use REPORT_BUGS_TO.
2176         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
2177         (top level): Use PKGVERSION.
2178         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
2179         (print_version): Use PKGVERSION.
2180         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
2181         (print_version): Use PKGVERSION.
2182         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
2183         (print_version): Use PKGVERSION.
2184         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
2185         (print_version): Use PKGVERSION.
2186         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
2187         (print_version): Use PKGVERSION.
2188         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
2189         (print_version): Use PKGVERSION.
2190         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
2191         and BUGURL.
2192         ($(objpfx)memusage): Likewise.
2193         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
2194         (do_version): Use PKGVERSION.
2195         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
2196         (print_version): Use PKGVERSION.
2197         * malloc/mtrace.pl ($PACKAGE): Remove variable.
2198         ($PKGVERSION): New variable.
2199         ($REPORT_BUGS_TO): Likewise.
2200         (usage): Use $REPORT_BUGS_TO.
2201         (top level): Use $PKGVERSION.
2202         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
2203         ($(objpfx)pkgvers.texi): New rule.
2204         ($(objpfx)stamp-pkgvers): Likewise.
2205         * manual/install.texi: Include pkgvers.texi.
2206         (--with-pkgversion): Document new configure option.
2207         (--with-bugurl): Likewise.
2208         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
2209         than necessarily for this particular distribution.  Use
2210         REPORT_BUGS_TO for where to report bugs.
2211         * INSTALL: Regenerated.
2212         * manual/libc.texinfo: Include pkgvers.texi.
2213         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
2214         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
2215         (print_version): Use PKGVERSION.
2216         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
2217         (print_version): Use PKGVERSION.
2218         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
2219         (print_version): Use PKGVERSION.
2220         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
2221         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
2222         macro.
2223         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
2224         (print_version): Use PKGVERSION.
2225         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
2226         (print_version): Use PKGVERSION.
2227         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
2228         and PKGVERSION.
2230         * timezone/checktab.awk: Update from tzcode 2012i.
2231         * timezone/ialloc.c: Likewise.
2232         * timezone/private.h: Likewise.
2233         * timezone/scheck.c: Likewise.
2234         * timezone/tzfile.h: Likewise.
2235         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
2236         (TZVERSION): Hardcode tzcode version number.
2237         * timezone/zdump.c: Update from tzcode 2012i.
2238         * timezone/zic.c: Likewise.
2239         * timezone/version.h: New file.
2240         * timezone/README: Describe version.h.  Update upstream location.
2242         [BZ #14824]
2243         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
2244         (mktemp): Enable declaration.
2245         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
2246         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
2247         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
2248         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
2249         Likewise.
2250         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
2251         Likewise.
2252         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
2253         Likewise.
2254         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
2255         Likewise.
2256         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
2257         Likewise.
2258         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
2259         Likewise.
2261         [BZ #14821]
2262         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
2263         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
2264         for copies of such integer values.
2265         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
2266         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
2268 2012-11-09  Andreas Jaeger  <aj@suse.de>
2270         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
2271         definitions and declarations that are provided by
2272         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2274 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2276         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
2277         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
2278         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
2279         definition.
2281 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2283         * elf/elf.h: Update comment before AArch64 relocations.
2285 2012-11-07  David S. Miller  <davem@davemloft.net>
2287         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
2288         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2289         (__start_context): Declare.
2290         (__makecontext_ret): Delete.
2291         (__makecontext): Hook up __start_context instead of
2292         __makecontext_ret.
2293         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2294         (sysdep_routines): Add __start_context when in stdlib.
2296 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
2298         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
2299         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
2300         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
2301         hardcoded "nm".
2302         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
2303         (READELF): New variable.  Use it instead of hardcoded "readelf".
2305 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
2307         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
2308         * sysdeps/x86/Makefile: Here.
2309         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
2310         * sysdeps/x86/tst-xmmymm.sh: This.
2312 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
2314         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
2315         expectations.
2316         [UNIX98] (pthread_barrier_t): Do not expect.
2317         [UNIX98] (pthread_barrierattr_t): Likewise.
2318         [UNIX98] (pthread_spinlock_t): Likewise.
2319         [UNIX98] (pthread_barrier_destroy): Likewise.
2320         [UNIX98] (pthread_barrier_init): Likewise.
2321         [UNIX98] (pthread_barrier_wait): Likewise.
2322         [UNIX98] (pthread_barrierattr_destroy): Likewise.
2323         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
2324         [UNIX98] (pthread_barrierattr_init): Likewise.
2325         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
2326         [UNIX98] (pthread_getcpuclockid): Likewise.
2327         [UNIX98] (pthread_mutex_timedlock): Likewise.
2328         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
2329         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
2330         [UNIX98] (pthread_sigmask): Likewise.
2331         [UNIX98] (pthread_spin_destroy): Likewise.
2332         [UNIX98] (pthread_spin_init): Likewise.
2333         [UNIX98] (pthread_spin_lock): Likewise.
2334         [UNIX98] (pthread_spin_trylock): Likewise.
2335         [UNIX98] (pthread_spin_unlock): Likewise.
2336         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
2337         Do not expect.
2338         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
2339         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
2340         [XPG3 || XPG4] (pthread_cond_t): Likewise.
2341         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
2342         [XPG3 || XPG4] (pthread_key_t): Likewise.
2343         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
2344         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
2345         [XPG3 || XPG4] (pthread_once_t): Likewise.
2346         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
2347         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
2348         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
2349         [XPG3 || XPG4] (pthread_t): Likewise.
2351         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
2352         not expect.
2353         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
2355         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
2356         Change function return type to int.
2358         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
2359         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
2360         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
2361         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
2362         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
2363         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
2364         [!POSIX] (posix_madvise): Likewise.
2365         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
2366         && !UNIX98].
2367         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
2368         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
2369         (mode_t): Likewise.
2370         (posix_mem_offset): Likewise.
2371         (posix_typed_mem_get_info): Likewise.
2372         (posix_typed_mem_open): Likewise.
2374         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
2375         Change condition to [XOPEN2K8].
2377         * conform/conformtest.pl: Preprocess allow-header data with -x c
2378         instead of from stdin.
2379         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
2380         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
2381         [C99-based standards] (cerfc): Likewise.
2382         [C99-based standards] (cexp2): Likewise.
2383         [C99-based standards] (cexpm1): Likewise.
2384         [C99-based standards] (clog10): Likewise.
2385         [C99-based standards] (clog1p): Likewise.
2386         [C99-based standards] (clog2): Likewise.
2387         [C99-based standards] (clgamma): Likewise.
2388         [C99-based standards] (ctgamma): Likewise.
2389         [C99-based standards] (cerff): Likewise.
2390         [C99-based standards] (cerfcf): Likewise.
2391         [C99-based standards] (cexp2f): Likewise.
2392         [C99-based standards] (cexpm1f): Likewise.
2393         [C99-based standards] (clog10f): Likewise.
2394         [C99-based standards] (clog1pf): Likewise.
2395         [C99-based standards] (clog2f): Likewise.
2396         [C99-based standards] (clgammaf): Likewise.
2397         [C99-based standards] (ctgammaf): Likewise.
2398         [C99-based standards] (cerfl): Likewise.
2399         [C99-based standards] (cerfcl): Likewise.
2400         [C99-based standards] (cexp2l): Likewise.
2401         [C99-based standards] (cexpm1l): Likewise.
2402         [C99-based standards] (clog10l): Likewise.
2403         [C99-based standards] (clog1pl): Likewise.
2404         [C99-based standards] (clog2l): Likewise.
2405         [C99-based standards] (clgammal): Likewise.
2406         [C99-based standards] (ctgammal): Likewise.
2407         * conform/data/inttypes.h-data [C99-based standards]: Include
2408         stdint.h-data.  Remove all expectations for stdint.h contents.
2409         [C99-based standards] (PRI*): Do not allow.
2410         [C99-based standards] (SCN*): Likewise.
2411         [C99-based standards] (*_t): Likewise.
2412         [C99-based-standards] (PRId8): Expect macro.
2413         [C99-based-standards] (PRIi8): Likewise.
2414         [C99-based-standards] (PRIo8): Likewise.
2415         [C99-based-standards] (PRIu8): Likewise.
2416         [C99-based-standards] (PRIx8): Likewise.
2417         [C99-based-standards] (PRIX8): Likewise.
2418         [C99-based-standards] (SCNd8): Likewise.
2419         [C99-based-standards] (SCNi8): Likewise.
2420         [C99-based-standards] (SCNo8): Likewise.
2421         [C99-based-standards] (SCNu8): Likewise.
2422         [C99-based-standards] (SCNx8): Likewise.
2423         [C99-based-standards] (PRIdLEAST8): Likewise.
2424         [C99-based-standards] (PRIiLEAST8): Likewise.
2425         [C99-based-standards] (PRIoLEAST8): Likewise.
2426         [C99-based-standards] (PRIuLEAST8): Likewise.
2427         [C99-based-standards] (PRIxLEAST8): Likewise.
2428         [C99-based-standards] (PRIXLEAST8): Likewise.
2429         [C99-based-standards] (SCNdLEAST8): Likewise.
2430         [C99-based-standards] (SCNiLEAST8): Likewise.
2431         [C99-based-standards] (SCNoLEAST8): Likewise.
2432         [C99-based-standards] (SCNuLEAST8): Likewise.
2433         [C99-based-standards] (SCNxLEAST8): Likewise.
2434         [C99-based-standards] (PRIdFAST8): Likewise.
2435         [C99-based-standards] (PRIiFAST8): Likewise.
2436         [C99-based-standards] (PRIoFAST8): Likewise.
2437         [C99-based-standards] (PRIuFAST8): Likewise.
2438         [C99-based-standards] (PRIxFAST8): Likewise.
2439         [C99-based-standards] (PRIXFAST8): Likewise.
2440         [C99-based-standards] (SCNdFAST8): Likewise.
2441         [C99-based-standards] (SCNiFAST8): Likewise.
2442         [C99-based-standards] (SCNoFAST8): Likewise.
2443         [C99-based-standards] (SCNuFAST8): Likewise.
2444         [C99-based-standards] (SCNxFAST8): Likewise.
2445         [C99-based-standards] (PRId16): Likewise.
2446         [C99-based-standards] (PRIi16): Likewise.
2447         [C99-based-standards] (PRIo16): Likewise.
2448         [C99-based-standards] (PRIu16): Likewise.
2449         [C99-based-standards] (PRIx16): Likewise.
2450         [C99-based-standards] (PRIX16): Likewise.
2451         [C99-based-standards] (SCNd16): Likewise.
2452         [C99-based-standards] (SCNi16): Likewise.
2453         [C99-based-standards] (SCNo16): Likewise.
2454         [C99-based-standards] (SCNu16): Likewise.
2455         [C99-based-standards] (SCNx16): Likewise.
2456         [C99-based-standards] (PRIdLEAST16): Likewise.
2457         [C99-based-standards] (PRIiLEAST16): Likewise.
2458         [C99-based-standards] (PRIoLEAST16): Likewise.
2459         [C99-based-standards] (PRIuLEAST16): Likewise.
2460         [C99-based-standards] (PRIxLEAST16): Likewise.
2461         [C99-based-standards] (PRIXLEAST16): Likewise.
2462         [C99-based-standards] (SCNdLEAST16): Likewise.
2463         [C99-based-standards] (SCNiLEAST16): Likewise.
2464         [C99-based-standards] (SCNoLEAST16): Likewise.
2465         [C99-based-standards] (SCNuLEAST16): Likewise.
2466         [C99-based-standards] (SCNxLEAST16): Likewise.
2467         [C99-based-standards] (PRIdFAST16): Likewise.
2468         [C99-based-standards] (PRIiFAST16): Likewise.
2469         [C99-based-standards] (PRIoFAST16): Likewise.
2470         [C99-based-standards] (PRIuFAST16): Likewise.
2471         [C99-based-standards] (PRIxFAST16): Likewise.
2472         [C99-based-standards] (PRIXFAST16): Likewise.
2473         [C99-based-standards] (SCNdFAST16): Likewise.
2474         [C99-based-standards] (SCNiFAST16): Likewise.
2475         [C99-based-standards] (SCNoFAST16): Likewise.
2476         [C99-based-standards] (SCNuFAST16): Likewise.
2477         [C99-based-standards] (SCNxFAST16): Likewise.
2478         [C99-based-standards] (PRId32): Likewise.
2479         [C99-based-standards] (PRIi32): Likewise.
2480         [C99-based-standards] (PRIo32): Likewise.
2481         [C99-based-standards] (PRIu32): Likewise.
2482         [C99-based-standards] (PRIx32): Likewise.
2483         [C99-based-standards] (PRIX32): Likewise.
2484         [C99-based-standards] (SCNd32): Likewise.
2485         [C99-based-standards] (SCNi32): Likewise.
2486         [C99-based-standards] (SCNo32): Likewise.
2487         [C99-based-standards] (SCNu32): Likewise.
2488         [C99-based-standards] (SCNx32): Likewise.
2489         [C99-based-standards] (PRIdLEAST32): Likewise.
2490         [C99-based-standards] (PRIiLEAST32): Likewise.
2491         [C99-based-standards] (PRIoLEAST32): Likewise.
2492         [C99-based-standards] (PRIuLEAST32): Likewise.
2493         [C99-based-standards] (PRIxLEAST32): Likewise.
2494         [C99-based-standards] (PRIXLEAST32): Likewise.
2495         [C99-based-standards] (SCNdLEAST32): Likewise.
2496         [C99-based-standards] (SCNiLEAST32): Likewise.
2497         [C99-based-standards] (SCNoLEAST32): Likewise.
2498         [C99-based-standards] (SCNuLEAST32): Likewise.
2499         [C99-based-standards] (SCNxLEAST32): Likewise.
2500         [C99-based-standards] (PRIdFAST32): Likewise.
2501         [C99-based-standards] (PRIiFAST32): Likewise.
2502         [C99-based-standards] (PRIoFAST32): Likewise.
2503         [C99-based-standards] (PRIuFAST32): Likewise.
2504         [C99-based-standards] (PRIxFAST32): Likewise.
2505         [C99-based-standards] (PRIXFAST32): Likewise.
2506         [C99-based-standards] (SCNdFAST32): Likewise.
2507         [C99-based-standards] (SCNiFAST32): Likewise.
2508         [C99-based-standards] (SCNoFAST32): Likewise.
2509         [C99-based-standards] (SCNuFAST32): Likewise.
2510         [C99-based-standards] (SCNxFAST32): Likewise.
2511         [C99-based-standards] (PRId64): Likewise.
2512         [C99-based-standards] (PRIi64): Likewise.
2513         [C99-based-standards] (PRIo64): Likewise.
2514         [C99-based-standards] (PRIu64): Likewise.
2515         [C99-based-standards] (PRIx64): Likewise.
2516         [C99-based-standards] (PRIX64): Likewise.
2517         [C99-based-standards] (SCNd64): Likewise.
2518         [C99-based-standards] (SCNi64): Likewise.
2519         [C99-based-standards] (SCNo64): Likewise.
2520         [C99-based-standards] (SCNu64): Likewise.
2521         [C99-based-standards] (SCNx64): Likewise.
2522         [C99-based-standards] (PRIdLEAST64): Likewise.
2523         [C99-based-standards] (PRIiLEAST64): Likewise.
2524         [C99-based-standards] (PRIoLEAST64): Likewise.
2525         [C99-based-standards] (PRIuLEAST64): Likewise.
2526         [C99-based-standards] (PRIxLEAST64): Likewise.
2527         [C99-based-standards] (PRIXLEAST64): Likewise.
2528         [C99-based-standards] (SCNdLEAST64): Likewise.
2529         [C99-based-standards] (SCNiLEAST64): Likewise.
2530         [C99-based-standards] (SCNoLEAST64): Likewise.
2531         [C99-based-standards] (SCNuLEAST64): Likewise.
2532         [C99-based-standards] (SCNxLEAST64): Likewise.
2533         [C99-based-standards] (PRIdFAST64): Likewise.
2534         [C99-based-standards] (PRIiFAST64): Likewise.
2535         [C99-based-standards] (PRIoFAST64): Likewise.
2536         [C99-based-standards] (PRIuFAST64): Likewise.
2537         [C99-based-standards] (PRIxFAST64): Likewise.
2538         [C99-based-standards] (PRIXFAST64): Likewise.
2539         [C99-based-standards] (SCNdFAST64): Likewise.
2540         [C99-based-standards] (SCNiFAST64): Likewise.
2541         [C99-based-standards] (SCNoFAST64): Likewise.
2542         [C99-based-standards] (SCNuFAST64): Likewise.
2543         [C99-based-standards] (SCNxFAST64): Likewise.
2544         [C99-based-standards] (PRIdMAX): Likewise.
2545         [C99-based-standards] (PRIiMAX): Likewise.
2546         [C99-based-standards] (PRIoMAX): Likewise.
2547         [C99-based-standards] (PRIuMAX): Likewise.
2548         [C99-based-standards] (PRIxMAX): Likewise.
2549         [C99-based-standards] (PRIXMAX): Likewise.
2550         [C99-based-standards] (SCNdMAX): Likewise.
2551         [C99-based-standards] (SCNiMAX): Likewise.
2552         [C99-based-standards] (SCNoMAX): Likewise.
2553         [C99-based-standards] (SCNuMAX): Likewise.
2554         [C99-based-standards] (SCNxMAX): Likewise.
2555         [C99-based-standards] (PRIdPTR): Likewise.
2556         [C99-based-standards] (PRIiPTR): Likewise.
2557         [C99-based-standards] (PRIoPTR): Likewise.
2558         [C99-based-standards] (PRIuPTR): Likewise.
2559         [C99-based-standards] (PRIxPTR): Likewise.
2560         [C99-based-standards] (PRIXPTR): Likewise.
2561         [C99-based-standards] (SCNdPTR): Likewise.
2562         [C99-based-standards] (SCNiPTR): Likewise.
2563         [C99-based-standards] (SCNoPTR): Likewise.
2564         [C99-based-standards] (SCNuPTR): Likewise.
2565         [C99-based-standards] (SCNxPTR): Likewise.
2566         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
2567         allow.
2568         * conform/data/stdint.h-data: Update comments to clarify
2569         requirements.
2570         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
2571         type.
2572         [C99-based standards] (INT8_MAX): Likewise.
2573         [C99-based standards] (INT16_MIN): Likewise.
2574         [C99-based standards] (INT16_MAX): Likewise.
2575         [C99-based standards] (INT32_MIN): Likewise.
2576         [C99-based standards] (INT32_MAX): Likewise.
2577         [C99-based standards] (INT64_MIN): Likewise.
2578         [C99-based standards] (INT64_MAX): Likewise.
2579         [C99-based standards] (UINT8_MAX): Likewise.
2580         [C99-based standards] (UINT16_MAX): Likewise.
2581         [C99-based standards] (UINT32_MAX): Likewise.
2582         [C99-based standards] (UINT64_MAX): Likewise.
2583         [C99-based standards] (INT_LEAST8_MIN): Likewise.
2584         [C99-based standards] (INT_LEAST8_MAX): Likewise.
2585         [C99-based standards] (INT_LEAST16_MIN): Likewise.
2586         [C99-based standards] (INT_LEAST16_MAX): Likewise.
2587         [C99-based standards] (INT_LEAST32_MIN): Likewise.
2588         [C99-based standards] (INT_LEAST32_MAX): Likewise.
2589         [C99-based standards] (INT_LEAST64_MIN): Likewise.
2590         [C99-based standards] (INT_LEAST64_MAX): Likewise.
2591         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
2592         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
2593         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
2594         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
2595         [C99-based standards] (INT_FAST8_MIN): Likewise.
2596         [C99-based standards] (INT_FAST8_MAX): Likewise.
2597         [C99-based standards] (INT_FAST16_MIN): Likewise.
2598         [C99-based standards] (INT_FAST16_MAX): Likewise.
2599         [C99-based standards] (INT_FAST32_MIN): Likewise.
2600         [C99-based standards] (INT_FAST32_MAX): Likewise.
2601         [C99-based standards] (INT_FAST64_MIN): Likewise.
2602         [C99-based standards] (INT_FAST64_MAX): Likewise.
2603         [C99-based standards] (UINT_FAST8_MAX): Likewise.
2604         [C99-based standards] (UINT_FAST16_MAX): Likewise.
2605         [C99-based standards] (UINT_FAST32_MAX): Likewise.
2606         [C99-based standards] (UINT_FAST64_MAX): Likewise.
2607         [C99-based standards] (INTPTR_MIN): Likewise.
2608         [C99-based standards] (INTPTR_MAX): Likewise.
2609         [C99-based standards] (UINTPTR_MAX): Likewise.
2610         [C99-based standards] (INTMAX_MIN): Likewise.
2611         [C99-based standards] (INTMAX_MAX): Likewise.
2612         [C99-based standards] (UINTMAX_MAX): Likewise.
2613         [C99-based standards] (PTRDIFF_MIN): Likewise.
2614         [C99-based standards] (PTRDIFF_MAX): Likewise.
2615         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
2616         [C99-based standards] (SIZE_MAX): Likewise.
2617         [C99-based standards] (WCHAR_MAX): Likewise.
2618         [C99-based standards] (WINT_MAX): Likewise.
2619         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
2620         constraint on value.
2621         [C99-based standards] (WCHAR_MIN): Likewise.
2622         [C99-based standards] (WINT_MIN): Likewise.
2623         [C99-based standards] (*_t): Allow.
2624         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
2625         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
2626         Include math.h-data and complex.h-data.  Remove all expectations
2627         of math.h and complex.h contents.
2628         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
2629         at end of line.
2630         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
2631         (struct tm): Expect tag.
2632         [C99-based-standards] (wcstof): Expect function.
2633         [C99-based-standards] (wcstold): Likewise.
2634         [C99-based-standards] (wcstoll): Likewise.
2635         [C99-based-standards] (wcstoull): Likewise.
2636         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
2637         macro-int-constant.  Specify type.
2638         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
2639         constraint on value.
2640         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2641         Specify type.
2642         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
2643         Specify value.
2644         [ISO C standards]: Do not allow headers.
2645         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
2646         wcs[abcdefghijklmnopqrstuvwxyz]*.
2647         [ISO C standards] (*_t): Do not allow.
2648         * conform/data/wctype.h-data [C99-based standards] (iswblank):
2649         Expect function.
2650         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
2651         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2652         Specify type.
2653         [ISO C standards]: Do not allow headers.
2654         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
2655         is[abcdefghijklmnopqrstuvwxyz]*.
2656         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
2657         to[abcdefghijklmnopqrstuvwxyz]*.
2658         [ISO C standards] (*_t): Do not allow.
2659         * conform/data/stdalign.h-data: New file.
2660         * conform/data/stdbool.h-data: Likewise.
2661         * conform/data/stdnoreturn.h-data: Likewise.
2663 2012-11-07  Roland McGrath  <roland@hack.frob.com>
2665         [BZ #14815]
2666         * manual/filesys.texi (Directory Entries): Typo fix.
2667         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
2669 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2671         * elf/elf.h (EM_AARCH64): New macro.
2672         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
2673         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
2674         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
2675         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
2676         (R_AARCH64_TLSDESC): Likewise.
2677         (NT_ARM_TLS): Likewise.
2678         (NT_ARM_HW_BREAK): Likewise.
2679         (NT_ARM_HW_WATCH): Likewise.
2681 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
2683         [BZ #14811]
2684         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
2685         (__ieee754_powl): Saturate nonzero exponents with absolute value
2686         below 0x1p-79 to +/- 0x1p-79.
2687         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
2688         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
2689         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
2690         nonzero exponents with absolute value below 0x1p-32 to +/-
2691         0x1p-32.
2692         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
2693         (__ieee754_powl): Saturate nonzero exponents with absolute value
2694         below 0x1p-79 to +/- 0x1p-79.
2695         * math/libm-test.inc (pow_test): Add more tests.
2697 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2699         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
2700         _dl_s390_cap_flags with kernel. Increase string length.
2701         (_dl_s390_platforms): Add z196 and zEC12.
2703 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
2705         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
2706         Change XOPEN21K to XOPEN2K.
2708 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
2710         * string/memmove.c: Use memcpy when possible.
2712 2012-11-06  Andreas Jaeger  <aj@suse.de>
2714         * po/eo.po: Update from translation team.
2716 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
2718         [BZ #14793]
2719         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
2720         exponent and small x and y exponents, scale x or y up.  Increase
2721         by 2 the exponent used in scaling up.
2722         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2723         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2724         * math/libm-test.inc (fma_test): Add more tests.
2725         (fma_test_towardzero): Likewise.
2726         (fma_test_downward): Likewise.
2727         (fma_test_upward): Likewise.
2729 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
2731         [BZ #14805]
2732         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
2733         fenv_t *.
2735         [BZ #14801]
2736         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
2737         namespace for names of struct fields.
2738         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
2739         fenv_t fields.
2740         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2741         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
2743 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2745         [BZ #3665]
2746         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
2748 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
2750         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
2751         PTR_DEMANGLE.
2753         [BZ #5246]
2754         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
2755         PTR_DEMANGLE.
2757 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
2759         [BZ #14797]
2760         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
2761         definitely overflow as x * y not x * y + z.
2762         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2763         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2764         * math/libm-test.inc (fma_test): Add more tests.
2765         (fma_test_towardzero): Likewise.
2766         (fma_test_downward): Likewise.
2767         (fma_test_upward): Likewise.
2769 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
2771         [BZ #157]
2773         * include/stub-tag.h: Remove file.
2774         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
2775         '#include' of it.
2776         * manual/maint.texi (Porting): Don't reference it.
2777         * Makerules ($(objpfx)stubs): Likewise.
2778         * dirent/closedir.c: Don't include <stub-tag.h>.
2779         * dirent/dirfd.c: Likewise.
2780         * dirent/fdopendir.c: Likewise.
2781         * dirent/getdents.c: Likewise.
2782         * dirent/getdents64.c: Likewise.
2783         * dirent/opendir.c: Likewise.
2784         * dirent/readdir.c: Likewise.
2785         * dirent/readdir64.c: Likewise.
2786         * dirent/readdir64_r.c: Likewise.
2787         * dirent/readdir_r.c: Likewise.
2788         * dirent/rewinddir.c: Likewise.
2789         * dirent/seekdir.c: Likewise.
2790         * dirent/telldir.c: Likewise.
2791         * gmon/profil.c: Likewise.
2792         * grp/setgroups.c: Likewise.
2793         * inet/if_index.c: Likewise.
2794         * io/access.c: Likewise.
2795         * io/chdir.c: Likewise.
2796         * io/chmod.c: Likewise.
2797         * io/chown.c: Likewise.
2798         * io/close.c: Likewise.
2799         * io/dup.c: Likewise.
2800         * io/dup2.c: Likewise.
2801         * io/dup3.c: Likewise.
2802         * io/euidaccess.c: Likewise.
2803         * io/faccessat.c: Likewise.
2804         * io/fchdir.c: Likewise.
2805         * io/fchmod.c: Likewise.
2806         * io/fchmodat.c: Likewise.
2807         * io/fchown.c: Likewise.
2808         * io/fchownat.c: Likewise.
2809         * io/fcntl.c: Likewise.
2810         * io/flock.c: Likewise.
2811         * io/fstatfs.c: Likewise.
2812         * io/fstatfs64.c: Likewise.
2813         * io/fstatvfs.c: Likewise.
2814         * io/fstatvfs64.c: Likewise.
2815         * io/futimens.c: Likewise.
2816         * io/fxstat.c: Likewise.
2817         * io/fxstat64.c: Likewise.
2818         * io/fxstatat.c: Likewise.
2819         * io/fxstatat64.c: Likewise.
2820         * io/getcwd.c: Likewise.
2821         * io/isatty.c: Likewise.
2822         * io/lchmod.c: Likewise.
2823         * io/lchown.c: Likewise.
2824         * io/link.c: Likewise.
2825         * io/linkat.c: Likewise.
2826         * io/lseek.c: Likewise.
2827         * io/lseek64.c: Likewise.
2828         * io/lxstat64.c: Likewise.
2829         * io/mkdir.c: Likewise.
2830         * io/mkdirat.c: Likewise.
2831         * io/mkfifo.c: Likewise.
2832         * io/mkfifoat.c: Likewise.
2833         * io/open.c: Likewise.
2834         * io/open64.c: Likewise.
2835         * io/openat.c: Likewise.
2836         * io/openat64.c: Likewise.
2837         * io/pipe.c: Likewise.
2838         * io/pipe2.c: Likewise.
2839         * io/poll.c: Likewise.
2840         * io/posix_fadvise.c: Likewise.
2841         * io/posix_fadvise64.c: Likewise.
2842         * io/posix_fallocate.c: Likewise.
2843         * io/posix_fallocate64.c: Likewise.
2844         * io/read.c: Likewise.
2845         * io/readlink.c: Likewise.
2846         * io/readlinkat.c: Likewise.
2847         * io/rmdir.c: Likewise.
2848         * io/sendfile.c: Likewise.
2849         * io/sendfile64.c: Likewise.
2850         * io/statfs.c: Likewise.
2851         * io/statfs64.c: Likewise.
2852         * io/statvfs.c: Likewise.
2853         * io/statvfs64.c: Likewise.
2854         * io/symlink.c: Likewise.
2855         * io/symlinkat.c: Likewise.
2856         * io/ttyname.c: Likewise.
2857         * io/ttyname_r.c: Likewise.
2858         * io/umask.c: Likewise.
2859         * io/unlink.c: Likewise.
2860         * io/unlinkat.c: Likewise.
2861         * io/utime.c: Likewise.
2862         * io/utimensat.c: Likewise.
2863         * io/write.c: Likewise.
2864         * io/xmknod.c: Likewise.
2865         * io/xmknodat.c: Likewise.
2866         * io/xstat.c: Likewise.
2867         * io/xstat64.c: Likewise.
2868         * login/getpt.c: Likewise.
2869         * login/grantpt.c: Likewise.
2870         * login/unlockpt.c: Likewise.
2871         * math/e_acoshl.c: Likewise.
2872         * math/e_acosl.c: Likewise.
2873         * math/e_asinl.c: Likewise.
2874         * math/e_atan2l.c: Likewise.
2875         * math/e_atanhl.c: Likewise.
2876         * math/e_coshl.c: Likewise.
2877         * math/e_expl.c: Likewise.
2878         * math/e_fmodl.c: Likewise.
2879         * math/e_gammal_r.c: Likewise.
2880         * math/e_hypotl.c: Likewise.
2881         * math/e_j0l.c: Likewise.
2882         * math/e_j1l.c: Likewise.
2883         * math/e_jnl.c: Likewise.
2884         * math/e_lgammal_r.c: Likewise.
2885         * math/e_log10l.c: Likewise.
2886         * math/e_log2l.c: Likewise.
2887         * math/e_logl.c: Likewise.
2888         * math/e_powl.c: Likewise.
2889         * math/e_rem_pio2l.c: Likewise.
2890         * math/e_sinhl.c: Likewise.
2891         * math/e_sqrtl.c: Likewise.
2892         * math/fclrexcpt.c: Likewise.
2893         * math/fedisblxcpt.c: Likewise.
2894         * math/feenablxcpt.c: Likewise.
2895         * math/fegetenv.c: Likewise.
2896         * math/fegetexcept.c: Likewise.
2897         * math/fegetround.c: Likewise.
2898         * math/feholdexcpt.c: Likewise.
2899         * math/fesetenv.c: Likewise.
2900         * math/fesetround.c: Likewise.
2901         * math/feupdateenv.c: Likewise.
2902         * math/fgetexcptflg.c: Likewise.
2903         * math/fraiseexcpt.c: Likewise.
2904         * math/fsetexcptflg.c: Likewise.
2905         * math/ftestexcept.c: Likewise.
2906         * math/k_cosl.c: Likewise.
2907         * math/k_rem_pio2l.c: Likewise.
2908         * math/k_sinl.c: Likewise.
2909         * math/k_tanl.c: Likewise.
2910         * math/s_asinhl.c: Likewise.
2911         * math/s_atanl.c: Likewise.
2912         * math/s_cbrtl.c: Likewise.
2913         * math/s_erfl.c: Likewise.
2914         * math/s_expm1l.c: Likewise.
2915         * math/s_log1pl.c: Likewise.
2916         * math/s_tanhl.c: Likewise.
2917         * misc/acct.c: Likewise.
2918         * misc/brk.c: Likewise.
2919         * misc/chflags.c: Likewise.
2920         * misc/chroot.c: Likewise.
2921         * misc/fchflags.c: Likewise.
2922         * misc/fgetxattr.c: Likewise.
2923         * misc/flistxattr.c: Likewise.
2924         * misc/fremovexattr.c: Likewise.
2925         * misc/fsetxattr.c: Likewise.
2926         * misc/fsync.c: Likewise.
2927         * misc/ftruncate.c: Likewise.
2928         * misc/futimes.c: Likewise.
2929         * misc/futimesat.c: Likewise.
2930         * misc/getdomain.c: Likewise.
2931         * misc/getdtsz.c: Likewise.
2932         * misc/gethostid.c: Likewise.
2933         * misc/gethostname.c: Likewise.
2934         * misc/getloadavg.c: Likewise.
2935         * misc/getpagesize.c: Likewise.
2936         * misc/getsysstats.c: Likewise.
2937         * misc/getxattr.c: Likewise.
2938         * misc/gtty.c: Likewise.
2939         * misc/ioctl.c: Likewise.
2940         * misc/lgetxattr.c: Likewise.
2941         * misc/listxattr.c: Likewise.
2942         * misc/llistxattr.c: Likewise.
2943         * misc/lremovexattr.c: Likewise.
2944         * misc/lsetxattr.c: Likewise.
2945         * misc/lutimes.c: Likewise.
2946         * misc/madvise.c: Likewise.
2947         * misc/mincore.c: Likewise.
2948         * misc/mlock.c: Likewise.
2949         * misc/mlockall.c: Likewise.
2950         * misc/mmap.c: Likewise.
2951         * misc/mprotect.c: Likewise.
2952         * misc/msync.c: Likewise.
2953         * misc/munlock.c: Likewise.
2954         * misc/munlockall.c: Likewise.
2955         * misc/munmap.c: Likewise.
2956         * misc/preadv.c: Likewise.
2957         * misc/preadv64.c: Likewise.
2958         * misc/ptrace.c: Likewise.
2959         * misc/pwritev.c: Likewise.
2960         * misc/pwritev64.c: Likewise.
2961         * misc/readv.c: Likewise.
2962         * misc/reboot.c: Likewise.
2963         * misc/remap_file_pages.c: Likewise.
2964         * misc/removexattr.c: Likewise.
2965         * misc/revoke.c: Likewise.
2966         * misc/select.c: Likewise.
2967         * misc/setdomain.c: Likewise.
2968         * misc/setegid.c: Likewise.
2969         * misc/seteuid.c: Likewise.
2970         * misc/sethostid.c: Likewise.
2971         * misc/sethostname.c: Likewise.
2972         * misc/setregid.c: Likewise.
2973         * misc/setreuid.c: Likewise.
2974         * misc/setxattr.c: Likewise.
2975         * misc/sstk.c: Likewise.
2976         * misc/stty.c: Likewise.
2977         * misc/swapoff.c: Likewise.
2978         * misc/swapon.c: Likewise.
2979         * misc/sync.c: Likewise.
2980         * misc/syncfs.c: Likewise.
2981         * misc/syscall.c: Likewise.
2982         * misc/truncate.c: Likewise.
2983         * misc/ualarm.c: Likewise.
2984         * misc/usleep.c: Likewise.
2985         * misc/ustat.c: Likewise.
2986         * misc/utimes.c: Likewise.
2987         * misc/vhangup.c: Likewise.
2988         * misc/writev.c: Likewise.
2989         * posix/_exit.c: Likewise.
2990         * posix/alarm.c: Likewise.
2991         * posix/execve.c: Likewise.
2992         * posix/fexecve.c: Likewise.
2993         * posix/fork.c: Likewise.
2994         * posix/fpathconf.c: Likewise.
2995         * posix/getaddrinfo.c: Likewise.
2996         * posix/getegid.c: Likewise.
2997         * posix/geteuid.c: Likewise.
2998         * posix/getgid.c: Likewise.
2999         * posix/getgroups.c: Likewise.
3000         * posix/getlogin.c: Likewise.
3001         * posix/getlogin_r.c: Likewise.
3002         * posix/getpgid.c: Likewise.
3003         * posix/getpid.c: Likewise.
3004         * posix/getppid.c: Likewise.
3005         * posix/getresgid.c: Likewise.
3006         * posix/getresuid.c: Likewise.
3007         * posix/getsid.c: Likewise.
3008         * posix/getuid.c: Likewise.
3009         * posix/glob64.c: Likewise.
3010         * posix/nanosleep.c: Likewise.
3011         * posix/pathconf.c: Likewise.
3012         * posix/pause.c: Likewise.
3013         * posix/posix_madvise.c: Likewise.
3014         * posix/pread.c: Likewise.
3015         * posix/pread64.c: Likewise.
3016         * posix/pwrite.c: Likewise.
3017         * posix/pwrite64.c: Likewise.
3018         * posix/sched_getaffinity.c: Likewise.
3019         * posix/sched_getp.c: Likewise.
3020         * posix/sched_gets.c: Likewise.
3021         * posix/sched_primax.c: Likewise.
3022         * posix/sched_primin.c: Likewise.
3023         * posix/sched_rr_gi.c: Likewise.
3024         * posix/sched_setaffinity.c: Likewise.
3025         * posix/sched_setp.c: Likewise.
3026         * posix/sched_sets.c: Likewise.
3027         * posix/sched_yield.c: Likewise.
3028         * posix/setgid.c: Likewise.
3029         * posix/setlogin.c: Likewise.
3030         * posix/setpgid.c: Likewise.
3031         * posix/setresgid.c: Likewise.
3032         * posix/setresuid.c: Likewise.
3033         * posix/setsid.c: Likewise.
3034         * posix/setuid.c: Likewise.
3035         * posix/sleep.c: Likewise.
3036         * posix/spawni.c: Likewise.
3037         * posix/sysconf.c: Likewise.
3038         * posix/times.c: Likewise.
3039         * posix/wait.c: Likewise.
3040         * posix/wait3.c: Likewise.
3041         * posix/wait4.c: Likewise.
3042         * posix/waitpid.c: Likewise.
3043         * resolv/gai_sigqueue.c: Likewise.
3044         * resource/getpriority.c: Likewise.
3045         * resource/getrlimit.c: Likewise.
3046         * resource/getrusage.c: Likewise.
3047         * resource/nice.c: Likewise.
3048         * resource/setpriority.c: Likewise.
3049         * resource/setrlimit.c: Likewise.
3050         * resource/ulimit.c: Likewise.
3051         * rt/aio_cancel.c: Likewise.
3052         * rt/aio_fsync.c: Likewise.
3053         * rt/aio_read.c: Likewise.
3054         * rt/aio_sigqueue.c: Likewise.
3055         * rt/aio_suspend.c: Likewise.
3056         * rt/aio_write.c: Likewise.
3057         * rt/clock_getres.c: Likewise.
3058         * rt/clock_gettime.c: Likewise.
3059         * rt/clock_nanosleep.c: Likewise.
3060         * rt/clock_settime.c: Likewise.
3061         * rt/lio_listio.c: Likewise.
3062         * rt/mq_close.c: Likewise.
3063         * rt/mq_getattr.c: Likewise.
3064         * rt/mq_notify.c: Likewise.
3065         * rt/mq_open.c: Likewise.
3066         * rt/mq_receive.c: Likewise.
3067         * rt/mq_send.c: Likewise.
3068         * rt/mq_setattr.c: Likewise.
3069         * rt/mq_timedreceive.c: Likewise.
3070         * rt/mq_timedsend.c: Likewise.
3071         * rt/mq_unlink.c: Likewise.
3072         * rt/shm_open.c: Likewise.
3073         * rt/shm_unlink.c: Likewise.
3074         * rt/timer_create.c: Likewise.
3075         * rt/timer_delete.c: Likewise.
3076         * rt/timer_getoverr.c: Likewise.
3077         * rt/timer_gettime.c: Likewise.
3078         * rt/timer_settime.c: Likewise.
3079         * setjmp/__longjmp.c: Likewise.
3080         * setjmp/setjmp.c: Likewise.
3081         * signal/kill.c: Likewise.
3082         * signal/killpg.c: Likewise.
3083         * signal/raise.c: Likewise.
3084         * signal/sigaction.c: Likewise.
3085         * signal/sigaltstack.c: Likewise.
3086         * signal/sigblock.c: Likewise.
3087         * signal/sigignore.c: Likewise.
3088         * signal/sigintr.c: Likewise.
3089         * signal/signal.c: Likewise.
3090         * signal/sigpause.c: Likewise.
3091         * signal/sigpending.c: Likewise.
3092         * signal/sigqueue.c: Likewise.
3093         * signal/sigreturn.c: Likewise.
3094         * signal/sigset.c: Likewise.
3095         * signal/sigsetmask.c: Likewise.
3096         * signal/sigstack.c: Likewise.
3097         * signal/sigsuspend.c: Likewise.
3098         * signal/sigtimedwait.c: Likewise.
3099         * signal/sigvec.c: Likewise.
3100         * signal/sigwait.c: Likewise.
3101         * signal/sigwaitinfo.c: Likewise.
3102         * signal/sysv_signal.c: Likewise.
3103         * socket/accept.c: Likewise.
3104         * socket/accept4.c: Likewise.
3105         * socket/bind.c: Likewise.
3106         * socket/connect.c: Likewise.
3107         * socket/getpeername.c: Likewise.
3108         * socket/getsockname.c: Likewise.
3109         * socket/getsockopt.c: Likewise.
3110         * socket/isfdtype.c: Likewise.
3111         * socket/listen.c: Likewise.
3112         * socket/recv.c: Likewise.
3113         * socket/recvfrom.c: Likewise.
3114         * socket/recvmsg.c: Likewise.
3115         * socket/send.c: Likewise.
3116         * socket/sendmsg.c: Likewise.
3117         * socket/sendto.c: Likewise.
3118         * socket/setsockopt.c: Likewise.
3119         * socket/shutdown.c: Likewise.
3120         * socket/sockatmark.c: Likewise.
3121         * socket/socket.c: Likewise.
3122         * socket/socketpair.c: Likewise.
3123         * stdio-common/ctermid.c: Likewise.
3124         * stdio-common/cuserid.c: Likewise.
3125         * stdio-common/remove.c: Likewise.
3126         * stdio-common/rename.c: Likewise.
3127         * stdio-common/renameat.c: Likewise.
3128         * stdio-common/tempname.c: Likewise.
3129         * stdlib/getcontext.c: Likewise.
3130         * stdlib/makecontext.c: Likewise.
3131         * stdlib/setcontext.c: Likewise.
3132         * stdlib/swapcontext.c: Likewise.
3133         * stdlib/system.c: Likewise.
3134         * streams/fattach.c: Likewise.
3135         * streams/fdetach.c: Likewise.
3136         * streams/getmsg.c: Likewise.
3137         * streams/getpmsg.c: Likewise.
3138         * streams/putmsg.c: Likewise.
3139         * streams/putpmsg.c: Likewise.
3140         * sysdeps/unix/bsd/getpt.c: Likewise.
3141         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
3142         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
3143         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
3145         Likewise.
3146         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
3147         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
3148         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3149         * sysvipc/msgctl.c: Likewise.
3150         * sysvipc/msgget.c: Likewise.
3151         * sysvipc/msgrcv.c: Likewise.
3152         * sysvipc/msgsnd.c: Likewise.
3153         * sysvipc/semctl.c: Likewise.
3154         * sysvipc/semget.c: Likewise.
3155         * sysvipc/semop.c: Likewise.
3156         * sysvipc/semtimedop.c: Likewise.
3157         * sysvipc/shmat.c: Likewise.
3158         * sysvipc/shmctl.c: Likewise.
3159         * sysvipc/shmdt.c: Likewise.
3160         * sysvipc/shmget.c: Likewise.
3161         * termios/tcdrain.c: Likewise.
3162         * termios/tcflow.c: Likewise.
3163         * termios/tcflush.c: Likewise.
3164         * termios/tcgetattr.c: Likewise.
3165         * termios/tcgetpgrp.c: Likewise.
3166         * termios/tcsendbrk.c: Likewise.
3167         * termios/tcsetattr.c: Likewise.
3168         * termios/tcsetpgrp.c: Likewise.
3169         * time/adjtime.c: Likewise.
3170         * time/clock.c: Likewise.
3171         * time/getitimer.c: Likewise.
3172         * time/gettimeofday.c: Likewise.
3173         * time/setitimer.c: Likewise.
3174         * time/settimeofday.c: Likewise.
3175         * time/stime.c: Likewise.
3176         * time/time.c: Likewise.
3178 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
3180         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
3181         /usr/old/bin.
3183         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
3184         instead of spaces.
3185         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
3187 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
3189         [BZ #14796]
3190         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
3191         FE_TONEAREST before applying Dekker multiplication and Knuth
3192         addition.  Clear inexact exceptions and check for exact zero
3193         results afterwards.
3194         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3195         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3196         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3197         * math/libm-test.inc (fma_test): Add more tests.
3198         (fma_test_towardzero): Likewise.
3199         (fma_test_downward): Likewise.
3200         (fma_test_upward): Likewise.
3201         * sysdeps/generic/math_private.h (default_libc_fesetround): New
3202         function.
3203         (libc_fesetround): New macro.
3204         (libc_fesetroundf): Likewise.
3205         (libc_fesetroundl): Likewise.
3206         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
3207         function.
3208         (libc_fesetround_387): Likewise.
3209         (libc_fesetroundf): New macro.
3210         (libc_fesetround): Likewise.
3211         (libc_fesetroundl): Likewise.
3212         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
3213         function.
3214         (libc_fesetroundf): New macro.
3215         (libc_fesetround): Likewise.
3216         (libc_fesetroundl): Likewise.
3217         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
3218         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
3219         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
3220         libm_hidden_ver.
3221         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
3222         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
3223         libm_hidden_def.
3224         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
3225         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
3226         libm_hidden_ver.
3227         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
3228         libm_hidden_def.
3230         [BZ #3439]
3231         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
3232         integer constant usable in #if and use that to give value to enum
3233         constant.
3234         (FE_DIVBYZERO): Likewise.
3235         (FE_UNDERFLOW): Likewise.
3236         (FE_OVERFLOW): Likewise.
3237         (FE_INVALID): Likewise.
3238         (FE_INVALID_SNAN): Likewise.
3239         (FE_INVALID_ISI): Likewise.
3240         (FE_INVALID_IDI): Likewise.
3241         (FE_INVALID_ZDZ): Likewise.
3242         (FE_INVALID_IMZ): Likewise.
3243         (FE_INVALID_COMPARE): Likewise.
3244         (FE_INVALID_SOFTWARE): Likewise.
3245         (FE_INVALID_SQRT): Likewise.
3246         (FE_INVALID_INTEGER_CONVERSION): Likewise.
3247         (FE_TONEAREST): Likewise.
3248         (FE_TOWARDZERO): Likewise.
3249         (FE_UPWARD): Likewise.
3250         (FE_DOWNWARD): Likewise.
3251         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
3252         (FE_DIVBYZERO): Likewise.
3253         (FE_OVERFLOW): Likewise.
3254         (FE_UNDERFLOW): Likewise.
3255         (FE_INEXACT): Likewise.
3256         (FE_TONEAREST): Likewise.
3257         (FE_DOWNWARD): Likewise.
3258         (FE_UPWARD): Likewise.
3259         (FE_TOWARDZERO): Likewise.
3260         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
3261         (FE_UNDERFLOW): Likewise.
3262         (FE_OVERFLOW): Likewise.
3263         (FE_DIVBYZERO): Likewise.
3264         (FE_INVALID): Likewise.
3265         (FE_TONEAREST): Likewise.
3266         (FE_TOWARDZERO): Likewise.
3267         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
3268         (FE_OVERFLOW): Likewise.
3269         (FE_UNDERFLOW): Likewise.
3270         (FE_DIVBYZERO): Likewise.
3271         (FE_INEXACT): Likewise.
3272         (FE_TONEAREST): Likewise.
3273         (FE_TOWARDZERO): Likewise.
3274         (FE_UPWARD): Likewise.
3275         (FE_DOWNWARD): Likewise.
3276         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
3277         (FE_DIVBYZERO): Likewise.
3278         (FE_OVERFLOW): Likewise.
3279         (FE_UNDERFLOW): Likewise.
3280         (FE_INEXACT): Likewise.
3281         (FE_TONEAREST): Likewise.
3282         (FE_DOWNWARD): Likewise.
3283         (FE_UPWARD): Likewise.
3284         (FE_TOWARDZERO): Likewise.
3286 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
3288         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
3290 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
3292         * scripts/cross-test-ssh.sh (command): Use newlines to separate
3293         commands.  Quote $PWD.
3294         (blacklist_exports): Don't use remove_newlines.  Replace "declare
3295         -x" by "export".
3296         (remove_newlines): Remove.
3298 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
3300         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
3301         * stdlib/stdlib.h (atof): Moved to ...
3302         * include/bits/stdlib-float.h: Here.  New file.
3303         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
3304         * stdlib/bits/stdlib-float.h: New file.
3305         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
3306         -mno-sse -mno-mmx.
3307         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
3308         <xmmintrin.h>.
3310 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
3312         * conform/conformtest.pl (@headers): Add fenv.h.
3313         * conform/data/fenv.h-data: New file.
3314         * include/fenv.h [_ISOMAC]: Disable all contents of file except
3315         include of <math/fenv.h>.
3317         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
3318         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
3319         && !UNIX98].  Enables tests for XOPEN2K8.
3320         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
3321         POSIX2008]: Likewise.
3323         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
3324         (struct rusage): Do not expect type or its members.
3326         [BZ #3439]
3327         * math/math.h (FP_NAN): Define macro to integer constant usable in
3328         #if and use that to give value to enum constant.
3329         (FP_INFINITE): Likewise.
3330         (FP_ZERO): Likewise.
3331         (FP_SUBNORMAL): Likewise.
3332         (FP_NORMAL): Likewise.
3334 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
3336         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
3337         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
3338         arguments.
3340 2012-11-02  Roland McGrath  <roland@hack.frob.com>
3342         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
3343         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
3344         autoconf-time if not.
3345         * configure.in: Remove AC_PREREQ.
3347 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3349         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
3350         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
3351         of the internal implementation.
3353 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
3355         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
3356         except include of <misc/sys/syslog.h>.
3358 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
3360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
3361         function returns with a NULL context exit with zero.
3363 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3365         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
3367 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
3369         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
3370         (run_program_cmd): This.
3371         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
3372         (tst_langinfo): New variable.  Use it.
3374 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
3376         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
3377         floating point opcodes.
3379 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
3381         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
3382         variable.
3384         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
3386         * sysdeps/mach/hurd/powerpc: Remove directory.
3387         * sysdeps/mach/powerpc: Likewise.
3389 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
3391         * scripts/check-local-headers.sh: Ignore c++ headers.
3393 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
3395         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
3396         __libc_cleanup_region_start argument.
3398 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
3400         [BZ #14784]
3401         [BZ #14785]
3402         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
3403         x * y using scaling, not as x * y + z.
3404         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3405         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3406         * math/libm-test.inc (fma_test): Add more tests.
3407         (fma_test_towardzero): Likewise.
3408         (fma_test_downward): Likewise.
3409         (fma_test_upward): Likewise.
3411 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
3413         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
3415 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
3417         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
3418         New variable.
3420 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
3422         * rt/tst-shm.c (worker): Correct checking for mmap failure.
3424 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
3426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3427         Fix sort order.
3428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3429         Likewise.
3431 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3434         Fix the order of the list for glibc 2.17.
3435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3436         Likewise.
3438 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
3440         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3442 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
3444         [BZ #14610]
3445         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
3446         for low part of x being zero before using __atanl (y).
3447         * math/libm-test.inc (atan2_test): Add another test.
3449         * manual/install.texi (Configuring and compiling): Document
3450         general use of test-wrapper and test-wrapper-env.
3451         * INSTALL: Regenerated.
3453         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
3454         (__fma): Do not extract and scale down low bits on after-rounding
3455         systems when result rounded to normal precision would have normal
3456         exponent.
3457         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
3458         (__fmal): Do not extract and scale down low bits on after-rounding
3459         systems when result rounded to normal precision would have normal
3460         exponent.
3461         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
3462         (__fmal): Do not extract and scale down low bits on after-rounding
3463         systems when result rounded to normal precision would have normal
3464         exponent.
3465         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
3466         macro.
3467         (fma_test): Add more tests.
3468         (fma_test_towardzero): Likewise.
3469         (fma_test_downward): Likewise.
3470         (fma_test_upward): Likewise.
3472 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
3474         * sysdeps/i386/tininess.h: Renamed to ...
3475         * sysdeps/x86/tininess.h: This.
3476         * sysdeps/x86_64/tininess.h: Removed.
3478 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
3480         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
3481         input.  Use $(build-program-cmd).
3482         ($(objpfx)tst-array1-static.out): Likewise.
3483         ($(objpfx)tst-array2.out): Likewise.
3484         ($(objpfx)tst-array3.out): Likewise.
3485         ($(objpfx)tst-array4.out): Likewise.
3486         ($(objpfx)tst-array5.out): Likewise.
3487         ($(objpfx)tst-array5-static.out): Likewise.
3489 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
3491         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
3492         if defined.
3494         * nss/nsswitch.h (nss_interface_function): Provide new
3495         macro for use with NSS functions.
3496         * grp/initgroups.c: Use new macro.
3497         * nss/getXXbyYY.c: Likewise.
3498         * nss/getXXbyYY_r.c: Likewise.
3499         * nss/getXXent.c: Likewise.
3500         * nss/getXXent_r.c: Likewise.
3501         * sysdeps/posix/getaddrinfo.c: Likewise.
3503 2012-10-30  Andreas Jaeger  <aj@suse.de>
3505         * po/ru.po: Update Russion translation from translation project.
3507 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
3509         [BZ #14152]
3510         [BZ #14783]
3511         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
3512         result and shift together with sticky bit instead of replicating
3513         round-to-nearest rounding.
3514         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3515         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3516         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
3517         missing underflow exceptions.
3518         (fma_test_towardzero): Add more tests.
3519         (fma_test_downward): Likewise.
3520         (fma_test_upward): Likewise.
3522         [BZ #14047]
3523         * sysdeps/generic/tininess.h: New file.
3524         * sysdeps/i386/tininess.h: Likewise.
3525         * sysdeps/sh/tininess.h: Likewise.
3526         * sysdeps/x86_64/tininess.h: Likewise.
3527         * stdlib/tst-strtod-underflow.c: Likewise.
3528         * stdlib/tst-tininess.c: Likewise.
3529         * stdlib/strtod_l.c: Include <tininess.h>.
3530         (round_and_return): Do not set errno for exact underflow cases.
3531         Force an underflow exception when setting errno for underflow.
3532         Determine underflow based on rounding to normal precision if
3533         TININESS_AFTER_ROUNDING.
3534         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
3535         ERANGE for exact underflow cases.
3536         * stdlib/Makefile (tests): Add tst-tininess and
3537         tst-strtod-underflow.
3538         ($(objpfx)tst-tininess): Use $(link-libm).
3539         ($(objpfx)tst-strtod-underflow): Likewise.
3541 2012-10-30  Andreas Jaeger  <aj@suse.de>
3543         [BZ#14767]
3544         * elf/Makefile (tests): Remove conditional for have-initfini-array
3545         since this is now always required and the variable does not exist
3546         anymore.
3547         (tests-static): Likewise.
3548         (modules-names): Likewise.
3550         * po/eo.po: Add Esperanto translation from translation project.
3552         * elf/tst-array1.c (fini_array): Make writeable so that it can be
3553         merged with constructor/destructor.
3554         (init_array): Likewise.
3555         * elf/tst-array2dep.c (fini_array): Likewise.
3556         (init_array): Likewise.
3558 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
3560         * manual/message.texi: Delete @cartouche tags.
3562 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
3564         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
3565         EOPNOTSUPP.
3566         * sysdeps/mach/hurd/fsync.c: Likewise.
3568         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
3569         [_POSIX_REALTIME_SIGNALS]: Change condition to
3570         [_POSIX_REALTIME_SIGNALS > 0].
3572 2012-10-27  Andreas Jaeger  <aj@suse.de>
3574         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
3575         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
3576         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
3577         [__WORDSIZE != 64]: Likewise.
3579 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
3581         *  iconvdata/tst-table.sh: Remove ${SHELL}.
3582         *  iconvdata/tst-tables.sh: Likewise.
3584 2012-10-25  David S. Miller  <davem@davemloft.net>
3586         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3587         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
3588         of strtoull.
3590         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
3591         ifunc-impl-list.c
3592         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3593         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
3594         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
3595         file.
3597 2012-10-25  Roland McGrath  <roland@hack.frob.com>
3599         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3600         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
3601         __getdirentries.
3603 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
3604             Jim Blandy  <jimb@codesourcery.com>
3606         * scripts/cross-test-ssh.sh: New file.
3607         * manual/install.texi (Configuring and compiling): Document use of
3608         cross-test-ssh.sh.
3609         * INSTALL: Regenerated.
3611 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
3613         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
3614         EOPNOTSUPP.
3616 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
3618         * Makeconfig (run-program-prefix): Fix comment.
3620 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
3621             Jim Blandy  <jimb@codesourcery.com>
3623         * Makeconfig (test-wrapper): New variable,
3624         (test-wrapper-env): Likewise.
3625         [$(cross-compiling) = yes && $(test-wrapper) != ""]
3626         (run-built-tests): Define to yes.
3627         (run-program-prefix): Use $(test-wrapper).
3628         (built-program-cmd): Likewise.
3629         * Rules (make-test-out): Use $(test-wrapper-env) and
3630         $(host-built-program-cmd).
3631         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
3632         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
3633         tst-pathopt.sh.
3634         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
3635         $(test-wrapper-env) to tst-rtld-load-self.sh.
3636         ($(objpfx)order2.out): Use $(test-wrapper).
3637         ($(objpfx)tst-initorder.out): Likewise.
3638         ($(objpfx)tst-initorder2.out): Likewise.
3639         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
3640         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
3641         (test_wrapper_env): New variable.  Use it to run ld.so.
3642         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
3643         Use it to run ld.so.
3644         (test_wrapper_env): Likewise.
3645         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
3646         $(test-wrapper) to run-iconv-test.sh.
3647         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
3648         (ICONV): Use $test_wrapper.
3649         * posix/Makefile ($(objpfx)globtest.out): Pass
3650         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
3651         globtest.sh, not $(run-program-prefix).
3652         * posix/globtest.sh (run_via_rtld_prefix): New variable.
3653         (test_wrapper): Likewise.
3654         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
3655         set together with run_via_rtld_prefix.
3656         (run_program_prefix): Define in terms of test_wrapper and
3657         run_via_rtld_prefix.
3659 2012-10-24  Roland McGrath  <roland@hack.frob.com>
3661         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
3662         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
3663         Targets removed.
3665         [BZ #14743]
3666         * include/time.h: Remove librt_hidden_proto (clock_gettime).
3667         Declare __clock_getres, __clock_gettime, __clock_settime,
3668         __clock_nanosleep, and __clock_getcpuclockid.
3669         * rt/clock_gettime.c: Define __clock_gettime as an alias.
3670         Remove librt_hidden_def (clock_gettime).
3671         * sysdeps/unix/clock_gettime.c: Likewise.
3672         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
3673         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3674         * rt/clock_getres.c: Define __clock_getres as an alias.
3675         * sysdeps/posix/clock_getres.c: Likewise.
3676         * rt/clock_settime.c: Define __clock_settime as an alias.
3677         * sysdeps/unix/clock_settime.c: Likewise.
3678         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
3679         * sysdeps/unix/clock_nanosleep.c: Likewise.
3680         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3681         * rt/clock-compat.c: New file.
3682         * rt/Makefile (librt-routines): Add clock-compat and move
3683         $(clock-routines) to ...
3684         (routines): ... here, new variable.
3685         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
3686         Don't add get_clockfreq here.
3687         * rt/Versions (libc: GLIBC_2.17): New version set.
3688         Add clock_* symbols here.
3689         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
3690         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
3691         (GLIBC_2.17): Add clock_* symbols.
3692         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3693         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3694         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3696         Likewise.
3697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3698         Likewise.
3699         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3700         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3701         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3702         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3703         * NEWS: Mention the move.
3705         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3706         Use __open, __read, __close rather than their public counterparts.
3707         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3708         (__get_clockfreq_via_cpuinfo): Likewise.
3709         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
3710         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
3712         * config.h.in (HAVE_IFUNC): New #undef.
3713         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
3714         was successful.
3715         * configure: Regenerated.
3717 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
3719         * configure.in: Move READELF check to start of file.
3720         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
3721         libc_cv_asm_gnu_indirect_function in the process.
3722         * configure: Regenerated.
3724 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
3726         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
3727         send the output to /dev/null.
3728         (libc_cv_cc_with_libunwind): Likewise.
3729         (libc_cv_as_noexecstack): Likewise.
3730         * configure: Regenerate.
3732 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
3734         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
3736         * posix/globtest.sh (TMPDIR): Do not set.
3737         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
3738         (testout): Likewise.
3740 2012-10-24  Andreas Jaeger  <aj@suse.de>
3742         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
3743         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
3744         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
3745         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
3746         posix_fadvise64, posix_fallocate64.
3748         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
3749         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
3750         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
3751         Likewise.
3752         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
3753         Likewise.
3754         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
3756         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
3757         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
3758         <bits/fcntl-linux.h>.
3759         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
3761         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
3762         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
3763         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
3764         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
3765         [__WORDSIZE != 64]: Likewise.
3767 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
3769         * Makeconfig (run-built-tests): New variable.
3770         * Rules [$(cross-compiling) = yes]: Change condition to
3771         [$(run-built-tests) = no].
3772         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
3773         to [$(run-built-tests) = yes].
3774         * elf/Makefile [$(cross-compiling) = no]: Likewise
3775         * grp/Makefile [$(cross-compiling) = no]: Likewise.
3776         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
3777         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
3778         * intl/Makefile [$(cross-compiling) = no]: Likewise.
3779         * io/Makefile [$(cross-compiling) = no]: Likewise.
3780         * libio/Makefile [$(cross-compiling) = no]: Likewise.
3781         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
3782         * misc/Makefile [$(cross-compiling) = no]: Likewise.
3783         * posix/Makefile [$(cross-compiling) = no]: Likewise.
3784         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
3785         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
3786         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
3787         * string/Makefile [$(cross-compiling) = no]: Likewise.
3789         * posix/Makefile ($(objpfx)globtest.out): Pass
3790         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
3791         $(rtld-installed-name).
3792         * posix/globtest.sh (elf_objpfx): Remove variable.
3793         (rtld_installed_name): Likewise.
3794         (library_path): Likewise.
3795         (run_program_prefix): New variable.  Use for running globtest
3796         binary.
3798 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
3799             Joseph Myers  <joseph@codesourcery.com>
3801         * Makeconfig (host-built-program-cmd): New variable.
3802         * elf/Makefile (tst-stackguard1-ARGS): Use
3803         $(host-built-program-cmd).
3804         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
3805         (tst-spawn-ARGS): Likewise.
3806         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
3808 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
3809             Jim Blandy  <jimb@codesourcery.com>
3811         * Makeconfig (run-via-rtld-prefix): New variable.
3812         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
3813         (built-program-cmd): Likewise.
3815 2012-10-22  Andreas Jaeger  <aj@suse.de>
3817         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
3818         __O_RSYNC if it exists, otherwise to O_SYNC.
3820 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
3821             Joseph Myers  <joseph@codesourcery.com>
3823         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
3824         /dev/null.
3825         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
3826         from /dev/null
3827         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
3828         /dev/null.
3830 2012-10-22  Andreas Jaeger  <aj@suse.de>
3832         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
3833         Define always.
3834         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
3836         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3837         bits/fcntl-linux.h.
3839         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
3840         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
3842         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
3843         to __O_LARGEFILE.
3844         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
3845         to __O_LARGEFILE.
3847 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
3848             Joseph Myers  <joseph@codesourcery.com>
3850         * config.make.in (NM): New variable.
3852 2012-10-21  Andreas Jaeger  <aj@suse.de>
3854         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
3855         definitions and declarations that are provided by
3856         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3858 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
3860         [BZ #14683]
3861         * elf/Makefile (tests-static): Add tst-leaks1-static.
3862         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
3863         ($(objpfx)tst-leaks1-static): New rule.
3864         ($(objpfx)tst-leaks1-static-mem): Likewise.
3865         (tst-leaks1-static-ENV): New macro.
3866         * elf/dl-open.c (dl_open_worker): Check the main application
3867         only if SHARED is defined.
3868         * elf/tst-leaks1-static.c: New file.
3870 2012-10-20  Andreas Jaeger  <aj@suse.de>
3872         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
3873         generic values for Linux.
3874         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
3875         and declarations that are provided by <bits/fcntl-linux.h> and
3876         include <bits/fcntl-linux.h>.
3877         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3878         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3880 2012-10-20  Roland McGrath  <roland@hack.frob.com>
3882         * io/fcntl.h: Move include of <bits/types.h> to the top and
3883         include it unconditionally.
3885 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
3887         * wcsmbs/Makefile (tests-ifunc): New variable.
3888         (tests): Add $(tests-ifunc).
3889         * wcsmbs/test-wcschr-ifunc.c: New file.
3890         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3891         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3892         * wcsmbs/test-wcslen-ifunc.c: Likewise.
3893         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3894         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3896         * string/Makefile (tests-ifunc): New variable.
3897         (tests): Add $(tests-ifunc).
3898         * string/test-memccpy.c (TEST_NAME): New macro.
3899         * string/test-memchr.c (TEST_NAME): Likewise.
3900         * string/test-memcmp.c (TEST_NAME): Likewise.
3901         * string/test-memcpy.c (TEST_NAME): Likewise.
3902         * string/test-memmem.c (TEST_NAME): Likewise.
3903         * string/test-memmove.c (TEST_NAME): Likewise.
3904         * string/test-memset.c (TEST_NAME): Likewise.
3905         * string/test-rawmemchr.c (TEST_NAME): Likewise.
3906         * string/test-stpcpy.c (TEST_NAME): Likewise.
3907         * string/test-stpncpy.c (TEST_NAME): Likewise.
3908         * string/test-strcasecmp.c (TEST_NAME): Likewise.
3909         * string/test-strcasestr.c (TEST_NAME): Likewise.
3910         * string/test-strcat.c (TEST_NAME): Likewise.
3911         * string/test-strchr.c (TEST_NAME): Likewise.
3912         * string/test-strcmp.c(TEST_NAME): Likewise.
3913         * string/test-strcpy.c (TEST_NAME): Likewise.
3914         * string/test-strcspn.c (TEST_NAME): Likewise.
3915         * string/test-strlen.c (TEST_NAME): Likewise.
3916         * string/test-strncasecmp.c (TEST_NAME): Likewise.
3917         * string/test-strncmp.c (TEST_NAME): Likewise.
3918         * string/test-strncpy.c (TEST_NAME): Likewise.
3919         * string/test-strnlen.c (TEST_NAME): Likewise.
3920         * string/test-strpbrk.c (TEST_NAME): Likewise.
3921         * string/test-strrchr.c (TEST_NAME): Likewise.
3922         * string/test-strspn.c (TEST_NAME): Likewise.
3923         * string/test-strstr.c (TEST_NAME): Likewise.
3924         * string/test-bcopy-ifunc.c: New file.
3925         * string/test-bzero-ifunc.c: Likewise.
3926         * string/test-memccpy-ifunc.c: Likewise.
3927         * string/test-memchr-ifunc.c: Likewise.
3928         * string/test-memcmp-ifunc.c: Likewise.
3929         * string/test-memcpy-ifunc.c: Likewise.
3930         * string/test-memmem-ifunc.c: Likewise.
3931         * string/test-memmove-ifunc.c: Likewise.
3932         * string/test-mempcpy-ifunc.c: Likewise.
3933         * string/test-memset-ifunc.c: Likewise.
3934         * string/test-rawmemchr-ifunc.c: Likewise.
3935         * string/test-stpcpy-ifunc.c: Likewise.
3936         * string/test-stpncpy-ifunc.c: Likewise.
3937         * string/test-strcasecmp-ifunc.c: Likewise.
3938         * string/test-strcasestr-ifunc.c: Likewise.
3939         * string/test-strcat-ifunc.c: Likewise.
3940         * string/test-strchr-ifunc.c: Likewise.
3941         * string/test-strchrnul-ifunc.c: Likewise.
3942         * string/test-strcmp-ifunc.c: Likewise.
3943         * string/test-strcpy-ifunc.c: Likewise.
3944         * string/test-strcspn-ifunc.c: Likewise.
3945         * string/test-strlen-ifunc.c: Likewise.
3946         * string/test-strncasecmp-ifunc.c: Likewise.
3947         * string/test-strncat-ifunc.c: Likewise.
3948         * string/test-strncmp-ifunc.c: Likewise.
3949         * string/test-strncpy-ifunc.c: Likewise.
3950         * string/test-strnlen-ifunc.c: Likewise.
3951         * string/test-strpbrk-ifunc.c: Likewise.
3952         * string/test-strrchr-ifunc.c: Likewise.
3953         * string/test-strspn-ifunc.c: Likewise.
3954         * string/test-strstr-ifunc.c: Likewise.
3956         * debug/Makefile (tests-ifunc): New variable.
3957         (tests): Add $(tests-ifunc).
3958         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
3959         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
3960         * debug/test-stpcpy_chk-ifunc.c: New file.
3961         * debug/test-strcpy_chk-ifunc.c: Likewise.
3963 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3965         [BZ #13601]
3966         * elf/dl-load.c (open_verify): Retry read if the entire ELF
3967         header is not read in.
3969 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
3971         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
3972         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
3973         directly.  Pass built executable to script as
3974         $(built-program-cmd).
3975         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
3976         $testprogram without using LD_LIBRARY_PATH and $ldso.
3978         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
3979         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
3980         $(rtld-installed-name).
3981         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
3982         (rtld_installed_name): Likewise.
3983         (library_path): Likewise.
3984         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
3985         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
3986         $(run-program-prefix) to tst-tables.sh.
3987         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
3988         it to run tst-table-from and tst-table-to.
3989         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
3990         Pass it to tst-table.sh.
3991         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
3992         $(run-program-prefix) to tst-gettext.sh.
3993         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
3994         tst-translit.sh.
3995         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
3996         tst-gettext2.sh.
3997         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
3998         to run tst-gettext.
3999         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
4000         to run tst-gettext2.
4001         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
4002         to run tst-translit.
4003         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
4004         $(run-program-prefix) to tst-mtrace.sh.
4005         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
4006         to run tst-mtrace.
4007         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
4008         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
4009         $(rtld-installed-name).
4010         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
4011         (rtld_installed_name): Likewise.
4012         (run_program_prefix): New variable.  Use it to run wordexp-test.
4014         * Makeconfig (ARCH): Remove all definitions.
4015         (machine): Likewise.
4016         [ARCH]: Remove conditional code.
4017         [!objdir]: Give error.
4018         [!objdir] (objpfx): Remove.
4019         [!objdir] (common-objpfx): Likewise.
4020         [!objdir] (common-objdir): Likewise.
4021         * configure.in (config_makefile): Remove.  Hardcode Makefile in
4022         AC_CONFIG_FILES call.
4023         * configure: Regenerated.
4025         [BZ #13888]
4026         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
4027         or TMPDIR.
4028         (testout): Likewise.
4030         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
4031         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
4032         $(rtld-installed-name).
4033         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
4034         (rtld_installed_name): Likwise.
4035         (runit): Remove function.
4036         (run_getconf): New variable,  Use it for running getconf binary.
4038 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
4040         [BZ #14716]
4041         * string/test-memmem.c (check_result): New function.
4042         (do_one_test): Use it.
4043         (check1): New function.
4044         (test_main): Use it.
4046 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
4048         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
4050 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
4052         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
4053         (_G_LSEEK64): Likewise.
4054         (_G_MMAP64): Likewise.
4055         (_G_FSTAT64): Likewise.
4056         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
4057         (_G_LSEEK64): Likewise.
4058         (_G_MMAP64): Likewise.
4059         (_G_FSTAT64): Likewise.
4060         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
4061         unconditional.  Call __mmap64 directly.
4062         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
4063         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
4064         __lseek64 directly.
4065         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
4066         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
4067         __mmap64 directly.
4068         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
4069         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
4070         __lseek64 directly.
4071         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
4072         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
4073         __lseek64 directly.
4074         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
4075         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
4076         __lseek64 directly.
4077         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
4078         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
4079         __fxstat64 directly.
4080         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
4081         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
4082         unconditional.
4083         (freopen64) [!_G_OPEN64]: Remove conditional code.
4084         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
4085         unconditional.
4086         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
4087         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
4088         unconditional.
4089         (ftello64) [!_G_LSEEK64]: Remove conditional code.
4090         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
4091         unconditional.
4092         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4093         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
4094         unconditional.
4095         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
4096         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
4097         unconditional.
4098         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4099         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
4100         unconditional.
4101         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4102         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
4103         unconditional.
4104         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4106 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4108         [BZ #12140]
4109         * manual/memory.texi (Malloc Tunable Parameters): Add note
4110         about free list pointers overwriting some perturb bytes.
4111         Wording suggested by Roland McGrath.
4113 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
4115         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
4116         (lgamma_test): Likewise.
4117         (tgamma_test): Likewise.
4119 2012-10-16  Florian Weimer  <fweimer@redhat.com>
4121         [BZ #14700]
4122         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
4123         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
4125 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
4127         * NEWS: Mention BZ #14716.
4128         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
4129         when removing AVAILABLE1_USES_J macro.
4131 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
4133         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
4134         (__bswap_64): __uint64_t for unsigned 64-bit int.
4136 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
4138         * include/string.h (memmem): Declare libc hidden alias.
4139         * string/memmem.c (memmem): Define libc hidden alias.
4140         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
4141         __read, __close instead of open, read, close.
4143 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
4145         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
4146         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
4147         global and hidden.
4148         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
4149         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
4150         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
4151         Likewise.
4152         (__rawmemchr_sse2): Likewise.
4153         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
4154         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
4155         (__strchr_sse2): Likewise.
4156         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
4157         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
4158         (__strcasecmp_sse2): Likewise.
4159         (__strncasecmp_sse2): Likewise.
4160         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
4161         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
4162         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
4163         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
4164         (__strrchr_sse2): Likewise.
4165         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
4166         ifunc-impl-list.c.
4167         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4168         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4169         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4170         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4171         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4172         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4173         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4174         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4175         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
4176         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
4177         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
4178         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
4179         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
4180         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4181         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4182         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4183         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4184         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4185         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
4186         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
4187         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
4188         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
4189         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
4190         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4191         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
4192         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4193         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4194         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4195         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4196         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4198         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
4199         global and hidden.
4200         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
4201         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
4202         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
4203         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
4204         Likewise.
4205         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
4206         Likewise.
4207         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
4208         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
4209         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
4210         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
4211         ifunc-impl-list.c.
4212         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4213         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4214         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4215         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4216         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4217         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4218         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4219         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4220         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4221         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4222         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4223         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4224         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4225         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
4226         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
4227         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4228         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
4229         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
4230         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4231         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4232         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4233         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4234         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4235         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4236         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4237         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
4238         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
4239         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
4240         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
4241         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4242         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
4243         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4244         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4245         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
4246         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4247         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4248         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4249         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4250         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4251         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4252         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
4254         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
4255         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
4256         * include/ifunc-impl-list.h: New file.
4257         * misc/ifunc-impl-list.c: Likewise.
4258         * misc/Makefile (routines): Add ifunc-impl-list.
4259         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
4260         * string/test-string.h: Include <ifunc-impl-list.h>.
4261         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
4262         impl_array): New variables.
4263         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
4264         are defined.
4265         (test_init): Call __libc_ifunc_impl_list to initialize
4266         func_list if TEST_IFUNC and TEST_NAME are defined.
4268         * string/Makefile (strop-tests): Add bcopy and bzero.
4269         * string/test-bcopy.c: New file.
4270         * string/test-bzero.c: Likewise.
4271         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
4272         defined.
4273         * string/test-memset.c: Support bzero test if TEST_BZERO is
4274         defined.
4275         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
4276         __libc_memmove.
4277         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
4278         __libc_memset.
4279         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
4280         of memset.
4282 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
4284         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
4285         * configure: Regenerated.
4287         * Makeconfig (+link-static-before-libc): Don't include
4288         $(link-static-libc).
4290         * libio/libio.h (_IO_pos_t): Remove.
4292 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
4294         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
4295         McGrath.
4297 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
4299         * crypt/crypt-entry.c: Include fips-private.h.
4300         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
4301         * crypt/md5c-test.c (main): Tolerate disabled MD5.
4302         * sysdeps/unix/sysv/linux/fips-private.h: New file.
4303         * sysdeps/generic/fips-private.h: New file, dummy fallback.
4305 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
4307         * crypt/crypt-private.h: Include stdbool.h.
4308         (_ufc_setup_salt_r): Return bool.
4309         * crypt/crypt-entry.c: Include errno.h.
4310         (__crypt_r): Return NULL with EINVAL for bad salt.
4311         * crypt/crypt_util.c (bad_for_salt): New.
4312         (_ufc_setup_salt_r): Check that salt is long enough and within
4313         the specified alphabet.
4314         * crypt/badsalttest.c: New file.
4315         * crypt/Makefile (tests): Add it.
4316         ($(objpfx)badsalttest): New.
4318 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
4320         * NEWS: Add entry for BZ #14602.
4322 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
4324         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
4325         type-generic.
4326         * math/libm-test.inc: Update comment listing what functions and
4327         macros are tested.
4328         (isgreater_test): New function.
4329         (isgreaterequal_test): Likewise.
4330         (isless_test): Likewise.
4331         (islessequal_test): Likewise.
4332         (islessgreater_test): Likewise.
4333         (isunordered_test): Likewise.
4334         (main): Call the new functions.
4336 2012-10-09  Roland McGrath  <roland@hack.frob.com>
4338         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
4339         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
4340         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
4341         * sysdeps/i386/configure: Regenerated.
4342         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
4343         * sysdeps/mach/configure: Regenerated.
4344         * sysdeps/mach/hurd/configure: Regenerated.
4345         * sysdeps/powerpc/configure: Regenerated.
4346         * sysdeps/powerpc/powerpc32/configure: Regenerated.
4347         * sysdeps/powerpc/powerpc64/configure: Regenerated.
4348         * sysdeps/s390/s390-32/configure: Regenerated.
4349         * sysdeps/s390/s390-64/configure: Regenerated.
4350         * sysdeps/sh/configure: Regenerated.
4351         * sysdeps/sparc/configure: Regenerated.
4352         * sysdeps/unix/sysv/linux/configure: Regenerated.
4353         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4354         * sysdeps/x86_64/configure: Regenerated.
4356         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
4357         defined.  Don't check if MAP is NULL.
4359 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
4361         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
4362         (_G_stat64): Likewise.
4363         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
4364         (_G_stat64): Likewise.
4365         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
4366         instead of struct _G_stat64.
4367         * libio/fileops.c (mmap_remap_check): Likewise.
4368         (decide_maybe_mmap): Likewise.
4369         (_IO_new_file_seekoff): Likewise.
4370         (_IO_file_stat): Likewise.
4371         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
4372         _G_off64_t.
4373         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
4374         instead of struct _G_stat64.
4375         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4377 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
4379         [BZ #14602]
4380         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4381         Replace with ...
4382         (CHECK_EOL): New macro.
4383         (two_way_short_needle): Check beginning of haystack for EOL.  Use
4384         CHECK_EOL.
4385         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4386         Replace with CHECK_EOL.
4387         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4388         Replace with CHECK_EOL.
4390 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
4392         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
4393         type-generic.
4394         * math/libm-test.inc: Update comment listing what functions and
4395         macros are tested.
4396         (finite_test): New function.
4397         (isinf_test): Likewise.
4398         (isnan_test): Likewise.
4399         (fpclassify_test): Test subnormal input.
4400         (isfinite_test): Likewise.
4401         (isnormal_test): Likewise.
4402         (main): Call the new functions.
4404 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
4406         [BZ #14660]
4407         * Makerules (%.dynsym): Force C locale when running
4408         $(OBJDUMP) --dynamic-syms.
4410 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
4412         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
4413         <stdint.h>.
4415 2012-10-06  David S. Miller  <davem@davemloft.net>
4417         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
4418         upper 32-bits of the length value in %o2 since we use branch-on-register
4419         tests which consider the entire 64-bit register.
4421 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
4423         * string/test-strstr.c (check2): Add a test for page boundary.
4425 2012-10-05  David S. Miller  <davem@davemloft.net>
4427         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
4428         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
4429         file.
4430         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4431         sysdep_routines.
4432         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4433         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
4434         and bzero when HWCAP_SPARC_CRYPTO is present.
4436 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
4438         [BZ #14602]
4439         * string/test-strstr.c (check2): New function.
4440         (test_main): Call check2.
4442         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
4443         and bug-strchr1.
4444         * string/bug-strcasestr1.c (do_test): Moved to ...
4445         * string/test-strcasestr.c (check1): Here.  New function.
4446         (do_one_test): Break out result checking code into ...
4447         (check_result): This.  New function.
4448         (do_one_test): Call check_result.
4449         (test_main): Call check1.
4450         * string/bug-strchr1.c (do_test): Moved to ...
4451         * string/test-strchr.c (check1): Here.  New function.
4452         (do_one_test): Break out result checking code into ...
4453         (check_result): This.  New function.
4454         (do_one_test): Call check_result.
4455         (test_main): Call check1.
4456         * string/bug-strstr1.c (main): Moved to ...
4457         * string/test-strchr.c (check1): Here.  New function.
4458         (do_one_test): Break out result checking code into ...
4459         (check_result): This.  New function.
4460         (do_one_test): Call check_result.
4461         (test_main): Call check1.
4462         * string/bug-strcasestr1.c: Removed.
4463         * string/bug-strchr1.c: Likewise.
4464         * string/bug-strstr1.c: Likewise.
4466         * elf/Makefile (dl-routines): Add hwcaps.
4467         * elf/dl-support.c (_dl_important_hwcaps): Removed.
4468         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
4469         (_dl_important_hwcaps): Moved to ...
4470         * elf/dl-hwcaps.c: Here.  New file.
4471         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
4473         [BZ #14557]
4474         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
4475         if IS_IN_rtld isn't defined.
4477         * elf/dl-support.c (_dl_sysinfo_map): New.
4478         Include "get-dynamic-info.h" and "setup-vdso.h".
4479         (_dl_non_dynamic_init): Call setup_vdso.
4480         * elf/dynamic-link.h: Don't include <assert.h>.
4481         (elf_get_dynamic_info): Moved to ...
4482         * elf/get-dynamic-info.h: Here.  New file.
4483         * elf/dynamic-link.h: Include "get-dynamic-info.h".
4484         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
4485         * elf/setup-vdso.h: Here.  New file.
4486         * elf/rtld.c: Include "setup-vdso.h".
4487         (dl_main): Call setup_vdso.
4489 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
4491         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
4492         creal in comment listing functions tested.  List finite, isinf,
4493         isnan, isless, islessequal, isgreater, isgreaterequal,
4494         islessgreater, isunordered, lgamma_r and pow10 as functions and
4495         macros not tested.  Mention which functions not tested are aliases
4496         for other functions.  Fix typo.  Note that signs of NaNs are not
4497         tested.
4499         * scripts/config.guess: Update from config.git.
4500         * scripts/config.sub: Likewise.
4502 2012-10-04  Roland McGrath  <roland@hack.frob.com>
4504         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
4505         * misc/madvise.c (madvise): Renamed to __madvise.
4506         Make madvise a weak alias.
4507         * include/sys/mman.h: Declare __madvise.
4508         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
4509         * sysdeps/unix/syscalls.list
4510         (madvise): Make __madvise the strong name, and madvise a weak alias.
4511         * sysdeps/unix/sysv/linux/syscalls.list
4512         (madvise, mmap): Remove redundant entries.
4513         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
4514         * malloc/malloc.c (mtrim): Likewise.
4515         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
4517 2012-10-03  Roland McGrath  <roland@hack.frob.com>
4519         * sysdeps/mach/hurd/dl-cache.c: File removed.
4520         * config.h.in (USE_LDCONFIG): New #undef.
4521         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
4522         * configure: Regenerated.
4523         * elf/Makefile (dl-routines): Add dl-cache only under
4524         [$(use-ldconfig) = yes].
4525         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
4526         cache on [USE_LDCONFIG].
4527         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
4528         [USE_LDCONFIG].
4529         * elf/rtld.c (dl_main): Likewise.
4531 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
4533         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
4534         _SC_LEVEL4_CACHE_LINESIZE.
4536 2012-10-03  Roland McGrath  <roland@hack.frob.com>
4538         * sysdeps/unix/bsd/confstr.h: File removed.
4540 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
4542         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
4543         sys/sdt-config.h.
4545 2012-10-02  Roland McGrath  <roland@hack.frob.com>
4547         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
4548         Make 'mapoff' field ElfW(Off) rather than off_t.
4550 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
4552         * nscd/Makefile: Remove nscd-cflags and all its users.
4553         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
4554         (CFLAGS-nonlib): Add compiler flags for nscd modules.
4556         [BZ #10631]
4557         * malloc.c (malloc_printerr): Clarify error message.
4559 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
4561         [BZ #14648]
4562         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4563         Set bit_FMA_Usable if FMA is supported.
4564         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
4565         macro.
4566         (bit_FMA4_Usable): Updated.
4567         (index_FMA_Usable): New macro.
4568         (CPUID_FMA): Likewise
4569         (HAS_FMA): Defined with bit_FMA_Usable.
4571 2012-10-01  Roland McGrath  <roland@hack.frob.com>
4573         * bits/types.h (__swblk_t): Type removed.
4574         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
4575         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
4576         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4577         (__SWBLK_T_TYPE): Likewise.
4578         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4579         (__SWBLK_T_TYPE): Likewise.
4580         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4581         (__SWBLK_T_TYPE): Likewise.
4582         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4583         (__SWBLK_T_TYPE): Likewise.
4585 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
4586             Honza Horak <hhorak@redhat.com>
4588         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
4589         (xdr_mapname): Use YPMAXMAP as maxsize.
4590         (xdr_peername): Use YPMAXPEER as maxsize.
4591         (xdr_keydat): Use YPAXRECORD as maxsize.
4592         (xdr_valdat): Use YPMAXRECORD as maxsize.
4594 2012-10-01  Roland McGrath  <roland@hack.frob.com>
4596         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
4598         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
4599         * csu/init-first.c: ... here.
4600         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
4601         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4602         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4603         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4604         * sysdeps/i386/init-first.c: File removed.
4605         * sysdeps/sh/init-first.c: File removed.
4607 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
4609         [BZ #14645]
4610         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
4611         if x * y might underflow to zero and z is zero.
4612         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4613         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4614         * math/libm-test.inc (min_subnorm_value): New variable.
4615         (fma_test): Add more tests.
4616         (fma_test_towardzero): Likewise.
4617         (fma_test_downward): Likewise
4618         (fma_test_upward): Likewise.
4619         (initialize): Set min_subnorm_value.
4621 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
4623         [BZ #14638]
4624         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
4625         0 + 0.
4626         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
4627         mode for addition resulting in exact zero.
4628         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
4629         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
4630         exact 0 + 0.
4631         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4632         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4633         * math/libm-test.inc (fma_test): Add more tests.
4634         (fma_test_towardzero): New function.
4635         (fma_test_downward): Likewise.
4636         (fma_test_upward): Likewise.
4637         (main): Call the new functions.
4639 2012-09-28  David S. Miller  <davem@davemloft.net>
4641         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
4643 2012-09-28  Roland McGrath  <roland@hack.frob.com>
4645         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
4646         instead of SIGALRM.
4648         * sysdeps/gnu/_G_config.h: Moved to ...
4649         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
4650         * sysdeps/mach/hurd/_G_config.h: Moved to ...
4651         * sysdeps/generic/_G_config.h: ... here.
4653         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
4655         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
4657         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
4658         Conditionalize target on [libnss_test1.so-version].
4660         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
4662         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
4663         (elfobjdir): Move out of conditionals.
4665         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
4666         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
4667         (__nss_lookup_function): Conditionalize label remove_from_tree on
4668         [!DO_STATIC_NSS || SHARED], matching its only use.
4670 2012-09-28  David S. Miller  <davem@davemloft.net>
4672         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
4673         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
4674         file.
4675         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4676         sysdep_routines.
4677         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4678         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
4679         when HWCAP_SPARC_CRYPTO is present.
4681 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
4683         * io/tst-mknodat.c: Create a FIFO instead of a socket.
4685 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
4687         [BZ #6530]
4688         * stdio-common/vfprintf.c (process_string_arg): Revert
4689         2000-07-22 change.
4691 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
4693         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
4694         for testcase.
4695         * stdio-common/tst-sprintf.c: Include <locale.h>
4696         (main): Test sprintf's handling of incomplete multibyte
4697         characters.
4699 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
4701         * elf/dl-runtime.c (VERSYMIDX): Removed.
4702         * elf/dl-version.c (VERSYMIDX): Likewise.
4703         * elf/do-rel.h (VERSYMIDX): Likewise.
4704         (VALIDX): Likewise.
4705         * elf/dynamic-link.h (VERSYMIDX): Likewise.
4706         * elf/rtld.c (VALIDX): Likewise.
4707         (ADDRIDX): Likewise.
4708         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
4709         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
4710         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
4711         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
4712         (VALIDX): Likewise.
4713         (ADDRIDX): Likewise.
4715 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
4717         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
4719 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
4721         [BZ #11438]
4722         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
4723         to global scope.
4724         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
4725         addresses are in the same scope as 192.0.2/24.
4726         * posix/gai.conf: Document new scope table defaults.
4728 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4730         [BZ #5298]
4731         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
4732         for ftell.  Compute offsets from write pointers instead.
4733         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4735 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4737         [BZ #14543]
4738         * libio/Makefile (tests): New test case tst-fseek.
4739         * libio/tst-fseek.c: New test case to verify that fseek/ftell
4740         combination works in wide mode.
4741         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
4742         state when the external buffer state changes.
4744 2012-09-27  David S. Miller  <davem@davemloft.net>
4746         [BZ #14376]
4747         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
4748         pass reloc->r_addend in as the 'high' argument to
4749         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
4751         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4753 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
4755         * rt/tst-aio2.c: Include <pthread.h>.
4756         * rt/tst-aio3.c: Likewise.
4758 2012-09-27  Steve Ellcey  <sellcey@mips.com>
4760         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
4762 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
4764         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
4765         contents on [SHARED].
4767 2012-09-26  Marek Polacek  <polacek@redhat.com>
4769         [BZ #14530]
4770         [BZ #13741]
4771         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
4772         for C++ and GCC <4.3 as well as for non GCC compilers.
4774 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
4776         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4778 2012-09-25  Roland McGrath  <roland@hack.frob.com>
4780         * Makefile.in (all, install): Declare with .PHONY.
4781         Reported by Michael Hope <michael.hope@linaro.org>.
4783 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4785         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
4786         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
4787         system header.
4788         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
4789         Likewise.
4790         (sydep_routines): Add the new and the internal functions.
4791         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
4792         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
4793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
4794         (GLIBC_2.17): Add the new function.
4795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4796         (GLIBC_2.17): Likewise.
4797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4798         (GLIBC_2.17): Likewise.
4799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
4800         (GLIBC_2.17): Likewise.
4801         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
4803 2012-09-25  Alan Modra  <amodra@gmail.com>
4805         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
4806         Add release barrier before setting once_control to say
4807         initialisation is done.  Add hints on lwarx.  Use macro in
4808         place of isync.
4809         (clear_once_control): Add release barrier.
4811 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
4813         [BZ #13629]
4814         * math/s_clog.c (__clog): Handle more values close to |z| = 1
4815         specially.
4816         * math/s_clog10.c (__clog10): Likewise.
4817         * math/s_clog10f.c (__clog10f): Likewise.
4818         * math/s_clog10l.c (__clog10l): Likewise.
4819         * math/s_clogf.c (__clogf): Likewise.
4820         * math/s_clogl.c (__clogl): Likewise.
4821         * math/Makefile (libm-calls): Add x2y2m1.
4822         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
4823         (__x2y2m1): Likewise.
4824         (__x2y2m1l): Likewise.
4825         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
4826         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
4827         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4828         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4829         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4830         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
4831         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
4832         * sysdeps/i386/fpu/libm-test-ulps: Update.
4833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4835         [BZ #14621]
4836         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
4837         int as type of variable DEPTH.
4838         (glob): Use size_t instead of int as type of variables NEWCOUNT
4839         and OLD_PATHC.
4841 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4843         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4844         Add s_sincosf-sse2.
4845         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
4846         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
4847         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
4848         macros for using routine as __sincosf_ia32.
4849         Use macro for function declaration and weak_alias.
4850         * sysdeps/i386/fpu/libm-test-ulps: Update.
4852         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
4853         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4855         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
4856         subnormal argument.
4857         * math/s_cexpf.c (__cexpf): Likewise.
4858         * math/s_csinf.c (__csinf): Likewise.
4859         * math/s_csinhf.c (__csinhf): Likewise.
4860         * math/s_ctanf.c (__ctanf): Likewise.
4861         * math/s_ctanhf.c (__ctanhf): Likewise.
4862         * math/s_ccosh.c (__ccoshf): Likewise.
4863         * math/s_cexp.c (__cexpl): Likewise.
4864         * math/s_csin.c (__csin): Likewise.
4865         * math/s_csinh.c (__csinh): Likewise.
4866         * math/s_ctan.c (__ctan): Likewise.
4867         * math/s_ctanh.c (ctanh): Likewise.
4868         * math/s_ccoshl.c (__ccoshl): Likewise.
4869         * math/s_cexpl.c (__cexpl): Likewise.
4870         * math/s_csinl.c (__csinl): Likewise.
4871         * math/s_csinhl.c (__csinhl): Likewise.
4872         * math/s_ctanl.c (__ctanl): Likewise.
4873         * math/s_ctanhl.c (__ctanhl): Likewise.
4875 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
4877         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
4878         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
4879         (_IO_off_t): Define to __off_t, not _G_off_t.
4880         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
4881         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
4882         (_IO_wint_t): Define to wint_t, not _G_wint_t.
4883         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
4884         type of __dummy and __dummy2 fields.
4885         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
4886         (_G_ssize_t): Likewise.
4887         (_G_off_t): Likewise.
4888         (_G_pid_t): Likewise.
4889         (_G_uid_t): Likewise.
4890         (_G_wchar_t): Likewise.
4891         (_G_wint_t): Likewise.
4892         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
4893         (_G_ssize_t): Likewise.
4894         (_G_off_t): Likewise.
4895         (_G_pid_t): Likewise.
4896         (_G_uid_t): Likewise.
4897         (_G_wchar_t): Likewise.
4898         (_G_wint_t): Likewise.
4899         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
4900         (_G_ssize_t): Likewise.
4901         (_G_off_t): Likewise.
4902         (_G_pid_t): Likewise.
4903         (_G_uid_t): Likewise.
4904         (_G_wchar_t): Likewise.
4905         (_G_wint_t): Likewise.
4907 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4909         * malloc/arena.c: Include malloc-sysdep.h.
4910         (shrink_heap): Use check_may_shrink_heap to decide if madvise
4911         is sufficient to shrink the heap or an unmap is needed.
4912         * sysdeps/generic/malloc-sysdep.h: New file.  Define
4913         new function check_may_shrink_heap.
4914         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
4915         new function check_may_shrink_heap.
4917 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4919         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
4920         comments.
4922 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
4924         * catgets/test-gencat.sh: Add "set -e".
4925         * elf/tst-pathopt.sh: Likewise.
4926         * grp/tst_fgetgrent.sh: Likewise.
4927         * iconvdata/run-iconv-test.sh: Likewise.
4928         * intl/tst-gettext.sh: Likewise.
4929         * intl/tst-gettext2.sh: Likewise.
4930         * intl/tst-gettext4.sh: Likewise.
4931         * intl/tst-gettext6.sh: Likewise.
4932         * intl/tst-translit.sh: Likewise.
4933         * io/ftwtest-sh: Likewise.
4934         * libio/test-freopen.sh: Likewise.
4935         * malloc/tst-mtrace.sh: Likewise.
4936         * posix/globtest.sh: Likewise.
4937         * posix/tst-getconf.sh: Likewise.
4938         * posix/wordexp-tst.sh: Likewise.
4939         * stdio-common/tst-printf.sh: Likewise.
4940         * stdio-common/tst-unbputc.sh: Likewise.
4941         * stdlib/tst-fmtmsg.sh: Likewise.
4942         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4943         * catgets/Makefile: Do not specify -e option when running
4944         testsuite shell scripts.
4945         * elf/Makefile: Likewise.
4946         * grp/Makefile: Likewise.
4947         * iconvdata/Makefile: Likewise.
4948         * intl/Makefile: Likewise.
4949         * io/Makefile: Likewise.
4950         * libio/Makefile: Likewise.
4951         * malloc/Makefile: Likewise.
4952         * posix/Makefile: Likewise.
4953         * stdio-common/Makefile: Likewise.
4954         * stdlib/Makefile: Likewise.
4955         * sysdeps/x86_64/Makefile: Likewise.
4957         * io/ftwtest-sh: Add copyright header.
4958         * posix/globtest.sh: Likewise.
4959         * posix/tst-getconf.sh: Likewise.
4960         * posix/wordexp-tst.sh: Likewise.
4961         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4963 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
4965         [BZ #13679]
4966         * Makeconfig (+link): Defined as $(+link-static) if
4967         $(build-shared) isn't yes.
4968         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
4969         isn't yes.
4970         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
4972         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
4974         [BZ #14562]
4975         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
4976         new chunk size with MALLOC_ALIGN_MASK.
4978 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
4980         [BZ #5044]
4981         * stdio-common/printf_fphex.c: Include <stdbool.h> and
4982         <rounding-mode.h>.
4983         (__printf_fphex): Determine rounding using get_rounding_mode and
4984         round_away.
4985         * stdio-common/tst-printf-round.c (struct hex_test): New
4986         structure.
4987         (hex_tests): New variable.
4988         (test_hex_in_one_mode): New function.
4989         (do_test): Also run tests for hex float output.
4991 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
4993         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4994         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4995         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
4996         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4997         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4998         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
4999         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5000         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5002 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
5004         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
5005         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
5006         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
5007         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
5009 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
5011         [BZ #14579]
5012         * elf/rtld.c (dl_main): Limit the check for self loading to normal
5013         mode only.
5014         * elf/tst-rtld-load-self.sh: New test.
5015         * elf/Makefile: Run it.
5017 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
5019         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
5020         (tst-writev-ENV): Remove.
5021         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
5023 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
5025         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
5027 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
5029         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
5030         unconditional.
5031         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
5032         Likewise.
5033         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
5034         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
5035         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
5036         Likewise.
5038 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
5040         [BZ #14587]
5041         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
5042         * config.make.in (have-cpp-asm-debuginfo): Removed.
5043         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
5044         * configure: Regenerated.
5046 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
5048         [BZ #5044]
5049         * stdio-common/printf_fp.c: Include <stdbool.h> and
5050         <rounding-mode.h>.
5051         (___printf_fp): Determine rounding using get_rounding_mode and
5052         round_away.
5053         * stdio-common/tst-printf-round.c: New file.
5054         * stdio-common/Makefile (tests): Add tst-printf-round.
5055         (link-libm): New variable.
5056         ($(objpfx)tst-printf-round): Depend in $(link-libm).
5058 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
5060         [BZ #14576]
5061         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
5062         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
5063         Likewise.
5064         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
5065         Likewise.
5067 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
5069         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
5070         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5071         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5072         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5074 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
5076         [BZ #14518]
5077         * include/rounding-mode.h: New file.
5078         * sysdeps/generic/get-rounding-mode.h: Likewise.
5079         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
5080         * stdlib/strtod_l.c: Include <rounding-mode.h>.
5081         (MAX_VALUE): New macro.
5082         (MIN_VALUE): Likewise.
5083         (overflow_value): New function.
5084         (underflow_value): Likewise.
5085         (round_and_return): Use overflow_value and underflow_value to
5086         determine return values in overflow and underflow cases.  Use
5087         round_away to determine rounding depending on rounding mode.
5088         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
5089         determine return values in overflow and underflow cases.
5090         * stdlib/tst-strtod-round.c: Include <fenv.h>.
5091         (struct test_results): New structure.
5092         (struct test): Use struct test_results to store expected results
5093         for all rounding modes.
5094         (TEST): Include expected results for all rounding modes.
5095         (test_in_one_mode): New function.
5096         (do_test): Use test_in_one_mode to compute and check results.
5097         Check results for all rounding modes.
5098         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
5099         $(link-libm).
5101 2012-12-09  Allan McRae  <allan@archlinux.org>
5103         * sysdeps/i386/fpu/libm-test-ulps: Update
5105 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
5107         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
5108         (_G_int32_t): Likewise.
5109         (_G_uint16_t): Likewise.
5110         (_G_uint32_t): Likewise.
5111         (_G_HAVE_BOOL): Likewise.
5112         (_G_HAVE_ATEXIT): Likewise.
5113         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5114         (_G_HAVE_IO_FILE_OPEN): Likewise.
5115         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
5116         (_G_int32_t): Likewise.
5117         (_G_uint16_t): Likewise.
5118         (_G_uint32_t): Likewise.
5119         (_G_HAVE_BOOL): Likewise.
5120         (_G_HAVE_ATEXIT): Likewise.
5121         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5122         (_G_HAVE_IO_FILE_OPEN): Likewise.
5123         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
5124         (_G_int32_t): Likewise.
5125         (_G_uint16_t): Likewise.
5126         (_G_uint32_t): Likewise.
5127         (_G_HAVE_BOOL): Likewise.
5128         (_G_HAVE_ATEXIT): Likewise.
5129         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5130         (_G_HAVE_IO_FILE_OPEN): Likewise.
5132 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
5134         * csu/libc-tls.c: Update copyright years.
5136 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
5138         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
5139         [!_G_USING_THUNKS]: Remove conditional code.
5140         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
5141         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
5143         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
5144         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
5145         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5146         (_G_VTABLE_LABEL_PREFIX): Likewise.
5147         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5148         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5149         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5150         (_G_VTABLE_LABEL_PREFIX): Likewise.
5151         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5152         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5153         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5154         (_G_VTABLE_LABEL_PREFIX): Likewise.
5155         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5157 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
5159         * libio/Makefile: Include ../Makeconfig before tests.
5160         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
5161         only if $(build-shared) is yes.
5163         * iconv/gconv_db.c: Update copyright years.
5165 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5167         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
5168         unwind info if defined PIC. Fix special cases description.
5169         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
5171         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
5172         DP_HI_MASK entry.
5173         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
5175 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
5177         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
5179         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
5180         is NULL.
5182         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
5183         (LDLIBS-tst-chk4): This.
5184         (LDFLAGS-tst-chk5): Renamed to ...
5185         (LDLIBS-tst-chk5): This.
5186         (LDFLAGS-tst-chk6): Renamed to ...
5187         (LDLIBS-tst-chk6): This.
5188         (LDFLAGS-tst-lfschk4): Renamed to ...
5189         (LDLIBS-tst-lfschk4): This.
5190         (LDFLAGS-tst-lfschk5): Renamed to ...
5191         (LDLIBS-tst-lfschk5): This.
5192         (LDFLAGS-tst-lfschk6): Renamed to ...
5193         (LDLIBS-tst-lfschk6): This.
5195         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
5196         on $(common-objpfx)soversions.mk.
5198 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
5200         [BZ #10014]
5201         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
5202         example host name.
5204 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
5206         * malloc/arena.c (arena_get_retry): New function that gets
5207         another arena for the caller to try its request on.
5208         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
5209         current arena cannot fulfill the request.
5210         (__libc_memalign): Likewise.
5211         (__libc_memalign): Likewise.
5212         (__libc_pvalloc): Likewise.
5213         (__libc_calloc): Likewise.
5215 2012-09-05  John Tobey  <john.tobey@gmail.com>
5217         [BZ #13542]
5218         * manual/arith.texi (Operations on Complex): Fix description
5219         of carg branch cut.
5221 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
5223         [BZ #10014]
5224         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
5225         host name.
5227         [BZ #10038]
5228         * manual/memory.texi (Memory): Make order of menu items match
5229         order of sections.
5231 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
5233         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
5234         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
5235         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
5237 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
5239         * csu/libc-tls.c (static_dtv): Renamed to ...
5240         (_dl_static_dtv): This.  Make it global.
5241         (_dl_initial_dtv): Removed.
5242         (__libc_setup_tls): Updated.
5243         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
5244         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
5245         DL_INITIAL_DTV.
5247 2012-09-06  Petr Machata  <pmachata@redhat.com>
5249         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
5250         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
5251         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
5252         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
5254 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
5256         [BZ #14545]
5257         * csu/libc-tls.c (_dl_initial_dtv): New variable.
5258         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
5259         freeing dtv[-1].
5261 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
5263         [BZ #14544]
5264         * Makeconfig (link-static-before-libc): Replace $(+prector)
5265         with $(+prectorT).
5266         (link-static-after-libc): Replace $(+postctor) with
5267         $(+postctorT).
5268         (link-bounded): Replace $(+prector)/$(+postctor) with
5269         $(+prectorT)/$(+postctorT).
5270         (+prectorT): New macro.
5271         (+postctorT): Likewise.
5273 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
5275         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
5276         (round_str): Handle values above the maximum for IBM long double
5277         as inexact.
5278         * stdlib/tst-strtod-round.c (tests): Regenerated.
5280 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5282         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
5283         assembler flag.
5284         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
5285         zarch_nohighgprs around the zarch optimized routines.
5286         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5287         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5288         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
5289         for zarch.
5291 2012-09-05  David S. Miller  <davem@davemloft.net>
5293         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5295         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
5296         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
5297         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
5298         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5299         entries.
5301 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
5303         * malloc/arena.c: Fold copyright years.
5304         * malloc/mcheck.c, malloc/memusage.c: Likewise.
5306 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
5308         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
5310 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
5312         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
5314 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
5316         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
5317         change internal state upon failure.
5319 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
5321         * malloc/mcheck.c (mcheck_check_all): Fix typo.
5322         * malloc/memusage.c (mmap): Likewise.
5323         (mmap64, mremap): Likewise.  Adjust name in comment.
5325 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5327         * libio/fileops.c: Fix typos in comments.
5328         * libio/oldfileops.c: Likewise.
5329         * libio/wfileops.c: Likewise.
5331 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5333         [BZ #1349]
5334         * malloc/Makefile (tests): Add tst-malloc-usable test case.
5335         (tst-malloc-usable-ENV): Set environment for test case.
5336         * malloc/hooks.c (malloc_check_get_size): New function to get
5337         requested size.
5338         * malloc/malloc.c (musable): Use malloc_check_get_size.
5339         * malloc/tst-malloc-usable.c: New test case.
5341 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
5343         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
5345 2012-09-05  Allan McRae  <allan@archlinux.org>
5347         [BZ #13966]
5348         * configure.in (CXX_SYSINCLUDES): Use compiler output to
5349         determine header location.
5350         * configure: Regenerated.
5352 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
5354         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
5355         float format.
5356         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
5357         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
5358         format.
5359         (test): Regenerate.
5361 2012-09-04  David S. Miller  <davem@davemloft.net>
5363         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
5364         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
5365         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
5367 2012-09-04  Florian Weimer  <fweimer@redhat.com>
5369         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
5370         failures.
5372         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
5374 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
5376         [BZ #9914]
5377         * libio/iogetdelim.c: Include <limits.h>.
5378         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
5379         + len + 1 would overflow.
5381 2012-09-03  Andreas Jaeger  <aj@suse.de>
5383         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5384         * sysdeps/i386/fpu/libm-test-ulps: Update.
5386 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5388         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5389         Add s_sinf-sse2, s_conf-sse2.
5391         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
5392         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
5393         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
5394         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
5396         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
5397         for using routine as __sinf_ia32.
5398         Use macro for function declaration and weak_alias.
5399         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
5400         for using routine as __cosf_ia32.
5401         Use macro for function declaration and weak_alias.
5403         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
5404         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
5406         * sysdeps/x86_64/fpu/s_sinf.S: New file.
5407         * sysdeps/x86_64/fpu/s_cosf.S: New file.
5408         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5410         * math/libm-test.inc (cos_test): Add more test cases.
5411         (sin_test): Likewise.
5412         (sincos_test): Likewise.
5414 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5416         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5417         (IFUNC_RESOLVE): Make pointers to the specialized implementations
5418         hidden.
5419         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5421 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
5423         [BZ #14538]
5424         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
5425         first element of the GOT.
5426         (elf_machine_load_address): Return the difference between
5427         the runtime address of _DYNAMIC and elf_machine_dynamic ().
5429 2012-09-01  Allan McRae  <allan@archlinux.org>
5431         [BZ #13412]
5432         * configure.in (AWK): Require gawk version 3.0 or later.
5433         * configure: Regenerated.
5435 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
5437         * sysdeps/unix/sysv/linux/kernel-features.h
5438         (__ASSUME_POSIX_CPU_TIMERS): Remove.
5439         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5440         [__NR_clock_getres]: Make code unconditional.
5441         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
5442         (clock_getcpuclockid): Remove code left unreachable by removal of
5443         conditionals.
5444         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
5445         code unconditional.
5446         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5447         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5448         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
5449         Make code unconditional.
5450         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5451         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5452         * sysdeps/unix/sysv/linux/clock_settime.c
5453         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
5454         conditional code.
5455         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
5456         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5458 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
5460         [BZ #14476]
5461         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
5462         scripts/test-installation.pl.
5464         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
5465         and $ld_so_version if it is set.
5467 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5469         [BZ #14516]
5470         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
5471         failure if reading from procfs failed.
5472         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
5474 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
5476         * sysdeps/unix/sysv/linux/kernel-features.h
5477         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
5478         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5479         Remove conditional code.
5480         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5481         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
5482         Remove conditional code.
5483         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5484         * sysdeps/unix/sysv/linux/i386/fxstat.c
5485         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5486         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5487         * sysdeps/unix/sysv/linux/i386/fxstatat.c
5488         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5489         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5490         * sysdeps/unix/sysv/linux/i386/lxstat.c
5491         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5492         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5493         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
5494         Remove conditional code.
5495         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5496         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5497         Remove conditional code.
5498         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5499         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
5500         <kernel-features.h>.
5501         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
5502         Remove.
5503         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
5504         Remove conditional code.
5505         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5506         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
5507         Remove conditional.
5509 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
5511         [BZ #5400]
5512         * NEWS: Add fixed bug number.
5514 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
5516         [BZ #14519]
5517         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
5518         underflowing exponent in case of negative sign.
5519         * stdlib/tst-strtod-round-data: Add more tests.
5520         * stdlib/tst-strtod-round.c (tests): Regenerated.
5522         [BZ #3479]
5523         * stdlib/strtod_l.c (NDIG): Remove.
5524         (HEXNDIG): Likewise.
5525         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
5526         smallest representable value.
5527         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
5528         lie within an exact representation of 1/2 ulp of the result.
5529         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
5530         unconditionally.
5531         (TENS_P9_IDX): Define unconditionally.
5532         (TENS_P9_SIZE): Likewise.
5533         (TENS_P10_IDX): Likewise.
5534         (TENS_P10_SIZE): Likewise.
5535         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
5536         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
5537         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
5538         entries for 10^2^13 and 10^2^14.
5539         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
5540         (TENS_P13_IDX): Define.
5541         (TENS_P13_SIZE): Likewise.
5542         (TENS_P14_IDX): Likewise.
5543         (TENS_P14_SIZE): Likewise.
5544         (_fpioconst_pow10): Change array size to
5545         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
5546         unconditional.
5547         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
5548         1024]: Add entries for 10^2^13 and 10^2^14.
5549         [LAST_POW10 > _LAST_POW10]: Remove #error.
5550         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
5551         (_fpioconst_pow10): Change array size to
5552         FPIOCONST_POW10_ARRAY_SIZE.
5553         * stdlib/gen-fpioconst.c: New file.
5554         * stdlib/gen-tst-strtod-round.c: Likewise.
5555         * stdlib/tst-strtod-round-data: Likewise.
5556         * stdlib/tst-strtod-round.c: Likewise.
5557         * stdlib/Makefile (tests): Add tst-strtod-round.
5559         [BZ #14459]
5560         * stdlib/strtod_l.c: Include <stdint.h>.
5561         (NDEBUG): Do not define.
5562         (round_and_return): Change EXPONENT parameter to type intmax_t.
5563         Rearrange calculations to avoid internal overflow possibilities.
5564         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
5565         Rearrange calculations to avoid internal overflow possibilities.
5566         Assert that number fits inside MPNSIZE limbs.
5567         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
5568         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
5569         calculations and add assertions to avoid internal overflow
5570         possibilities.  Add casts to avoid signed/unsigned operations.
5571         * stdlib/tst-strtod-overflow.c: New file.
5572         * stdlib/Makefile (tests): Add tst-strtod-overflow.
5574 2012-08-25  Marek Polacek  <polacek@redhat.com>
5576         * time/time.h: Fix some typos in comments.
5578 2012-08-23  Roland McGrath  <roland@hack.frob.com>
5580         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
5581         * posix/tst-rfc3484-2.c: Likewise.
5582         * posix/tst-rfc3484-3.c: Likewise.
5584 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
5586         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
5587         (EF_ARM_ABI_FLOAT_HARD): Likewise.
5589 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
5591         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
5592         #include of fxstatat64.c.
5594 2012-08-22  Roland McGrath  <roland@hack.frob.com>
5596         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
5597         * shadow/getspent_r.c: Likewise.
5598         * shadow/getspnam.c: Likewise.
5599         * shadow/getspnam_r.c: Likewise.
5600         * gshadow/getsgent.c: Likewise.
5601         * gshadow/getsgent_r.c: Likewise.
5602         * gshadow/getsgnam.c: Likewise.
5603         * gshadow/getsgnam_r.c: Likewise.
5604         * inet/getnetbyad.c: Likewise.
5605         * inet/getnetbyad_r.c: Likewise.
5606         * inet/getnetbynm.c: Likewise.
5607         * inet/getnetbynm_r.c: Likewise.
5608         * inet/getnetent.c: Likewise.
5609         * inet/getnetent_r.c: Likewise.
5610         * inet/getproto.c: Likewise.
5611         * inet/getproto_r.c: Likewise.
5612         * inet/getprtent.c: Likewise.
5613         * inet/getprtent_r.c: Likewise.
5614         * inet/getprtname.c: Likewise.
5615         * inet/getprtname_r.c: Likewise.
5616         * inet/getrpcbyname.c: Likewise.
5617         * inet/getrpcbyname_r.c: Likewise.
5618         * inet/getrpcbynumber.c: Likewise.
5619         * inet/getrpcbynumber_r.c: Likewise.
5620         * inet/getrpcent.c: Likewise.
5621         * inet/getrpcent_r.c: Likewise.
5622         * inet/getaliasent.c: Likewise.
5623         * inet/getaliasent_r.c: Likewise.
5624         * inet/getaliasname.c: Likewise.
5625         * inet/getaliasname_r.c: Likewise.
5626         * nscd/getgrgid_r.c: Likewise.
5627         * nscd/getgrnam_r.c: Likewise.
5628         * nscd/gethstbyad_r.c: Likewise.
5629         * nscd/gethstbynm3_r.c: Likewise.
5630         * nscd/getpwnam_r.c: Likewise.
5631         * nscd/getpwuid_r.c: Likewise.
5632         * nscd/getsrvbynm_r.c: Likewise.
5633         * nscd/getsrvbypt_r.c: Likewise.
5634         * nscd/gai.c: Likewise.
5636         * configure.in (build_nscd): New substituted variable, set
5637         by --disable-build-nscd and defaults to $use_nscd.
5638         * configure: Regenerated.
5639         * config.make.in (build-nscd): New substituted variable.
5640         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
5641         Change conditional to require [$(build-nscd) = yes] as well.
5642         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
5644         [BZ# 13696]
5645         * configure.in (use_nscd): New substituted variable, set by
5646         --disable-nscd.  If enabled, define USE_NSCD.
5647         * configure: Regenerated.
5648         * config.h.in: Add USE_NSCD.
5649         * config.make.in (use-nscd): New substituted variable.
5650         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
5651         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
5652         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
5653         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
5654         (CFLAGS-getgrnam_r.c): Likewise.
5655         (CFLAGS-initgroups.c): Likewise.
5656         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
5657         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
5658         Variables removed.
5659         * inet/getnetgrent_r.c
5660         (nscd_setnetgrent): New function, broken out of ...
5661         (setnetgrent): ... here.  Call it.
5662         (innetgr): Conditionalize nscd bits on [USE_NSCD].
5663         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
5664         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
5665         * nscd/Makefile (routines, aux): Move definitions after include of
5666         Makeconfig.  Conditionalize on [$(use-nscd) != no].
5667         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
5668         Conditionalize on [USE_NSCD].
5669         (is_nscd, nscd_init_cb): Likewise.
5670         (nss_load_library): Conditionalize init callback on [USE_NSCD].
5671         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
5672         * nss/nss_db/db-init.c: Likewise.
5673         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
5674         [USE_NSCD].
5675         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
5676         (make_request): Use it.
5677         (cache_valid_p): New function.
5678         (__check_pf): Use it.
5679         * NEWS: Add item for --disable-nscd.
5681 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
5683         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
5684         to support sed >= 4.2.1-20-ga9bf076.
5685         * configure: Regenerated.
5687 2012-08-22  Roland McGrath  <roland@hack.frob.com>
5689         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
5690         Conditionalize whole body on [IREL].
5692 2012-08-22  Jeff Law <law@redhat.com>
5694         [BZ #14505]
5695         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
5696         if the family is PF_UNSPEC.
5698 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
5700         * Makerules (lib-version): Rename from V.
5701         (install-lib-nosubdir): Change V to lib-version.
5703 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
5705         [BZ #14252]
5706         * powerpc32/power6/wcschr.c: New file.
5707         * powerpc32/power6/wcscpy.c: New file.
5708         * powerpc32/power6/wcsrchr.c: New file.
5709         * powerpc64/power6/wcschr.c: New file.
5710         * powerpc64/power6/wcscpy.c: New file.
5711         * powerpc64/power6/wcsrchr.c: New file.
5713 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
5715         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
5716         (two_way_short_needle): Use it.
5717         * string/strstr.c (AVAILABLE1_USES_J): Define.
5718         * string/strcasestr.c: Likewise.
5720         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
5721         array references.
5722         * string/strcasestr.c (TOLOWER): Make side-effect safe.
5724         [BZ #11607]
5725         * NEWS: Add an entry.
5726         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
5727         define their defaults.
5728         (two_way_short_needle): Detect end-of-string on-the-fly.
5729         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
5730         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
5731         * string/bug-strcasestr1.c: New test.
5732         * string/Makefile: Run it.
5734 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
5736         [BZ #11607]
5737         * string/str-two-way.h (two_way_short_needle): Optimize matching of
5738         the first character.
5740 2012-08-21  Roland McGrath  <roland@hack.frob.com>
5742         * csu/elf-init.c (__libc_csu_irel): Function removed.
5743         * csu/libc-start.c (apply_irel): New function.
5744         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
5746 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
5748         * sysdeps/unix/sysv/linux/kernel-features.h
5749         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
5750         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5751         <kernel-features.h>.
5752         [__NR_fadvise64_64]: Make code unconditional.
5753         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
5754         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5755         !__NR_fadvise64_64)]: Likewise.
5756         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5757         !__NR_fadvise64_64))]: Likewise.
5758         [__NR_fadvise64]: Make code unconditional.
5759         [!__NR_fadvise64]: Remove conditional code.
5760         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
5761         <kernel-features.h>.
5762         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5763         unconditional.
5764         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5765         conditional code.
5766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
5767         not include <kernel-features.h>.
5768         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5769         unconditional.
5770         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5771         conditional code.
5772         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
5773         include <kernel-features.h>.
5774         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5775         unconditional.
5776         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5777         conditional code.
5779 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
5781         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
5782         slight instruction rearrangements per scrollpipe analysis.
5783         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5785 2012-08-20  Roland McGrath  <roland@hack.frob.com>
5787         * manual/syslog.texi (syslog; vsyslog, closelog):
5788         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
5789         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
5791         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
5792         DSOCAPS to match condition on defining it.
5794 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
5796         * sysdeps/unix/sysv/linux/kernel-features.h
5797         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
5798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
5799         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5800         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
5802         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5803         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
5805         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5806         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5808         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
5809         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
5811         * sysdeps/unix/sysv/linux/kernel-features.h
5812         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
5813         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
5814         unconditional.
5815         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5816         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
5817         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5818         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5819         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
5820         Make code unconditional.
5821         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5822         (__mmap64) [!__NR_mmap2]: Likewise.
5823         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
5824         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5825         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5826         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
5827         [__NR_mmap2]: Make code unconditional.
5828         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5829         (__mmap64) [!__NR_mmap2]: Likewise.
5831 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5833         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
5835 2012-08-18  Andreas Jaeger  <aj@suse.de>
5837         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
5839 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
5841         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
5842         * include/unistd.h (__have_sock_cloexec): Likewise.
5843         (__have_pipe2): Likewise.
5844         (__have_dup3): Likewise.
5846 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
5848         [BZ #9685]
5849         * include/unistd.h (__have_pipe2): Change define into an extern int.
5850         (__have_dup3): Likewise.
5851         * socket/have_sock_cloexec.c: Include fcntl.h.
5852         (__have_pipe2): New variable.
5853         (__have_dup3): Likewise.
5855 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
5857         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
5859 2012-08-17  Marek Polacek  <polacek@redhat.com>
5861         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
5862         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
5864 2012-08-17  Roland McGrath  <roland@hack.frob.com>
5866         * configure.in: Add AC_SUBST for sysheaders.
5867         * configure: Regenerated.
5868         * config.make.in (sysheaders): New substituted variable.
5870         * sysdeps/unix/mkfifo.c: Moved ...
5871         * sysdeps/posix/mkfifo.c: ... here.
5872         * sysdeps/unix/mkfifoat.c: Moved ...
5873         * sysdeps/posix/mkfifoat.c: ... here.
5875         * sysdeps/unix/utime.c: Moved ...
5876         * sysdeps/posix/utime.c: ... here.
5878         * sysdeps/unix/time.c: Moved ...
5879         * sysdeps/posix/time.c: ... here.
5880         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
5881         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
5883         * sysdeps/unix/nice.c: Moved ...
5884         * sysdeps/posix/nice.c: ... here.
5886         * sysdeps/unix/alarm.c: Moved ...
5887         * sysdeps/posix/alarm.c: ... here.
5889         * intl/Makefile ($(codeset_mo)): Depend on the input file.
5891 2012-08-17  Jeff Law <law@redhat.com>
5893         * intl/Makefile (codeset_mo): New variable.
5894         ($(codeset_mo)): New target.
5895         (tst-codeset.out): Depend on that.  Remove explicit rule.
5896         (tst-gettext3.out, tst-gettext5.out): Likewise.
5897         (LOCPATH-ENV, tst-codeset-ENV): New variables.
5898         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
5899         * intl/tst-codeset.sh: Remove.
5900         * intl/tst-gettext3.sh: Likewise.
5901         * intl/tst-gettext5.sh: Likewise.
5903 2012-08-17  Roland McGrath  <roland@hack.frob.com>
5905         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
5906         * sysdeps/unix/syscalls.list: ... here.
5908         * sysdeps/posix/getaddrinfo.c
5909         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
5910         (gaiconf_init, gaiconf_reload): Use them.
5911         [!_STATBUF_ST_NSEC]
5912         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
5913         Define using time_t rather than struct timespec.
5915         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
5916         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
5917         Macros removed.
5918         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
5919         [!NO_THREADS].
5920         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
5921         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
5922         Likewise.
5924         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
5925         __libc_cleanup_push argument.
5927         * bits/param.h: New file.
5928         * misc/sys/param.h: New file.
5929         * include/sys/param.h: New file.
5930         * misc/Makefile (headers): Add bits/param.h.
5931         * sysdeps/generic/sys/param.h: File removed.
5932         * sysdeps/unix/sysv/linux/bits/param.h: New file.
5933         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
5934         * sysdeps/mach/hurd/bits/param.h: New file.
5935         * sysdeps/mach/hurd/sys/param.h: File removed.
5937         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
5938         last change.
5940         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
5941         [_IO_MTSAFE_IO].
5942         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
5943         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
5944         New macros.
5946         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
5947         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
5948         rather than -D_IO_MTSAFE_IO conditionally.
5949         * stdio-common/Makefile (CPPFLAGS): Likewise.
5950         * wcsmbs/Makefile (CPPFLAGS): Likewise.
5951         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
5952         Use $(libio-mtsafe).
5953         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
5954         of -D_IO_MTSAFE_IO.
5955         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
5956         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
5957         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
5958         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
5959         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
5960         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
5961         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
5962         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
5963         (CFLAGS-fread_u_chk.c): Likewise.
5964         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
5965         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
5966         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
5967         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
5968         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
5969         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
5970         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
5971         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
5972         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
5974         * libio/Makefile: Test [$(libc-reentrant) = yes]
5975         instead of [$(filter %REENTRANT, $(defines)) nonempty].
5977         * Makeconfig
5978         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
5979         * sysdeps/pthread/configure: File removed.
5980         * sysdeps/pthread/Makeconfig: New file.
5981         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
5982         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
5984 2012-08-16  Gary Benson  <gbenson@redhat.com>
5986         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
5987         unmapping the first object in a namespace.
5989 2012-08-16  Roland McGrath  <roland@hack.frob.com>
5991         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
5992         (__internal_setnetgrent): ... this.  Add internal_function to
5993         definition.  Add libc_hidden_def.
5994         (setnetgrent): Update caller.
5995         (internal_endnetgrent): Renamed to ...
5996         (__internal_endnetgrent): ... this.  Add internal_function to
5997         definition.  Add libc_hidden_def.
5998         (endnetgrent): Update caller.
5999         (internal_getnetgrent_r): Renamed to ...
6000         (__internal_getnetgrent_r): ... this.  Add internal_function to
6001         definition.  Add libc_hidden_def.
6002         (__getnetgrent_r): Update caller.
6003         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
6005 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
6007         * stdlib/longlong.h: Update from GCC.
6009 2012-08-16  Roland McGrath  <roland@hack.frob.com>
6011         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
6012         on _QL, which is set by umul_ppmm but never used.
6013         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
6014         variables, which are set by GMP macros but never used.
6015         * stdio-common/_itowa.c (_itowa): Likewise.
6016         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
6017         * stdlib/mod_1.c (mpn_mod_1): Likewise.
6019 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
6021         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
6022         struct La_sh_regs is not constant.
6023         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
6024         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
6025         and struct La_sparc64_regs are not constant.
6027 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
6029         * sysdeps/unix/sysv/linux/kernel-features.h
6030         (__ASSUME_POSIX_TIMERS): Remove.
6031         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6032         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6033         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
6034         Make code unconditional.
6035         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6036         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
6037         Make code unconditional.
6038         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6039         * sysdeps/unix/sysv/linux/clock_nanosleep.c
6040         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
6041         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6042         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
6043         Make code unconditional.
6044         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6045         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
6046         (__libc_missing_posix_timers): Remove.
6048 2012-08-15  Roland McGrath  <roland@hack.frob.com>
6050         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
6051         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
6053         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
6055         * elf/dl-sym.c: Include <stdlib.h>.
6057         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
6058         constants, which avoids warnings in 32-bit builds.
6060         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
6061         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
6063         * misc/lseek.c: File moved to ...
6064         * io/lseek.c: ... here.
6066         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
6068         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
6069         shifting LEN more than 31 bits at once.
6071 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6073         [BZ #14195]
6074         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
6075         segmentation fault for a case of two empty input strings.
6076         * string/test-strncasecmp.c (check1): Renamed to...
6077         (bz12205): ...this.
6078         (bz14195): Add new testcase for two empty input strings and N > 0.
6079         (test_main): Call new testcase, adapt for renamed function.
6081 2012-08-15  Andreas Jaeger  <aj@suse.de>
6083         [BZ #14090]
6084         * crypt/md5test2.c: New test, based on test supplied by Serge
6085         Belyshev <belyshev@depni.sinp.msu.ru>.
6086         * crypt/Makefile (xtests): Add md5test-giant..
6087         * crypt/Makefile ($(objpfx)md5test-giant): Add.
6089 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
6091         [BZ #14090]
6092         * crypt/md5.c (md5_process_block): Don't assume the buffer
6093         length is less than 2**32.
6094         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
6095         length is less than 2**64.
6097 2012-08-15  Roland McGrath  <roland@hack.frob.com>
6099         * string/str-two-way.h: Include <sys/param.h>.
6100         (MAX): Macro removed.
6102         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
6103         Move #define and #undef of memmove to just before and after
6104         including <string.h>.
6106         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
6107         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
6108         and after including <string.h>.  Move declarations of
6109         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
6110         to before #include "string/memmove.c".
6112         * include/dirent.h: Declare __getdirentries.
6114         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
6115         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
6117 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
6119         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
6120         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
6121         * sysdeps/i386/configure: Regenerated.
6122         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
6123         STABS_CURRENT_FILE, and STABS_FUN.
6124         (END): Remove call to STABS_FUN_END.
6125         (STABS_CURRENT_FILE1): Delete.
6126         (STABS_CURRENT_FILE): Likewise.
6127         (STABS_FUN): Likewise.
6128         (STABS_FUN_END): Likewise.
6129         (STABS_FUN2): Likewise.
6130         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
6131         * sysdeps/x86_64/configure: Regenerated.
6133 2012-08-14  Roland McGrath  <roland@hack.frob.com>
6135         * elf/dl-open.c: Include <atomic.h>.
6136         * elf/dl-lookup.c: Likewise.
6138 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
6140         * sysdeps/unix/sysv/linux/kernel-features.h
6141         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
6142         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
6143         unconditionally.
6144         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
6145         unconditionally.
6146         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
6147         condition on __ASSUME_CLONE_THREAD_FLAGS.
6149 2012-08-14  Andreas Jaeger  <aj@suse.de>
6151         * sysdeps/i386/fpu/libm-test-ulps: Update.
6153 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
6155         * include/atomic.h (atomic_exchange_and_add): Split into ...
6156         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
6157         New atomic macros.
6159 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
6161         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6163 2012-08-13  Jeff Law <law@redhat.com>
6165         * manual/stdio.texi (snprintf): Clarify handling of the trailing
6166         null byte in the output string.
6168 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
6170         * sysdeps/unix/sysv/linux/kernel-features.h
6171         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
6172         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
6173         (__ASSUME_ARG_MAX_STACK_BASED): Define.
6174         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6175         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
6176         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
6177         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
6179 2012-08-09  Jeff Law <law@redhat.com>
6181         [BZ #13939]
6182         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
6183         When avoid_arena is set, don't retry in the that arena.  Pick the
6184         next one, whatever it might be.
6185         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
6186         (arena_lock): Pass in new parameter to arena_get2.
6187         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
6188         arena_get2.
6189         (__libc_malloc): Unify retrying after main arena failure with
6190         __libc_memalign version.
6191         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
6193 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
6195         [BZ #14166]
6196         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
6197         to __redirect_strstr.
6198         (__strstr_sse42): Use typeof __redirect_strstr.
6199         (__strstr_ia32): Likewise.
6200         (__libc_strstr): New prototype.
6201         (strstr): Renamed to ...
6202         (__libc_strstr): This.
6203         (strstr): New strong alias of __libc_strstr.
6204         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6205         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
6206         __redirect_time.
6207         Include <time.h>.
6208         (__libc_time): New prototype.
6209         (time_ifunc): Replace time with __libc_time.
6210         (time): New strong alias and hidden definition of __libc_time.
6211         (__GI_time): Remove strong alias.
6212         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
6213         Include <stddef.h>.
6214         (memmove): Redefined to __redirect_memmove.
6215         (__memmove_sse2): Use typeof __redirect_memmove.
6216         (__memmove_ssse3): Likewise.
6217         (__memmove_ssse3_back): Likewise.
6218         (__libc_memmove): New prototype.
6219         (memmove): Renamed to ...
6220         (__libc_memmove): This.
6221         (memmove): New strong alias of __libc_memmove.
6223 2012-08-08  Mark Salter  <msalter@redhat.com>
6225         * elf/elf.h
6226         (R_MN10300_TLS_GD): Define.
6227         (R_MN10300_TLS_LD): Likewise.
6228         (R_MN10300_TLS_LDO): Likewise.
6229         (R_MN10300_TLS_GOTIE): Likewise.
6230         (R_MN10300_TLS_IE): Likewise.
6231         (R_MN10300_TLS_LE): Likewise.
6232         (R_MN10300_TLS_DTPMOD): Likewise.
6233         (R_MN10300_TLS_DTPOFF): Likewise.
6234         (R_MN10300_TLS_TPOFF): Likewise.
6235         (R_MN10300_SYM_DIFF): Likewise.
6236         (R_MN10300_ALIGN): Likewise.
6237         (R_MN10300_NUM): Update.
6239 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
6241         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
6242         Remove.
6244 2012-08-08  Roland McGrath  <roland@hack.frob.com>
6246         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
6248         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
6249         sysdeps/unix -> sysdeps/posix move.
6250         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6252 2012-08-07      Allan McRae     <allan@archlinux.org>
6254         [BZ #14303]
6255         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
6256         (SUNOS_CPP): Likewise.
6257         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
6258         not found.
6259         (open_input): Call CPP using execvp.
6261 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
6263         * sysdeps/unix/sysv/linux/kernel-features.h
6264         (__ASSUME_PROT_GROWSUPDOWN): Remove.
6265         (__ASSUME_NO_CLONE_DETACHED): Likewise.
6266         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6267         (__ASSUME_WAITID_SYSCALL): Likewise.
6268         * sysdeps/unix/sysv/linux/dl-execstack.c
6269         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
6270         code unconditional.
6271         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
6272         conditional code.
6273         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
6274         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
6275         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
6276         code.
6277         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
6278         unconditional.
6279         [__ASSUME_WAITID_SYSCALL]: Likewise.
6280         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
6282 2012-08-07  Roland McGrath  <roland@hack.frob.com>
6284         * sysdeps/unix/closedir.c: Renamed to ...
6285         * sysdeps/posix/closedir.c: ... here.
6286         * sysdeps/unix/dirfd.c: Renamed to ...
6287         * sysdeps/posix/dirfd.c: ... here.
6288         * sysdeps/unix/dirstream.h: Renamed to ...
6289         * sysdeps/posix/dirstream.h: ... here.
6290         * sysdeps/unix/fdopendir.c: Renamed to ...
6291         * sysdeps/posix/fdopendir.c: ... here.
6292         * sysdeps/unix/opendir.c: Renamed to ...
6293         * sysdeps/posix/opendir.c: ... here.
6294         * sysdeps/unix/readdir.c: Renamed to ...
6295         * sysdeps/posix/readdir.c: ... here.
6296         * sysdeps/unix/readdir_r.c: Renamed to ...
6297         * sysdeps/posix/readdir_r.c: ... here.
6298         * sysdeps/unix/rewinddir.c: Renamed to ...
6299         * sysdeps/posix/rewinddir.c: ... here.
6300         * sysdeps/unix/seekdir.c: Renamed to ...
6301         * sysdeps/posix/seekdir.c: ... here.
6302         * sysdeps/unix/telldir.c: Renamed to ...
6303         * sysdeps/posix/telldir.c: ... here.
6304         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
6305         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6306         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
6307         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
6309         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
6310         * bits/fcntl.h: ... here.
6312         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
6313         not 0.
6314         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
6315         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
6316         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
6317         (struct flock): Move l_start, l_len to the beginning.
6318         Use __pid_t for l_pid.
6319         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
6320         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
6321         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
6322         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
6323         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
6324         [__USE_LARGEFILE64] (struct flock64): New type.
6325         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
6327         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
6328         * bits/dirent.h: ... here.
6330         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
6331         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
6333 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
6335         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6336         Change from 2.6.0 to 2.6.16.
6337         * sysdeps/unix/sysv/linux/configure: Regenerated.
6338         * sysdeps/unix/sysv/linux/kernel-features.h
6339         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
6340         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
6341         version.
6342         (__ASSUME_UTIMES): Likewise.
6343         (__ASSUME_CLONE_STOPPED): Remove.
6344         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
6345         architectures, not kernel version.
6346         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
6347         (__ASSUME_NO_CLONE_DETACHED): Likewise.
6348         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6349         (__ASSUME_WAITID_SYSCALL): Likewise.
6350         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
6351         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
6352         * README: State 2.6.16 as minimum Linux kernel version.  Do not
6353         refer to older versions.
6355 2012-08-06  Roland McGrath  <roland@hack.frob.com>
6357         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
6358         Define alphasort64 as an alias.
6359         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
6360         Define versionsort64 as an alias.
6361         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
6362         Define scandir64 as an alias.
6363         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
6364         Define scandirat64 as an alias.
6365         * dirent/alphasort64.c (alphasort64):
6366         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
6367         * dirent/versionsort64.c: Likewise.
6368         * dirent/scandir64.c: Likewise.
6369         * dirent/scandirat64.c: Likewise.
6370         * sysdeps/wordsize-64/alphasort.c: File removed.
6371         * sysdeps/wordsize-64/alphasort64.c: File removed.
6372         * sysdeps/wordsize-64/scandir.c: File removed.
6373         * sysdeps/wordsize-64/scandir64.c: File removed.
6374         * sysdeps/wordsize-64/scandirat.c: File removed.
6375         * sysdeps/wordsize-64/scandirat64.c: File removed.
6376         * sysdeps/wordsize-64/versionsort.c: File removed.
6377         * sysdeps/wordsize-64/versionsort64.c: File removed.
6378         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
6379         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
6380         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
6381         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
6382         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
6383         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
6384         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
6385         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
6387         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
6388         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6389         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
6390         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6391         [defined __arch64__ || defined __sparcv9]
6392         (__INO_T_MATCHES_INO64_T): New macro.
6393         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6394         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
6395         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
6396         * sysdeps/unix/sysv/linux/bits/dirent.h
6397         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
6398         (_DIRENT_MATCHES_DIRENT64): New macro.
6400         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
6401         Define lockf64 as an alias.
6402         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
6403         Define fseeko64 as an alias.
6404         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
6405         Define ftello64 as an alias.
6406         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
6407         Define _IO_fgetpos64 and fgetpos64 as aliases.
6408         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
6409         Define _IO_fsetpos64 and fsetpos64 as aliases.
6410         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
6411         Conditionalize body on this.
6412         * libio/fseeko64.c: Likewise.
6413         * libio/ftello64.c: Likewise.
6414         * libio/iofgetpos64.c: Likewise.
6415         * libio/iofsetpos64.c: Likewise.
6416         * sysdeps/wordsize-64/lockf.c: File removed.
6417         * sysdeps/wordsize-64/lockf64.c: File removed.
6418         * sysdeps/wordsize-64/fseeko.c: File removed.
6419         * sysdeps/wordsize-64/fseeko64.c: File removed.
6420         * sysdeps/wordsize-64/ftello.c: File removed.
6421         * sysdeps/wordsize-64/ftello64.c: File removed.
6422         * sysdeps/wordsize-64/iofgetpos.c: File removed.
6423         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
6424         * sysdeps/wordsize-64/iofsetpos.c: File removed.
6425         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
6426         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
6427         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
6428         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
6429         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
6430         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
6431         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
6432         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
6433         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
6434         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
6435         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
6437         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6438         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6439         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
6440         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6441         [defined __arch64__ || defined __sparcv9]
6442         (__OFF_T_MATCHES_OFF64_T): New macro.
6443         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6444         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6445         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6446         (__OFF_T_MATCHES_OFF64_T): New macro.
6448 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
6450         * stdlib/secure-getenv.c (__secure_getenv): Replace
6451         GLIBC_2_16 with GLIBC_2_17.
6453 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
6455         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
6456         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6458 2012-08-03  David S. Miller  <davem@davemloft.net>
6460         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6462 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
6464         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
6465         Remove.
6466         (__ASSUME_CORRECT_SI_PID): Likewise.
6467         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
6468         (__ASSUME_TMPFS_NAME): Likewise.
6469         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
6470         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
6471         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
6472         (HAVE_AUX_SECURE): Make definition unconditional.
6473         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
6474         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
6476 2012-08-03  Roland McGrath  <roland@hack.frob.com>
6478         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
6479         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
6480         * sysdeps/mach/hurd/eloop-threshold.h: New file.
6481         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6482         __eloop_threshold instead of SYMLOOP_MAX.
6484         * sysdeps/generic/eloop-threshold.h: New file.
6485         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
6486         of MAXSYMLINKS.
6487         * elf/chroot_canon.c (chroot_canon): Likewise.
6489 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
6491         [BZ #13717]
6492         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6493         Change to 2.6.0 everywhere.
6494         * sysdeps/unix/sysv/linux/configure: Regenerated.
6495         * sysdeps/unix/sysv/linux/kernel-features.h
6496         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
6497         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
6498         kernel versions.
6499         (__ASSUME_POSIX_TIMERS): Define unconditionally.
6500         (__ASSUME_FUTEX_REQUEUE): Remove.
6501         (__ASSUME_STATFS64): Define unconditionally.
6502         (__ASSUME_AT_SECURE): Likewise.
6503         (__ASSUME_CORRECT_SI_PID): Likewise.
6504         (__ASSUME_TGKILL): Define without depending on kernel version for
6505         i386.
6506         (__ASSUME_UTIMES): Likewise.
6507         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
6508         kernel version.
6509         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
6510         (__ASSUME_TMPFS_NAME): Likewise.
6511         * README: Update reference to Linux kernel versions.
6513 2012-08-02  Marek Polacek  <polacek@redhat.com>
6515         [BZ# 14150]
6516         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
6517         libc_cv_asm_type_prefix with %.
6518         * configure: Regenerated.
6519         * include/libc-symbols.h: Remove comment about
6520         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6521         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
6522         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
6523         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
6524         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
6525         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6526         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
6527         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
6528         * elf/tst-unique2mod1.c: Likewise.
6529         * elf/tst-unique1mod2.c: Likewise.
6530         * elf/tst-unique1mod1.c: Likewise.
6531         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
6532         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
6533         Replace ASM_TYPE_DIRECTIVE with .type.
6534         * sysdeps/s390/s390-64/sysdep.h: Likewise.
6535         * sysdeps/i386/sysdep.h: Likewise.
6536         * sysdeps/x86_64/sysdep.h: Likewise.
6537         * sysdeps/sh/sysdep.h: Likewise.
6538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6539         Do not define ASM_TYPE_DIRECTIVE.
6540         * sysdeps/powerpc/sysdep.h: Likewise.
6541         * sysdeps/powerpc/powerpc32/sysdep.h:
6542         Replace ASM_TYPE_DIRECTIVE with .type.
6543         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6544         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6545         * sysdeps/i386/fpu/e_powf.S: Likewise.
6546         * sysdeps/i386/fpu/e_expl.S: Likewise.
6547         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6548         * sysdeps/i386/fpu/e_acosh.S: Likewise.
6549         * sysdeps/i386/fpu/e_pow.S: Likewise.
6550         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6551         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6552         * sysdeps/i386/fpu/s_expm1.S: Likewise.
6553         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6554         * sysdeps/i386/fpu/e_log2.S: Likewise.
6555         * sysdeps/i386/fpu/e_log2l.S: Likewise.
6556         * sysdeps/i386/fpu/e_scalb.S: Likewise.
6557         * sysdeps/i386/fpu/e_powl.S: Likewise.
6558         * sysdeps/i386/fpu/e_log10f.S: Likewise.
6559         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6560         * sysdeps/i386/fpu/e_logl.S: Likewise.
6561         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6562         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6563         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6564         * sysdeps/i386/fpu/e_log2f.S: Likewise.
6565         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6566         * sysdeps/i386/fpu/e_log.S: Likewise.
6567         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6568         * sysdeps/i386/fpu/e_logf.S: Likewise.
6569         * sysdeps/i386/fpu/e_log10l.S: Likewise.
6570         * sysdeps/i386/fpu/e_atanh.S: Likewise.
6571         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6572         * sysdeps/i386/fpu/e_log10.S: Likewise.
6573         * sysdeps/i386/fpu/s_frexp.S: Likewise.
6574         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6575         * sysdeps/i386/fpu/s_asinh.S: Likewise.
6576         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6577         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6578         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
6579         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6580         * sysdeps/i386/i686/strtok.S: Likewise.
6581         * sysdeps/i386/i386-mcount.S: Likewise.
6582         * sysdeps/i386/strtok.S: Likewise.
6583         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
6584         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6585         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6586         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6587         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6588         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6589         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6590         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6591         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6592         * sysdeps/x86_64/_mcount.S: Likewise.
6593         * sysdeps/x86_64/strtok.S: Likewise.
6594         * sysdeps/sh/_mcount.S: Likewise.
6596 2012-08-01  Roland McGrath  <roland@hack.frob.com>
6598         * libio/iofopen.c: Include <fcntl.h>.
6599         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
6600         (_IO_fopen64, fopen64): Define as aliases.
6601         * libio/iofopen64.c: Include <fcntl.h>.
6602         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
6603         Conditionalize body on this.
6604         * sysdeps/wordsize-64/iofopen.c: File removed.
6605         * sysdeps/wordsize-64/iofopen64.c: File removed.
6607 2012-08-01  Marek Polacek  <polacek@redhat.com>
6609         * libc/Makeconfig: Use elf in place of binfmt-subdir.
6610         Use dlfcn directly instead of a variable.
6611         (binfmt-subdir): Do not define.
6612         (dlfcn): Likewise.
6614 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
6616         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
6617         Remove all definitions.
6618         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
6619         <kernel-features.h>.
6620         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6621         (miss_F_GETOWN_EX): Remove all definitions.
6622         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
6623         macro definition.
6624         [!__ASSUME_FCNTL64]: Remove conditional code.
6625         [__ASSUME_FCNTL64]: Make code unconditional.
6626         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
6627         <kernel-features.h>.
6628         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6629         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
6630         (lockf64) [__NR_fcntl64]: Make code unconditional.
6631         (lockf64) [__ASSUME_FCNTL64]: Likewise.
6633         * sysdeps/unix/sysv/linux/kernel-features.h
6634         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
6635         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
6636         Make code unconditional.
6637         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6638         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
6640         [__NR_vfork]: Make code unconditional.
6641         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6642         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
6644         [__NR_vfork]: Make code unconditional.
6645         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6646         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6648 2012-08-01  Roland McGrath  <roland@hack.frob.com>
6650         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
6651         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
6653         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6654         Define mkstemp64 as an alias.
6655         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6656         Define mkstemps64 as an alias.
6657         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6658         Define mkostemp64 as an alias.
6659         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6660         Define mkostemps64 as an alias.
6661         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
6662         Conditionalize body on this.
6663         * misc/mkostemp64.c: Likewise.
6664         * misc/mkostemps64.c: Likewise.
6665         * misc/mkstemps64.c: Likewise.
6666         * sysdeps/wordsize-64/mkstemp64.c: File removed.
6667         * sysdeps/wordsize-64/mkostemp64.c: File removed.
6668         * sysdeps/wordsize-64/mkostemp.c: File removed.
6669         * sysdeps/wordsize-64/mkstemp.c: File removed.
6670         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
6671         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
6672         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
6673         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
6675         [BZ #14138]
6676         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
6677         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
6678         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
6679         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
6681         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
6682         compat_symbol macros from <shlib-compat.h> rather than the underlying
6683         default_symbol_version and symbol_version macros, so that DEFAULT
6684         lines in shlib-versions are respected.
6685         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
6687 2012-08-01  Florian Weimer  <fweimer@redhat.com>
6689         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
6690         Declare with warn_unused_result.
6691         (setgid, setregid, setegid, setresgid): Likewise.
6692         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
6693         Likewise.
6694         * WUR-REPORT: Remove set*id functions.
6696 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
6698         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
6700 2012-07-31  Roland McGrath  <roland@hack.frob.com>
6702         * include/sys/socket.h (__libc_accept, __libc_accept4):
6703         Add attribute_hidden.
6704         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
6706         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
6707         use of PTR_MANGLE.
6708         * inet/getnetgrent_r.c (setup): Likewise.
6710         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
6712 2012-07-31  David S. Miller  <davem@davemloft.net>
6714         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6716 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
6718         [BZ #13629]
6719         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
6720         value between 1.0 and 2.0 and smaller part has absolute value less
6721         than 1.0.
6722         * math/s_clog10.c (__clog10): Likewise.
6723         * math/s_clog10f.c (__clog10f): Likewise.
6724         * math/s_clog10l.c (__clog10l): Likewise.
6725         * math/s_clogf.c (__clogf): Likewise.
6726         * math/s_clogl.c (__clogl): Likewise.
6727         * math/libm-test.inc (clog_test): Add more tests.
6728         (clog10_test): Likewise.
6729         * sysdeps/i386/fpu/libm-test-ulps: Update.
6730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6732 2012-07-31  Florian Weimer  <fweimer@redhat.com>
6734         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
6735         Exit with zero in case no suitable GID is found, and write a
6736         message to standard error.
6738 2012-07-30  Roland McGrath  <roland@hack.frob.com>
6740         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
6741         rather than to 1.
6742         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
6743         (MAXPATHLEN): Removed.
6744         (NOGROUP, NODEV): New macros.
6745         (setbit, clrbit, isset, isclr): New macros.
6746         (howmany, roundup, powerof2): New macros.
6747         (DEV_BSIZE): New macro.
6749         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
6750         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
6752         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
6753         definition on [!__NO_LONG_DOUBLE_MATH].
6755         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
6756         PTR_MANGLE and PTR_DEMANGLE.
6758         * socket/accept4.c (accept4): Rename to __libc_accept4.
6759         Define accept4 as a weak alias.
6761         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
6762         on [_DIRENT_HAVE_D_TYPE].
6763         * io/ftw.c (ftw_dir): Likewise.
6765         * io/xmknod.c (__xmknod): Don't check PATH for being null.
6767         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
6769         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
6770         Use the BSD numbers rather than the arbitrary ones we had.
6771         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
6772         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
6773         (SIGXCPU, SIGXFSZ): New macros.
6774         (_NSIG): Now 32.
6776         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
6777         initializer on [_LIBC_REENTRANT].
6779         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
6780         definitions inside [_POSIX_MAPPED_FILES].
6782         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
6784         * dirent/opendir.c: Include <fcntl.h>.
6786         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
6787         (__libc_getspecific): Likewise.
6788         (__libc_key_create): Likewise.
6790         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
6791         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
6792         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
6793         (tmpfile64): Define as alias.
6794         * sysdeps/wordsize-64/tmpfile.c: File removed.
6795         * sysdeps/wordsize-64/tmpfile64.c: File removed.
6796         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
6797         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
6799         * stdio-common/vfscanf.c: Include <stdbool.h>.
6800         * nss/makedb.c: Likewise.
6801         * stdio-common/_i18n_number.h: Likewise.
6802         * argp/argp-help.c: Likewise.
6803         * posix/wordexp.c: Likewise.
6804         * sysdeps/posix/spawni.c: Likewise.
6805         * nss/nss_files/files-initgroups.c: Likewise.
6806         * stdio-common/reg-modifier.c: Include <stdlib.h>.
6807         * nss/nss_files/files-initgroups.c: Likewise.
6808         * nss/nss_db/db-netgrp.c: Likewise.
6809         * nss/nss_db/db-initgroups.c: Likewise.
6810         * io/fchmodat.c: Include <sys/stat.h>.
6812         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
6813         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
6815         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
6816         [HAVE_MMAP].
6818         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
6819         Add multiple inclusion protection.
6821 2012-07-27  David S. Miller  <davem@davemloft.net>
6823         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6825 2012-07-27  Gary Benson  <gbenson@redhat.com>
6827         [BZ #14298]
6828         * elf/rtld.c: Include <stap-probe.h>.
6829         (dl_main): Added static probes "init_start" and "init_complete".
6830         * elf/dl-load.c: Include <stap-probe.h>.
6831         (lose): Take new parameter "nsid".
6832         Added static probe "map_failed".
6833         (_dl_map_object_from_fd): Pass namespace id to lose.
6834         Added static probe "map_start".
6835         (open_verify): Pass namespace id to lose.
6836         * elf/dl-open.c: Include <stap-probe.h>.
6837         (dl_open_worker) Added static probes "map_complete", "reloc_start"
6838         and "reloc_complete".
6839         * elf/dl-close.c: Include <stap-probe.h>.
6840         (_dl_close_worker): Added static probes "unmap_start" and
6841         "unmap_complete".
6842         * elf/rtld-debugger-interface.txt: New file documenting the above.
6844 2012-07-26  Roland McGrath  <roland@hack.frob.com>
6846         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
6847         rather than a string variable.
6848         * sunrpc/rpc_main.c (h_output): Likewise.
6849         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
6851 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
6853         * inet/check_native.c: New file.
6855 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
6857         [BZ #13629]
6858         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
6859         if larger part has absolute value 1.0.
6860         * math/s_clog10.c (__clog10): Likewise.
6861         * math/s_clog10f.c (__clog10f): Likewise.
6862         * math/s_clog10l.c (__clog10l): Likewise.
6863         * math/s_clogf.c (__clogf): Likewise.
6864         * math/s_clogl.c (__clogl): Likewise.
6865         * math/libm-test.inc (clog_test): Add more tests.
6866         (clog10_test): Likewise.
6867         * sysdeps/i386/fpu/libm-test-ulps: Update.
6868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6870         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
6871         (pltexit): Likewise.
6872         (La_regs): Likewise.
6873         (La_retval): Likewise.
6874         (int_retval): Likewise.
6875         Update #error for removed macros to refer only to definitions in
6876         tst-audit.h.
6877         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
6878         macro.
6879         (pltexit): Likewise.
6880         (La_regs): Likewise.
6881         (La_retval): Likewise.
6882         (int_retval): Likewise.
6883         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
6884         macro.
6885         (pltexit): Likewise.
6886         (La_regs): Likewise.
6887         (La_retval): Likewise.
6888         (int_retval): Likewise.
6889         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
6890         macro.
6891         (pltexit): Likewise.
6892         (La_regs): Likewise.
6893         (La_retval): Likewise.
6894         (int_retval): Likewise.
6895         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
6896         macro.
6897         (pltexit): Likewise.
6898         (La_regs): Likewise.
6899         (La_retval): Likewise.
6900         (int_retval): Likewise.
6901         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
6902         macro.
6903         (pltexit): Likewise.
6904         (La_regs): Likewise.
6905         (La_retval): Likewise.
6906         (int_retval): Likewise.
6907         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
6908         macro.
6909         (pltexit): Likewise.
6910         (La_regs): Likewise.
6911         (La_retval): Likewise.
6912         (int_retval): Likewise.
6913         * sysdeps/generic/tst-audit.h: Update comment to refer only to
6914         macro definitions in tst-audit.h.
6915         * sysdeps/i386/tst-audit.h: New file.
6916         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
6917         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
6918         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
6919         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
6920         * sysdeps/sh/tst-audit.h: Likewise.
6921         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
6922         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
6923         * sysdeps/x86_64/tst-audit.h: Likewise.
6925 2012-07-26  Andreas Jaeger  <aj@suse.de>
6927         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
6928         ptrace.
6930         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
6931         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
6932         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
6933         PTRACE_O_MASK.
6934         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
6935         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
6936         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
6938         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
6939         value.
6941         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
6942         _sigsys.
6943         (si_call_addr, si_syscall, si_arch): Define new macro.
6944         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
6945         _sigsys.
6946         (si_call_addr, si_syscall, si_arch): Define new marcro.
6947         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
6948         _sigsys.
6949         (si_call_addr, si_syscall, si_arch): Define new macro.
6950         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
6951         _sigsys.
6952         (si_call_addr, si_syscall, si_arch): Define new macro.
6954 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
6956         [BZ #13717]
6957         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6958         Change to 2.4.21 where previously 2.4.1.
6959         * sysdeps/unix/sysv/linux/configure: Regenerated.
6960         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
6961         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
6962         Linux kernel version.
6963         (__ASSUME_STD_AUXV): Remove.
6964         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
6965         kernel version.
6966         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
6967         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
6968         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
6969         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
6970         (__ASSUME_NETLINK_SUPPORT): Likewise.
6971         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
6972         (__no_netlink_support): Remove conditional definition.
6973         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
6974         Remove.
6975         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6976         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
6977         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
6978         (if_nameindex_ioctl): Remove.
6979         (if_nameindex_netlink): Do not handle __no_netlink_support.
6980         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6981         code.
6982         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
6983         Remove conditional code.
6984         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6985         code.
6986         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
6987         unconditional.
6988         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6989         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
6990         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
6991         Remove.
6992         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
6993         [!__ASSUME_STD_AUXV]: Remove conditional code.
6994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
6995         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
6996         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
6997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
6998         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
6999         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7000         code.
7001         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7003         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
7004         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7005         conditional code.
7006         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7008         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7009         code.
7010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7011         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7012         conditional code.
7013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
7014         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7015         code unconditional.
7016         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7017         conditional code.
7018         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7019         unconditional.
7020         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7021         conditional code.
7022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7023         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7024         unconditional.
7025         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7026         conditional code.
7027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
7028         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7029         code unconditional.
7030         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7031         conditional code.
7032         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7033         unconditional.
7034         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7035         conditional code.
7036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
7037         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7038         code unconditional.
7039         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7040         conditional code.
7041         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7042         unconditional.
7043         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7044         conditional code.
7046 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
7048         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
7049         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
7050         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7051         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
7052         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
7053         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7054         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7055         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
7056         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
7057         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7058         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
7059         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7060         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
7061         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7062         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7063         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
7064         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
7065         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
7066         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
7067         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
7068         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
7069         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7070         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7072 2012-07-25  Florian Weimer  <fweimer@redhat.com>
7074         * Versions.def: Add GLIBC_2.17.
7075         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
7076         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
7077         Introduce __libc_secure_getenv.
7078         * stdlib/Versions (2.17): Add secure_getenv
7079         (GLIBC_PRIVATE): Add __libc_secure_getenv.
7080         * stdlib/secure-getenv.c: Rename __secure_getenv to
7081         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
7082         symbol __secure_getenv for GLIBC_2.0.
7083         * stdlib/tst-secure-getenv.c: New.
7084         * stdlib/Makefile (tests): Add testcase.
7085         * manual/startup.texi (Environment Access): Document
7086         secure_getenv.
7087         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
7088         __libc_secure_getenv.
7089         * inet/ruserpass.c (ruserpass): Likewise.
7090         * malloc/mtrace.c (mtrace): Likewise.
7091         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
7092         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
7093         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
7094         * sysdeps/posix/tempname.c: Likewise.  Evaluate
7095         HAVE_SECURE_GETENV.
7096         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
7097         __secure_getenv to __libc_secure_getenv.
7098         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
7099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7100         Likewise.
7101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7102         Likewise.
7103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7104         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7105         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7106         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7107         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7108         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7109         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7111 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
7113         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
7114         (struct La_i86_retval): Likewise.
7115         (struct La_x86_64_regs): Likewise.
7116         (struct La_x86_64_retval): Likewise.
7117         (struct La_x32_regs): Likewise.
7118         (struct La_x32_retval): Likewise.
7119         (struct La_ppc32_regs): Likewise.
7120         (struct La_ppc32_retval): Likewise.
7121         (struct La_ppc64_regs): Likewise.
7122         (struct La_ppc64_retval): Likewise.
7123         (struct La_sh_regs): Likewise.
7124         (struct La_sh_retval): Likewise.
7125         (struct La_s390_32_regs): Likewise.
7126         (struct La_s390_32_retval): Likewise.
7127         (struct La_s390_64_regs): Likewise.
7128         (struct La_s390_64_retval): Likewise.
7129         (struct La_sparc32_regs): Likewise.
7130         (struct La_sparc32_retval): Likewise.
7131         (struct La_sparc64_regs): Likewise.
7132         (struct La_sparc64_retval): Likewise.
7133         (struct audit_ifaces): Remove architecture-specific pltenter and
7134         pltexit members.
7135         * sysdeps/i386/ldsodefs.h: New file.
7136         * sysdeps/powerpc/ldsodefs.h: Likewise.
7137         * sysdeps/s390/ldsodefs.h: Likewise.
7138         * sysdeps/sh/ldsodefs.h: Likewise.
7139         * sysdeps/sparc/ldsodefs.h: Likewise.
7140         * sysdeps/x86_64/ldsodefs.h: Likewise.
7142 2012-07-25  Marek Polacek  <polacek@redhat.com>
7144         [BZ #6808]
7145         * math/libm-test.inc (yn_test): Add another test.
7146         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
7147         to ERANGE when the result is +-Inf.
7148         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7149         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7150         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
7151         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
7153 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
7155         * conform/data/time.h-data (NULL): Use macro-constant.  Require
7156         equal to 0.
7157         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
7158         clock_t.
7159         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
7161 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
7163         * configure.in <sysdeps resolving>: Correct printing
7164         Implies_before.
7165         * configure: Regenerate.
7167 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
7169         * math/w_ilogb.c: Include <limits.h>.
7170         * math/w_ilogbl.c: Likewise.
7172 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
7174         * manual/lang.texi (__va_copy): Document primarily as ISO C99
7175         va_copy.  Document allowing for unavailable va_copy only as
7176         pre-C99 compatibility.
7177         * manual/string.texi (Copying and Concatenation): Use va_copy
7178         instead of __va_copy in concat example.
7180 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
7182         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
7183         (__sendto): Use create_address_port.  Initialize APORT and deallocate
7184         it if not null.
7186         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
7187         with O_NOLINK passed to __file_name_lookup.
7189         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
7190         with O_NOLINK passed to __file_name_lookup.
7192         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
7193         negative N or less than NGIDS.
7195         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
7196         type to string_t.  Set ERANGE as errno and return it if NAME is not big
7197         enough.  Use memcpy instead of strncpy.
7199 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
7201         * elf/Makefile (check-data): Remove.
7202         (localplt.data): New vpath directive.
7203         ($(objpfx)check-localplt.out): Use localplt.data from vpath
7204         instead of $(check-data).
7205         * scripts/data/localplt-generic.data: Move to ...
7206         * sysdeps/generic/localplt.data: ... here.
7207         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
7208         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
7209         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
7210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7211         ... here.
7212         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
7213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7214         ... here.
7215         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
7216         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
7217         ... here.
7218         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
7219         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7220         ... here.
7221         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
7222         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
7223         ... here.
7224         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
7225         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
7226         ... here.
7228 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7230         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
7231         PPC32 and PPC64 files.
7232         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
7233         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
7235 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7237         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
7238         __makecontext_ret to ...
7239         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
7240         ... here and call exit if uc_link is NULL.  New file.
7241         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
7242         __makecontext_ret.S.
7243         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
7244         __makecontext_ret to ...
7245         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
7246         ... here and call exit if uc_link is NULL.  New file.
7247         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
7248         __makecontext_ret.S.
7250 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7252         * elf/elf.h (R_390_IRELATIVE): New definition.
7253         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
7254         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
7255         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
7256         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7257         (elf_machine_lazy_rel): Likewise.
7258         * sysdeps/s390/dl-irel.h: New file.
7259         * sysdeps/s390/s390-64/memcpy.S: New asm code.
7260         * sysdeps/s390/s390-64/memset.S: New asm code.
7261         * sysdeps/s390/s390-64/memcmp.S: New asm code.
7262         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
7263         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
7264         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
7265         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
7266         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
7267         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
7268         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
7269         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
7270         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
7271         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
7272         * sysdeps/s390/s390-32/memcpy.S: New asm code.
7273         * sysdeps/s390/s390-32/memset.S: New asm code.
7274         * sysdeps/s390/s390-32/memcmp.S: New asm code.
7276 2012-07-17  Marek Polacek  <polacek@redhat.com>
7278         [BZ #14349]
7279         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
7280         * sysdeps/s390/s390-64/configure.in: Likewise.
7281         * sysdeps/sparc/configure.in: Likewise.
7282         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
7283         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
7284         * sysdeps/i386/configure.in: Likewise.
7285         * sysdeps/x86_64/configure.in: Likewise.
7286         * sysdeps/sh/configure.in: Likewise.
7287         * sysdeps/s390/s390-32/configure: Regenerated.
7288         * sysdeps/s390/s390-64/configure: Likewise.
7289         * sysdeps/x86_64/configure: Likewise.
7290         * sysdeps/sh/configure: Likewise.
7291         * sysdeps/powerpc/powerpc64/configure: Likewise.
7292         * sysdeps/powerpc/powerpc32/configure: Likewise.
7293         * sysdeps/sparc/configure: Likwise.
7294         * sysdeps/i386/configure: Likewise.
7296         * elf/dl-open.c: Comment fixes.
7298 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
7300         * Makefile [CXX] (check-data): Remove.
7301         [CXX] (c++-types.data): New vpath directive.
7302         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
7303         vpath.  Do not allow for C++ type data being missing.
7304         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
7305         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
7306         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
7307         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
7308         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
7309         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
7310         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
7311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7312         ... here.
7313         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
7314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7315         ... here.
7316         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
7317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
7318         ... here.
7319         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
7320         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
7321         ... here.
7322         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
7323         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
7324         ... here.
7325         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
7326         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
7327         ... here.
7328         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
7329         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
7330         ... here.
7331         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
7332         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
7334         * elf/tls-macros.h (TLS_LE): Move architecture-specific
7335         definitions to architecture-specific files.
7336         (TLS_IE): Likewise.
7337         (TLS_LD): Likewise.
7338         (TLS_GD): Likewise.
7339         * sysdeps/i386/tls-macros.h: New file.
7340         * sysdeps/powerpc/tls-macros.h: Likewise.
7341         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7342         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7343         * sysdeps/sh/tls-macros.h: Likewise.
7344         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
7345         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
7346         * sysdeps/x86_64/tls-macros.h: Likewise.
7348 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
7350         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
7351         zero value for regular exit case.
7353         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7354         (__start_context): Preserve zero value for regular exit case.
7356 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
7357             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7359         * manual/setjmp.texi (setcontext): Clarify normal process
7360         termination when uc_link is the null pointer.
7361         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
7362         exit call.
7364 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
7366         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
7367         preprocessor.  Test for each exception mask separately.
7369 2012-07-16  Andreas Jaeger  <aj@suse.de>
7371         * po/ru.po: Update from translation team.
7373 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
7375         * conform/data/string.h-data (NULL): Use macro-constant.  Require
7376         equal to 0.
7377         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7378         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7379         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
7380         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
7381         [ISO || ISO99 || ISO11] (*_t): Do not allow.
7383 2012-07-13  Andreas Jaeger  <aj@suse.de>
7385         * po/fr.po: Update from translation team.
7387 2012-07-12  Marek Polacek  <polacek@redhat.com>
7389         [BZ #14173]
7390         * math/libm-test.inc (yn_test): Add test for BZ #14173.
7391         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
7392         loop condition.
7394 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
7396         [BZ #13717]
7397         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7398         Change to 2.4.1 where previously 2.4.0.
7399         * sysdeps/unix/sysv/linux/configure: Regenerated.
7400         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
7401         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
7402         version.
7403         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
7404         (__ASSUME_AT_CLKTCK): Remove.
7405         (__ASSUME_AT_PAGESIZE): Likewise.
7406         (__ASSUME_AT_XID): Likewise.
7407         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
7408         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
7409         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
7410         unconditionally.
7411         (HAVE_AUX_PAGESIZE): Likewise.
7412         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
7413         [__ASSUME_AT_CLKTCK]: Make code unconditional.
7414         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
7416 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
7418         [BZ #14307]
7419         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
7420         the temporary buffer used to invoke __gethostbyname2_r,
7421         __gethostbyaddr_r and gethostbyname4_r to make room for struct
7422         host_data / struct gaih_addrtuple.
7423         * resolv/nss_dns/dns-host.c (global scope): Move definition of
7424         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
7425         header file nss/nsswitch.h.
7426         * nss/nsswitch.h (global scope): Add definition of implementation
7427         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
7428         resolv/nss_dns/dns-host.c).
7430 2012-07-11  Andreas Jaeger  <aj@suse.de>
7432         * po/fr.po: Update from translation team.
7434         * po/sv.po: Update from translation team
7435         * po/fr.po: Another update from translation team.
7437 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7439         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
7440         for subnormals or multiply small sinh result by itself.
7441         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7442         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7444 2012-07-11  David S. Miller  <davem@davemloft.net>
7446         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7448 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
7450         [BZ #14347]
7451         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
7452         (INTERNAL_MARK): Shift it here.
7454 2012-07-10  Marek Polacek  <polacek@redhat.com>
7456         [BZ #14151]
7457         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
7458         libc_cv_asm_global_directive with .globl.
7459         * configure: Regenerated.
7460         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
7461         with .globl.
7462         * sysdeps/i386/configure: Regenerated.
7463         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
7464         with .globl.
7465         * sysdeps/x86_64/configure: Regenerated.
7466         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
7467         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
7468         * elf/tst-unique2mod2.c: Likewise.
7469         * elf/tst-unique2mod1.c: Likewise.
7470         * elf/tst-unique1mod2.c: Likewise.
7471         * elf/tst-unique1mod1.c: Likewise.
7472         * sysdeps/s390/s390-32/sysdep.h: Likewise.
7473         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7474         * sysdeps/s390/s390-64/sysdep.h: Likewise.
7475         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7476         * sysdeps/mach/sysdep.h: Likewise.
7477         * sysdeps/i386/sysdep.h: Likewise.
7478         * sysdeps/i386/i386-mcount.S: Likewise.
7479         * sysdeps/x86_64/_mcount.S: Likewise.
7480         * sysdeps/x86_64/sysdep.h: Likewise.
7481         * sysdeps/sh/_mcount.S: Likewise.
7482         * sysdeps/sh/sysdep.h: Likewise.
7483         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
7484         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
7485         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
7486         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7487         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
7488         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
7489         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
7490         * locale/localeinfo.h: Likewise.
7491         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
7492         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
7494 2012-07-09  Roland McGrath  <roland@hack.frob.com>
7496         [BZ #14336]
7497         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
7498         system".
7499         * manual/message.texi (The Uniforum approach): Likewise.
7500         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
7501         (glibc iconv Implementation): Likewise.
7503 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
7505         [BZ #14337]
7506         * math/s_clog.c (__clog): Avoid scaling a value down where that
7507         could result in underflow.
7508         * math/s_clog10.c (__clog10): Likewise.
7509         * math/s_clog10f.c (__clog10f): Likewise.
7510         * math/s_clog10l.c (__clog10l): Likewise.
7511         * math/s_clogf.c (__clogf): Likewise.
7512         * math/s_clogl.c (__clogl): Likewise.
7513         * math/libm-test.inc (clog_test): Add more tests.
7514         (clog10_test): Likewise.
7515         * sysdeps/i386/fpu/libm-test-ulps: Update.
7516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7518 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
7520         [BZ #14283]
7521         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
7522         by 7 not 8 to examine high bit of fractional part.
7524         [BZ #14042]
7525         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
7526         for call to __mcount_internal.
7527         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
7528         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
7529         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
7531 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
7533         [BZ #14154]
7534         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
7535         approximation for values within 0x1p-13f of an odd multiple of
7536         pi/4.
7537         * math/libm-test.inc (tan_test): Do not allow spurious underflow
7538         exception.  Add more tests.
7539         * sysdeps/i386/fpu/libm-test-ulps: Update.
7541         [BZ #6778]
7542         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
7543         inputs and return -1 for them.  Do not check for +Inf in case not
7544         reachable for +Inf.
7545         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7546         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
7547         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7548         and return -1 for them.  Do not check for +Inf in case not
7549         reachable for +Inf.
7550         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
7551         define.
7552         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7553         and return -1 for them.  Do not check for +Inf in case not
7554         reachable for +Inf.
7555         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
7556         spurious underflow.
7557         * sysdeps/i386/fpu/libm-test-ulps: Update.
7558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7560 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
7562         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
7564 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
7566         [BZ #14157]
7567         [BZ #14331]
7568         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
7569         could result in spurious underflow.  Scale down values above
7570         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
7571         * math/s_csqrtf.c (__csqrtf): Likewise.
7572         * math/s_csqrtl.c (__csqrtl): Likewise.
7573         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
7574         spurious underflow.
7575         * sysdeps/i386/fpu/libm-test-ulps: Update.
7576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7578 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
7580         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
7581         xopen-msg.sed.
7582         * catgets/xopen-msg.awk: New file.
7583         * catgets/xopen-msg.sed: Removed.
7585         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
7586         po2text.sed.
7587         * intl/po2test.awk: New file.
7588         * intl/po2test.sed: Removed.
7590 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
7592         [BZ #14328]
7593         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
7594         or multiply small sinh result by itself.
7595         * math/s_ctanf.c (__ctanf): Likewise.
7596         * math/s_ctanh.c (__ctanh): Likewise.
7597         * math/s_ctanhf.c (__ctanhf): Likewise.
7598         * math/s_ctanhl.c (__ctanhl): Likewise.
7599         * math/s_ctanl.c (__ctanl): Likewise.
7600         * math/libm-test.inc (ctan_test_tonearest): New function.
7601         (ctan_test_towardzero): Likewise.
7602         (ctan_test_downward): Likewise.
7603         (ctan_test_upward): Likewise.
7604         (ctanh_test_tonearest): Likewise.
7605         (ctanh_test_towardzero): Likewise.
7606         (ctanh_test_downward): Likewise.
7607         (ctanh_test_upward): Likewise.
7608         (main): Call these new functions.
7609         * sysdeps/i386/fpu/libm-test-ulps: Update.
7610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7612 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
7614         * .gitignore: Delete /ports entry.
7616 2012-07-03  Andreas Jaeger  <aj@suse.de>
7618         * po/bg.po: Update from translation team.
7619         * po/cs.po: Likewise.
7620         * po/de.po: Likewise.
7621         * po/hr.po: Likewise.
7622         * po/nl.pl: Likewise.
7623         * po/pl.po: Likewise.
7624         * po/vi.po: Likewise.
7626 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
7628         * Makeconfig [!+link] (+link-before-libc): New variable.
7629         [!+link] (+link-after-libc): Likewise.
7630         [!+link] (+link-tests): Likewise.
7631         [!+link] (+link): Define in terms of $(+link-before-libc) and
7632         $(+link-after-libc).
7633         [!+link-static] (+link-static-before-libc): New variable.
7634         [!+link-static] (+link-static-after-libc): Likewise.
7635         [!+link-static] (+link-static-tests): Likewise.
7636         [!+link-static] (+link-static): Define in terms of
7637         $(+link-static-before-libc) and $(+link-static-after-libc).
7638         [build-shared] (link-libc-before-gnulib): New variable.
7639         [build-shared] (link-libc-tests): Likewise.
7640         [build-shared] (link-libc): Define in terms of
7641         $(link-libc-before-gnulib).
7642         [!build-shared] (link-libc-tests): New variable.
7643         (link-libc-static-tests): New variable.
7644         [!gnulib] (gnulib-arch): New variable.
7645         [!gnulib] (gnulib-tests): Likewise.
7646         [!gnulib] (static-gnulib-arch): Likewise.
7647         [!gnulib] (static-gnulib-tests): Likewise.
7648         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
7649         Define with "=" instead of ":=".
7650         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
7651         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
7652         * Rules (binaries-all-notests): New variable.
7653         (binaries-all-tests): Likewise.
7654         (binaries-static-notests): Likewise.
7655         (binaries-static-tests): Likewise.
7656         (binaries-all): Define using $(binaries-all-notests) and
7657         $(binaries-all-tests).
7658         (binaries-static): Define using $(binaries-static-notests) and
7659         $(binaries-static-tests).
7660         (binaries-shared-tests): New variable.
7661         (binaries-shared-notests): Likewise.
7662         (binaries-shared): Remove variable.
7663         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
7664         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
7665         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
7666         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
7667         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
7668         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
7669         * elf/Makefile (sln-modules): New variable.
7670         (extra-objs): Add $(sln-modules:=.o).
7671         (ldconfig-modules): Add static-stubs.
7672         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
7673         * elf/static-stubs.c: New file.
7675         [BZ #14283]
7676         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
7677         by 7 not 8 to examine high bit of fractional part.  Use volatile
7678         variables when splitting into final array of floats if
7679         __FLT_EVAL_METHOD__ != 0.
7680         * math/libm-test.inc (cos_test): Add another test.
7681         (sin_test): Likewise.
7682         * sysdeps/i386/fpu/libm-test-ulps: Update.
7684         [BZ #14273]
7685         * math/libm-test.inc (cosh_test): Add more tests.
7687         * version.h (RELEASE): Set to "development".
7688         (VERSION): Set to "2.16.90".
7690 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
7692         * NEWS: Update copyright. Remove last-updated date.
7693         Mention math library bug fixes and timezone data changes.
7694         * README: Mention GNU/Hurd, x32, and HPPA support status.
7696 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
7698         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
7700 2012-06-27  Andreas Jaeger  <aj@suse.de>
7702         * manual/contrib.texi (Contributors): Add Samuel Thibault.
7704 2012-06-25  Andreas Jaeger  <aj@suse.de>
7706         * sysdeps/s390/fpu/libm-test-ulps: Update.
7708 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
7709             Thomas Schwinge  <thomas@codesourcery.com>
7711         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
7712         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
7713         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
7714         fanotify_mark.
7716 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
7718         * sysdeps/mach/start.c: Remove file.
7719         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
7720         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
7721         * sysdeps/sh/init-first.c: Likewise.
7723         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
7724         registers for frame unwinding purposes, add CFI directives.
7725         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7726         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
7727         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
7728         Likewise.
7730         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
7731         __fortify_fail returning.
7732         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7734         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
7735         sysdeps/sh/____longjmp_chk.S.
7736         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
7737         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
7738         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
7739         (gen-as-const-headers): Append sigaltstack-offsets.sym.
7741         * sysdeps/sh/abort-instr.h: New file.
7742         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
7743         process in case exit returns.
7745         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
7746         initialize the GOT register before use.
7748         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
7749         calculation of ARGC > 4.
7751         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
7752         meaningful names to some local labels.
7754 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
7755             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7757         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
7758         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
7759         (__arch_compare_and_exchange_val_16_acq): Likewise.
7760         (__arch_compare_and_exchange_val_32_acq): Likewise.
7761         (atomic_exchange_and_add): Fix gUSA sequence.
7762         (atomic_add): Likewise.
7763         (atomic_add_negative): Likewise.
7764         (atomic_add_zero): Likewise.
7765         (atomic_bit_test_set): Likewise.
7767 2012-06-22  Andreas Schwab  <schwab@redhat.com>
7769         [BZ #13579]
7770         * include/link.h (struct link_map): Add l_free_initfini.
7771         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
7772         l_initfini.
7773         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
7774         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
7775         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
7776         set.
7778 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
7780         * configure.in: Use AC_LANG_SOURCE.
7781         * configure: Regenerate.
7783 2012-06-22  Roland McGrath  <roland@hack.frob.com>
7785         * configure.in (libc_cv_localstatedir): New substituted variable.
7786         * configure: Regenerated.
7787         * config.make.in (localstatedir): New variable, substituted from
7788         libc_cv_localstatedir.
7789         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
7790         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
7791         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
7792         * sysdeps/gnu/configure: Regenerated.
7794 2012-06-21  Jeff Law  <law@redhat.com>
7796         [BZ #14277]
7797         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
7798         free.  Simplify list management for _LIBC case.
7800 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
7802         [BZ #14273]
7803         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7804         Clear sign bit of 64-bit integer value before comparing against
7805         overflow value.
7807         * sysdeps/mach/configure: Regenerated.
7809 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
7811         [BZ #14278]
7812         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
7814 2012-06-21  Jeff Law  <law@redhat.com>
7816         [BZ #13882]
7817         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
7818         uint16_t for elements in the "seen" array to avoid char overflows.
7819         * elf/dl-fini.c (_dl_sort_fini): Likewise.
7820         * elf/dl-open.c (dl_open_worker): Likewise.
7822 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
7824         * scripts/list-sources.sh: Scan PORTS for translations.
7825         * po/libc.pot: Regenerated.
7827 2012-06-21  Andreas Jaeger  <aj@suse.de>
7829         [BZ #12194]
7830         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
7831         warning.
7832         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
7833         * bits/byteswap-16.h (__bswap_16): Likewise.
7834         * bits/byteswap.h (__bswap_constant_16): Likewise.
7836 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
7838         [BZ #14117]
7839         * sysdeps/i386/fpu_control.h: Removed.
7840         * sysdeps/x86_64/fpu_control.h: Moved to ...
7841         * sysdeps/x86/fpu_control.h: Here.
7843         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
7844         (_FPU_SETCW): Likewise.
7846 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
7848         [BZ #14117]
7849         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
7850         * sysdeps/x86/fpu/bits/mathinline.h: This.
7851         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
7853         [BZ #14050]
7854         [BZ #14117]
7855         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
7856         functions if __x86_64__ is defined.
7858 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
7860         * string/endian.h: Add !__ASSEMBLER__ condition for including
7861         conversion interfaces.
7863 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
7865         [BZ #14241]
7866         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
7867         of ABS(x) in calculating zero to negative powers other than odd
7868         integers.
7869         * math/libm-test.inc (pow_test): Add more tests.
7871 2012-06-15  Andreas Jaeger  <aj@suse.de>
7873         * manual/contrib.texi (Contributors): Update entry of Liubov
7874         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
7875         Machado Filho.
7877 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
7879         * string/string.h: Add __wur to GNU version of strerror_r.
7881 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
7883         [BZ #14229]
7884         * string/Makefile (tests): Add tst-strtok_r.
7885         * string/tst-strtok_r.c: New file.
7886         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
7887         RAX_LP/RDX_LP on SAVE_PTR.
7889 2012-06-14  Roland McGrath  <roland@hack.frob.com>
7891         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
7893 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
7895         * libm_test.inc (csqrt_test): Allow more spurious underflow
7896         exceptions.
7897         (j0_test): Likewise.
7898         (j1_test): Likewise.
7899         (y0_test): Likewise.
7900         (y1_test): Likewise.
7902 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
7904         * po/Makefile (libc.pot): Use UTF-8 charset.
7906 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
7908         [BZ #14210]
7909         Suppress sign-conversion warning from FD_SET.
7910         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
7911         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
7912         not unsigned long int.
7913         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
7915 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
7917         [BZ #14050]
7918         [BZ #14117]
7919         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
7920         __extern_always_inline instead of __extern_inline.
7921         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
7922         (__signbit): Likewise.
7923         (__signbitl): Support C++ namespace.
7924         (lrintf): New inline function.
7925         (lrint): Likewise.
7926         (llrintf): Likewise.
7927         (llrint): Likewise.
7928         (fmaxf): Likewise.
7929         (fmax): Likewise.
7930         (fminf): Likewise.
7931         (fmin): Likewise.
7932         (rint): Likewise.
7933         (rintf): Likewise.
7934         (ceil): Likewise.
7935         (ceilf): Likewise.
7936         (floor): Likewise.
7937         (floorf): Likewise.
7938         (nearbyint): Likewise.
7939         (nearbyintf): Likewise.
7941 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
7943         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
7944         non-default versions.
7946 2012-06-11  Roland McGrath  <roland@hack.frob.com>
7948         [BZ #14218]
7949         * manual/argp.texi (Argp): Reword argp_parse description slightly.
7951 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
7953         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
7954         (FE_UPWARD, FE_DOWNWARD): Don't define.
7955         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
7956         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7958         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
7959         reading it.
7960         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7961         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7963 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7965         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7966         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
7967         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
7968         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
7970 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
7972         [BZ #14117]
7973         * sysdeps/i386/fpu/bits/fenv.h: Removed.
7974         * sysdeps/i386/fpu/Implies: New file.
7975         * sysdeps/x86_64/fpu/Implies: Likewise.
7976         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
7977         * sysdeps/x86/fpu/bits/fenv.h: This.
7979         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
7980         __SSE_MATH__.
7982 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
7984         [BZ #14134]
7985         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
7986         character 0xffff that matches the last element of the
7987         conversion table.
7989 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7991         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
7992         fmodl commit.
7994 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7996         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
7997         values higher than 25.6283.
7999 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8001         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
8002         subnormal exponent extraction and add some __builtin_expect.
8003         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
8004         Fix for subnormal mantissa calculation.
8006 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
8008         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
8009         cpu2 is -1 and errno is not ENOSYS.
8011 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
8013         [BZ #14117]
8014         * sysdeps/i386/i486/bits/string.h: Renamed to ...
8015         * sysdeps/x86/bits/string.h: This.
8016         * sysdeps/x86_64/bits/string.h: Removed.
8018         * sysdeps/i386/i486/bits/string.h: Define inline functions only
8019         if not compiling for x86-64, but compiling for >= i486.
8021         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
8022         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
8024         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
8025         New macro from Linux kernel 3.4.0.
8026         (FP_XSTATE_MAGIC2): Likewise.
8027         (FP_XSTATE_MAGIC2_SIZE): Likewise.
8028         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
8029         (struct _fpx_sw_bytes): New struct.
8030         (struct _xsave_hdr): Likewise.
8031         (struct _ymmh_state): Likewise.
8032         (struct _xstate): Likewise.
8034         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
8035         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
8036         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
8037         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
8038         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
8039         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
8041         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
8042         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
8043         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
8044         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
8045         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
8046         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
8048 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8050         [BZ #13743]
8051         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
8052         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
8053         (sysdep_headers): Include sys/platform/ppc.h.
8054         * sysdeps/powerpc/test-gettimebase.c: Test for
8055         __ppc_get_timebase() to catch future ISA opcode/insn changes.
8056         * manual/Makefile (appendices): Include platform.texi.
8057         * manual/contrib.texi (Contributors): Update @node pointers.
8058         * manual/maint.texi (Maintenance): Likewise.
8059         (Platform): New node.
8060         * manual/platform.texi: New file.  Document the new features.
8062 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8063             Jakub Jelinek  <jakub@redhat.com>
8065         [BZ #14188]
8066         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
8067         where __builtin_expect is unavailable.
8069 2012-06-03  David S. Miller  <davem@davemloft.net>
8071         * stdlib/longlong.h: Updated from GCC.
8073 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
8075         [BZ #14042]
8076         * sysdeps/powerpc/powerpc32/mcount.c: New file.
8077         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
8078         __mcount_internal.
8079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8080         (GLIBC_2.16): Likewise.
8082 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
8084         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
8086 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
8088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8089         (default-abi): New variable.
8090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
8091         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
8092         variable.
8093         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
8094         Likewise.
8095         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
8096         Likewise.
8097         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
8098         Likewise.
8100         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
8101         definition.  Document in comment.
8103 2012-06-01  David S. Miller  <davem@davemloft.net>
8105         * stdlib/longlong.h: Updated from GCC.
8107 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
8109         [BZ #14117]
8110         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
8111         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
8112         sys/debugreg.h sys/io.h here.
8113         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
8114         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
8115         sys/io.h.
8116         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
8117         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
8118         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
8119         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
8120         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
8121         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
8123         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
8124         Define only if __x86_64__ is defined.
8126 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
8128         [BZ #14048]
8129         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
8130         Use int64_t for variable i.
8131         * math/libm-test.inc (fmod_test): Add more tests.
8133         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
8134         z computation is not scheduled after fetestexcept.
8135         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
8136         Use math_force_eval instead of asm to ensure calculation scheduled
8137         before exception test.
8138         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
8139         Ensure a1 + u.d computation is not scheduled after fetestexcept.
8141 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
8143         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
8144         computation is not scheduled after fetestexcept.
8146 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
8148         [BZ #14117]
8149         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
8150         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
8152 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8154         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
8155         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8157 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
8159         [BZ #14117]
8160         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
8161         <bits/wordsize.h>.
8162         (__WCHAR_MIN): Support __WORDSIZE == 64.
8163         (__WCHAR_MAX): Likewise.
8165         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
8166         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
8168         [BZ #14183]
8169         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
8170         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
8172         [BZ #14117]
8173         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
8174         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
8176         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
8177         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
8179         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
8180         Defined to 1 if __x86_64__ isn't defined.
8181         (_STAT_VER_LINUX_OLD): New.
8182         (st_atime): Remove duplicate.
8183         (st_mtime): Likewise.
8184         (st_ctime): Likewise.
8186 2012-05-31  David S. Miller  <davem@davemloft.net>
8188         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
8189         entries.
8191 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
8193         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
8194         gen-libm-test.pl.
8196         [BZ #14132]
8197         * elf/dl-reloc.c: Include <_itoa.h>.
8198         (_dl_reloc_bad_type): Remove use of INTUSE.
8199         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
8200         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
8201         * stdio-common/psiginfo.c (psiginfo): Likewise.
8202         * stdio-common/psignal.c (psignal): Likewise.
8203         * string/strsignal.c (strsignal): Likewise.
8204         * include/signal.h (_sys_siglist): Declare hidden proto.
8205         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
8206         INTVARDEF with libc_hidden_data_def.
8207         * stdio-common/itoa-udigits.c: Likewise.
8208         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
8209         (_itoa_lower_digits_internal): Remove declaration.
8210         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
8211         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
8212         (_sys_sigabbrev_internal): Remove aliases.
8213         (_sys_siglist): Define hidden alias.
8215 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
8217         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8218         bits/sysctl.h.
8220 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
8222         [BZ #14117]
8223         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
8224         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
8226         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
8227         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
8228         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
8229         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
8230         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
8231         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
8233         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
8234         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
8235         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
8237         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
8238         with __addr.
8239         (insw): Likewise.
8240         (insl): Likewise.
8241         (outsb): Likewise.
8242         (outsw): Likewise.
8243         (outsl): Likewise.
8245         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
8246         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
8247         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
8249         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
8250         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
8251         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
8252         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
8253         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
8254         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
8256         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
8257         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
8259         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
8260         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
8262         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
8263         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
8264         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
8266         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
8267         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
8268         to ...
8269         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
8271         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
8272         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
8273         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
8275         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
8276         for x86-64.
8277         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
8279 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
8281         * math/math.h (M_El): Use two more decimal places.
8282         (M_LOG2El): Likewise.
8283         (M_LOG10El): Likewise.
8284         (M_LN2l): Likewise.
8285         (M_LN10l): Likewise.
8286         (M_PIl): Likewise.
8287         (M_PI_2l): Likewise.
8288         (M_PI_4l): Likewise.
8289         (M_1_PIl): Likewise.
8290         (M_2_PIl): Likewise.
8291         (M_2_SQRTPIl): Likewise.
8292         (M_SQRT2l): Likewise.
8293         (M_SQRT1_2l): Likewise.
8295 2012-05-31  David S. Miller  <davem@davemloft.net>
8297         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
8298         values between float registers.
8299         * sysdeps/sparc/sparc64/memset.S: Likewise.
8300         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8302 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
8304         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
8305         -D_FORTIFY_SOURCE=1.
8306         (CPPFLAGS-tst-longjmp_chk.c): Define.
8307         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
8308         (CPPFLAGS-tst-longjmp_chk2.c): Define.
8309         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
8310         CFLAGS-tst-wchar-h.c.
8312 2012-05-31  Marek Polacek  <polacek@redhat.com>
8314         [BZ #14132]
8315         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
8316         __endmntent_internal): Remove declaration.
8317         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
8318         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
8319         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
8321 2012-05-30  David S. Miller  <davem@davemloft.net>
8323         * sysdeps/sparc/sparc32/soft-fp/q_util.c
8324         (___Q_simulate_exceptions): Use real FP ops rather than writing
8325         into the %fsr.
8326         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
8327         Likewise.
8329 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
8331         [BZ #14117]
8332         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
8333         * sysdeps/x86/bits/xtitypes.h: This.
8335         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
8336         * sysdeps/x86/bits/wordsize.h: This.
8338         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
8339         * sysdeps/x86/bits/huge_vall.h: This.
8341         * sysdeps/i386/bits/select.h: Removed.
8342         * sysdeps/x86_64/bits/select.h: Renamed to ...
8343         * sysdeps/x86/bits/select.h: This.
8345         * sysdeps/i386/bits/setjmp.h: Removed.
8346         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
8347         * sysdeps/x86/bits/setjmp.h: This.
8349         * sysdeps/i386/bits/mathdef.h: Removed.
8350         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
8351         * sysdeps/x86/bits/mathdef.h: This.
8353 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
8355         [BZ #14132]
8356         * include/sys/socket.h (__connect_internal)
8357         (__libc_sa_len_internal): Remove declaration.
8358         (__connect, __libc_sa_len): Declare hidden_proto.
8359         (SA_LEN): Remove use of INTUSE.
8360         * socket/connect.c: Add libc_hidden_def.
8361         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
8362         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
8363         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
8364         alias.
8365         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8366         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8367         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
8368         of adding _internal alias.
8370 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
8372         [BZ #14117]
8373         * sysdeps/i386/bits/link.h: Removed.
8374         * sysdeps/i386/bits/linkmap.h: Likewise.
8375         * sysdeps/x86_64/bits/link.h: Renamed to ...
8376         * sysdeps/x86/bits/link.h: This.
8377         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
8378         * sysdeps/x86/bits/linkmap.h: This.
8380         * sysdeps/i386/bits/endian.h: Removed.
8381         * sysdeps/x86_64/bits/endian.h: Renamed to ...
8382         * sysdeps/x86/bits/endian.h: This.
8384         * sysdeps/i386/bits/byteswap.h: Removed.
8385         * sysdeps/i386/bits/byteswap-16.h: Likewise.
8386         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
8387         * sysdeps/x86/bits/byteswap.h: This.
8388         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
8389         * sysdeps/x86/bits/byteswap-16.h: This.
8390         * sysdeps/i386/Implies: Add x86.
8391         * sysdeps/x86_64/Implies: Likewise.
8393 2012-05-30  David S. Miller  <davem@davemloft.net>
8395         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
8396         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
8397         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8398         (FP_TRAPPING_EXCEPTIONS): Define.
8399         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8400         (FP_TRAPPING_EXCEPTIONS): Define.
8401         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
8402         subnormals only when inexact has been signalled or underflow
8403         exceptions are enabled.
8404         (_FP_PACK_CANONICAL): Likewise.
8406 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
8408         [BZ #14183]
8409         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
8410         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
8412 2012-05-30  Richard Henderson  <rth@twiddle.net>
8414         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
8415         with #ifndef NOT_IN_libc.
8417         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
8418         marked to avoid plt entry.
8420 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
8422         [BZ #14112]
8423         * Makeconfig (default-abi): New macro.
8424         (abi-includes): Likewise.
8425         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
8426         $(abi-$(default-abi)-lib-soname) for soname if defined.
8427         ($(common-objpfx)gnu/lib-names.stmp): Generate from
8428         abi-variants.
8429         * Makefile (installed-stubs): Likewise.
8430         * include/stubs-biarch.h: Removed.
8431         * scripts/lib-names.awk: Only handle one library at a time.
8432         * scripts/soversions.awk: Remove WORDSIZE support.
8433         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
8434         entries.
8435         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
8436         Removed.
8437         (syscall-list-default-condition): Likewise.
8438         (syscall-list-default-condition): Likewise.
8439         (syscall-list-includes): Likewise.
8440         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
8441         syscall-list-* with abi-*.  Handle undefined abi-variants.
8442         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
8443         * sysdeps/unix/sysv/linux/i386/Implies: New file.
8444         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
8445         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
8446         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
8447         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
8448         Removed.
8449         (syscall-list-32-options): Likewise.
8450         (syscall-list-32-condition): Likewise.
8451         (syscall-list-64-options): Likewise.
8452         (syscall-list-64-condition): Likewise.
8453         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
8454         macro.
8455         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
8456         Renamed to ...
8457         (abi-*): This.
8458         (abi-64-ld-soname): New macro.
8459         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
8460         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
8461         Renamed to ...
8462         (abi-*): This.
8463         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
8464         * sysdeps/x86_64/x32/shlib-versions: Likewise.
8466 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
8468         * sysdeps/unix/sysv/linux/kernel-features.h
8469         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
8470         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
8471         include <kernel-features.h>.
8472         [!__NR_ftruncate64]: Remove conditional code.
8473         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8474         [__NR_ftruncate64]: Make code unconditional.
8475         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8476         * sysdeps/unix/sysv/linux/truncate64.c: Do not
8477         include <kernel-features.h>.
8478         [!__NR_ftruncate64]: Remove conditional code.
8479         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8480         [__NR_ftruncate64]: Make code unconditional.
8481         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
8483         include <kernel-features.h>.
8484         [!__NR_ftruncate64]: Remove conditional code.
8485         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8486         [__NR_ftruncate64]: Make code unconditional.
8487         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8489         include <kernel-features.h>.
8490         [!__NR_ftruncate64]: Remove conditional code.
8491         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8492         [__NR_ftruncate64]: Make code unconditional.
8493         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8495         * configure.in (libc_cv_fpie): Weaken to a compile test using
8496         LIBC_TRY_CC_OPTION.
8497         * configure: Regenerated.
8499 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8501         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
8502         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
8503         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
8504         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8505         Refreshed.
8506         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
8507         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
8508         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
8509         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
8510         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
8511         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8512         Refreshed.
8514 2012-05-27  David S. Miller  <davem@davemloft.net>
8516         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
8517         (___Q_zero): New.
8518         (__Q_simulate_exceptions): Return void.  Change to simulate
8519         exceptions by writing into the %fsr.
8520         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
8521         (__Qp_handle_exceptions): Likewise.
8522         (numbers): Delete.
8523         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
8524         __Qp_handle_exceptions.
8525         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
8526         __Qp_handle_exceptions.
8527         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8528         as unused and give dummy FP_RND_NEAREST initializer.
8529         (FP_INHIBIT_RESULTS): Define.
8530         (___Q_simulate_exceptions): Update declaration.
8531         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
8532         formatting.
8533         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8534         as unused and give dummy FP_RND_NEAREST initializer.
8535         (__Qp_handle_exceptions): Update declaration.
8536         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
8537         formatting.
8539 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
8541         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
8542         the temporary FPU control word.
8543         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8544         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
8545         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8546         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8547         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8548         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8549         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8550         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8551         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8552         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8553         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8555 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8557         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
8558         fields.
8560 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
8562         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
8563         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
8564         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
8565         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
8566         Likewise.
8567         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
8568         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
8569         Likewise.
8571 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
8573         * po/h.po: Update from translation team.
8575 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
8577         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
8579         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
8580         handling of denormals.
8581         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8582         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8583         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8584         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8585         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8586         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
8587         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
8588         Likewise.
8590 2012-05-26  Marek Polacek  <polacek@redhat.com>
8592         [BZ #14152]
8593         * math/libm-test.inc (fma_test): Don't always expect underflow
8594         exception.
8596 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8598         [BZ #12416]
8599         * elf/tst-execstack.c: Include stackinfo.h.
8600         (do_test): Adjust test case to ensure that pthread_getattr_np
8601         behaviour remains the same after marking stack executable.
8603 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
8605         * sysdeps/unix/sysv/linux/kernel-features.h
8606         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
8607         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
8608         kernel-features.h.
8609         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8610         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8611         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
8612         kernel-features.h.
8613         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8614         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8616 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
8618         * configure.in: Define the default includes to being none.
8619         * configure: Regenerated.
8621 2012-05-25  Roland McGrath  <roland@hack.frob.com>
8623         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
8624         * sysdeps/x86_64/setjmp.S: Likewise.
8625         * sysdeps/i386/bsd-setjmp.S: Likewise.
8626         * sysdeps/i386/bsd-_setjmp.S: Likewise.
8627         * sysdeps/i386/setjmp.S: Likewise.
8628         * sysdeps/i386/__longjmp.S: Likewise.
8629         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8630         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
8632         * include/stap-probe.h: New file.
8633         * configure.in: Handle --enable-systemtap.
8634         * configure: Regenerated.
8635         * config.h.in (USE_STAP_PROBE): New #undef.
8636         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
8637         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
8638         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8640 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
8642         [BZ #13717]
8643         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8644         to 2.4.0 where earlier.
8645         * sysdeps/unix/sysv/linux/configure: Regenerated.
8646         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8647         <kernel-features.h>.
8648         [__ASSUME_32BITUIDS]: Make code unconditional.
8649         [!__ASSUME_32BITUIDS]: Remove conditional code.
8650         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
8651         <kernel-features.h>.
8652         [__ASSUME_32BITUIDS]: Make code unconditional.
8653         [!__ASSUME_32BITUIDS]: Remove conditional code.
8654         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
8655         [__ASSUME_32BITUIDS]: Make code unconditional.
8656         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
8657         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
8658         <kernel-features.h>.
8659         [__ASSUME_32BITUIDS]: Make code unconditional.
8660         [!__ASSUME_32BITUIDS]: Remove conditional code.
8661         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
8662         <kernel-features.h>.
8663         [__ASSUME_32BITUIDS]: Make code unconditional.
8664         [!__ASSUME_32BITUIDS]: Remove conditional code.
8665         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
8666         <kernel-features.h>.
8667         [__ASSUME_32BITUIDS]: Make code unconditional.
8668         [!__ASSUME_32BITUIDS]: Remove conditional code.
8669         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
8670         <kernel-features.h>.
8671         [__ASSUME_32BITUIDS]: Make code unconditional.
8672         [!__ASSUME_32BITUIDS]: Remove conditional code.
8673         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8674         <kernel-features.h>.
8675         [__ASSUME_32BITUIDS]: Make code unconditional.
8676         [!__ASSUME_32BITUIDS]: Remove conditional code.
8677         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8678         <kernel-features.h>.
8679         [__ASSUME_32BITUIDS]: Make code unconditional.
8680         [!__ASSUME_32BITUIDS]: Remove conditional code.
8681         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
8682         <kernel-features.h>.
8683         [__ASSUME_32BITUIDS]: Make code unconditional.
8684         [!__ASSUME_32BITUIDS]: Remove conditional code.
8685         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8686         <kernel-features.h>.
8687         [__ASSUME_32BITUIDS]: Make code unconditional.
8688         [!__ASSUME_32BITUIDS]: Remove conditional code.
8689         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8690         <kernel-features.h>.
8691         [__ASSUME_32BITUIDS]: Make code unconditional.
8692         [!__ASSUME_32BITUIDS]: Remove conditional code.
8693         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
8694         <kernel-features.h>.
8695         [__ASSUME_32BITUIDS]: Make code unconditional.
8696         [!__ASSUME_32BITUIDS]: Remove conditional code.
8697         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
8698         <kernel-features.h>.
8699         [__NR_setresgid] (__setresgid): Do not declare.
8700         [__ASSUME_32BITUIDS]: Make code unconditional.
8701         [!__ASSUME_32BITUIDS]: Remove conditional code.
8702         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
8703         <kernel-features.h>.
8704         [__NR_setresuid] (__setresuid): Do not declare.
8705         [__ASSUME_32BITUIDS]: Make code unconditional.
8706         [!__ASSUME_32BITUIDS]: Remove conditional code.
8707         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
8708         <kernel-features.h>.
8709         [__ASSUME_32BITUIDS]: Make code unconditional.
8710         [!__ASSUME_32BITUIDS]: Remove conditional code.
8711         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
8712         <kernel-features.h>.
8713         [__ASSUME_32BITUIDS]: Make code unconditional.
8714         [!__ASSUME_32BITUIDS]: Remove conditional code.
8715         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
8716         <kernel-features.h>.
8717         [__ASSUME_32BITUIDS]: Make code unconditional.
8718         [!__ASSUME_32BITUIDS]: Remove conditional code.
8719         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
8720         <kernel-features.h>.
8721         [__ASSUME_32BITUIDS]: Make code unconditional.
8722         [!__ASSUME_32BITUIDS]: Remove conditional code.
8723         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
8724         <kernel-features.h>.
8725         [__ASSUME_32BITUIDS]: Make code unconditional.
8726         [!__ASSUME_32BITUIDS]: Remove conditional code.
8727         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
8728         <kernel-features.h>.
8729         [__ASSUME_32BITUIDS]: Make code unconditional.
8730         [!__ASSUME_32BITUIDS]: Remove conditional code.
8731         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
8732         <kernel-features.h>.
8733         [__ASSUME_32BITUIDS]: Make code unconditional.
8734         [!__ASSUME_32BITUIDS]: Remove conditional code.
8735         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
8736         <kernel-features.h>.
8737         [__ASSUME_32BITUIDS]: Make code unconditional.
8738         [!__ASSUME_32BITUIDS]: Remove conditional code.
8739         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
8740         <kernel-features.h>.
8741         [__ASSUME_32BITUIDS]: Make code unconditional.
8742         [!__ASSUME_32BITUIDS]: Remove conditional code.
8743         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8744         <kernel-features.h>.
8745         [__ASSUME_32BITUIDS]: Make code unconditional.
8746         [!__ASSUME_32BITUIDS]: Remove conditional code.
8747         * sysdeps/unix/sysv/linux/kernel-features.h
8748         (__ASSUME_SETRESUID_SYSCALL): Remove.
8749         (__ASSUME_SETRESGID_SYSCALL): Likewise.
8750         (__ASSUME_32BITUIDS): Likewise.
8751         (__ASSUME_LDT_WORKS): Likewise.
8752         (__ASSUME_O_DIRECTORY): Likewise.
8753         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
8754         architecture but not kernel version.
8755         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8756         (__ASSUME_MMAP2_SYSCALL): Likewise.
8757         (__ASSUME_STAT64_SYSCALL): Likewise.
8758         (__ASSUME_IPC64): Likewise.
8759         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
8760         <kernel-features.h>.
8761         [__ASSUME_32BITUIDS]: Make code unconditional.
8762         [!__ASSUME_32BITUIDS]: Remove conditional code.
8763         * sysdeps/unix/sysv/linux/opendir.c: Do not include
8764         <kernel-features.h>.
8765         [__ASSUME_O_DIRECTORY]: Make code unconditional.
8766         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
8767         132096]: Remove conditional code.
8768         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
8769         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
8778         <kernel-features.h>.
8779         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
8780         unconditional.
8781         (__setresgid): Do not declare.
8782         [__ASSUME_32BITUIDS]: Make code unconditional.
8783         [!__ASSUME_32BITUIDS]: Remove conditional code.
8784         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
8785         <kernel-features.h>.
8786         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
8787         unconditional.
8788         (__setresuid): Do not declare.
8789         [__ASSUME_32BITUIDS]: Make code unconditional.
8790         [!__ASSUME_32BITUIDS]: Remove conditional code.
8791         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8792         <kernel-features.h>.
8793         [__ASSUME_32BITUIDS]: Make code unconditional.
8794         [!__ASSUME_32BITUIDS]: Remove conditional code.
8795         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
8796         <kernel-features.h>.
8797         [__ASSUME_32BITUIDS]: Make code unconditional.
8798         [!__ASSUME_32BITUIDS]: Remove conditional code.
8800 2012-05-25  Richard Henderson  <rth@twiddle.net>
8802         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
8803         dl_hwcap to ifunc resolver.
8804         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
8805         elf_ifunc_invoke.
8806         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
8807         dl_hwcap to ifunc resolver.
8808         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
8810 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
8812         [BZ #14153]
8813         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
8814         for |x| <= 2**-26, not 2**-57.
8815         * math/libm-test.inc (acos_test): Do not allow spurious underflow
8816         exception.
8818 2012-05-24  Jeff Law  <law@redhat.com>
8820         * stdio-common/Makefile (tests): Add bug25.
8821         * stdio-common/bug25.c: New test.
8823 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
8825         [BZ #13576]
8826         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
8827         multiple of MALLOC_ALIGNMENT in size.
8828         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
8830 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
8832         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
8833         Require >= 256.
8834         (FILENAME_MAX): Use macro-int-constant.
8835         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
8836         (_IOFBF): Use macro-int-constant.
8837         (_IOLBF): Likewise.
8838         (_IONBF): Likewise.
8839         (SEEK_CUR): Likewise.
8840         (SEEK_END): Likewise.
8841         (SEEK_SET): Likewise.
8842         (TMP_MAX): Likewise.
8843         (EOF): Use macro-int-constant.  Require < 0.
8844         (NULL): Use macro-constant.  Require == 0.
8845         (stdin): Require type to be FILE *.
8846         (stdout): Likewise.
8847         (stderr): Likewise.
8848         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
8849         macro-int-constant.
8850         (EXIT_SUCCESS): Likewise.
8851         (NULL): Use macro-constant.  Require == 0.
8852         (RAND_MAX): Use macro-int-constant.
8853         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
8854         [C99-based standards] (strtof): Require function.
8855         [C99-based standards] (strtold): Likewise.
8856         [C99-based standards] (strtoll): Likewise.
8857         [C99-based standards] (strtoull): Likewise.
8858         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8859         [ISO || ISO99 || ISO11] (limits.h): Likewise.
8860         [ISO || ISO99 || ISO11] (math.h): Likewise.
8861         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
8862         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8863         [ISO || ISO99 || ISO11] (*_t): Do not allow.
8865 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
8867         [BZ #14132]
8868         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
8869         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
8870         * intl/dgettext.c (DCGETTEXT): Likewise.
8871         * intl/gettext.c (DCGETTEXT): Likewise.
8872         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
8873         * posix/regex_internal.h (gettext): Likewise.
8874         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
8875         Remove declaration.
8876         * include/argz.h (__argz_count_internal)
8877         (__argz_stringify_internal): Remove declaration.
8878         (__argz_count, __argz_stringify): Declare hidden proto.
8879         * intl/dcgettext.c: Remove use of INTDEF.
8880         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
8881         * string/argz-stringify.c: Likewise.
8882         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8883         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8884         Declare hidden proto.
8885         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8886         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8887         Declare hidden proto.
8888         * include/stdio.h (__asprintf_internal): Don't declare.
8889         (__asprintf): Don't define as macro.  Declare hidden proto.
8890         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
8891         (__fsetlocking): Declare hidden proto.
8892         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
8893         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
8894         hidden proto.
8895         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
8896         (_IO_setlinebuf): Remove use of INTUSE.
8897         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
8898         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
8899         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
8900         Remove declaration.
8901         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
8902         (_IO_do_flush): Remove use of INTUSE.
8903         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
8904         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
8905         (_IO_adjust_column, _IO_least_wmarker)
8906         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
8907         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
8908         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
8909         (_IO_default_doallocate, _IO_wdefault_doallocate)
8910         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
8911         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
8912         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
8913         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
8914         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
8915         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
8916         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
8917         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
8918         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
8919         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
8920         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
8921         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
8922         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
8923         proto.
8924         (_IO_flush_all_internal, _IO_adjust_column_internal)
8925         (_IO_default_uflow_internal, _IO_default_finish_internal)
8926         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
8927         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
8928         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
8929         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
8930         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
8931         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
8932         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
8933         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
8934         (_IO_file_close_internal, _IO_file_close_it_internal)
8935         (_IO_file_underflow_internal, _IO_file_overflow_internal)
8936         (_IO_file_init_internal, _IO_file_attach_internal)
8937         (_IO_file_fopen_internal, _IO_file_read_internal)
8938         (_IO_file_sync_internal, _IO_file_seek_internal)
8939         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
8940         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
8941         (_IO_str_underflow_internal, _IO_str_overflow_internal)
8942         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
8943         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
8944         (_IO_list_all_internal, _IO_link_in_internal)
8945         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
8946         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
8947         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
8948         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
8949         (_IO_do_write_internal, _IO_padn_internal)
8950         (_IO_getline_info_internal, _IO_getline_internal)
8951         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
8952         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
8953         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
8954         (_IO_vfscanf_internal, _IO_vfprintf_internal)
8955         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
8956         (_IO_init_internal, _IO_un_link_internal): Don't declare.
8957         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
8958         with libc_hidden_ver, remove use of INTUSE.
8959         * libio/genops.c: Likewise.
8960         * libio/freopen.c: Likewise.
8961         * libio/freopen64.c: Likewise.
8962         * libio/iofclose.c: Likewise.
8963         * libio/iofdopen.c: Likewise.
8964         * libio/iofflush.c: Likewise.
8965         * libio/iofflush_u.c: Likewise.
8966         * libio/iofgets.c: Likewise.
8967         * libio/iofgets_u.c: Likewise.
8968         * libio/iofopen.c: Likewise.
8969         * libio/iofopncook.c: Likewise.
8970         * libio/iofread.c: Likewise.
8971         * libio/iofread_u.c: Likewise.
8972         * libio/ioftell.c: Likewise.
8973         * libio/iofwrite.c: Likewise.
8974         * libio/iogetline.c: Likewise.
8975         * libio/iogets.c: Likewise.
8976         * libio/iogetwline.c: Likewise.
8977         * libio/iopadn.c: Likewise.
8978         * libio/iopopen.c: Likewise.
8979         * libio/ioseekoff.c: Likewise.
8980         * libio/ioseekpos.c: Likewise.
8981         * libio/iosetbuffer.c: Likewise.
8982         * libio/iosetvbuf.c: Likewise.
8983         * libio/ioungetc.c: Likewise.
8984         * libio/ioungetwc.c: Likewise.
8985         * libio/iovdprintf.c: Likewise.
8986         * libio/iovsprintf.c: Likewise.
8987         * libio/iovsscanf.c: Likewise.
8988         * libio/memstream.c: Likewise.
8989         * libio/obprintf.c: Likewise.
8990         * libio/oldfileops.c: Likewise.
8991         * libio/oldiofclose.c: Likewise.
8992         * libio/oldiofdopen.c: Likewise.
8993         * libio/oldiofopen.c: Likewise.
8994         * libio/oldiopopen.c: Likewise.
8995         * libio/oldstdfiles.c: Likewise.
8996         * libio/putc.c: Likewise.
8997         * libio/setbuf.c: Likewise.
8998         * libio/setlinebuf.c: Likewise.
8999         * libio/stdfiles.c: Likewise.
9000         * libio/strops.c: Likewise.
9001         * libio/vasprintf.c: Likewise.
9002         * libio/vscanf.c: Likewise.
9003         * libio/vsnprintf.c: Likewise.
9004         * libio/vswprintf.c: Likewise.
9005         * libio/wfiledoalloc.c: Likewise.
9006         * libio/wfileops.c: Likewise.
9007         * libio/wgenops.c: Likewise.
9008         * libio/wmemstream.c: Likewise.
9009         * libio/wstrops.c: Likewise.
9010         * libio/__fpurge.c: Likewise.
9011         * libio/__fsetlocking.c: Likewise.
9012         * assert/assert.c: Likewise.
9013         * debug/fgets_chk.c: Likewise.
9014         * debug/fgets_u_chk.c: Likewise.
9015         * debug/fread_chk.c: Likewise.
9016         * debug/fread_u_chk.c: Likewise.
9017         * debug/gets_chk.c: Likewise.
9018         * debug/obprintf_chk.c: Likewise.
9019         * debug/vasprintf_chk.c: Likewise.
9020         * debug/vdprintf_chk.c: Likewise.
9021         * debug/vsnprintf_chk.c: Likewise.
9022         * debug/vsprintf_chk.c: Likewise.
9023         * malloc/mtrace.c: Likewise.
9024         * misc/error.c: Likewise.
9025         * misc/syslog.c: Likewise.
9026         * stdio-common/asprintf.c: Likewise.
9027         * stdio-common/fxprintf.c: Likewise.
9028         * stdio-common/getw.c: Likewise.
9029         * stdio-common/isoc99_fscanf.c: Likewise.
9030         * stdio-common/isoc99_scanf.c: Likewise.
9031         * stdio-common/isoc99_vfscanf.c: Likewise.
9032         * stdio-common/isoc99_vscanf.c: Likewise.
9033         * stdio-common/isoc99_vsscanf.c: Likewise.
9034         * stdio-common/printf-prs.c: Likewise.
9035         * stdio-common/printf_fp.c: Likewise.
9036         * stdio-common/printf_fphex.c: Likewise.
9037         * stdio-common/printf_size.c: Likewise.
9038         * stdio-common/putw.c: Likewise.
9039         * stdio-common/scanf.c: Likewise.
9040         * stdio-common/sprintf.c: Likewise.
9041         * stdio-common/tmpfile.c: Likewise.
9042         * stdio-common/vfprintf.c: Likewise.
9043         * stdio-common/vfscanf.c: Likewise.
9044         * stdlib/strfmon_l.c: Likewise.
9045         * sunrpc/openchild.c: Likewise.
9046         * sunrpc/xdr_stdio.c: Likewise.
9047         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
9048         * sysdeps/mach/hurd/tmpfile.c: Likewise.
9050 2012-05-24  Roland McGrath  <roland@hack.frob.com>
9052         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9054         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
9055         in the third column, to generate for the shared library an IFUNC
9056         that uses _dl_vdso_vsym.
9057         * Makerules (COMPILE.c, compile-stdin.c): New variables.
9058         * Makeconfig (object-suffixes-noshared): New variable.
9060         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
9061         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
9062         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
9063         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
9065         [BZ #14132]
9066         * include/sys/time.h (__gettimeofday): Remove macro.
9067         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
9068         * time/gettimeofday.c (__gettimeofday): Remove #undef.
9069         Remove INTDEF.
9070         (__gettimeofday): Add libc_hidden_def.
9071         (gettimeofday): Add libc_hidden_weak.
9072         * sysdeps/mach/gettimeofday.c: Likewise.
9073         * sysdeps/posix/gettimeofday.c: Likewise.
9074         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
9075         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9076         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
9077         (__gettimeofday_internal): Remove strong_alias.
9078         (__gettimeofday): Add libc_hidden_def.
9079         (gettimeofday): Add libc_hidden_weak.
9080         * sysdeps/unix/syscalls.list (gettimeofday):
9081         Remove __gettimeofday_internal alias.
9083 2012-05-24  Daniel Jacobowitz  <drow@false.org>
9084             H.J. Lu  <hongjiu.lu@intel.com>
9086         [BZ #12495]
9087         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
9088         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
9089         (largebin_index_32_big): New.
9090         (largebin_index): Use it for 16-byte alignment.
9091         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
9092         correction with front_misalign.
9094 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
9096         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
9097         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9098         Likewise.
9099         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
9100         Likewise.
9101         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9102         Likewise.
9103         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
9104         Likewise.
9105         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
9106         Likewise.
9107         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
9108         Likewise.
9109         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
9110         Likewise.
9111         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
9112         Likewise.
9113         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
9114         Likewise.
9115         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
9116         Likewise.
9117         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9118         Likewise.
9119         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
9120         Likewise.
9122         * scripts/data/c++-types-x32-linux-gnu.data: New file.
9123         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
9125 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
9127         [BZ #10846]
9128         [BZ #14036]
9129         * math/libm-test.inc (exp_test): Add test from bug 14036.
9130         (pow_test): Add test from bug 10846.
9132         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
9133         and other flags.
9134         (special_function): Do not include flags in test name.
9135         (parse_args): Likewise.
9136         * sysdeps/i386/fpu/libm-test-ulps: Update.
9137         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9138         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9139         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9142         * math/gen-libm-test.pl (%beautify): Add entries for underflow
9143         exceptions.
9144         * math/libm-test.inc ("Philosophy"): Update comment about
9145         exception testing.
9146         (UNDERFLOW_EXCEPTION): New macro.
9147         (UNDERFLOW_EXCEPTION_OK): Likewise.
9148         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9149         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9150         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9151         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9152         (INVALID_EXCEPTION_OK): Update value.
9153         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9154         (OVERFLOW_EXCEPTION_OK): Likewise.
9155         (IGNORE_ZERO_INF_SIGN): Likewise.
9156         (test_exceptions): Handle underflow exceptions.
9157         (acos_test): Update for underflow exception expectations.
9158         (cexp_test): Likewise.
9159         (clog_test): Likewise.
9160         (clog10_test): Likewise.
9161         (csqrt_test): Likewise.
9162         (ctan_test): Likewise.
9163         (ctanh_test): Likewise.
9164         (exp_test): Likewise.
9165         (exp10_test): Likewise.
9166         (exp2_test): Likewise.
9167         (expm1_test): Likewise.
9168         (fma_test): Likewise.
9169         (j0_test): Likewise.
9170         (jn_test): Likewise.
9171         (nexttoward_test): Likewise.
9172         (pow_test): Likewise.
9173         (scalbn_test): Likewise.
9174         (scalbln_test): Likewise.
9175         (tan_test): Likewise.
9176         (y1_test): Likewise.
9177         * sysdeps/i386/fpu/libm-test-ulps: Update.
9178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9180 2012-05-23  David S. Miller  <davem@davemloft.net>
9182         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9183         (__libc_sigaction): Remove unused local variables.
9185 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
9187         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
9189 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
9191         mktime: avoid signed integer overflow
9192         * time/mktime.c (__mktime_internal): Do not mishandle the case
9193         where diff == INT_MIN.
9195         mktime: simplify computation of average
9196         * time/mktime.c (ranged_convert): Use new time_t_avg function
9197         instead of rolling our own (probably-slower) code.
9199         mktime: do not assume signed right shift propagates sign bit
9200         * time/mktime.c (isdst_differ): New static function.
9201         (__mktime_internal): No need to normalize tm_isdst now.
9202         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
9203         tm_isdst values.
9205         mktime: merge another wrapv change from gnulib
9206         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
9207         from some compilers.
9209         mktime: remove incorrect attempt at unusual arithmetics
9210         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
9211         The code didn't really work on such machines anyway.
9212         (TYPE_MINIMUM): Assume two's complement.
9213         (twos_complement_arithmetic): Verify that long_int and time_t
9214         are two's complement (or unsigned, in the latter case).
9216         mktime: check signed shifts on long_int and time_t, too
9217         * time/mktime.c (SHR): Check that shifts work as desired
9218         on the types long_int and time_t too, as SHR is used on
9219         such types.
9221         mktime: do not assume 'long' is wide enough
9222         * time/mktime.c (verify): Move decl up.
9223         (long_int): New type.
9224         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
9225         to remove assumption in the code that 'long' is wide enough to
9226         store year values.  This assumption is not true on x32 and on
9227         some non-glibc platforms.
9229         mktime: merge wrapv change from gnulib
9230         * time/mktime.c (WRAPV): New macro.
9231         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
9232         (guess_time_tm, __mktime_internal): Do not assume that signed
9233         integer overflow wraps around; modern compilers generate code
9234         where this assumption is no longer valid.
9236 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
9238         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9239         Replace "jmp L(pseudo_end)" with "ret".
9240         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
9241         Likewise.
9243 2012-05-23  Andreas Jaeger  <aj@suse.de>
9245         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
9246         * sysdeps/unix/sysv/linux/poll.c: Remove file.
9248 2012-05-23  Andreas Jaeger  <aj@suse.de>
9249             Maximilian Attems  <max@stro.at>
9251         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
9252         New macros.
9254 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
9256         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
9257         code so that pseudo_end is just ret and the stack pointer is
9258         correct also for static library in error case.
9260 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
9262         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
9263         move to syscalls.list.
9264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9269         * manual/install.texi (Running make install): Do not mention Linux
9270         kernel version for which pt_chown is not needed.
9271         (Linux): Do not mention problems with nscd with 2.0 kernels.
9272         * INSTALL: Regenerated.
9274 2012-05-23  Andreas Jaeger  <aj@suse.de>
9276         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
9277         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
9278         macro.
9279         * sysdeps/unix/sysv/linux/s390/bits/mman.h
9280         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9281         * sysdeps/unix/sysv/linux/sh/bits/mman.h
9282         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9283         * sysdeps/unix/sysv/linux/i386/bits/mman.h
9284         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9285         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
9286         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9287         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
9288         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9289         * sysdeps/unix/sysv/linux/bits/in.h
9290         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
9292 2012-05-22  Roland McGrath  <roland@hack.frob.com>
9294         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
9295         (PREPARE_VERSION): Just use assert instead, it will be elided
9296         under [NDEBUG] anyway.
9298 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
9300         * sysdeps/unix/sysv/linux/Makefile: Include
9301         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
9302         (sysdep_routines): Remove sysctl.
9303         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
9304         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
9305         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
9306         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
9307         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
9309 2012-05-22  Andreas Jaeger  <aj@suse.de>
9311         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
9312         that pseudo_end is just ret and the stack pointer is correct also
9313         for static library in error case.
9315 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
9317         [BZ #14122]
9318         * nss/nsswitch.c (defconfig_entries): New variable.
9319         (__nss_database_lookup): Don't leak defconfig entries.
9320         (nss_parse_service_list): Don't leak on error paths.
9321         (free_database_entries): New function.
9322         (free_defconfig): New function.
9323         (free_mem): Move common code to free_database_entries.
9325 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
9327         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
9328         Add arch_prctl.
9329         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
9331         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9332         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
9333         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
9334         New macro.
9335         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9336         (INTERNAL_SYSCALL_TYPES): Likewise.
9337         (LOAD_ARGS_TYPES_[1-6]): Likewise.
9338         (LOAD_REGS_TYPES_[1-6]): Likewise.
9339         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
9340         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
9342 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9344         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
9345         copysignl for GLIBC_2_0.
9346         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
9347         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
9348         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
9349         logbl for GLIBC_2_0.
9350         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9351         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9353 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
9355         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
9356         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
9358         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9359         Use "neg %eax".
9361         * time/mktime.c: Update copyright years.
9363 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
9365         mktime: merge comment-quoting-style change from gnulib
9366         * time/mktime.c: Quote 'like this' in comments.
9367         The GNU coding standards suggest that we no longer quote `like this',
9368         as "`" and "'" are typically rendered asymmetrically nowadays.
9369         The typical gnulib style is to quote 'like this' when quoting
9370         code, and "like this" when quoting English.
9372         * time/mktime.c (compile-command): Add "-I.".
9374         mktime: merge mktime-internal.h change from gnulib
9375         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
9377         mktime: merge time_r change from gnulib
9378         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
9380         mktime: merge DEBUG change from gnulib
9381         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
9382         case system <time.h> has a #define.
9384         mktime: merge <sys/types.h> change from gnulib
9385         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
9386         since <time.t> is now guaranteed to define time_t.
9388         mktime: merge HAVE_CONFIG_H change from gnulib
9389         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
9391 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
9393         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9394         Use "neg %eax".
9396         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
9397         __rlim_t cast.
9398         (struct rusage): Use anonymous union to pad each field to
9399         __syscall_slong_t.
9401 2012-05-21  David S. Miller  <davem@davemloft.net>
9403         * Makefules (o-iterator): Remove .s cases.
9404         (compile-command.s): Delete.
9405         (COMPILE.s): Delete.
9406         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
9408 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
9410         * configure.in (libc_cv_predef_stack_protector): Only consider
9411         "foobar" and "__stack_chk_fail" lines in libc_undefs.
9412         * configure: Regenerated.
9414 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
9416         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9417         New macro.  Use R*LP on int and pointer.
9418         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
9419         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
9420         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
9421         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
9423         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
9424         [__WORDSIZE_TIME64_COMPAT32] instead of
9425         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
9426         (struct utmp): Likewise.
9427         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
9428         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
9429         Renamed to ...
9430         (__WORDSIZE_TIME64_COMPAT32): This.
9431         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
9432         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
9433         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
9434         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
9435         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
9436         (__WORDSIZE_TIME64_COMPAT32): New macro.
9438 2012-05-21  Andreas Jaeger  <aj@suse.de>
9440         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
9441         only if [SHARED]. Add prototype for __wcschr_ia32.
9443 2012-05-21  Roland McGrath  <roland@hack.frob.com>
9445         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
9446         of %rbp unmolested in the jmp_buf while mangling the low bits.
9447         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
9448         unmolested high bits of %rbp while demangling the low bits.
9449         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9451 2012-05-21  Andreas Jaeger  <aj@suse.de>
9453         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
9454         * sunrpc/svc_simple.c: Use it for registerrpc.
9455         * sunrpc/xcrypt.c: Use it for passwd2des.
9457         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
9459 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
9461         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
9462         Don't define if [__SYSCALL_WORDSIZE != 32].
9463         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
9464         New macro.
9466 2012-05-21  Bruno Haible  <bruno@clisp.org>
9467             Andreas Jaeger  <aj@suse.de>
9469         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
9470         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
9471         inptr and inend for must_buffer_ch.
9472         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
9473         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
9474         * stdio-common/Makefile (tests): Remove bug15.
9475         (bug15-ENV): Remove macro.
9476         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
9477         anymore.
9479 2012-05-19  Andreas Jaeger  <aj@suse.de>
9480             Roland McGrath  <roland@hack.frob.com>
9482         * manual/contrib.texi: Completely rewritten. It contains now an
9483         alphabetical list of contributors and their contributions.
9485 2012-05-21  Richard Henderson  <rth@twiddle.net>
9487         * misc/getauxval.c (__getauxval): Use unsigned long int.
9488         * misc/sys/auxv.h: Include <sys/cdefs.h>.
9489         (getauxval): Use unsigned long int.
9491 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
9493         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9495 2012-05-21  Roland McGrath  <roland@hack.frob.com>
9497         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
9498         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
9499         __alignof__ (long double).
9501 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9505 2012-05-20  Richard Henderson  <rth@twiddle.net>
9507         * misc/getauxval.c: New file.
9508         * misc/sys/auxv.h: New file.
9509         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
9510         (routines): Add getauxval.
9511         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
9512         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
9513         * elf/dl-sysdep.c (_dl_auxv): Remove.
9514         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
9515         * elf/dl-support.c (_dl_auxv): New variable.
9516         (_dl_aux_init): Initialize it.
9517         * manual/startup.texi (Auxiliary Vector): New node.
9518         * sysdeps/generic/bits/hwcap.h: New file.
9519         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
9520         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
9521         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
9522         * sysdeps/sparc/sysdep.h: ... here.  Include it.
9523         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
9524         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
9525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9526         Update.
9527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
9528         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
9529         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
9530         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
9531         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9532         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9533         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
9534         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
9536 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9538         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9540 2012-05-19  David S. Miller  <davem@davemloft.net>
9542         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9544 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
9546         [BZ #14123]
9547         * math/s_ccosh.c: Include <float.h>
9548         (__ccosh): Avoid internal overflow calculating sinh and cosh
9549         values before multiplying by sin and cos values.
9550         * math/s_ccoshf.c: Likewise.
9551         * math/s_ccoshl.c: Likewise.
9552         * math/s_csin.c: Likewise.
9553         * math/s_csinf.c: Likewise.
9554         * math/s_csinl.c: Likewise.
9555         * math/s_csinh.c: Likewise.
9556         * math/s_csinhf.c: Likewise.
9557         * math/s_csinhl.c: Likewise.
9558         * math/libm-test.inc (ccos_test): Add more tests.
9559         (ccosh_test): Likewise.
9560         (csin_test): Likewise.
9561         (csinh_test): Likewise.
9562         * sysdeps/i386/fpu/libm-test-ulps: Update.
9563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9565 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
9567         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
9568         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9570         * sysdeps/x86_64/x32/_itoa.h: Add comment.
9572 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
9574         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
9575         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
9576         * sysdeps/powerpc/soft-fp/Versions: Likewise.
9577         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
9578         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
9579         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
9580         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
9581         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
9582         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
9583         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
9584         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
9585         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
9586         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
9587         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
9588         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
9589         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
9590         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
9591         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
9592         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
9593         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
9594         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
9595         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
9596         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
9597         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
9598         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
9599         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
9600         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
9601         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
9602         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
9603         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
9604         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
9606 2012-05-18  Andreas Jaeger  <aj@suse.de>
9608         * csu/.gitignore: Delete.
9610 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
9612         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
9613         (timex): Use __syscall_slong_t.
9615 2012-05-18  Andreas Jaeger  <aj@suse.de>
9616             Carlos O'Donell  <carlos_odonell@mentor.com>
9618         * manual/install.texi (Configuring and compiling): Update
9619         description about files modified in the source directory.
9620         * INSTALL: Regenerated.
9622 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
9624         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
9625         value.  Use "or" to set return value to -1.
9626         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
9627         negate return value.
9629 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9631         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
9632         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
9633         failure if the compiler has Graphite support disabled.
9634         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
9635         Likewise.
9636         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
9637         CFLAGS-memmove.c): Likewise.
9638         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
9639         Likewise.
9641 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
9643         * sysdeps/x86_64/x32/_itoa.h: New file.
9645         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
9646         getdents system call only if kernel and user dirents have the
9647         same d_ino and d_off.
9649         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9650         LLONG_MAX != LONG_MAX.
9651         (_itoa_word): Use _ITOA_WORD_TYPE on value.
9652         (_fitoa_word): Likewise.
9654         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
9655         years.
9656         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
9657         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
9658         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
9660         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
9661         include <bits/wordsize.h>.  Check __x86_64__ instead of
9662         __WORDSIZE.
9663         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
9664         if __x86_64__ is defined.  Use anonymous union on fpstate.
9666         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
9667         anonymous union.
9669 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
9671         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9672         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
9673         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
9674         Refer to _rtld_local_ro instead of _rtld_global_ro.
9675         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
9676         Likewise.
9677         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
9678         Likewise.
9679         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
9680         Likewise.
9681         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
9682         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
9683         of _rtld_global, and rtld_progname instead of _dl_argv[0].
9685         * sysdeps/powerpc/powerpc32/dl-machine.c
9686         (__elf_machine_runtime_setup) [PROF]: Don't reference
9687         _dl_prof_resolve.
9689 2012-05-18  Andreas Jaeger  <aj@suse.de>
9691         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
9692         function only available for GCCs before 3.4 since GCC 3.4
9693         introduced a builtin.
9694         (lrint): Likewise.
9695         (llrintf): Likewise.
9696         (llrint): Likewise.
9697         (fmaxf): Likewise.
9698         (fmax): Likewise.
9699         (fminf): Likewise.
9700         (fmin): Likewise.
9701         (rint): Likewise.
9702         (rintf): Likewise.
9703         (nearbyint): Likewise.
9704         (nearbyintf): Likewise.
9705         (ceil): Likewise.
9706         (ceilf): Likewise.
9707         (floor): Likewise.
9708         (floorf): Likewise.
9710 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
9712         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
9713         on both fields and cast pointer to __syscall_ulong_t.
9715         * bits/types.h (__fsword_t): New type.
9716         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
9717         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
9718         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9719         (__FSWORD_T_TYPE): Likewise.
9720         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9721         (__FSWORD_T_TYPE): Likewise.
9722         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9723         (__FSWORD_T_TYPE): Likewise.
9724         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
9725         (__FSWORD_T_TYPE): Likewise.
9726         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
9727         __SWORD_TYPE with __fsword_t.
9728         (statfs64): Likewise.
9730 2012-05-17  David S. Miller  <davem@davemloft.net>
9732         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
9734 2012-05-17  Andreas Jaeger  <aj@suse.de>
9736         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
9737         warning.
9739 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
9741         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
9743 2012-05-17  Andreas Jaeger  <aj@suse.de>
9745         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
9746         when it is used.
9748 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
9750         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
9752 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
9754         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
9755         * sysdeps/x86_64/tst-mallocalign1.c: New file.
9757 2012-05-17  Andreas Jaeger  <aj@suse.de>
9758             Carlos O'Donell  <carlos_odonell@mentor.com>
9760         [BZ #14059]
9761         * sysdeps/x86_64/multiarch/init-arch.h
9762         (bit_YMM_Usable): Rename to...
9763         (bit_AVX_Usable): ... this.
9764         (bit_FMA4_Usable): New macro.
9765         (bit_XMM_state): New macro.
9766         (bit_YMM_state): New macro.
9767         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
9768         [__ASSEMBLER__] (index_AVX_Usable): ... this.
9769         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
9770         (CPUID_OSXSAVE): New macro.
9771         (CPUID_AVX): New macro.
9772         (CPUID_FMA4): New macro.
9773         (index_YMM_Usable): Rename to...
9774         (index_AVX_Usable): ... this.
9775         (HAS_AVX): Use HAS_ARCH_FEATURE.
9776         (HAS_FMA4): Likewise.
9777         (HAS_YMM_USABLE): Remove.
9778         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9779         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
9780         are present.
9781         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
9782         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
9783         * sysdeps/x86_64/multiarch/Makefile: Likewise.
9784         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
9785         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
9787 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
9789         * math/libm-test.c: Support platforms without multiple rounding modes.
9790         * math/bug-nextafter.c: Support platforms without FP exceptions.
9791         * math/bug-nexttoward.c: Likewise.
9792         * math/test-fenv.c: Likewise.
9793         * math/test-misc.c: Likewise.
9794         * stdlib/bug-getcontext.c: Likewise.
9796 2012-05-17  Andreas Jaeger  <aj@suse.de>
9798         * manual/examples/search.c (critter_cmp): Change signature to
9799         avoid warnings.
9800         * manual/string.texi (Collation Functions): Likewise.
9802 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9804         * bits/types.h: Fold copyright years.
9805         * bits/typesizes.h: Likewise.
9806         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
9807         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9808         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
9809         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
9810         * time/time.h: Likewise.
9812 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
9814         [BZ #208]
9815         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
9816         in instead of returning them.  Return void.
9817         (__libc_mallinfo): Accumulate over all arenas.
9818         (__malloc_stats): Adjust for change in int_mallinfo interface.
9820 2012-05-16  Roland McGrath  <roland@hack.frob.com>
9822         [BZ #10375]
9823         * configure.in (NM): Add AC_CHECK_TOOL for it.
9824         (libc_extra_cflags): New substituted variable.
9825         Check for -fstack-protector being used implicitly.
9826         * configure: Regenerated.
9827         * config.make.in (config-extra-cflags): New variable,
9828         gets @libc_extra_cflags@.
9829         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
9831         [BZ #10375]
9832         * configure.in: Check for _FORTIFY_SOURCE being predefined.
9833         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
9834         * configure: Regenerated.
9835         * config.make.in (CPPUNDEFS): New substituted variable.
9836         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
9837         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
9838         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
9840 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9842         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
9843         (mq_attr): Use __syscall_slong_t.
9845 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9847         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
9848         Check __x86_64__ instead of __WORDSIZE.
9849         (_STAT_VER_LINUX): Likewise.
9850         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
9851         __syscall_ulong_t and __syscall_slong_t.
9852         (stat64): Likewise.
9854 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9856         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
9858 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9860         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
9862 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9864         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
9865         __syscall_ulong_t.
9867         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
9868         include <bits/wordsize.h>.  Check __x86_64__ instead of
9869         __WORDSIZE.
9870         (greg_t): Use "__extension__ long long int" if __x86_64__ is
9871         defined.
9872         (mcontext_t): Replace "unsigned long" with "unsigned long long".
9874         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
9875         include <bits/wordsize.h>.  Check __x86_64__ instead of
9876         __WORDSIZE.
9877         (user_regs_struct): Use "__extension__ unsigned long long"
9878         instead of "unsigned long" if __x86_64__ is defined.
9879         (user): Likewise.  Pad after pointer field if __ILP32__ is
9880         defined.
9882 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
9884         * configure.in (makeinfo): Require version 4.5 or later.  Allow
9885         versions 5 to 9.
9886         * configure: Regenerated.
9887         * manual/install.texi (texinfo): Increase version requirement to
9888         4.5 or later.
9889         * INSTALL: Regenerated.
9891         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
9893 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9895         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
9897         * sysdeps/x86_64/x32/ffs.c: New file.
9899         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
9900         __syscall_ulong_t.
9901         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
9902         defined.  Use __syscall_ulong_t.
9903         (shminfo): Use __syscall_ulong_t.
9904         (shm_info): Likewise.
9906         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
9907         __syscall_ulong_t.
9909         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
9910         <bits/wordsize.h>.
9911         (msgqnum_t): Use __syscall_ulong_t.
9912         (msglen_t): Likewise.
9913         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
9914         __syscall_ulong_t.
9916         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
9917         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
9919         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
9921         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
9922         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
9924         * sysvipc/sys/msg.h (msgbuf): Replace long int with
9925         __syscall_slong_t.
9927         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
9928         include <bits/wordsize.h>.  Check __x86_64__ instead of
9929         __WORDSIZE.
9931         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
9932         "unsigned long long int" if __x86_64__ is defined.
9933         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
9935         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
9936         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
9937         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
9939         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
9940         <stdint.h>.
9941         (GET_PC): Cast to uintptr_t first.
9942         (GET_FRAME): Likewise.
9943         (GET_STACK): Likewise.
9945         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
9946         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
9947         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
9948         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
9949         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
9950         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
9951         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
9952         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
9953         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
9954         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
9955         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
9956         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
9957         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9958         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
9959         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
9960         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
9961         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
9962         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
9963         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
9964         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
9965         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
9966         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
9967         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
9968         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
9969         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
9970         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
9971         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
9972         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
9973         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
9975 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
9977         * Makerules (+depfiles): Also collect depfiles from .oS in
9978         $(extra-objs).
9979         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
9980         .oS, $(libnldbl-routines)).
9982         * Makerules (native-compile-mkdep-flags): Define.
9983         * sunrpc/Makefile (extra-objs): Add $(addprefix
9984         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
9985         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
9986         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
9987         calling $(make-target-directory).
9989 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9991         * bits/types.h (__snseconds_t): Removed.
9992         * time/time.h (struct timespec): Replace __snseconds_t with
9993         __syscall_slong_t.
9994         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
9995         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
9996         Likewise.
9997         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9998         (__SNSECONDS_T_TYPE): Likewise.
9999         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10000         (__SNSECONDS_T_TYPE): Likewise.
10001         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10002         (__SNSECONDS_T_TYPE): Likewise.
10004 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10006         * sysdeps/mach/hurd/bits/typesizes.h
10007         (__SYSCALL_SLONG_TYPE): New macro.
10008         (__SYSCALL_ULONG_TYPE): Likewise.
10010 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10012         * bits/types.h (__syscall_slong_t): New type.
10013         (__syscall_ulong_t): Likewise.
10015         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
10016         (__SYSCALL_ULONG_TYPE): Likewise.
10017         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10018         (__SYSCALL_SLONG_TYPE): Likewise.
10019         (__SYSCALL_ULONG_TYPE): Likewise.
10020         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10021         (__SYSCALL_SLONG_TYPE): Likewise.
10022         (__SYSCALL_ULONG_TYPE): Likewise.
10023         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10024         (__SYSCALL_SLONG_TYPE): Likewise.
10025         (__SYSCALL_ULONG_TYPE): Likewise.
10027 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10029         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
10030         Add sigaltstack-offsets.sym.
10031         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10032         <sigaltstack-offsets.h>.
10033         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
10034         longjmp_msg pointer.
10035         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
10036         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
10037         signal stack.
10038         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
10040 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
10042         * elf/stackguard-macros.h: Remove file.
10043         * sysdeps/generic/stackguard-macros.h: New file.
10044         * sysdeps/i386/stackguard-macros.h: Likewise.
10045         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10046         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10047         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10048         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10049         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10050         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10051         * sysdeps/x86_64/stackguard-macros.h: Likewise.
10052         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
10053         <elf/stackguard-macros.h>.
10055         [BZ #14109]
10056         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
10057         __aligned__ in attribute.
10058         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
10059         (gregset_t): Likewise.
10061 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10063         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
10064         * sysdeps/x86_64/64/Implies-after: Here.  New file.
10065         * sysdeps/x86_64/x32/Implies-after: New file.
10067 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10069         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
10070         and access return value for _dl_profile_fixup.  Use R10_LP to
10071         load frame size.
10073 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10075         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
10077 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10079         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
10080         * sysdeps/x86_64/x32/sysdep.h: New file.
10082 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10084         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
10085         * sysdeps/x86_64/setjmp.S: Likewise.
10087 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10089         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
10090         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
10091         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
10092         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
10093         remove unused global constant.
10095 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
10097         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
10098         include of <not-cancel.h>.
10100 2012-05-15  Roland McGrath  <roland@hack.frob.com>
10102         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
10104 2012-05-15  Jeff Law  <law@redhat.com>
10105             Andreas Jaeger  <aj@suse.de>
10107         [BZ #13594]
10108         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
10109         out from...
10110         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
10111         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
10112         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
10113         code changing __hst_map_handle.map.
10115 2012-05-15  Roland McGrath  <roland@hack.frob.com>
10117         * configure.in (sysnames): Look for Implies-before and Implies-after
10118         files.
10119         * configure: Regenerated.
10121 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10123         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
10124         8-byte data alignment with LP_SIZE alignment.
10126 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10128         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
10129         into R10_LP.
10131 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10133         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
10135 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10137         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
10138         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
10139         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
10140         Likewise.
10141         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10143 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10145         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
10146         (stackinfo_sub_sp): Likewise.
10148 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10150         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
10151         RAX_LP.
10153 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10155         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
10156         into R*_LP.
10158 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10160         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
10161         sizes into R*_LP.
10163 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10165         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
10167 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10169         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
10170         into R11_LP and load __x86_64_shared_cache_size_half into
10171         R8_LP.
10173 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10175         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
10176         R8_LP.
10178 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10180         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
10181         logb for POWER7.
10182         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
10183         logbf for POWER7.
10184         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
10185         logbl for POWER7.
10186         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
10187         powerpc32/power7/fpu/s_logb.c via #include.
10188         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
10189         powerpc32/power7/fpu/s_logbf.c via #include.
10190         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
10191         powerpc32/power7/fpu/s_logbl.c via #include.
10193 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
10195         * README.libm: Remove file.
10197 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10199         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
10200         count for x32.  Use R*_LP and omit operand-size suffix.
10202 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10204         * shlib-versions: Move x86_64-.*-linux.* entries to ...
10205         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
10206         * sysdeps/x86_64/x32/shlib-versions: New file.
10208 2012-05-14  Roland McGrath  <roland@hack.frob.com>
10210         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
10211         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
10212         Use _dl_fatal_printf instead.
10214 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
10216         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
10217         set if not set by the user.  Do not allow for being unset.
10218         * sysdeps/unix/sysv/linux/configure: Regenerated.
10220 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10222         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
10223         the `q' suffix from lea and replace .quad with ASM_ADDR.
10225 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10227         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
10228         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
10229         instead of $17.
10230         (PTR_DEMANGLE): Likewise.
10232 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10234         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
10235         (LP_OP): Likewise.
10236         (ASM_ADDR): Likewise.
10237         (RAX_LP): Likewise.
10238         (RBP_LP): Likewise.
10239         (RBX_LP): Likewise.
10240         (RCX_LP): Likewise.
10241         (RDI_LP): Likewise.
10242         (RSI_LP): Likewise.
10243         (RSP_LP): Likewise.
10244         (R8_LP): Likewise.
10245         (R9_LP): Likewise.
10246         (R10_LP): Likewise.
10247         (R10_LP): Likewise.
10248         (R11_LP): Likewise.
10249         (R12_LP): Likewise.
10250         (R13_LP): Likewise.
10251         (R14_LP): Likewise.
10252         (R15_LP): Likewise.
10254 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10256         * sysdeps/x86_64/x32/dl-machine.h: New file.
10258 2012-05-14  Andreas Jaeger  <aj@suse.de>
10260         * manual/Makefile (subdir): Remove export of subdir.
10261         (all): Remove target.
10262         (.PHONY): Remove all from list.
10263         (mkinstalldirs): Remove.
10264         (.PHONY): Remove installdirs from list.
10265         ($(inst_infodir)/libc.info): Use make-target-directory.
10266         (installdirs): Remove.
10267         (subdir_%): Remove.
10268         (glibc-targets): Remove.
10269         (lib): Remove.
10270         (stubs): Remove.
10271         ($(objpfx)stubs ../po/manual.pot): Remove.
10272         ($(objpfx)stamp%): Remove.
10273         (make-target-directory): Remove.
10274         (subdir_install): Remove.
10275         (routines): Remove.
10276         (aux): Remove.
10277         (sources): Remove.
10278         (objects): Remove.
10279         (headers): Remove.
10281         [BZ #13750]
10282         * manual/.gitignore: Remove, it's not needed anymore.
10283         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
10284         all files in it.
10285         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
10286         directory.
10287         (texis): Renamed to $(objpfx)texis.
10288         (texis-path): New, contains path to generated files.
10289         (chapters.%): Use texis-path for complete path, add extra argument
10290         libc-texinfo.sh.
10291         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
10292         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
10293         (summary,texi, stamp-summary): Use complete path of
10294         files. Generate files in build dir.
10295         (dir-add.texi): Build in build dir.
10296         (libm-err.texi,stamp-libm-err): Likewise.
10297         (version.texi, stamp-version): Likewise.
10298         (.%c.texi): Likewise.
10299         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
10300         (mostlyclean): Remove target.
10301         (realclean): Remove target.
10302         (generated): Add new variable with contents from mostlyclean and
10303         realclean, remove entries duplicated in common-mostlyclean, add
10304         stamp-libm-err and stamp-version.
10305         (generated-dirs): Add libc directory.
10306         ($(inst_infodir)/libc.info): Install files from build dir.
10308         * manual/install.texi (Configuring and compiling): Adjust since
10309         the info files are not part of the tar ball anymore.
10311 2012-05-14  Andreas Jaeger  <aj@suse.de>
10313         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
10314         variable.
10316 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
10318         [BZ #13717]
10319         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10320         to 2.2.0 where earlier.
10321         * sysdeps/unix/sysv/linux/configure: Regenerated.
10322         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
10323         Remove conditional code.
10324         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
10325         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
10326         Remove conditional code.
10327         [!__NR_lchown]: Likewise.
10328         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10329         [__NR_lchown]: Likewise.
10330         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
10331         comment referencing __ASSUME_LCHOWN_SYSCALL.
10332         * sysdeps/unix/sysv/linux/i386/sigaction.c
10333         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10334         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10335         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
10336         Remove conditional code.
10337         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
10338         (__protocol_available): Remove #if 0 code.
10339         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
10340         conditional code.
10341         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
10342         * sysdeps/unix/sysv/linux/kernel-features.h
10343         (__ASSUME_GETCWD_SYSCALL): Don't define.
10344         (__ASSUME_REALTIME_SIGNALS): Likewise.
10345         (__ASSUME_PREAD_SYSCALL): Likewise.
10346         (__ASSUME_PWRITE_SYSCALL): Likewise.
10347         (__ASSUME_POLL_SYSCALL): Likewise.
10348         (__ASSUME_LCHOWN_SYSCALL): Likewise.
10349         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
10350         non-SPARC.
10351         (__ASSUME_SIOCGIFNAME): Don't define.
10352         (__ASSUME_MSG_NOSIGNAL): Likewise.
10353         (__ASSUME_SENDFILE): Define unconditionally.
10354         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
10355         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
10356         conditional code.
10357         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
10358         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
10359         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10360         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10361         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
10362         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10363         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
10365         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10366         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10368         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10369         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
10371         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10372         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10374         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10375         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
10377         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10378         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
10380         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10381         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
10383         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10384         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
10386         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10387         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10388         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
10389         Remove conditional code.
10390         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10391         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10392         Remove conditional code.
10393         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10394         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
10395         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
10396         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10397         Remove conditional code.
10398         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10399         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
10400         Remove conditional code.
10401         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10402         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
10403         Remove conditional code.
10404         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10405         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10406         Remove conditional code.
10407         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10408         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10409         Remove conditional code.
10410         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10411         * sysdeps/unix/sysv/linux/sh/pwrite64.c
10412         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10413         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10414         * sysdeps/unix/sysv/linux/sigaction.c
10415         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10416         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10417         * sysdeps/unix/sysv/linux/sigpending.c
10418         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10419         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10420         * sysdeps/unix/sysv/linux/sigprocmask.c
10421         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10422         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10423         * sysdeps/unix/sysv/linux/sigsuspend.c
10424         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10425         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10426         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10427         (__libc_missing_rt_sigs): Remove.
10428         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
10429         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
10430         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
10431         Remove conditional code.
10432         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
10433         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
10434         return 1.
10435         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
10436         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
10437         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
10438         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
10440 2012-05-14  Andreas Jaeger  <aj@suse.de>
10442         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
10443         it's not used in glibc.
10444         (__coshm1): Likewise.
10445         (__acosh1p): Likewise.
10446         (__sgn): Likewise.
10448         * manual/string.texi (Copying and Concatenation): Add missing
10449         variable in concat example.
10450         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10452 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10454         [BZ #14103]
10455         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
10456         __builtin_clzl with __builtin_clzll.
10458 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10460         [BZ #14104]
10461         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
10462         libc_freeres_ptr.
10464 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10466         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
10467         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
10468         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
10469         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
10471 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
10473         * NEWS: Update ia64 info.
10475 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
10477         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
10478         used as bcopy.
10480 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
10482         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
10483         * sysdeps/unix/syscalls.list (dup3): Likewise.
10484         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
10485         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
10487 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
10489         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
10490         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
10492 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
10494         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
10495         thread pointer.
10496         (TLS_IE): Use mov/add instead of movq/addq to load thread
10497         pointer.
10498         (TLS_GD_PREFIX): New.
10499         (TLS_GD): Use it.
10501 2012-05-11  David S. Miller  <davem@davemloft.net>
10503         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
10504         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
10505         (_FPU_SETCW): Likewise.
10507 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
10509         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
10510         is 32-byte aligned.
10512 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
10514         [BZ #11837]
10515         * iconvdata/gb18030.c: Update tables.
10516         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
10517         characters specially.
10518         (BODY for TO_LOOP): Add encoding of missing ranges.
10520 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
10522         [BZ #13673]
10523         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
10524         * sysdeps/mach/hurd/dup3.c: Likewise.
10525         * sysdeps/mach/hurd/readlinkat.c: Likewise.
10526         * sysdeps/powerpc/memmove.c:: Likewise.
10528 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
10530         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
10531         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
10533 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
10535         * elf/elf.h (R_X86_64_RELATIVE64): New.
10536         (R_X86_64_NUM): Updated.
10537         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10538         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
10539         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
10540         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
10541         tst-quad1pie tst-quad2pie
10542         (modules-names): Add tst-quadmod1 tst-quadmod2.
10543         ($(objpfx)tst-quad1): New dependency.
10544         ($(objpfx)tst-quad2): Likewise.
10545         ($(objpfx)tst-quad1pie): Likewise.
10546         ($(objpfx)tst-quad2pie): Likewise.
10547         * sysdeps/x86_64/tst-quad1.c: New file.
10548         * sysdeps/x86_64/tst-quad1pie.c: New file.
10549         * sysdeps/x86_64/tst-quad2.c: Likewise.
10550         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
10551         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
10552         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
10553         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
10554         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
10556 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10558         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
10559         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
10560         * streams/stropts.h (t_scalar_t): Define type.
10562         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
10563         (_PATH_PRESERVE): Set to "/var/lib".
10564         (_PATH_RWHODIR): Set to "/var/spool/rwho".
10566         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
10567         instead of int.
10569         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
10570         if __dir_mkfile succeeded.
10572         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
10573         checking for _hurd_dtablesize.  Unlock it right after having
10574         finished _hurd_dtable allocation.
10576 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10578         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
10579         * sysdeps/mach/hurd/configure: Regenerated.
10580         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
10581         special-casing to...
10582         * sysdeps/gnu/configure.in: ... this new file.
10583         * sysdeps/unix/sysv/linux/configure: Regenerated.
10584         * sysdeps/gnu/configure: New generated file.
10586         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
10587         for Linux: use nsec instead of usec, as well as:
10588         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
10589         members of type struct timespec.
10590         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
10591         New macros.
10592         (struct stat64): Likewise.
10593         (_STATBUF_ST_NSEC): New macro.
10594         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
10596         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10597         __strtoul_internal rather than strtoul.
10599 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10601         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
10602         and reject them.
10604 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10606         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
10607         which preserves existing values.
10608         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
10610 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10612         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
10613         TIMEOUT values.  Return EINVAL for NFDS values either negative or
10614         greater than FD_SETSIZE.
10616 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10618         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
10619         allocated, call __vm_protect to finish enabling the existing space, and
10620         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
10621         allocate the remainder.
10623 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10625         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
10626         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
10628 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10630         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
10631         sysdeps/mach/hurd/readlink.c.
10633         * posix/tst-sysconf.c (posix_options): Only use
10634         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
10635         _POSIX_SYNCHRONIZED_IO when they are defined
10636         * sysdeps/mach/hurd/bits/posix_opt.h:
10637         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
10638         (_XOPEN_REALTIME): Undefine macro.
10639         (_XOPEN_REALTIME_THREADS): Undefine macro.
10640         (_XOPEN_SHM): Undefine macro.
10641         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
10642         macro to -1.
10643         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
10644         macro to -1.
10645         (_POSIX_ASYNC_IO): Undefine macro.
10646         (_POSIX_PRIORITIZED_IO): Undefine macro.
10647         (_POSIX_SPIN_LOCKS): Define macro to -1.
10649         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
10650         SA_NODEFER, SA_RESETHAND.
10651         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
10652         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
10653         F_DUPFD_CLOEXEC.
10655 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10657         * elf/Makefile (pldd-modules): Define unconditionally.
10659 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10661         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
10663 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10665         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
10666         Return ENOENT when name is empty.
10667         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
10669 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10671         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
10673         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
10675 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10677         Fix mlock in all cases except non-readable pages.
10678         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
10679         instead of VM_PROT_ALL as parameter to __vm_wire function.
10681         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
10682         (__mkdir): When path is `/', just fail with EEXIST.
10683         * sysdeps/mach/hurd/mkdirat.c: Likewise.
10685 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10687         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
10688         <sys/uio.h> (for writev).
10689         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
10690         and <sys/param.h> (for MIN).
10692 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10694         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
10695         REQUESTED_TIME.  Properly set the remaining time and return EINTR
10696         if interrupted.
10698 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10700         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
10701         Depend on against $(link-rpcuserlibs).
10703 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10705         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
10706         (__libc_stack_end): Do not use attribute_relro.
10707         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
10708         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
10709         to libthread-provided value.
10710         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
10711         attribute_relro.
10713 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10715         [BZ #3748]
10716         * bits/libc-lock.h (__libc_once_get): New macro.
10717         * sysdeps/mach/bits/libc-lock.h: Likewise.
10718         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
10719         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
10720         instead of using implementation details.
10722         * libio/fileops.c: Unconditionally include <kernel-features.h>.
10723         * libio/freopen.c: Likewise.
10724         * libio/freopen64.c: Likewise.
10725         * misc/syslog.c: Likewise.
10726         * nscd/connections.c: Likewise.
10727         * nscd/netgroupcache.c: Likewise.
10728         * sysdeps/posix/getcwd.c: Likewise.
10730 2012-05-10  Roland McGrath  <roland@hack.frob.com>
10732         * math/w_ilogbf.c: Add #include <limits.h>.
10734 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10736         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
10737         path instead of returning without unlocking.
10739         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
10740         immediate-write ioctls.
10741         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
10743 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10745         * sysdeps/mach/hurd/i386/init-first.c (init): Use
10746         __builtin_frame_address instead of making assumptions about the
10747         location of the return address relative to DATA.  Force early load of
10748         the return address.
10749         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
10750         __builtin_frame_address.
10752         dup3 for GNU Hurd.
10753         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
10754         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
10755         implement dup3 and do some further code clean-ups.
10756         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
10757         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
10759 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10761         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
10763         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
10764         HURD_CRITICAL_END around holding _hurd_dtable_lock.
10765         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
10766         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
10767         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
10768         d->port.lock.
10770         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
10771         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
10772         when handler == SIG_ERR, not when handler != SIG_ERR.
10774 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10776         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
10777         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
10778         definitions.
10780         accept4 for GNU Hurd.
10781         * include/sys/socket.h (__libc_accept4): New prototype.
10782         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
10783         to implement __libc_accept4.
10784         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
10785         __libc_accept4.
10786         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
10788         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
10789         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
10790         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
10791         signal-defines.sym.
10793 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10795         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
10797 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10799         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
10800         assertion on O_CLOEXEC flag.
10801         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
10802         * hurd/intern-fd.c: Likewise.
10803         * hurd/port2fd.c: Likewise.
10805 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10807         [BZ #3906]
10808         * bits/in.h (IPV6_PKTINFO): Define new macro.
10809         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
10811 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10813         [BZ #13954]
10814         [BZ #13955]
10815         [BZ #13956]
10816         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
10817         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10818         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
10819         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10820         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10821         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10822         * math/libm-test.inc (logb_test) : Additional logb tests.
10824 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
10825             Andreas Jaeger  <aj@suse.de>
10827         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
10828         * configure: Regenerated.
10829         * config.h.in (LINK_OBSOLETE_RPC): New macro.
10830         * config.make.in (link-obsolete-rpc): New substituted variable.
10831         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
10832         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
10833         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10834         (shared-only-routines): Don't set it under [link-obsolete-rpc],
10835         so that libc.a contains the symbols.
10836         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10837         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
10838         * sunrpc/auth_none.c: Likewise.
10839         * sunrpc/auth_unix.c: Likewise.
10840         * sunrpc/authdes_prot.c: Likewise.
10841         * sunrpc/authuxprot.c: Likewise.
10842         * sunrpc/clnt_gen.c: Likewise.
10843         * sunrpc/clnt_perr.c: Likewise.
10844         * sunrpc/clnt_raw.c: Likewise.
10845         * sunrpc/clnt_simp.c: Likewise.
10846         * sunrpc/clnt_tcp.c: Likewise.
10847         * sunrpc/clnt_udp.c: Likewise.
10848         * sunrpc/clnt_unix.c: Likewise.
10849         * sunrpc/des_crypt.c: Likewise.
10850         * sunrpc/des_soft.c: Likewise.
10851         * sunrpc/get_myaddr.c: Likewise.
10852         * sunrpc/key_call.c: Likewise.
10853         * sunrpc/key_prot.c: Likewise.
10854         * sunrpc/netname.c: Likewise.
10855         * sunrpc/pm_getmaps.c: Likewise.
10856         * sunrpc/pm_getport.c: Likewise.
10857         * sunrpc/pmap_clnt.c: Likewise.
10858         * sunrpc/pmap_prot.c: Likewise.
10859         * sunrpc/pmap_prot2.c: Likewise.
10860         * sunrpc/pmap_rmt.c: Likewise.
10861         * sunrpc/publickey.c: Likewise.
10862         * sunrpc/rpc_cmsg.c: Likewise.
10863         * sunrpc/rpc_common.c: Likewise.
10864         * sunrpc/rpc_dtable.c: Likewise.
10865         * sunrpc/rpc_prot.c: Likewise.
10866         * sunrpc/rpc_thread.c: Likewise.
10867         * sunrpc/rtime.c: Likewise.
10868         * sunrpc/svc.c: Likewise.
10869         * sunrpc/svc_auth.c: Likewise.
10870         * sunrpc/svc_raw.c: Likewise.
10871         * sunrpc/svc_run.c: Likewise.
10872         * sunrpc/svc_tcp.c: Likewise.
10873         * sunrpc/svc_udp.c: Likewise.
10874         * sunrpc/svc_unix.c: Likewise.
10875         * sunrpc/svcauth_des.c: Likewise.
10876         * sunrpc/xcrypt.c: Likewise.
10877         * sunrpc/xdr.c: Likewise.
10878         * sunrpc/xdr_array.c: Likewise.
10879         * sunrpc/xdr_float.c: Likewise.
10880         * sunrpc/xdr_intXX_t.c: Likewise.
10881         * sunrpc/xdr_mem.c: Likewise.
10882         * sunrpc/xdr_rec.c: Likewise.
10883         * sunrpc/xdr_ref.c: Likewise.
10884         * sunrpc/xdr_sizeof.c: Likewise.
10885         * sunrpc/xdr_stdio.c: Likewise.
10887 2012-05-10  Roland McGrath  <roland@hack.frob.com>
10889         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
10890         change.  Update copyright years.
10892 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
10894         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
10896 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
10897             Joseph Myers  <joseph@codesourcery.com>
10898             Paul Pluzhnikov  <ppluzhnikov@google.com>
10900         [BZ #14012]
10901         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
10902         requiring rpcgen.
10903         [cross-compiling] (extra-libs): Likewise.
10904         [cross-compiling] (extra-libs-others): Likewise.
10905         [cross-compiling] (librpcsvc-routines): Likewise.
10906         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
10907         [cross-compiling] (omit-deps): Likewise.
10908         (sunrpc-CPPFLAGS): New variable.
10909         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
10910         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
10911         (cross-rpcgen-objs): New variable.
10912         (extra-objs): Append $(cross-rpcgen-objs).
10913         ($(cross-rpcgen-objs)): New rule.
10914         ($(objpfx)cross-rpcgen): Likewise.
10915         (rpcgen-cmd): Define to use $(built-program-file).  Expand
10916         comment.
10917         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
10918         ($(objpfx)x%.stmp): Likewise.
10919         * sunrpc/proto.h [IS_IN_build] (_): Define.
10920         [IS_IN_build] (_libc_intl_domainname): Likewise.
10922 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
10924         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
10925         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
10926         and R_X86_64_TPOFF64.
10928 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
10930         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
10931         sysdeps/unix/sysv/syscalls.list.
10932         (stime): Likewise.
10933         (utime): Likewise.
10934         * sysdeps/unix/sysv/syscalls.list: Remove file.
10936 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
10938         [BZ #3440]
10939         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
10940         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
10941         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
10942         (__LC_IDENTIFICATION): Make these macros useful in #if
10943         expressions, as required by C99.
10945 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
10947         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
10948         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
10949         after this.
10951 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
10953         * stdlib/longlong.h: Updated from GCC.
10955 2012-05-09  Andreas Jaeger  <aj@suse.de>
10957         * nscd/nscd.c (run_modes): Make named enum, reorder so that
10958         default is first entry.
10959         (run_mode): Set type.
10960         (main): Remove informal message about syslog.
10961         (options): Fix typo.
10963         [BZ #14053]
10964         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
10965         to asm.
10966         (lrint): Likewise.
10967         (llrintf): Likewise.
10968         (llrint): Likewise.
10969         (rint): Likewise.
10970         (rintf): Likewise.
10971         (nearbyint): Likewise.
10972         (nearbyintf): Likewise.
10974 2012-05-09  Andreas Jaeger  <aj@suse.de>
10975             Pedro Alves  <palves@redhat.com>
10977         * nscd/nscd.c (run_mode): Use enum.
10978         (main): Cleanup coding style issue.
10980 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
10981             Andreas Jaeger  <aj@suse.de>
10983         * nscd/nscd.c (go_background): Replaced with...
10984         (run_mode): ... this.
10985         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
10986         (options): Add -F --foreground.
10987         (main): Implement it.
10988         (parse_opt): Parse it.
10990 2012-05-09  Andreas Jaeger  <aj@suse.de>
10992         [BZ #14083]
10993         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
10994         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
10995         -Wconversion warning.
10996         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
10997         Likewise.
10999 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
11001         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
11002         == 0.
11003         (LC_ALL): Use macro-int-constant.
11004         (LC_COLLATE): Likewise.
11005         (LC_CTYPE): Likewise.
11006         (LC_MESSAGES): Likewise.
11007         (LC_MONETARY): Likewise.
11008         (LC_NUMERIC): Likewise.
11009         (LC_TIME): Likewise.
11010         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
11011         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11012         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11013         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
11014         Specify type.
11015         [C99-based standards] (float_t): Expect type.
11016         [C99-based standards] (double_t): Expect type.
11017         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
11018         type.
11019         [C99-based standards] (HUGE_VALL): Likewise.
11020         [C99-based standards] (INFINITY): Likewise.
11021         [C99-based standards] (NAN): Likewise.
11022         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
11023         [C99-based standards] (FP_NAN): Likewise.
11024         [C99-based standards] (FP_NORMAL): Likewise.
11025         [C99-based standards] (FP_SUBNORMAL): Likewise.
11026         [C99-based standards] (FP_ZERO): Likewise.
11027         [C99-based standards] (FP_FAST_FMA): Use
11028         optional-macro-int-constant.  Specify type.  Require == 1.
11029         [C99-based standards] (FP_FAST_FMAF): Likewise.
11030         [C99-based standards] (FP_FAST_FMAL): Likewise.
11031         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
11032         [C99-based standards] (FP_ILOGBNAN): Likewise.
11033         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
11034         Specify type.
11035         [C99-based standards] (MATH_ERREXCEPT): Likewise.
11036         [C99-based standards] (math_errhandling): Specify type.
11037         [ISO99 || ISO11] (signgam): Do not allow.
11038         [non-C99-based standards] (copysignf): Do not allow.
11039         [non-C99-based standards] (exp2f): Likewise.
11040         [non-C99-based standards] (log2f): Likewise.
11041         [non-C99-based standards] (modff): Allow.
11042         [non-C99-based standards] (erff): Do not allow.
11043         [non-C99-based standards] (erfcf): Likewise.
11044         [non-C99-based standards] (gammaf): Likewise.
11045         [non-C99-based standards] (hypotf): Likewise.
11046         [non-C99-based standards] (j0f): Likewise.
11047         [non-C99-based standards] (j1f): Likewise.
11048         [non-C99-based standards] (jnf): Likewise.
11049         [non-C99-based standards] (lgammaf): Likewise.
11050         [non-C99-based standards] (tgammaf): Likewise.
11051         [non-C99-based standards] (y0f): Likewise.
11052         [non-C99-based standards] (y1f): Likewise.
11053         [non-C99-based standards] (ynf): Likewise.
11054         [non-C99-based standards] (isnanf): Likewise.
11055         [non-C99-based standards] (acoshf): Likewise.
11056         [non-C99-based standards] (asinhf): Likewise.
11057         [non-C99-based standards] (atanhf): Likewise.
11058         [non-C99-based standards] (cbrtf): Likewise.
11059         [non-C99-based standards] (expm1f): Likewise.
11060         [non-C99-based standards] (ilogbf): Likewise.
11061         [non-C99-based standards] (log1pf): Likewise.
11062         [non-C99-based standards] (logbf): Likewise.
11063         [non-C99-based standards] (nextafterf): Likewise.
11064         [non-C99-based standards] (remainderf): Likewise.
11065         [non-C99-based standards] (rintf): Likewise.
11066         [non-C99-based standards] (scalbf): Likewise.
11067         [non-C99-based standards] (copysignl): Likewise.
11068         [non-C99-based standards] (exp2l): Likewise.
11069         [non-C99-based standards] (log2l): Likewise.
11070         [non-C99-based standards] (modfl): Allow.
11071         [non-C99-based standards] (erfl): Do not allow.
11072         [non-C99-based standards] (erfcl): Likewise.
11073         [non-C99-based standards] (gammal): Likewise.
11074         [non-C99-based standards] (hypotl): Likewise.
11075         [non-C99-based standards] (j0l): Likewise.
11076         [non-C99-based standards] (j1l): Likewise.
11077         [non-C99-based standards] (jnl): Likewise.
11078         [non-C99-based standards] (lgammal): Likewise.
11079         [non-C99-based standards] (tgammal): Likewise.
11080         [non-C99-based standards] (y0l): Likewise.
11081         [non-C99-based standards] (y1l): Likewise.
11082         [non-C99-based standards] (ynl): Likewise.
11083         [non-C99-based standards] (isnanl): Likewise.
11084         [non-C99-based standards] (acoshl): Likewise.
11085         [non-C99-based standards] (asinhl): Likewise.
11086         [non-C99-based standards] (atanhl): Likewise.
11087         [non-C99-based standards] (cbrtl): Likewise.
11088         [non-C99-based standards] (expm1l): Likewise.
11089         [non-C99-based standards] (ilogbl): Likewise.
11090         [non-C99-based standards] (log1pl): Likewise.
11091         [non-C99-based standards] (logbl): Likewise.
11092         [non-C99-based standards] (nextafterl): Likewise.
11093         [non-C99-based standards] (remainderl): Likewise.
11094         [non-C99-based standards] (rintl): Likewise.
11095         [non-C99-based standards] (scalbl): Likewise.
11096         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11097         [non-C99-based standards] (FP_*): Do not allow.
11098         [C99-based standards] (FP_*): Change to
11099         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11100         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11101         allow.
11102         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
11103         (SIG_ERR): Likewise.
11104         [X/Open-based standards] (SIG_HOLD): Likewise.
11105         (SIG_IGN): Likewise.
11106         (SIGABRT): Use macro-int-constant.  Specify type.  Require
11107         positive value.
11108         (SIGFPE): Likewise.
11109         (SIGILL): Likewise.
11110         (SIGINT): Likewise.
11111         (SIGSEGV): Likewise.
11112         (SIGTER): Likewise.
11113         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
11114         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
11115         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
11116         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
11117         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
11118         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
11119         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
11120         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
11121         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
11122         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
11123         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
11124         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
11125         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
11126         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
11127         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
11128         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
11129         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
11130         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
11131         [X/Open-based standards] (SIGTRAP): Likewise.
11132         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
11133         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
11134         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
11135         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
11136         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11137         allow.
11139 2012-05-08  Ian Wienand  <ianw@vmware.com>
11141         [BZ #14080]
11142         * time/tzset.c (__tzset_parse_tz): Update default rules for
11143         daylight time changes in the Energy Policy Act of 2005.
11145 2012-05-09  Andreas Jaeger  <aj@suse.de>
11147         [BZ #13983]
11148         * elf/ldconfig.c (parse_conf): Change string to make clear that
11149         ldconfig only issued a warning if ld.so.conf does not exist.
11151 2012-05-08  David S. Miller  <davem@davemloft.net>
11153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
11154         movxtod instead of popping the value on the stack.
11156         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11158 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
11160         * config.h.in: Add HAVE_ARM_PCS_VFP.
11162 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
11164         [BZ #13979]
11165         * include/features.h: Warn if user requests __FORTIFY_SOURCE
11166         checking but the checks are disabled for any reason.
11168 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
11170         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
11171         and ELF64_R_TYPE with ELFW(R_TYPE).
11173 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
11175         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
11176         (ulimit): Likewise.
11178         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
11179         (settimeofday): Likewise.
11181 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
11183         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
11184         a struct th_u2 inside the union, and move tu_block/tu_code into
11185         a new th_u3 union of tu_block/tu_code inside of that.  Move
11186         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
11187         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
11188         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
11189         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
11190         (th_stuff): Change to th_u1.tu_stuff.
11191         (th_data): Define.
11192         (th_msg): Change to th_u1.th_u2.tu_data.
11194 2012-05-07  David S. Miller  <davem@davemloft.net>
11196         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11198         [BZ #14074]
11199         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
11200         (SETUP_PIC_REG): Use it.
11201         (SETUP_PIC_REG_LEAF): Use it.
11203 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
11205         [BZ #13885]
11206         [BZ #13923]
11207         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11208         USE_AS_EXPM1L.
11209         (EXPL_FINITE): Likewise.
11210         (FLDLOG): Likewise.
11211         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11212         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11213         e_expl.S.
11214         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11215         USE_AS_EXPM1L.
11216         (EXPL_FINITE): Likewise.
11217         (FLDLOG): Likewise.
11218         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11219         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11220         e_expl.S.
11221         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
11222         test of -max_value argument for long double.
11223         * sysdeps/i386/fpu/libm-test-ulps: Update.
11224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11226 2012-05-06  David S. Miller  <davem@davemloft.net>
11228         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
11229         quad soft-float symbols whose references which are compiler
11230         generated.
11231         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11233 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
11235         [BZ #13884]
11236         [BZ #13914]
11237         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11238         USE_AS_EXP10L.
11239         (EXPL_FINITE): Likewise.
11240         (FLDLOG): Likewise.
11241         (c0): Likewise.
11242         (c1): Likewise.
11243         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
11244         Adjust comments for base varying.
11245         (__expl_finite): Change alias to EXPL_FINITE.
11246         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
11247         e_expl.S.
11248         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
11249         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11250         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11251         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
11252         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11253         USE_AS_EXP10L.
11254         (EXPL_FINITE): Likewise.
11255         (FLDLOG): Likewise.
11256         (c0): Likewise.
11257         (c1): Likewise.
11258         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
11259         Adjust comments for base varying.
11260         (__expl_finite): Change alias to EXPL_FINITE.
11261         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
11262         tests for bugs.
11263         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11265         [BZ #14064]
11266         * math/libm-test.inc (check_float_internal): Correct ulp
11267         calculation for subnormal expected results.
11269 2012-05-06  Andreas Jaeger  <aj@suse.de>
11271         * Makeconfig (+math-flags): New, set to -frounding-math.
11272         (+cflags): Add +math-flags so that all of glibc gets compiled with
11273         it.
11275         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
11277 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
11279         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
11280         Disable one test.
11282         [BZ #13787]
11283         [BZ #13922]
11284         [BZ #14036]
11285         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
11286         (__ieee754_expl): Allow for and saturate large arguments.
11287         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
11288         (u_threshold): Likewise.
11289         (__exp): Call __ieee754_exp before checking for overflow and
11290         underflow.
11291         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
11292         (u_threshold): Likewise.
11293         (__expf): Call __ieee754_expf before checking for overflow and
11294         underflow.
11295         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
11296         (u_threshold): Likewise.
11297         (__expl): Call __ieee754_expl before checking for overflow and
11298         underflow.
11299         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
11300         (__ieee754_expl): Allow for and saturate large arguments.
11301         * math/libm-test.inc (exp_test): Add another test.  Do not allow
11302         missing overflow exception on overflow.
11303         (expm1_test): Do not allow missing overflow exception on overflow.
11305         * sysdeps/i386/fpu/e_expl.c: Move to ...
11306         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
11307         rather than using inline asm.
11308         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
11309         * sysdeps/x86_64/fpu/e_expl.S: Copy from
11310         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
11312         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
11313         (nice): Likewise.
11314         (poll): Likewise.
11315         (signal): Likewise.
11316         (time): Likewise.
11317         (times): Likewise.
11319 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
11321         * sysdeps/unix/syscalls.list (adjtime): Add entry from
11322         sysdeps/unix/common/syscalls.list.
11323         (fchmod): Likewise.
11324         (fchown): Likewise.
11325         (ftruncate): Likewise.
11326         (getrusage): Likewise.
11327         (gettimeofday): Likewise.
11328         (setpgid): Likewise.
11329         (setregid): Likewise.
11330         (setreuid): Likewise.
11331         (sigaction): Likewise.
11332         (truncate): Likewise.
11333         (vhangup): Likewise.
11334         * sysdeps/unix/common/syscalls.list: Remove file.
11335         * sysdeps/unix/bsd/Implies: Don't include unix/common.
11336         * sysdeps/unix/sysv/linux/Implies: Likewise.
11338 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
11340         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
11341         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
11342         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
11343         Moved to ...
11344         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11345         Here.
11346         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
11347         to ...
11348         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
11349         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
11350         to ...
11351         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
11352         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
11353         to ...
11354         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
11355         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
11356         to ...
11357         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
11358         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
11359         to ...
11360         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
11361         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
11362         to ...
11363         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
11364         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
11365         to ...
11366         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11367         Here.
11368         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
11369         to ...
11370         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
11371         Here.
11372         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
11373         to ...
11374         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
11375         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
11376         Moved to ...
11377         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
11378         Here.
11379         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
11380         to ...
11381         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
11383 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
11385         * sysdeps/unix/common/bits/dirent.h: Remove file.
11386         * sysdeps/unix/common/bits/fcntl.h: Likewise.
11388         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
11389         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
11390         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
11391         * sysdeps/unix/bsd/isatty.c: Likewise.
11392         * sysdeps/unix/bsd/tcdrain.c: Likewise.
11393         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
11394         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
11396 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11398         [BZ #13563]
11399         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
11400         long double comparison inaccuracies.
11401         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11402         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11404 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
11406         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
11407         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
11409 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
11411         [BZ #14049]
11412         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
11413         nonzero digits before rounding a hex value.
11414         * stdlib/tst-strtod.c (tests): Add another test.
11416 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11418         * sysdeps/s390/fpu/libm-test-ulps: Update.
11420 2012-05-03  Andreas Jaeger  <aj@suse.de>
11422         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
11423         does not get optimized out.
11424         (malloc_opt_barrier): New.
11426 2012-05-03  Andreas Jaeger  <aj@suse.de>
11427             Roland McGrath  <roland@hack.frob.com>
11429         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
11430         intermediate file deletion.
11431         (generated): Add .symlist files.
11433 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
11435         [BZ #13775]
11436         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
11437         Redirect under this condition.
11438         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11439         [__USE_GNU] (__dprintf_chk): Not under this condition.
11440         [__USE_GNU] (__vdprintf_chk): Likewise.
11441         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
11442         under this condition.
11443         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11444         [__USE_XOPEN2K8] (dprintf): Define under this condition.
11445         [__USE_XOPEN2K8] (vdprintf): Likewise.
11446         [__USE_GNU] (__dprintf_chk): Not under this condition.
11447         [__USE_GNU] (__vdprintf_chk): Likewise.
11448         [__USE_GNU] (dprintf): Likewise.
11449         [__USE_GNU] (vdprintf): Likewise.
11451 2012-05-03  Roland McGrath  <roland@hack.frob.com>
11453         * elf/Makefile (common-generated): Set this instead of generated for
11454         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
11455         $(all-built-dso)-derived lists.
11457 2012-05-03  Andreas Jaeger  <aj@suse.de>
11459         * sysdeps/i386/fpu/libm-test-ulps: Update.
11461         * FAQ: Removed.
11462         * FAQ.in: Likewise.
11463         * scripts/gen-FAQ.pl: Likewise.
11464         * manual/install.texi (Installation): Point to online location of
11465         FAQ.
11466         * Makefile (files-for-dist): Remove FAQ.
11467         (FAQ): Remove.
11469 2012-05-02  Allan McRae  <allan@archlinux.org>
11471         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
11472         (LDFLAGS-reldepmod5.so): Likewise.
11473         (LDFLAGS-reldep6mod1.so): Likewise.
11474         (LDFLAGS-reldep6mod4.so): Likewise.
11475         (LDFLAGS-reldep8mod3.so): Likewise.
11476         (LDFLAGS-unload4mod1.so): Likewise.
11477         (LDFLAGS-unload4mod2.so): Likewise.
11478         (LDFLAGS-tst-initorder): Likewise.
11479         (LDFLAGS-tst-initordera2.so): Likewise.
11480         (LDFLAGS-tst-initordera3.so): Likewise.
11481         (LDFLAGS-tst-initordera4.so): Likewise.
11482         (LDFLAGS-tst-initorderb2.so): Likewise.
11483         (LDFLAGS-noload): Likewise.
11484         (LDFLAGS-next): Likewise.
11485         (LDFLAGS-order2mod1.so): Likewise.
11486         (LDFLAGS-order2mod2.so): Likewise.
11487         (LDFLAGS-tst-initorder2): Likewise.
11488         (LDFLAGS-tst-initorder2a.so): Likewise.
11489         (LDFLAGS-tst-initorder2b.so): Likewise.
11490         (LDFLAGS-tst-initorder2c.so): Likewise.
11491         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
11493 2012-05-02  David S. Miller  <davem@davemloft.net>
11495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11497 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
11499         [BZ #14055]
11500         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
11502 2012-05-02  Andreas Jaeger  <aj@suse.de>
11504         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
11505         since we manipulate rounding mode.
11506         (CPPFLAGS-test-idouble.c): Likewise.
11507         (CPPFLAGS-test-ifloat.c): Likewise.
11508         (CFLAGS-test-ldouble.c): Likewise.
11509         (CFLAGS-test-double.c): Likewise.
11510         (CFLAGS-test-float.c): Likewise.
11511         (CFLAGS-test-misc.c): Likewise.
11512         (CFLAGS-test-test-fenv.c): Likewise.
11514 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11516         [BZ #2550]
11517         [BZ #2570]
11518         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
11519         comparisons to determine direction to adjust input.
11521 2012-05-01  Roland McGrath  <roland@hack.frob.com>
11523         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
11524         output to the target.
11526         * scripts/localplt.awk: New file.
11527         * elf/Makefile ($(objpfx)check-localplt): Target removed.
11528         (check-localplt-CFLAGS): Variable removed.
11529         ($(all-built-dso:=.jmprel)): New static pattern rule.
11530         (generated): Add those targets.
11531         (localplt-built-dso): New variable.
11532         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
11534         * elf/check-localplt.c: File removed.
11536         * scripts/check-execstack.awk: New file.
11537         * elf/Makefile ($(objpfx)check-execstack): Target removed.
11538         (check-execstack-CFLAGS): Variable removed.
11539         ($(objpfx)check-execstack.h): Target removed.
11540         ($(objpfx)execstack-default): New target.
11541         (generated): Add that instead of check-execstack.h.
11542         ($(all-built-dso:=.phdr)): New static pattern rule.
11543         (generated): Add those targets.
11544         * elf/check-execstack.c: File removed.
11546         * scripts/check-textrel.awk: New file.
11547         * elf/Makefile ($(objpfx)check-textrel): Target removed.
11548         (check-textrel-CFLAGS): Variable removed.
11549         (all-built-dso): Use := to define.o
11550         ($(all-built-dso:=.dyn)): New static pattern rule.
11551         (generated): Add those targets.
11552         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
11553         * config.make.in (READELF): New substituted variable.
11554         * elf/check-textrel.c: File removed.
11556 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
11558         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11559         allow.
11560         * conform/data/ctype.h-data [C99-based standards] (isblank):
11561         Expect function.
11562         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
11563         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
11564         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11565         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
11566         Specify type.  Require positive value.
11567         (EILSEQ): Likewise.
11568         (ERANGE): Likewise.
11569         [ISO || POSIX] (EILSEQ): Do not expect.
11570         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
11571         Specify type.  Require positive value.
11572         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
11573         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
11574         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
11575         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
11576         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
11577         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
11578         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
11579         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
11580         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
11581         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
11582         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
11583         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
11584         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
11585         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
11586         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
11587         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
11588         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
11589         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
11590         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
11591         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
11592         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
11593         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
11594         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
11595         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
11596         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
11597         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
11598         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
11599         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
11600         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
11601         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
11602         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
11603         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
11604         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
11605         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
11606         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
11607         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
11608         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
11609         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
11610         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
11611         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
11612         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
11613         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
11614         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
11615         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
11616         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
11617         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
11618         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
11619         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
11620         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
11621         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
11622         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
11623         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
11624         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
11625         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
11626         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
11627         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
11628         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
11629         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
11630         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
11631         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
11632         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
11633         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
11634         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
11635         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
11636         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
11637         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
11638         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
11639         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
11640         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
11641         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
11642         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
11643         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
11644         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
11645         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
11646         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
11647         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
11648         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
11649         Require >= 2.
11650         (FLT_ROUNDS): Expect as macro, not constant.
11651         (FLT_MANT_DIG): Use macro-int-constant.
11652         (DBL_MANT_DIG): Likewise.
11653         (LDBL_MANT_DIG): Likewise.
11654         (FLT_DIG): Likewise.
11655         (DBL_DIG): Likewise.
11656         (LDBL_DIG): Likewise.
11657         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
11658         (DBL_MIN_EXP): Likewise.
11659         (LDBL_MIN_EXP): Likewise.
11660         (FLT_MAX_EXP): Use macro-int-constant.
11661         (DBL_MAX_EXP): Likewise.
11662         (LDBL_MAX_EXP): Likewise.
11663         (FLT_MAX_10_EXP): Likewise.
11664         (DBL_MAX_10_EXP): Likewise.
11665         (LDBL_MAX_10_EXP): Likewise.
11666         (FLT_MAX): Use macro-constant.
11667         (DBL_MAX): Likewise.
11668         (LDBL_MAX): Likewise.
11669         (FLT_EPSILON): Use macro-constant.  Give upper bound.
11670         (DBL_EPSILON): Likewise.
11671         (LDBL_EPSILON): Likewise.
11672         (FLT_MIN): Likewise.
11673         (DBL_MIN): Likewise.
11674         (LDBL_MIN): Likewise.
11675         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
11676         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
11677         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
11678         [ISO11] (FLT_HAS_SUBNORM): Likewise.
11679         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
11680         [ISO11] (DBL_DECIMAL_DIG): Likewise.
11681         [ISO11] (FLT_DECIMAL_DIG): Likewise.
11682         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
11683         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
11684         [ISO11] (FLT_TRUE_MIN): Likewise.
11685         [ISO11] (LDBL_TRUE_MIN): Likewise.
11686         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11687         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
11688         (SCHAR_MIN): Use macro-int-constant.  Specify type.
11689         (SCHAR_MAX): Likewise.
11690         (UCHAR_MAX): Likewise.
11691         (CHAR_MIN): Likewise.
11692         (CHAR_MAX): Likewise.
11693         (MB_LEN_MAX): Use macro-int-constant.
11694         (SHRT_MIN): Use macro-int-constant.  Specify type.
11695         (SHRT_MAX): Likewise.
11696         (USHRT_MAX): Likewise.
11697         (INT_MAX): Likewise.
11698         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
11699         bound negative.
11700         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
11701         bound with "U".
11702         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
11703         bound with "L".
11704         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
11705         bound negative.  Suffix upper bound with "L".
11706         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
11707         bound with "UL".
11708         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
11709         Specify type.
11710         [C99-based standards] (LLONG_MAX): Likewise.
11711         [C99-based standards] (ULLONG_MAX): Likewise.
11712         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
11713         == 0.
11714         [ISO11] (max_align_t): Require type.
11715         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11717         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
11718         from $CFLAGS, without defining away __attribute__ calls.
11719         (checknamespace): Use $CFLAGS_namespace.
11721         * conform/conformtest.pl (@keywords): Only include C99 keywords
11722         for standards based on C99 or C11.
11724         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
11725         Disable tests.
11726         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
11727         UNIX98]: Likewise.
11729         * conform/conformtest.pl: Handle "macro-int-constant" and test for
11730         usability of symbols in #if.
11732         * conform/conformtest.pl: If macro or constant types start
11733         "promoted:", expect the symbol to be of the following type
11734         promoted by the integer promotions.
11736         * conform/conformtest.pl: Parse all "constant" and "macro" lines
11737         in one place.  Also handle "macro-constant".
11739         * conform/conformtest.pl: Only accept expected macro values with
11740         "==".  Parse all "macro" lines in one place.
11741         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
11743         * conform/conformtest.pl: Handle braced types on "constant" lines
11744         instead of handling "typed-constant".
11745         * conform/data/signal.h-data: Use "constant" instead of
11746         "typed-constant".
11748         * conform/conformtest.pl: Handle "optional-" at start of lines in
11749         one place rather than duplicating several cases.  Handle each
11750         format of "macro" line with initial "optional-".
11752         * conform/conformtest.pl: Only accept expected constant or
11753         optional-constant values with "==".  Parse all "constant" lines in
11754         one place.  Parse all "optional-constant" lines in one place.
11755         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
11756         * conform/data/fmtmsg.h-data: Likewise.
11757         * conform/data/netinet/in.h-data: Likewise.
11758         * conform/data/tar.h-data: Likewise.
11759         * conform/data/limits.h-data: Use "==" form on "constant" and
11760         "optional-constant" lines.
11762         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
11763         Use -std=c99 for XOPEN2K.
11764         (@knownproblems): Remove.
11765         (newtoken): Don't check %isknown.
11767         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
11768         Do not expect macro.
11769         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
11770         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
11771         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
11772         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
11773         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
11774         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
11775         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
11776         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
11777         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
11778         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
11779         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
11780         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
11781         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
11782         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
11783         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
11784         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
11785         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
11786         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
11787         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
11788         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
11789         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
11790         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
11791         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
11792         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
11793         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
11794         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
11795         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
11796         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
11797         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
11798         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
11799         [XPG3] (acosh): Likewise.
11800         [XPG3] (asinh): Likewise.
11801         [XPG3] (atanh): Likewise.
11802         [XPG3] (cbrt): Likewise.
11803         [XPG3] (expm1): Likewise.
11804         [XPG3] (ilogb): Likewise.
11805         [XPG3] (log1p): Likewise.
11806         [XPG3] (logb): Likewise.
11807         [XPG3] (nextafter): Likewise.
11808         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
11809         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
11810         [XPG3] (remainder): Likewise.
11811         [XPG3] (rint): Likewise.
11812         [XPG3 || XPG4 || UNIX98] (round): Likewise.
11813         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
11814         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
11815         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
11816         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
11817         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
11818         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
11819         [UNIX98 || XOPEN2K] (scalb): Expect.
11820         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
11821         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
11822         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
11823         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
11824         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
11825         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
11826         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
11827         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
11828         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
11829         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
11830         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
11831         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
11832         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
11833         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
11834         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
11835         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
11836         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
11837         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
11838         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
11839         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
11840         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
11841         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
11842         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
11843         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
11844         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
11845         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
11846         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
11847         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
11848         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
11849         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
11850         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
11851         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
11852         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
11853         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
11854         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
11855         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
11856         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
11857         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
11858         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
11859         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
11860         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
11861         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
11862         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
11863         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
11864         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
11865         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
11866         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
11867         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
11868         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
11869         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
11870         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
11871         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
11872         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
11873         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
11874         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
11875         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
11876         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
11877         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
11878         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
11879         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
11880         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
11881         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
11882         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
11883         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
11884         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
11885         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
11886         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
11887         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
11888         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
11889         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
11890         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
11891         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
11892         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
11893         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
11894         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
11895         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
11896         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
11897         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
11898         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
11899         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
11900         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
11901         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
11902         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
11903         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
11904         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
11905         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
11906         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
11907         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
11908         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
11909         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
11910         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
11911         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
11912         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
11913         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
11914         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
11915         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
11916         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
11917         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
11918         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
11919         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
11920         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
11921         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
11922         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
11923         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
11924         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
11925         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
11926         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
11927         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
11928         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
11929         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
11930         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
11931         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
11932         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
11933         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
11934         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
11935         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
11936         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
11937         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
11938         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
11939         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
11940         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
11941         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
11942         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
11943         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
11944         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
11945         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
11946         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
11947         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
11948         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
11949         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
11950         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
11951         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
11952         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
11953         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
11954         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
11955         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
11956         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
11958         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
11959         _XOPEN_SOURCE_EXTENDED for XPG4.
11961         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
11963         * Makeconfig (localtime): Remove variable.
11964         (inst_localtime-file): Likewise.
11966 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11969         Update.
11970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11971         Update.
11972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11973         Update.
11974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11975         Update.
11976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11977         Update.
11978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
11979         Update.
11980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11981         Update.
11982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
11983         Update.
11984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11985         Update.
11987 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
11989         [BZ #2550]
11990         [BZ #2570]
11991         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
11992         comparisons to determine direction to adjust input.
11993         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11994         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
11995         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11996         Likewise.
11997         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11998         Likewise.
11999         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12000         Likewise.
12001         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
12002         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12003         Likewise.
12004         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12005         Likewise.
12006         * math/libm-test.inc (nexttoward_test): Add more tests.
12008 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
12010         [BZ #14040]
12011         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
12012         in version GLIBC_2.1, not GLIBC_2.0.
12013         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
12014         Likewise.
12016 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
12018         [BZ #13942]
12019         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
12020         (1 - x) * (1 + x).
12021         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12022         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
12023         * math/libm-test.inc (acos_test): Add more tests.
12024         (asin_test): Likewise.
12025         * sysdeps/i386/fpu/libm-test-ulps: Update.
12026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12028         [BZ #14034]
12029         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
12030         of square root.
12031         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
12032         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12033         * math/libm-test.inc (acos_test_tonearest): New function.
12034         (acos_test_towardzero): Likewise.
12035         (acos_test_downward): Likewise.
12036         (acos_test_upward): Likewise.
12037         (asin_test_tonearest): Likewise.
12038         (asin_test_towardzero): Likewise.
12039         (asin_test_downward): Likewise.
12040         (asin_test_upward): Likewise.
12041         (main): Call the new functions.
12042         * sysdeps/i386/fpu/libm-test-ulps: Update.
12043         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12045         [BZ #13884]
12046         [BZ #13924]
12047         * math/e_exp10.c: Include <float.h>.
12048         (__ieee754_exp10): Handle underflow here rather than multiplying
12049         large negative argument by M_LN10.
12050         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
12051         of __ieee754_expf.
12052         * math/e_exp10l.c: Include <float.h>.
12053         (__ieee754_exp10l): Handle underflow here rather than multiplying
12054         large negative argument by M_LN10l.
12055         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
12056         spurious overflow exception on underflow.
12058 2012-04-29  Marek Polacek  <polacek@redhat.com>
12060         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
12061         (__fortify_function): New macro.
12062         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
12063         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
12064         __extern_always_inline.
12065         * libio/bits/stdio2.h: Likewise.
12066         * libio/bits/stdio.h: Likewise.
12067         * string/string.h: Likewise.
12068         * string/bits/string3.h: Likewise.
12069         * include/stdio.h: Likewise.
12070         * stdlib/bits/stdlib.h: Likewise.
12071         * stdlib/stdlib.h: Likewise.
12072         * rt/bits/mqueue2.h: Likewise.
12073         * rt/mqueue.h: Likewise.
12074         * posix/bits/unistd.h: Likewise.
12075         * posix/unistd.h: Likewise.
12076         * io/bits/poll2.h: Likewise.
12077         * io/bits/fcntl2.h: Likewise.
12078         * io/fcntl.h: Likewise.
12079         * io/sys/poll.h: Likewise.
12080         * misc/bits/syslog.h: Likewise.
12081         * misc/bits/syslog-ldbl.h: Likewise.
12082         * misc/sys/syslog.h: Likewise.
12083         * socket/bits/socket2.h: Likewise.
12084         * socket/sys/socket.h: Likewise.
12085         * debug/tst-chk1.c: Likewise.
12086         * wcsmbs/bits/wchar2.h: Likewise.
12087         * wcsmbs/bits/wchar-ldbl.h: Likewise.
12088         * wcsmbs/wchar.h: Likewise.
12090 2012-04-29  Andreas Jaeger  <aj@suse.de>
12092         * Makerules (tests): Remove enable-check-abi protection.
12093         (check-abi-warn): Remove.
12094         (check-abi-%): Remove check-abi-warn usage.
12096         * configure.in: Remove check-abi configure option.
12097         * configure: Regenerated.
12098         * config.make.in (enable-check-abi): Remove.
12100 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
12102         [BZ #14033]
12103         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
12104         double functions to double *_finite functions.
12106         [BZ #13941]
12107         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
12108         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
12109         LDBL_MIN_EXP.
12110         * stdio-common/Makefile (tests): Add tst-sprintf3.
12111         * stdio-common/tst-sprintf3.c: New file.
12113         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
12114         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
12116 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
12118         * conform/conformtest.pl: Remove duplicate typed-constant
12119         handling.
12121 2012-04-28  David S. Miller  <davem@davemloft.net>
12123         * Makerules (%.abilist): Add vpath on sysdep_dirs.
12124         (check-abi-%): Remove AWK script prerequisite and explicit
12125         abilist directory.
12126         (check-abi): Rewrite to just diff the symlist with the abilist.
12127         (config-tls, config-abi-config): Delete, no longer used.
12128         (update-abi-%): Remove AWK script and explicit abilist directory.
12129         (update-abi): Rewrite to simply compare and conditionally copy the
12130         symlist and the sysdep abilist file.  Remove update-abi-config
12131         checks.
12132         * abilist/ld.abilist: Remove.
12133         * abilist/libBrokenLocale.abilist: Remove.
12134         * abilist/libanl.abilist: Remove.
12135         * abilist/libcrypt.abilist: Remove.
12136         * abilist/libdl.abilist: Remove.
12137         * abilist/librt.abilist: Remove.
12138         * abilist/libthread_db.abilist: Remove.
12139         * abilist/libutil.abilist: Remove.
12140         * scripts/extract-abilist.awk: Remove.
12141         * scripts/merge-abilist.awk: Remove.
12142         * sysdeps/generic/libcidn.abilist: New file.
12143         * sysdeps/generic/libnss_compat.abilist: New file.
12144         * sysdeps/generic/libnss_db.abilist: New file.
12145         * sysdeps/generic/libnss_dns.abilist: New file.
12146         * sysdeps/generic/libnss_files.abilist: New file.
12147         * sysdeps/generic/libnss_hesiod.abilist: New file.
12148         * sysdeps/generic/libnss_nis.abilist: New file.
12149         * sysdeps/generic/libnss_nisplus.abilist: New file.
12150         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
12151         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
12152         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
12153         file.
12154         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
12155         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
12156         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
12157         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
12158         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
12159         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
12160         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
12161         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
12162         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
12163         file.
12164         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
12165         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
12166         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
12167         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
12168         file.
12169         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
12170         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
12171         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
12172         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
12173         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
12174         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
12175         file.
12176         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
12177         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
12178         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
12179         file.
12180         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
12181         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
12182         New file.
12183         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
12184         New file.
12185         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
12186         New file.
12187         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
12188         New file.
12189         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
12190         New file.
12191         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
12192         New file.
12193         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
12194         New file.
12195         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
12196         New file.
12197         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
12198         New file.
12199         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
12200         New file.
12201         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
12202         New file.
12203         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
12204         New file.
12205         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
12206         New file.
12207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
12208         file.
12209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
12210         New file.
12211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12212         New file.
12213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
12214         file.
12215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12216         New file.
12217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12218         New file.
12219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
12220         file.
12221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12222         New file.
12223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12224         New file.
12225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12226         New file.
12227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12228         New file.
12229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12230         New file.
12231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12232         New file.
12233         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
12234         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
12235         file.
12236         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12237         New file.
12238         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
12239         file.
12240         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
12241         file.
12242         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
12243         file.
12244         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
12245         file.
12246         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
12247         file.
12248         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12249         New file.
12250         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
12251         file.
12252         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
12253         file.
12254         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12255         New file.
12256         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
12257         file.
12258         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
12259         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
12260         file.
12261         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12262         New file.
12263         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
12264         file.
12265         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
12266         file.
12267         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
12268         file.
12269         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
12270         file.
12271         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
12272         file.
12273         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12274         New file.
12275         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
12276         file.
12277         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
12278         file.
12279         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12280         New file.
12281         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
12282         file.
12283         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12284         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
12285         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
12286         file.
12287         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
12288         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
12289         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
12290         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
12291         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
12292         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
12293         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
12294         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
12295         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
12296         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
12297         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
12298         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
12299         file.
12300         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12301         New file.
12302         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
12303         file.
12304         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
12305         file.
12306         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
12307         file.
12308         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
12309         file.
12310         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
12311         file.
12312         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12313         New file.
12314         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12315         New file.
12316         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
12317         file.
12318         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12319         New file.
12320         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
12321         file.
12322         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
12323         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
12324         file.
12325         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12326         New file.
12327         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
12328         file.
12329         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
12330         file.
12331         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
12332         file.
12333         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
12334         file.
12335         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
12336         file.
12337         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12338         New file.
12339         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12340         New file.
12341         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
12342         file.
12343         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12344         New file.
12345         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
12346         file.
12348 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
12350         * conform/conformtest.pl: Fix typo in handling typed-constant from
12351         allow-header.
12353 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
12355         * README: Cut down references to pre-2.6 Linux kernels and
12356         Linuxthreads.  Update lists of configurations in libc and ports
12357         and sort alphabetically.  Say "or newer" with Linux kernel version
12358         requirements.
12360         * config.h.in [IS_IN_build]: Allow compiling without optimization.
12362 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12364         [BZ #887]
12365         * math/libm-test.inc (logb_test_downward): New test to expose
12366         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
12367         rounding mode.
12369 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
12371         [BZ #14027]
12372         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
12373         to be done.
12374         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
12375         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
12377 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
12379         * sysdeps/unix/i386/brk.S: Remove file.
12380         * sysdeps/unix/i386/dl-brk.S: Likewise.
12381         * sysdeps/unix/i386/pipe.S: Likewise.
12382         * sysdeps/unix/i386/sigreturn.S: Likewise.
12383         * sysdeps/unix/i386/syscall.S: Likewise.
12384         * sysdeps/unix/i386/vfork.S: Likewise.
12385         * sysdeps/unix/i386/wait.S: Likewise.
12387         * sysdeps/unix/common/tcsendbrk.c: Move to ...
12388         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
12390         * configure.in (arm*-none*): Do not allow without
12391         --enable-hacker-mode.
12392         (netbsd*): Remove case setting base_os.
12393         (386bsd*): Likewise.
12394         (freebsd*): Likewise.
12395         (bsdi*): Likewise.
12396         (osf*): Likewise.
12397         (sunos*): Likewise.
12398         (ultrix*): Likewise.
12399         (newsos*): Likewise.
12400         (dynix*): Likewise.
12401         (*bsd*): Likewise.
12402         (sysv*): Likewise.
12403         (isc*): Likewise.
12404         (esix*): Likewise.
12405         (sco*): Likewise.
12406         (minix*): Likewise.
12407         (irix4*): Likewise.
12408         (irix6*): Likewise.
12409         (solaris[2-9]*): Likewise.
12410         (none): Likewise.
12411         * configure: Regenerated.
12413 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12415         [BZ #11521]
12416         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
12417         overflow or cancellation in calculating denominator.
12418         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
12419         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
12420         down expression to avoid unexpected rounding in newer GCCs.
12421         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
12423 2012-04-26  David S. Miller  <davem@davemloft.net>
12425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
12426         long-double compat symbols.
12427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
12431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12432         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12433         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12434         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
12435         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
12436         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12437         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
12438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
12439         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12441 2012-04-25  David S. Miller  <davem@davemloft.net>
12443         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
12444         HWCAP_* values only after the memory barriers have been defined.
12445         (atomic_full_barrier): Define.
12446         (atomic_read_barrier): Define.
12447         (atomic_write_barrier): Define.
12449 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12451         * shlib-versions: Add libgcc_s version information.
12452         * sysdeps/generic/libgcc_s.h: Remove.
12453         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
12454         libgcc_s.h.
12455         * sysdeps/gnu/unwind-resume.c: Likewise.
12456         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
12458 2012-04-25  David S. Miller  <davem@davemloft.net>
12460         * sysdeps/unix/sparc/brk.S: Delete.
12461         * sysdeps/unix/sparc/dl-brk.S: Delete.
12462         * sysdeps/unix/sparc/pipe.S: Delete.
12463         * sysdeps/unix/sparc/sysdep.S: Delete.
12464         * sysdeps/unix/sparc/sysdep.h: Delete.
12465         * sysdeps/unix/sparc/vfork.S: Delete.
12466         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
12467         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
12468         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
12469         ret_ERRVAL, r0, r1, MOVE): Define.
12470         (JUMPTARGET): Remove.
12471         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
12472         sysdeps/unix/sparc/sysdep.h
12473         (ENTRY, END): Remove.
12474         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12476 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
12478         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
12479         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
12480         -DIS_IN_build.
12482         * timezone/README: Update upstream location and email address for
12483         tzcode and tzdata.
12484         * timezone/zdump.c: Update from tzcode 2012b.
12485         * timezone/zic.c: Likewise.
12487         * configure.in (libc_cv_as_needed): Remove test.
12488         * configure: Regenerated.
12489         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
12490         conditional definition.
12491         [$(have-as-needed) != yes] (no-as-needed): Likewise.
12492         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
12493         * config.make.in (have-as-needed): Remove variable.
12495 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12496             Paul Pluzhnikov  <ppluzhnikov@google.com>
12498         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
12499         strings correctly.
12501 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
12503         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
12504         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
12505         * sysdeps/sh/strlen.S: Likewise.
12507 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
12509         * sysdeps/unix/fork.S: Remove file.
12510         * sysdeps/unix/i386/fork.S: Likewise.
12511         * sysdeps/unix/sparc/fork.S: Likewise.
12513         * sysdeps/unix/system.c: Remove file.
12514         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
12516         * sysdeps/unix/getegid.S: Remove file.
12517         * sysdeps/unix/geteuid.S: Likewise.
12519 2012-04-24  Roland McGrath  <roland@hack.frob.com>
12521         * scripts/check-localplt.awk: New file.
12522         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
12523         of diff.
12524         * scripts/data/localplt-generic.data: Add a comment.
12526         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
12527         NODE when __dir_mkfile failed.
12528         * sysdeps/mach/hurd/symlinkat.c: Likewise.
12529         Reported by Ludovic Courtès <ludo@gnu.org>.
12531 2012-04-24  Andreas Jaeger  <aj@suse.de>
12533         * Makerules (common-clean): Also remove gen-as-const-headers
12534         files.
12536 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
12538         * Makerules (native-compile): Do not change working directory for
12539         build.  Use $(OUTPUT_OPTION) in command.
12540         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
12542 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12544         [BZ #13886]
12545         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
12546         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
12547         * math/libm-test.inc (floor_test): Add more tests.
12548         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
12550 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
12552         * sysdeps/unix/getdents.c: Remove file.
12553         * sysdeps/unix/sysv/getdents.c: Likewise.
12554         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
12556         * sysdeps/unix/syscalls.list (madvise): Add syscall from
12557         sysdeps/unix/mman/syscalls.list.
12558         (mmap): Likewise.
12559         (mprotect): Likewise.
12560         (msync): Likewise.
12561         (munmap): Likewise.
12562         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
12563         * sysdeps/unix/mman/syscalls.list: Remove.
12564         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
12566         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
12567         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
12568         * configure: Regenerated.
12569         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
12570         $(libgcc_s_suffix).
12571         * config.make.in (libgcc_s_suffix): Remove variable.
12573 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
12575         * sysdeps/unix/sysv/gethostname.c: Move to ...
12576         * sysdeps/posix/gethostname.c: ... here.
12578         * sysdeps/unix/execve.S: Remove file.
12580         * sysdeps/unix/_exit.S: Remove file.
12582 2012-04-23  Andreas Jaeger  <aj@suse.de>
12584         [BZ #13739]
12585         * manual/Makefile: Remove make dist support, there's no
12586         need for a stand-alone documentation tar ball.
12587         (TEXI2DVI): Define always, it's not in Makeconfig.
12588         (dist): Removed.
12589         (tar-it): Removed.
12590         (edition): Removed.
12591         (glibc-doc-$(edition).tar): Removed
12592         (%.Z): Removed.
12593         (%.gz): Removed.
12594         (%.uu): Removed.
12595         (ETAGS): Remove, it's in Makeconfig.
12596         (move-if-change): Remove, it's in Makeconfig.
12598 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
12600         [BZ #13970]
12601         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
12602         (strtod, strtof, strtold, strtol, strtoul, strtoq)
12603         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
12604         (strtod_l, strtof_l, strtold_l): Remove __wur.
12605         It is not necessarily an error to ignore strtol's return value.
12606         One can reliably look at the stored endptr to decide whether
12607         the number had valid syntax.
12609 2012-04-21  Andreas Jaeger  <aj@suse.de>
12611         [BZ #13739]
12612         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
12614 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
12616         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
12617         * sysdeps/unix/sysv/Versions: Remove file.
12619 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
12621         [BZ #13927]
12622         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12624 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
12626         [BZ #7064]
12627         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
12628         version from __vm86.
12630 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
12632         * sysdeps/unix/common/lxstat.c: Remove file.
12633         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
12635         * sysdeps/unix/sysv/Makefile: Remove file.
12637         * sysdeps/unix/sysv/direct.h: Remove file.
12639         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
12640         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
12641         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
12642         * sysdeps/unix/sysv/bits/signum.h: Likewise.
12643         * sysdeps/unix/sysv/bits/stat.h: Likewise.
12644         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
12645         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
12647         * sysdeps/unix/sysv/setrlimit.c: Remove file.
12649         * sysdeps/unix/xmknod.c: Remove file.
12650         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
12652         * sysdeps/unix/sysv/settimeofday.c: Remove file.
12654         * sysdeps/unix/sysv/i386/time.S: Remove file.
12656         * sysdeps/unix/fxstat.c: Remove file.
12657         * sysdeps/unix/xstat.c: Likewise.
12658         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
12660         * sysdeps/unix/sysv/sigaction.c: Remove file.
12662         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
12663         (sysdep_headers): Remove variable.
12664         [termio.h not in sysdep_headers] (generated): Likewise.
12665         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
12666         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
12667         * sysdeps/unix/sysv/tcdrain.c: Likewise.
12668         * sysdeps/unix/sysv/tcflow.c: Likewise.
12669         * sysdeps/unix/sysv/tcflush.c: Likewise.
12670         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
12671         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
12672         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
12673         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
12674         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
12676         * sysdeps/unix/siglist.c: Remove file.
12678         * sysdeps/unix/getppid.S: Remove file.
12680         * sysdeps/unix/mkdir.c: Remove file.
12681         * sysdeps/unix/rmdir.c: Likewise.
12683 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
12685         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
12686         ERR_MAX value.
12687         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
12688         errlist-compat value.
12690 2012-04-18  David S. Miller  <davem@davemloft.net>
12692         * sysdeps/generic/memcopy.h (reg_char): Delete.
12693         * debug/strcat_chk.c: Use char, not reg_char.
12694         * debug/strcpy_chk.c: Likewise.
12695         * debug/strncat_chk.c: Likewise.
12696         * debug/strncpy_chk.c: Likewise.
12697         * string/memchr.c: Likewise.
12698         * string/memrchr.c: Likewise.
12699         * string/rawmemchr.c: Likewise.
12700         * string/strcat.c: Likewise.
12701         * string/strchr.c: Likewise.
12702         * string/strchrnul.c: Likewise.
12703         * string/strcmp.c: Likewise.
12704         * string/strcpy.c: Likewise.
12705         * string/strncat.c: Likewise.
12706         * string/strncmp.c: Likewise.
12707         * string/strncpy.c: Likewise.
12709 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
12711         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
12712         __builtin_memcopy is called when src and dest ranges are known to not
12713         overlap.
12715 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
12717         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
12718         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
12719         fwd_align_merge macro call.
12720         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
12721         bwd_align_merge macro call.
12722         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12724 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
12726         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
12727         bwd_align_merge macros.
12728         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
12729         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
12730         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12732 2012-04-18  David S. Miller  <davem@davemloft.net>
12734         * sysdeps/sparc/sparc64/memcopy.h: Delete.
12736 2012-04-18  Andreas Jaeger  <aj@suse.de>
12738         [BZ# 6794]
12739         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
12740         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
12741         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12743         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
12744         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
12745         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12747         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
12748         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
12749         Adjust for changed ldbl-128 files.
12751         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
12752         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
12753         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12755 2012-04-17  David S. Miller  <davem@davemloft.net>
12757         * sysdeps/sparc/sparc32/memcopy.h: Delete.
12759 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
12761         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
12762         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
12763         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
12764         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
12765         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12766         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
12768 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12770         [BZ #6794]
12771         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
12772         * math/libm-test.inc: Add ilogb errno and exception tests.
12773         * math/w_ilogb.c: New file: ilogb wrapper.
12774         * math/w_ilogbf.c: New file: ilogbf wrapper.
12775         * math/w_ilogbl.c: New file: ilogbl wrapper.
12776         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
12777         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
12778         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
12779         exception being thrown with 0.0 as argument.
12780         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
12781         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
12782         exception being thrown with 0.0 as argument.
12783         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
12784         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12785         exception being thrown with 0.0 as argument.
12786         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
12787         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12788         exception being thrown with 0.0 as argument.
12789         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
12790         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
12791         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
12792         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
12793         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
12794         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
12795         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
12796         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
12797         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
12799 2012-04-17  Petr Baudis  <pasky@ucw.cz>
12801         * include/sys/uio.h: Change __vector to __iovec to avoid clash
12802         with altivec.
12804 2012-04-16  Marek Polacek  <polacek@redhat.com>
12806         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
12808 2012-04-16  Marek Polacek  <polacek@redhat.com>
12810         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
12811         operands of fdivp instruction.
12813 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
12815         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
12816         * elf/tst-auditmod3b.c: Likewise.
12817         * elf/tst-auditmod4b.c: Likewise.
12818         * elf/tst-auditmod5b.c: Likewise.
12819         * elf/tst-auditmod6b.c: Likewise.
12820         * elf/tst-auditmod6c.c: Likewise.
12821         * elf/tst-auditmod7b.c: Likewise.
12822         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
12823         * sysdeps/x86_64/preconfigure.in: Likewise.
12824         * sysdeps/x86_64/preconfigure: Regenerated.
12826 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
12828         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
12829         __ILP32__.
12831 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
12833         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12834         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
12836 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
12838         [BZ #13973]
12839         * locale/iso-639.def: Fix gl language name. Spotted by
12840         Yaron Shahrabani.
12842 2012-04-12  Roland McGrath  <roland@hack.frob.com>
12844         [BZ #2074]
12845         * libio/libio.h (__io_write_fn): Update comment.
12847 2012-04-12  Petr Baudis  <pasky@ucw.cz>
12849         [BZ #2074]
12850         * stdio.texi (Hook Functions): The user provided writer function
12851         is not allowed to return -1.
12853 2012-04-11  David S. Miller  <davem@davemloft.net>
12855         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12857 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
12859         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
12860         Add a leading slash to rtkaio.
12862 2012-04-11  Jim Meyering  <meyering@redhat.com>
12864         [BZ #11959]
12865         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
12866         It is not necessarily an error to ignore fwrite's return
12867         value.  One can reliably use ferror to test for errors after
12868         the fact.
12870 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
12872         * bits/types.h (__snseconds_t): New type.
12873         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
12875         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
12876         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12877         (__SNSECONDS_T_TYPE): Likewise.
12878         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12879         (__SNSECONDS_T_TYPE): Likewise.
12880         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12881         (__SNSECONDS_T_TYPE): Likewise.
12883 2012-04-10  Andreas Jaeger  <aj@suse.de>
12885         [BZ #2636]
12886         * manual/time.texi (Processor Time): Return type of times is
12887         elapsed real time since an arbitrary point in the past.
12888         (CPU Time): Move CLK_TCK from here...
12889         (Processor Time): ...to here.  Correct description.
12890         * manual/conf.texi (Constants for Sysconf): Correct description of
12891         _SC_CLK_TCK.
12893 2012-04-10  David S. Miller  <davem@davemloft.net>
12895         [BZ #13967]
12896         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
12897         where the is a gap between DT_REL(A) and DT_JMPREL.
12899 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
12901         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
12902         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12903         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12905 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12907         * elf/dl-support.c (_dl_inhibit_cache): New variable.
12908         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
12909         (dl_main): Handle --inhibit-cache.
12910         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
12911         _dl_inhibit_cache.
12912         * elf/dl-load.c (_dl_map_object): Use it.
12913         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
12915 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
12917         [BZ #13872]
12918         * sysdeps/i386/fpu/e_powl.S (p78): New object.
12919         (__ieee754_powl): Saturate large exponents rather than testing for
12920         overflow of y*log2(x).
12921         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12922         * math/libm-test.inc (pow_test): Do not permit spurious overflow
12923         exceptions.
12925         [BZ #11521]
12926         * math/s_ctan.c: Include <float.h>.
12927         (__ctan): Avoid internal overflow or cancellation in calculating
12928         denominator.
12929         * math/s_ctanf.c: Likewise.
12930         * math/s_ctanl.c: Likewise.
12931         * math/s_ctanh.c: Likewise.
12932         * math/s_ctanhf.c: Likewise.
12933         * math/s_ctanhl.c: Likewise.
12934         * math/libm-test.inc (ctan_test): Add more tests.
12935         (ctanh_test): Likewise.
12936         * sysdeps/i386/fpu/libm-test-ulps: Update.
12937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12939 2012-04-09  Andreas Jaeger  <aj@suse.de>
12941         [BZ #6894]
12942         * manual/filesys.texi (Directory Entries): Mention that d_namlen
12943         is an optional BSD extension.
12945         [BZ #10254]
12946         * manual/stdio.texi (Opening Streams): Document additional fopen
12947         parameters.
12949 2012-04-09  Roland McGrath  <roland@hack.frob.com>
12951         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
12952         %eax without telling the compiler.
12954 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
12956         [BZ # 13963]
12957         * manual/install.texi: Use sourceware.org.
12959 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
12961         [BZ #13873]
12962         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
12963         (__ieee754_pow): Generate overflow and underflow using huge*huge
12964         and tiny*tiny rather than just returning constant infinity or zero
12965         for large exponents.
12966         * math/libm-test.inc (pow_test): Require overflow exceptions for
12967         applicable cases of large exponents.
12969         [BZ #706]
12970         * sysdeps/i386/fpu/e_pow.S (p10): New object.
12971         (__ieee754_pow): Use iterative multiplication algorithm only for
12972         integer exponents with absolute value below 1024.  Check for odd
12973         integer exponents when using algorithm for real exponents.
12974         * math/libm-test.inc (pow_test): Add more tests.
12975         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12977 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
12979         [BZ #13705]
12980         * math/libm-test.inc (exp_test): Do not allow overflow exception
12981         on underflow test.
12983 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
12985         [BZ #13705]
12986         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
12987         instead of __kernel_standard_f.
12989 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
12991         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
12992         * sysdeps/x86_64/memset_chk.S: Likewise.
12994 2012-04-08  Andreas Jaeger  <aj@suse.de>
12996         [BZ #10153]
12997         * manual/startup.texi (Environment Access): Describe return value
12998         for putenv and setenv.
13000         [BZ #6895]
13001         * manual/filesys.texi (Directory Entries): Add description for
13002         DT_LNK.
13004         [BZ #6890]
13005         * manual/filesys.texi (Directory Entries): Clarify that it's file
13006         system not operating system in the description of DT_UNKNOWN.
13008         [BZ #6578]
13009         * manual/syslog.texi (closelog): Fix reference, it's openlog.
13011 2012-04-08  Stephen Compall  <s11@member.fsf.org>
13013         [BZ #6649]
13014         * manual/llio.texi (Opening and Closing Files): Add cross
13015         reference to explain mode argument.
13017 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
13019         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
13020         * sysdeps/x86_64/memset_chk.S: Likewise.
13022 2012-04-07  David S. Miller  <davem@davemloft.net>
13024         * elf/elf.h (R_SPARC_WDISP10): Define.
13025         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
13026         R_SPARC_SIZE32.
13027         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
13028         R_SPARC_SIZE64 and R_SPARC_H34.
13030 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
13032         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
13033         conditions and remove no longer applicable assertion.
13035 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
13037         * bits/byteswap.h: Include <features.h>.
13038         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13039         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13041 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
13043         * bits/byteswap.h (__bswap_16): Removed.
13044         Include <bits/byteswap-16.h> to get __bswap_16.
13045         * sysdeps/i386/bits/byteswap.h: Likewise.
13046         * sysdeps/s390/bits/byteswap.h: Likewise.
13047         * sysdeps/x86_64/bits/byteswap.h: Likewise.
13048         * bits/byteswap-16.h: New file.
13049         * sysdeps/i386/bits/byteswap-16.h: Likewise.
13050         * sysdeps/s390/bits/byteswap-16.h: Likewise.
13051         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
13052         * string/Makefile (headers): Add bits/byteswap-16.h.
13054 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
13056         [BZ #13895]
13057         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
13058         extra indirection.
13059         * nss/Makefile (tests-static, tests): Add tst-nss-static.
13060         * nss/tst-nss-static.c: New.
13062 2012-04-06  Robert Millan  <rmh@gnu.org>
13064         [BZ #6486]
13065         * manual/llio.texi (File Position Primitive): lseek
13066         refers to WHENCE when it really means OFFSET.
13068 2012-04-06  Andreas Jaeger  <aj@suse.de>
13070         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
13071         strncmp declarations.
13073         * abilist/libc.abilist: Add __poll and __ppoll.
13075 2012-04-05  David S. Miller  <davem@davemloft.net>
13077         * scripts/check-local-headers.sh: Accept a host triplet in the
13078         path matched by the exclude regexp.
13080         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
13081         definition.
13082         * sysdeps/powerpc/powerpc32/dl-machine.h
13083         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
13084         * sysdeps/s390/s390-32/dl-machine.h
13085         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13086         * sysdeps/sparc/sparc32/dl-machine.h
13087         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13088         * sysdeps/sparc/sparc64/dl-machine.h
13089         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13091         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
13092         lazy binding.
13093         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
13094         undefined symbol errors.
13096         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
13097         DT_NEEDED entries.
13099 2012-04-05  Michael Matz  <matz@suse.de>
13101         [BZ #13592]
13102         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
13104 2012-04-05  Andreas Jaeger  <aj@suse.de>
13106         [BZ #13908]
13107         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
13108         comment.
13110 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
13112         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
13113         which ROUND is no valid rounding mode.
13115 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
13117         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
13118         read again.
13119         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
13121 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
13123         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
13124         an exception using FPU order intentionally.
13126 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
13128         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
13129         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
13130         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
13131         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
13133 2012-04-05  Simon Josefsson  <simon@josefsson.org>
13135         [BZ #12340]
13136         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
13137         EINVAL when BUFLEN is too smal.
13139 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
13141         [BZ #13553]
13142         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
13143         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
13145 2012-04-03  Andreas Jaeger  <aj@suse.de>
13147         [BZ #13938]
13148         * manual/setjmp.texi (System V contexts): Fix sentence.
13150         [BZ #13926]
13151         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
13152         New macro for this case.
13153         [!__GNUC__] (__bswap_64): New inline function for this case.
13154         * sysdeps/x86_64/bits/byteswap.h: Likewise.
13155         * bits/byteswap.h: Likewise.
13156         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
13157         ull, guard with __GLIBC_HAVE_LONG_LONG.
13159         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
13160         __GLIBC_HAVE_LONG_LONG.
13162         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
13163         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
13165 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13167         [BZ #13691]
13168         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
13169         inptr and inend, rather than using last_ch.
13171 2012-04-02  David S. Miller  <davem@davemloft.net>
13173         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
13174         * stdio-common/printf-parse.h (read_int): Change return type to
13175         'int', return -1 on INT_MAX overflow.
13176         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
13177         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
13178         overflows INT_MAX.  Check for overflow of in-format-string precision
13179         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
13180         SIZE_MAX not INT_MAX for integer overflow test.
13181         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
13182         skip the construct in the format string but do not record anything.
13183         * stdio-common/bug22.c: Adjust to test both width/prevision
13184         INT_MAX overflow as well as total length INT_MAX overflow.  Check
13185         explicitly for proper errno values.
13187 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
13189         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
13190         CHAR_MAX.
13191         * string/test-strcmp.c [! WIDE]: Likewise.
13192         * time/tst-mktime2.c: Likewise for INT_MAX.
13193         * string/test-string.h: #include <sys/param.h> for MIN.
13195         * csu/init-first.c (__libc_init_first): Call __ctype_init.
13196         * sysdeps/i386/init-first.c (init): Likewise.
13197         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
13198         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
13199         * sysdeps/sh/init-first.c (init): Likewise.
13201 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
13203         * po/ru.po: Update from translation team.
13204         * po/vi.po: Likewise.
13206 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
13208         * resolv/nss_dns/dns-host.c: Merge copyright years.
13210 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13212         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13213         Optimize memcpy with prefetch if
13214         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
13215         src, dst pointers have unequal 16 byte alignments.
13217 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13219         [BZ #13928]
13220         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
13221         from a CNAME entry and return the minimum ttl for the query.
13222         (gaih_getanswer_slice): Likewise.
13224 2012-03-30  Jeff Law  <law@redhat.com>
13226         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
13227         due to long keys.
13228         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13229         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13231         * resolv/nss_dns/dns-host.c: Update copyright year.
13233 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
13235         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
13236         requests to save a system call.  Fix check that all bytes are sent.
13238         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
13239         comments for sendmmsg.
13241 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13243         [BZ #13691]
13244         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
13245         with only 1 character between 0x0041 and 0x01b0.
13246         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
13247         * wcsmbs/tst-mbsnrtowcs.c: New file.
13249 2012-03-29  David S. Miller  <davem@davemloft.net>
13251         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
13252         small copies by hand.
13254 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13256         [BZ #13761]
13257         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
13258         _nss_compat_initgroups_dyn): Fall back to malloc/free
13259         for large group memberships.
13261 2012-03-28  David S. Miller  <davem@davemloft.net>
13263         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
13264         that branches into memcpy.
13265         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13266         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13267         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13268         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13269         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
13270         bits.
13271         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
13272         implementation too.
13273         * sysdeps/sparc/mempcpy.S: New file.
13275         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
13276         the IFUNC routine in the libc case.
13277         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13279         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
13280         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
13281         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
13282         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
13283         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
13284         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
13285         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
13286         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
13288         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
13289         loop to 256 bytes instead of 64 bytes and fix test signedness.
13291         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
13292         * sysdeps/sparc/sparc32/Makefile: rather than here...
13293         * sysdeps/sparc/sparc64/Makefile: and here.
13295 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
13297         * malloc/mallocbug.c: Avoid warnings about unused variables.
13299 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
13301         [BZ #13760]
13302         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
13303         in the right place. Discard and retry query if response is
13304         larger than input buffer size.
13306 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
13308         [BZ #369]
13309         [BZ #2678]
13310         [BZ #3866]
13311         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
13312         x for large integer exponent.
13313         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13314         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
13315         sign of result as needed afterwards.
13316         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13317         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
13318         result for underflowing pow the same as for overflow.
13319         (__kernel_standard_l): Handle powl overflow and underflow here
13320         rather than calling __kernel_standard.
13321         * math/libm-test.inc (pow_test): Add more tests.
13323         [BZ #3868]
13324         [BZ #13879]
13325         [BZ #13910]
13326         [BZ #13911]
13327         [BZ #13912]
13328         [BZ #13913]
13329         [BZ #13915]
13330         [BZ #13916]
13331         [BZ #13917]
13332         [BZ #13918]
13333         [BZ #13919]
13334         [BZ #13920]
13335         [BZ #13921]
13336         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
13337         * sysdeps/ieee754/k_standard.c: Include <float.h>.
13338         (__kernel_standard_l): New function.
13339         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
13340         __kernel_standard.
13341         * math/w_acosl.c (__acosl): Likewise.
13342         * math/w_asinl.c (__asinl): Likewise.
13343         * math/w_atan2l.c (__atan2l): Likewise.
13344         * math/w_atanhl.c (__atanhl): Likewise.
13345         * math/w_coshl.c (__coshl): Likewise.
13346         * math/w_exp10l.c (__exp10l): Likewise.
13347         * math/w_exp2l.c (__exp2l): Likewise.
13348         * math/w_fmodl.c (__fmodl): Likewise.
13349         * math/w_hypotl.c (__hypotl): Likewise.
13350         * math/w_j0l.c (__j0l, __y0l): Likewise.
13351         * math/w_j1l.c (__j1l, __y1l): Likewise.
13352         * math/w_jnl.c (__jnl, __ynl): Likewise.
13353         * math/w_lgammal.c (__lgammal): Likewise.
13354         * math/w_log10l.c (__log10l): Likewise.
13355         * math/w_log2l.c (__log2l): Likewise.
13356         * math/w_logl.c (__logl): Likewise.
13357         * math/w_powl.c (__powl): Likewise.
13358         * math/w_remainderl.c (__remainderl): Likewise.
13359         * math/w_scalbl.c (sysv_scalbl): Likewise.
13360         * math/w_sinhl.c (__sinhl): Likewise.
13361         * math/w_sqrtl.c (__sqrtl): Likewise.
13362         * math/w_tgammal.c (__tgammal): Likewise.
13363         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
13364         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
13365         * math/libm-test.inc (acos_test): Add more tests.
13366         (acosh_test): Likewise.
13367         (asin_test): Likewise.
13368         (atanh_test): Likewise.
13369         (exp_test): Likewise.
13370         (exp10_test): Likewise.
13371         (exp2_test): Likewise.
13372         (expm1_test): Likewise.
13373         (lgamma_test): Likewise.
13374         (log_test): Likewise.
13375         (log10_test): Likewise.
13376         (log1p_test): Likewise.
13377         (log2_test): Likewise.
13378         (pow_test): Do not allow some spurious overflow exceptions.
13379         (sqrt_test): Add more tests.
13380         (tgamma_test): Likewise.
13381         (y0_test): Likewise.
13382         (y1_test): Likewise.
13383         (yn_test): Likewise.
13385 2012-03-27  Anton Blanchard  <anton@samba.org>
13387         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
13388         MAP_HUGETLB.
13389         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13390         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13391         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13393 2012-03-27  David S. Miller  <davem@davemloft.net>
13395         * conform/Makefile: Run run-conformtest.sh using $(BASH).
13397         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
13398         have-as-vis3 check.
13400 2012-03-27  Andreas Jaeger  <aj@suse.de>
13402         * sysdeps/x86_64/elf/configure.in: Moved to ...
13403         * sysdeps/x86_64/configure.in: ... here.
13404         * sysdeps/x86_64/elf/start.S: Moved to ...
13405         * sysdeps/x86_64/start.S: ... here.
13406         * sysdeps/x86_64/elf/configure: Delete.
13408         * sysdeps/x86_64/configure.in: Merge contents from
13409         sysdeps/i386/configure.in (without i686 check).
13411         * sysdeps/i386/elf/Versions: Merge into ...
13412         * sysdeps/i386/Versions: ... this.
13413         * sysdeps/i386/elf/Versions: Delete file.
13414         * sysdeps/i386/elf/start.S: Moved to ...
13415         * sysdeps/i386/start.S: ...here.
13416         * sysdeps/i386/elf/configure.in: Merge into...
13417         * sysdeps/i386/configure.in: ...here.
13418         * sysdeps/i386/elf/configure.in: Delete file.
13419         * sysdeps/i386/elf/configure: Delete file.
13421         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
13422         * debug/backtracesyms.c: ... here.
13423         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
13424         * debug/backtracesymsfd.c: ... here.
13425         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
13426         * sysdeps/generic/ifunc-sel.h: ... here.
13428         * sysdeps/unix/i386/start.c: Delete file.
13429         * sysdeps/unix/sparc/start.c: Delete file.
13430         * sysdeps/unix/start.c: Delete file.
13432         * sysdeps/sh/elf/configure.in: Moved to ...
13433         * sysdeps/sh/configure.in: ... here.
13434         * sysdeps/sh/elf/start.S: Moved to ...
13435         * sysdeps/sh/start.S: ... here.
13436         * sysdeps/sh/elf/configure: Delete file.
13438         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
13439         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
13440         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
13441         * sysdeps/powerpc/powerpc64/entry.h: ... here.
13442         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
13443         * sysdeps/powerpc/powerpc64/start.S: here.
13444         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
13445         * sysdeps/powerpc/powerpc64/Makefile: ... this.
13446         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
13447         * sysdeps/powerpc/powerpc64/configure.in: ... this.
13448         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
13450         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
13451         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
13452         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
13453         * sysdeps/powerpc/powerpc32/start.S: ... here.
13454         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
13455         * sysdeps/powerpc/powerpc32/configure.in: ... this.
13456         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
13458         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
13459         * sysdeps/powerpc/ifunc-sel.h: ... here.
13460         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
13461         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
13463         * sysdeps/sparc/elf/configure.in: Moved to ...
13464         * sysdeps/sparc/configure.in: ... here.
13465         * sysdeps/sparc/elf/configure: Delete file.
13466         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
13467         * sysdeps/sparc/sparc32/start.S: ... here.
13468         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
13469         * sysdeps/sparc/sparc64/start.S: ... here.
13470         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
13471         * sysdeps/sparc/sparc32/Makefile: ... this.
13472         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
13473         * sysdeps/sparc/sparc64/Makefile: ... this.
13475         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
13476         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
13477         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
13478         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
13479         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
13480         * sysdeps/s390/s390-32/setjmp.S: ... here.
13481         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
13482         * sysdeps/s390/s390-32/configure.in: ... here.
13483         * sysdeps/s390/s390-32/elf/configure: Delete file.
13484         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
13485         * sysdeps/s390/s390-32/start.S: ... here.
13487         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
13488         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
13489         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
13490         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
13491         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
13492         * sysdeps/s390/s390-64/setjmp.S: ... here.
13493         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
13494         * sysdeps/s390/s390-64/configure.in: ... here
13495         * sysdeps/s390/s390-64/elf/configure: Delete file.
13496         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
13497         * sysdeps/s390/s390-64/start.S: ... here.
13498         * sysdeps/s390/s390-64/elf/configure: Delete.
13500         * configure.in: Remove support for elf directories in sysdeps.
13502         * configure: Regenerated.
13503         * sysdeps/i386/configure: Regenerated.
13504         * sysdeps/powerpc/powerpc32/configure: Regenerated.
13505         * sysdeps/powerpc/powerpc64/configure: Regenerated.
13506         * sysdeps/s390/s390-32/configure: Regenerated.
13507         * sysdeps/s390/s390-64/configure: Regenerated.
13508         * sysdeps/sh/configure: Regenerated.
13509         * sysdeps/sparc/configure: Regenerated.
13510         * sysdeps/x86_64/configure: Regenerated.
13512 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
13514         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13516         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
13517         denormal result into account.
13519 2012-03-25  Roland McGrath  <roland@hack.frob.com>
13521         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
13522         Reported by Allan McRae <allan@archlinux.org>.
13524 2012-03-23  Jeff Law  <law@redhat.com>
13526         * nss/getnssent.c (__nss_getent): Fix typo.
13528 2012-03-23  David S. Miller  <davem@davemloft.net>
13530         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13532 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
13534         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
13535         to pad to uint64_t for each field.
13536         (dl_tls_index): Replace unsigned long with uint64_t.
13538 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
13539         Paul Pluzhnikov  <ppluzhnikov@google.com>
13541         [BZ #6528]
13542         * grp/Makefile (otherlibs): Don't set it.
13543         * inet/Makefile (otherlibs): Likewise.
13544         * login/Makefile (otherlibs): Likewise.
13545         * nscd/Makefile (otherlibs): Likewise.
13546         * posix/Makefile (otherlibs): Likewise.
13547         * pwd/Makefile (otherlibs): Likewise.
13548         * rt/Makefile (otherlibs): Likewise.
13549         * sunrpc/Makefile (otherlibs): Likewise.
13550         * nss/Makefile (otherlibs): Likewise.
13551         Add libnss_files to routines and static-only-routines.
13552         ($(objpfx)getent): Remove rule.
13553         * resolv/Makefile: Add libnss_dns and libresolv to routines and
13554         static-only-routines.
13556 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
13558         [BZ #13892]
13559         * math/s_cexp.c: Include <float.h>.
13560         (__cexp): Handle exp result overflowing not necessarily
13561         overflowing both real and imaginary parts of result.
13562         * math/s_cexpf.c: Likewise.
13563         * math/s_cexpl.c: Likewise.
13564         * math/libm-test.inc (cexp_test): Add more tests.
13565         * sysdeps/i386/fpu/libm-test-ulps: Update.
13566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13568 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
13570         * include/link.h (ELFW): New macro.
13571         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
13572         Replace ELF64_R_TYPE with ELFW(R_TYPE).
13574 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
13576         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
13577         with uint64_t.
13579 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
13581         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
13582         declaration.
13583         (struct La_x32_retval): Likewise.
13585 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
13587         * sysdeps/x86_64/preconfigure.in: New file.
13588         * sysdeps/x86_64/preconfigure: New generated file.
13590 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
13592         [BZ #13824]
13593         * math/e_exp2l.c: Include <float.h>.
13594         (__ieee754_exp2l): Handle overflow and underflow cases
13595         separately.  Only pass fractional part of argument to
13596         __ieee754_expl.
13597         * math/libm-test.inc (exp2_test): Add more tests.
13599         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
13600         negating x to take absolute value.
13601         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13602         Likewise.
13603         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13604         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13605         Likewise.
13606         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
13607         computing low part if x was negated.
13608         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13610 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
13612         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
13613         la_x32_gnu_pltexit.
13614         (pltexit): Cast int_retval to ptrdiff_t.
13615         * elf/tst-auditmod3b.c: Likewise.
13616         * elf/tst-auditmod4b.c: Likewise.
13617         * elf/tst-auditmod5b.c: Likewise.
13618         * elf/tst-auditmod6b.c: Likewise.
13619         * elf/tst-auditmod6c.c: Likewise.
13620         * elf/tst-auditmod7b.c: Likewise.
13622         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
13623         and x32_gnu_pltexit.
13625         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
13626         __ELF_NATIVE_CLASS.
13627         (La_x32_regs): New macro.
13628         (La_x32_retval): Likewise.
13629         (la_x32_gnu_pltenter): New function prototype.
13630         (la_x32_gnu_pltexit): Likewise.
13632 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
13634         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
13635         exponent.
13637         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13639         * configure.in (libc_cv_cc_nofma): Check for option to disable
13640         generation of FMA instructions.
13641         * configure: Regenerate.
13642         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
13643         * sysdeps/ieee754/dbl-64/Makefile: New file.
13644         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13645         Remove brandred-fma4.
13646         (CFLAGS-brandred-fma4.c): Remove.
13647         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
13648         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
13649         define.
13650         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
13651         define.
13653 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
13655         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13656         LLONG_MAX != LONG_MAX.
13657         (_itoa_word): Use _ITOA_WORD_TYPE on value.
13658         (_fitoa_word): Likewise.
13659         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
13660         LLONG_MAX != LONG_MAX.
13661         * stdio-common/_itowa.h: Include <_itoa.h>.
13662         (_itowa_word): Use _ITOA_WORD_TYPE on value.
13663         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
13664         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
13665         only if not defined.
13666         (_ITOA_WORD_TYPE): Likewise.
13667         (_itoa_word): Use _ITOA_WORD_TYPE on value.
13668         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
13670 2012-03-21  David S. Miller  <davem@davemloft.net>
13672         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13674 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
13676         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
13677         of x86_64 when setting libc_cv_slibdir, libdir and
13678         libc_cv_localedir.
13679         * sysdeps/unix/sysv/linux/configure: Regenerated.
13681 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
13683         * manual/lang.texi (Old Varargs): Remove section.
13684         (How Variadic): Update menu.
13685         (va_start): Do not mention varargs.h.
13687 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
13688             Joseph Myers  <joseph@codesourcery.com>
13690         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
13691         link test.
13692         * configure: Regenerated.
13694 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
13696         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
13697         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
13698         conformtest.pl
13700 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
13702         * NOTES: Remove.
13703         * Makefile (files-for-dist): Remove NOTES.
13704         (NOTES): Remove rule.
13705         * README: Don't refer to NOTES.
13706         * manual/creature.texi: Don't include macros.texi.
13707         * manual/intro.texi (creature.texi): Remove comment referring to
13708         NOTES.
13710         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
13711         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
13712         * configure: Regenerated.
13713         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
13714         LIBC_TRY_CC_OPTION.
13715         (libc_cv_as_i686): Likewise.
13716         (libc_cv_cc_avx): Likewise.
13717         (libc_cv_cc_sse2avx): Likewise.
13718         (libc_cv_cc_fma4): Likewise.
13719         (libc_cv_cc_novzeroupper): Likewise.
13720         * sysdeps/i386/configure: Regenerated.
13722         [BZ #13883]
13723         * sysdeps/i386/fpu/s_cexp.S: Remove.
13724         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13725         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13726         * math/libm-test.inc (cexp_test): Add more tests.
13727         * sysdeps/i386/fpu/libm-test-ulps: Update.
13728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13730 2012-03-21  Allan McRae  <allan@archlinux.org>
13732         * timezone/Makefile: Do not install iso3166.tab and zone.tab
13734 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
13736         [BZ #13871]
13737         * math/w_exp2.c: Do not include <float.h>.
13738         (o_threshold, u_threshold): Remove.
13739         (__exp2): Calculate result before checking finiteness and calling
13740         __kernel_standard.
13741         * math/w_exp2f.c: Likewise.
13742         * math/w_exp2l.c: Likewise.
13743         * math/libm-test.inc (exp2_test): Require overflow exception for
13744         1e6 input.
13746         [BZ #3866]
13747         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
13748         range of signed 64-bit integers before using fistpll.  Remove
13749         checks for whether integers fit in mantissa bits.
13750         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
13751         the range of signed 32-bit integers before using fistpl.  Remove
13752         checks for whether integers fit in mantissa bits.
13753         * sysdeps/i386/fpu/e_powl.S (p64): New object.
13754         (__ieee754_powl): Test for y outside the range of signed 64-bit
13755         integers before using fistpll.  Reduce 64-bit values to 63-bit
13756         ones as needed.
13757         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
13758         divide-by-zero is raised for zero to large negative powers.
13759         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
13760         (__ieee754_powl): Test for y outside the range of signed 64-bit
13761         integers before using fistpll.  Reduce 64-bit values to 63-bit
13762         ones as needed.
13763         * math/libm-test.inc (pow_test): Add more tests.
13765 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
13767         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
13768         <stdio-common/_itoa.h>.
13769         * debug/segfault.c: Likewise.
13770         * elf/dl-cache.c: Likewise.
13771         * elf/dl-minimal.c: Likewise.
13772         * elf/dl-misc.c: Likewise.
13773         * elf/dl-sysdep.c: Likewise.
13774         * elf/dl-version.c: Likewise.
13775         * elf/rtld.c: Likewise.
13776         * hurd/hurdsock.c: Likewise.
13777         * hurd/lookup-retry.c: Likewise.
13778         * malloc/malloc.c: Likewise.
13779         * malloc/mtrace.c: Likewise.
13780         * nscd/nscd_getgr_r.c: Likewise.
13781         * nscd/nscd_getpw_r.c: Likewise.
13782         * nscd/nscd_getserv_r.c: Likewise.
13783         * posix/getopt_init.c: Likewise.
13784         * posix/wordexp.c: Likewise.
13785         * stdio-common/_itoa.c: Likewise.
13786         * stdio-common/printf_fphex.c: Likewise.
13787         * stdio-common/vfprintf.c: Likewise.
13788         * string/_strerror.c: Likewise.
13789         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
13790         * sysdeps/i386/i686/hp-timing.h: Likewise.
13791         * sysdeps/mach/_strerror.c: Likewise.
13792         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
13793         * sysdeps/mach/hurd/sethostid.c: Likewise.
13794         * sysdeps/mach/hurd/xmknodat.c: Likewise.
13795         * sysdeps/mach/xpg-strerror.c: Likewise.
13796         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13797         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13798         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
13799         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
13800         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13801         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
13802         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13803         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13804         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
13805         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
13806         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
13807         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13808         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
13809         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13810         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13811         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
13812         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
13813         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
13814         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13815         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13816         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
13818         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
13820         * stdio-common/_itoa.h: Moved to ...
13821         * sysdeps/generic/_itoa.h: Here.
13823         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
13825         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
13826         instead of "_itoa.h" and "_itowa.h".
13827         * stdio-common/vfprintf.: Likewise.
13829 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
13831         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
13832         <bits/wordsize.h>.
13833         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
13834         (__signbit): Likwise.
13835         (llrintf): Likwise.
13836         (llrint): Likwise.
13838 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
13840         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
13841         __WORDSIZE != 64.
13843 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
13845         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
13846         OVERFLOW_EXCEPTION_OK.
13847         * math/libm-test.inc ("Philosophy"): Update comment about
13848         exception testing.
13849         (OVERFLOW_EXCEPTION): Define.
13850         (OVERFLOW_EXCEPTION_OK): Likewise.
13851         (INVALID_EXCEPTION_OK): Renumber.
13852         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13853         (IGNORE_ZERO_INF_SIGN): Likewise.
13854         (test_exceptions): Handle FE_OVERFLOW.
13855         (exp10_test): Expect overflow exceptions.
13856         (exp2_test): Likewise.
13857         (expm1_test): Likewise.
13858         (nextafter_test): Likewise.
13859         (pow_test): Likewise.
13860         (scalbn_test): Likewise.
13861         (scalbln_test): Likewise.
13863 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13865         * sysdeps/x86_64/bits/atomic.h
13866         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
13867         64bit integer.
13868         (atomic_exchange_acq): Likewise.
13869         (__arch_exchange_and_add_body): Likewise.
13870         (__arch_add_body): Likewise.
13871         (atomic_add_negative): Likewise.
13872         (atomic_add_zero): Likewise.
13874 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13876         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
13877         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
13879 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13881         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
13882         Check __x86_64__ instead of __WORDSIZE.
13884 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13886         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
13888 2012-03-19  David S. Miller  <davem@davemloft.net>
13890         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13892         * sysdeps/sparc/fpu/fenv_private.h: New file.
13893         * sysdeps/sparc/fpu/math_private.h: Use it.
13894         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
13895         Remove.
13896         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
13897         (libc_feholdexcept_setroundl): Remove.
13898         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
13899         Remove.
13900         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
13901         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
13903 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13905         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
13906         int64_t instead of long int.
13907         (INSERT_WORDS64): Likwise.
13909 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13911         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
13912         _Unwind_GetCFA return to _Unwind_Ptr first.
13914 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
13916         [BZ #13629]
13917         * math/s_clog.c: Include <float.h>.
13918         (__clog): Scale large or subnormal inputs.
13919         * math/s_clogf.c: Likewise.
13920         * math/s_clogl.c: Likewise.
13921         * math/s_clog10.c: Include <float.h>.
13922         (M_LOG10_2): Define.
13923         (__clog10): Scale large or subnormal inputs.
13924         * math/s_clog10f.c: Likewise.
13925         * math/s_clog10l.c: Likewise.
13926         * math/libm-test.inc (clog_test): Add more tests.
13927         (clog10_test): Likewise.
13928         * sysdeps/i386/fpu/libm-test-ulps: Update.
13929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13931         [BZ #11451]
13932         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
13933         x and y.
13934         * math/libm-test.inc (atan2_test): Add another test.
13936         * Makerules (common-objdir-compile): Remove.
13937         * sysdeps/unix/Makefile (config-generated): Do not add
13938         $(unix-generated) to variable.
13939         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
13940         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
13941         Remove rule.
13942         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
13943         Likewise.
13944         [generic bits/local_lim.h] (before-compile): Do not append to
13945         variable.
13946         [generic bits/local_lim.h] (common-generated): Likewise.
13947         [generic sys/param.h] (before-compile): Do not append to variable.
13948         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
13949         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
13950         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
13951         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
13952         include.
13953         [generic sys/param.h] (sys/param.h-includes): Remove variable.
13954         [generic sys/param.h] (sys/param.h-includes): Remove rule.
13955         [generic sys/param.h] ($(addprefix
13956         $(common-objpfx),$(sys/param.h-includes))): Likewise.
13957         [generic sys/param.h] (common-generated): Do not append to
13958         variable.
13959         [generic sys/param.h] (sysdep_headers): Likewise.
13960         [generic bits/errno.h] (before-compile): Do not append to
13961         variable.
13962         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
13963         rule.
13964         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
13965         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
13966         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
13967         [generic bits/errno.h] (common-generated): Do not append to
13968         variable.
13969         [generic bits/ioctls.h] (before-compile): Do not append to
13970         variable.
13971         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
13972         rule.
13973         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
13974         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
13975         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
13976         rule.
13977         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
13978         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
13979         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
13980         [generic bits/ioctls.h] (common-generated): Do not append to
13981         variable.
13982         [generic sys/syscall.h] (syscall.h): Remove variable.
13983         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
13984         rule.
13985         [generic sys/syscall.h] (before-compile): Do not append to
13986         variable.
13987         [generic sys/syscall.h] (common-generated): Likewise.
13988         * sysdeps/unix/errnos-tmpl.c: Remove file.
13989         * sysdeps/unix/errnos.awk: Likewise.
13990         * sysdeps/unix/ioctls-tmpl.c: Likewise.
13991         * sysdeps/unix/ioctls.awk: Likewise.
13992         * sysdeps/unix/mk-local_lim.c: Likewise.
13993         * sysdeps/unix/snarf-ioctls: Likewise.
13995 2012-03-19  Richard Henderson  <rth@twiddle.net>
13997         * sysdeps/i386/fpu/fenv_private.h: New file.
13998         * sysdeps/i386/fpu/math_private.h: Use it.
13999         (math_opt_barrier, math_force_eval): Remove.
14000         (libc_feholdexcept_setround_53bit): Remove.
14001         (libc_feupdateenv_53bit): Remove.
14002         * sysdeps/x86_64/fpu/math_private.h: Likewise.
14003         (math_opt_barrier, math_force_eval): Remove.
14004         (libc_feholdexcept): Remove.
14005         (libc_feholdexcept_setround): Remove.
14006         (libc_fetestexcept, libc_fesetenv): Remove.
14007         (libc_feupdateenv_test): Remove.
14008         (libc_feupdateenv, libc_feholdsetround): Remove.
14009         (libc_feresetround): Remove.
14011         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
14012         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14014         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
14015         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
14016         (libc_feupdateenv_testl): New.
14017         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
14018         (libc_feupdateenv_testf): New.
14019         (libc_feupdateenv): Use libc_feupdateenv_test.
14020         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
14021         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
14023         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
14024         (libc_feholdsetroundf, libc_feholdsetroundl): New.
14025         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
14026         (libc_feresetround_noex): New.
14027         (libc_feresetround_noexf): New.
14028         (libc_feresetround_noexl): New.
14029         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
14030         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
14031         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
14032         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
14033         SET_RESTORE_ROUND.
14034         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14035         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
14036         (__cos): Likewise.
14037         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
14038         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14039         SET_RESTORE_ROUND_NOEX.
14040         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
14041         SET_RESTORE_ROUND_NOEXF.
14042         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
14043         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
14044         (libc_feholdsetroundf): New.
14045         (libc_feresetround, libc_feresetroundf): New.
14047         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
14048         (libc_feholdexcept_setround_53bit): Convert from macro to function.
14049         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
14051         * sysdeps/generic/math_private.h: Include <fenv.h>.
14052         (default_libc_feholdexcept): New.
14053         (default_libc_feholdexcept_setround): New.
14054         (default_libc_fesetenv, default_libc_feupdateenv): New.
14055         (libc_feholdexcept): Only define if undefined.
14056         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
14057         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
14058         (libc_feholdexcept_setroundl): Likewise.
14059         (libc_feholdexcept_setround_53bit): Likewise.
14060         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
14061         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
14062         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
14063         (libc_feupdateenv_53bit): Likewise.
14064         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
14065         (libc_feholdexcept): Convert from macro to inline function.
14066         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
14067         (libc_fesetenv, libc_feupdateenv): Likewise.
14069         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
14070         not previously defined.
14071         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
14072         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
14073         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
14074         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
14075         * sysdeps/ieee754/flt-32/math_private.h: New file.
14076         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
14077         math_private.h below SET_FLOAT_WORD.
14078         (__isnan, __isinf_ns, __finite): Remove.
14079         (__isnanf, __isinf_nsf, __finitef): Remove.
14081 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
14083         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14085 2012-03-17  David S. Miller  <davem@davemloft.net>
14087         [BZ #6471]
14088         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
14089         for 2.16.
14091 2012-03-16  David S. Miller  <davem@davemloft.net>
14093         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
14094         warnings.
14096         [BZ #6471]
14097         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
14098         properly.
14099         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
14100         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
14101         sysdep_routines when subdir is sysvipc.
14102         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
14103         __getshmlba helper.
14105         * sysdeps/sparc/fpu/libm-test/ulps: Update.
14107 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14109         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
14110         [__LP64__].
14112 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14114         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
14115         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
14116         (__lround): Renamed to ...
14117         (__llround): This.  Replace long int with long long int.
14118         Define lround functions as aliases of llround functions.
14119         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
14121 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14123         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
14124         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
14125         adresses to uintptr_t.  Replace "long int" and "unsigned long
14126         int" with "greg_t" on va_arg.
14128 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14130         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
14131         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
14133         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
14134         Move e_machine check before EI_CLASS check.  Handle x32
14135         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
14136         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
14137         SKIP_EM_IA_64 and include
14138         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
14140         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
14141         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
14142         (add_system_dir): New macro.
14144         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
14145         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
14147 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
14149         [BZ #2551]
14150         [BZ #2552]
14151         [BZ #2553]
14152         [BZ #2554]
14153         [BZ #2562]
14154         [BZ #2563]
14155         [BZ #2565]
14156         [BZ #2566]
14157         [BZ #2576]
14158         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
14159         (y0): Likewise.
14160         * math/w_j0f.c (j0f): Likewise.
14161         (y0f): Likewise.
14162         * math/w_j0l.c (__j0l): Likewise.
14163         (__y0l): Likewise.
14164         * math/w_j1.c (j1): Likewise.
14165         (y1): Likewise.
14166         * math/w_j1f.c (j1f): Likewise.
14167         (y1f): Likewise.
14168         * math/w_j1l.c (__j1l): Likewise.
14169         (__y1l): Likewise.
14170         * math/w_jn.c (jn): Likewise.
14171         (yn): Likewise.
14172         * math/w_jnf.c (jnf): Likewise.
14173         (ynf): Likewise.
14174         * math/w_jnl.c (__jnl): Likewise.
14175         (__ynl): Likewise.
14176         * math/libm-test.inc (j0_test): Add more tests.
14177         (j1_test): Likewise.
14178         (jn_test): Likewise.  Add trailing semicolon to existing test.
14179         (y0_test): Likewise.
14180         (y1_test): Likewise.
14181         * sysdeps/i386/fpu/libm-test-ulps: Update.
14182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14184         [BZ #13851]
14185         [BZ #13854]
14186         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14187         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
14188         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
14189         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
14190         (__tanl): Set errno for infinite argument.
14191         * sysdeps/i386/fpu/mptan.c: Remove.
14192         * sysdeps/i386/fpu/s_tan.S: Likewise.
14193         * sysdeps/i386/fpu/s_tanl.S: Likewise.
14194         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
14195         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
14196         * math/libm-test.inc (tan_test): Add more tests and enable more
14197         tests for double and long double.
14198         * sysdeps/i386/fpu/libm-test-ulps: Update.
14199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14201 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
14203         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
14204         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
14206 2012-03-16  Roland McGrath  <roland@hack.frob.com>
14208         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
14209         * configure.in: Use it for both main tree and add-ons.
14210         * configure: Regenerated.
14212 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14214         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
14216 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
14218         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
14219         in comment.
14221         [BZ #13851]
14222         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
14223         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
14224         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14225         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
14226         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
14227         infinite argument.
14228         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
14229         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
14230         != 0 for prec == 2.
14231         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
14232         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
14233         * sysdeps/i386/fpu/s_cosl.S: Likewise.
14234         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
14235         * sysdeps/i386/fpu/s_sinl.S: Likewise.
14236         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
14237         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
14238         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
14239         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
14240         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
14241         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
14242         * math/libm-test.inc (cos_test): Add more tests and enable more
14243         tests for long double.
14244         (sin_test): Likewise.
14245         (sincos_test): Likewise.
14246         * sysdeps/i386/fpu/libm-test-ulps: Update.
14247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14249 2012-03-16  David S. Miller  <davem@davemloft.net>
14251         * sysdeps/sparc/fpu/math_private.h: New file.
14253 2012-03-15  David S. Miller  <davem@davemloft.net>
14255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
14256         file.
14257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
14258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
14259         file.
14260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
14261         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
14262         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
14263         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
14264         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
14265         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
14266         sysdep routines.
14267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14269         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
14270         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
14272         * sysdeps/sparc/sparc-ifunc.h: New file.
14273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
14274         sparc-ifunc.h
14275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
14277         Likewise.
14278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
14279         Likewise.
14280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
14281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
14282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14284         Likewise.
14285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
14287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
14289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
14290         Likewise.
14291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
14292         Likewise.
14293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
14295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
14296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
14297         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14298         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14299         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
14300         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
14301         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14302         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14303         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
14304         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
14305         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
14306         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
14307         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
14308         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
14309         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
14310         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
14311         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
14312         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
14313         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
14314         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
14315         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
14316         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
14318 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
14320         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
14321         scaling.
14322         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14324 2012-03-15  Andreas Jaeger  <aj@suse.de>
14326         [BZ #13852]
14327         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
14328         ieee754/flt-32 implementation for sin, cos and sincos.
14329         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
14330         * sysdeps/i386/fpu/s_cosf.S: Likewise.
14331         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
14332         * sysdeps/i386/fpu/s_sinf.S: Likewise.
14333         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
14334         ieee754/flt-32 implementation for tan.
14336         * math/libm-test.inc (cos_test): Enable some large input tests for
14337         float as well
14338         (sin_test): Likewise.
14339         (sincos_test): Likewise.
14340         (tan_test): Add tests for large input.
14342         * sysdeps/i386/fpu/libm-test-ulps: Update.
14344 2012-03-15  Andreas Jaeger  <aj@suse.de>
14346         [BZ #13658]
14347         * math/libm-test.inc (cos_test): Add more test cases.
14348         (sin_test): Likewise.
14349         (sincos_test): Likewise.
14351 2012-03-15  Andreas Jaeger  <aj@suse.de>
14353         [BZ #13837]
14354         * math/libm-test.inc (cos_test): Add a test case for large input
14355         value.
14356         (sin_test): Likewise.
14357         (sincos_test): Likewise.
14359 2012-03-15  Andreas Jaeger  <aj@suse.de>,
14360         Joseph Myers  <joseph@codesourcery.com>
14362         [BZ #13658]
14363         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
14364         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
14365         * sysdeps/i386/fpu/branred.c: Likewise.
14366         * sysdeps/i386/fpu/dosincos.c: Likewise.
14367         * sysdeps/i386/fpu/mpa.c: Likewise.
14368         * sysdeps/i386/fpu/s_cos.S: Likewise.
14369         * sysdeps/i386/fpu/s_sin.S: Likewise.
14370         * sysdeps/i386/fpu/s_sincos.S: Likewise.
14371         * sysdeps/i386/fpu/sincos32.c: Likewise.
14373         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
14374         Define.
14375         (libc_feupdateenv_53bit): Define.
14376         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
14377         Define.
14378         (libc_feupdateenv_53bit): Define.
14380         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
14381         53 bit (without extend i386 double precision).
14383         * math/libm-test.inc (sincos_test): Add tests for large input.
14384         (sin): Likewise.
14385         (cos): Likewise.
14387         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14389 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
14391         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14393 2012-03-15  David S. Miller  <davem@davemloft.net>
14395         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
14396         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
14397         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
14398         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
14399         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
14400         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
14401         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
14402         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
14403         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
14404         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
14405         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
14406         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
14407         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
14408         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
14409         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
14410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
14411         file.
14412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
14413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
14414         file.
14415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
14416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
14417         file.
14418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
14419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
14420         file.
14421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
14422         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
14423         fmin/fmax sysdep routines.
14424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14426 2012-03-14  David S. Miller  <davem@davemloft.net>
14428         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
14429         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
14430         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
14431         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
14432         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
14433         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
14434         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
14435         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
14436         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
14437         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
14438         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
14439         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
14440         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
14441         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
14442         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
14443         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
14444         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
14445         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
14446         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
14447         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
14448         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
14449         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
14450         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
14451         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
14452         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
14453         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
14454         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
14455         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
14456         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
14457         routines.
14458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
14459         file.
14460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
14461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
14462         file.
14463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
14464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
14465         file.
14466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
14467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
14468         file.
14469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
14470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
14471         file.
14472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
14473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
14474         file.
14475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
14476         file.
14477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
14478         file.
14479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
14480         file.
14481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
14482         New file.
14483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
14484         file.
14485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
14486         file.
14487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
14488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
14489         file.
14490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
14491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
14492         file.
14493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
14494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
14495         file.
14496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
14497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
14498         VIS3 routines.
14500         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14501         New file.
14503         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14505         * sysdeps/sparc/configure.in: New file.
14506         * sysdeps/sparc/configure: Generate.
14507         * configure.in (libc_cv_sparc_as_vis3): Substitute.
14508         * configure: Regenerate.
14509         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
14510         * config.make.in (have-as-vis3): New.
14511         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
14512         available use -Av9d instead of -Av9a.
14513         * sysdeps/sparc/sparc64/Makefile: Likewise.
14514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
14515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
14516         New file.
14517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
14518         file.
14519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
14520         New file.
14521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
14522         file.
14523         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
14524         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
14525         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
14526         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
14527         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
14529         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
14530         fzeros/fnegs to load 0x80000000 into a float register instead of
14531         using the stack.
14532         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
14534 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
14536         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14537         bits/syscall.h.
14538         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
14539         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
14540         ($(inst_includedir)/bits/syscall.h): Remove rule.
14541         ($(objpfx)bits/syscall.d): Include instead of
14542         $(objpfx)syscall-list.d.
14543         (generated): Change syscall-list.h and syscall-list.d to
14544         bits/syscall.h and bits/syscall.d.
14546 2012-03-14  Roland McGrath  <roland@hack.frob.com>
14548         [BZ #13846]
14549         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
14551 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
14553         [BZ #13841]
14554         * math/s_csqrt.c: Include <float.h>.
14555         (__csqrt): Scale large or subnormal inputs.
14556         * math/s_csqrtf.c: Likewise.
14557         * math/s_csqrtl.c: Likewise.
14558         * math/libm-test.inc (csqrt_test): Add more tests.
14559         * sysdeps/i386/fpu/libm-test-ulps: Update.
14560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14562         [BZ #13840]
14563         * math/libm-test.inc (hypot_test): Add more tests.
14565 2012-03-13  David S. Miller  <davem@davemloft.net>
14567         [BZ #13840]
14568         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
14569         double-precision for the calculation instead of scaling.
14571 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
14573         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
14574         manipulate bits before adding and subtracting TWO52[sx].
14575         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
14576         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
14577         Likewise.
14578         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
14580 2012-03-13  David S. Miller  <davem@davemloft.net>
14582         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
14583         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
14584         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
14585         rtld-global-offsets.h
14586         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14588         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
14589         large parameters.
14591         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
14593         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
14594         'err' in the ifdef scope in which it is actually used.
14596         * nss/nss_db/db-init.c: Include string.h
14598 2012-03-12  David S. Miller  <davem@davemloft.net>
14600         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14601         masking out of the most significant byte of random value used.
14602         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14603         Fix coding style in previous change.
14605         * sysdeps/unix/sysv/linux/kernel-features.h
14606         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
14607         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
14608         expression.
14609         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
14610         later.
14612 2012-03-11  David S. Miller  <davem@davemloft.net>
14614         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14615         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
14616         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
14617         for 'resultvar' otherwise things get truncated on 64-bit.
14619         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14620         Fix masking out of the most significant byte of random value used.
14622         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14624 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
14626         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14628 2012-03-09  David S. Miller  <davem@davemloft.net>
14630         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
14631         variables with appropriate CPP guards.
14632         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
14633         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
14634         on resulting framesize and the management of the outregs buffer for pltexit.
14635         Preserve floating point return values across _dl_call_pltexit call.
14636         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
14637         framesize and the management of the outregs buffer for pltexit.
14638         Preserve floating point return values across _dl_call_pltexit
14639         call.
14640         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
14641         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
14642         (print_exit): Fix format string for return register value.
14644 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
14646         * sunrpc/Makefile (others): Add rpcgen.
14647         ($(objpfx)rpcgen): Remove special build rule and dependency on
14648         libc.
14649         * sunrpc/rpcgen.c: New file.
14651 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
14653         [BZ #13673]
14654         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
14655         * stdio-common/bug-vfprintf-nargs.c: Likewise.
14656         * sysdeps/i386/crti.S: Likewise.
14657         * sysdeps/i386/crtn.S: Likewise.
14658         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
14659         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
14660         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
14661         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
14662         * sysdeps/sh/crti.S: Likewise.
14663         * sysdeps/sh/crtn.S: Likewise.
14664         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14666         [BZ #13673]
14667         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
14668         with URL.
14669         * locale/programs/locfile-kw.gperf: Likewise.
14670         * locale/programs/charmap-kw.h: Regenerated.
14671         * locale/programs/locfile-kw.h: Likewise.
14673         [BZ #13673]
14674         * intl/plural.y: Replace FSF snail mail address with URL.
14675         * intl/plural.c: Regenerated.
14677 2012-03-09  Richard Henderson  <rth@twiddle.net>
14679         * include/math_private.h: Remove file.
14680         * math/math_private.h: Move file ...
14681         * sysdeps/generic/math_private.h: ... here.
14683         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
14684         * sysdeps/powerpc/fpu/math_private.h: Likewise.
14685         * sysdeps/x86_64/fpu/math_private.h: Likewise.
14687         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
14688         and <math_private.h>.
14689         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14690         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14691         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14692         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14693         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14694         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
14695         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14696         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14697         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14698         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14699         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14700         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14701         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14702         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14703         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14704         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14705         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14706         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14707         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14708         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14709         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14710         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14711         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14712         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14713         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14714         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14715         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14716         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14717         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14718         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14719         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14720         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14721         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14722         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14723         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14724         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14725         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14726         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14727         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14728         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14729         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
14730         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14731         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14732         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14733         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14734         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14735         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14736         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14737         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14738         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14739         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14740         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
14741         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14742         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14743         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14744         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14745         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14746         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14747         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14748         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
14749         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14750         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14751         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14752         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14753         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
14754         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14755         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14756         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14757         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
14758         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
14759         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14760         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14761         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14762         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14763         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
14764         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14765         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
14766         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14767         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
14768         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
14769         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14770         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14771         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14772         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14773         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14774         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14775         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
14776         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14777         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14778         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14779         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14780         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14781         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14782         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14783         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14784         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14785         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14786         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14787         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14788         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14789         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14790         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14791         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14792         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14793         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14794         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14795         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14796         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14797         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14798         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14799         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14800         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14801         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14802         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14803         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
14804         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14805         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14806         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14807         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14808         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14809         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14810         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14811         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14812         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
14813         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14814         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14815         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14816         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
14817         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14818         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14819         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
14820         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14821         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14822         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14823         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
14824         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14825         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14826         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14827         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
14828         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14829         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14830         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14831         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14832         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
14833         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
14834         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14835         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14836         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14837         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14838         * sysdeps/ieee754/k_standard.c: Likewise.
14839         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14840         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14841         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14842         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14843         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14844         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14845         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14846         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14847         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14848         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14849         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14850         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14851         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14852         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14853         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14854         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14855         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14856         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14857         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14858         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14859         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14860         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14861         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14862         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14863         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14864         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14865         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14866         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14867         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14868         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14869         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14870         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14871         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14872         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14873         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14874         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14875         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14876         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
14877         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14878         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14879         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14880         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14881         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14882         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14883         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14884         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14885         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14886         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14887         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14888         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14889         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14890         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14891         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14892         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14893         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14894         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14895         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
14896         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14897         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14898         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14899         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14900         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14901         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14902         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14903         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14904         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14905         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14906         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14907         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14908         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14909         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14910         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14911         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14912         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14913         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14914         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14915         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
14916         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14917         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14918         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14919         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14920         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14921         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14922         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14923         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14924         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14925         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14926         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14927         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14928         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14929         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
14930         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14931         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
14932         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14933         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14934         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14935         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
14936         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
14937         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
14938         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
14939         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14940         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14941         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14942         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14943         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
14944         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14945         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14946         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
14947         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
14948         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14949         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14950         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14951         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14952         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14953         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14954         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14955         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14956         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14957         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14958         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14959         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14960         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14961         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14962         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14963         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14964         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
14965         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14966         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14967         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14968         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14969         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14970         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14971         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14972         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14973         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14974         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14975         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
14976         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14977         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14978         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
14979         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
14980         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14981         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
14982         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
14983         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14984         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14985         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14986         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14987         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14988         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
14989         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14990         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14991         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14992         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14993         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
14994         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
14995         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14996         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14997         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14998         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14999         * sysdeps/ieee754/s_lib_version.c: Likewise.
15000         * sysdeps/ieee754/s_matherr.c: Likewise.
15001         * sysdeps/ieee754/s_signgam.c: Likewise.
15002         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15003         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15004         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
15005         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
15006         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
15007         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15008         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
15009         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
15010         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
15011         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
15012         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15013         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
15014         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15015         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15016         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
15017         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15018         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15019         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15020         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15021         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15022         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15024 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
15026         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
15027         * sunrpc/rpc_main.c: Likewise.
15028         * sunrpc/rpc_svcout.c: Likewise.
15030 2012-03-09  David S. Miller  <davem@davemloft.net>
15032         * include/math_private.h: New file.
15034 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
15036         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
15037         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
15038         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
15039         from <bits/socket_type.h>.
15040         (enum __socket_type): Don't define here.
15041         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
15042         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15043         bits/socket_type.h.
15045         [BZ #13566]
15046         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
15047         checking __USE_GNU.
15049         * Makerules ($(inst_includedir)/%.h): New rule.
15050         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
15051         (install-others): Remove variable setting.
15052         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
15054 2012-03-08  Richard Henderson  <rth@twiddle.net>
15056         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
15057         from macro to inline function; merge with the
15058         !__LIBC_INTERNAL_MATH_INLINES version.
15059         (__ieee754_sqrtf): Likewise.
15061         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
15062         to inline function.
15063         (__rintf, __floor, __floorf): Likewise.
15065         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
15066         macro to inline function.
15067         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
15069         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
15070         not <math/math_private.h>.
15072 2012-03-08  David S. Miller  <davem@davemloft.net>
15074         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
15075         copyright year.
15076         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
15078 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
15080         * resolv/gai_misc.c (handle_requests): Fix struct timespec
15081         normalization.
15082         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
15083         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
15085 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
15087         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
15088         be defined individually, they must be defined as a block.  Define
15089         S for printing a string instead of hidint the different by using a
15090         macro for adding the 'l'.
15091         * stdio-common/tst-fphex-wide.c: Adjust.
15093 2012-03-07  Marek Polacek  <polacek@redhat.com>
15095         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
15097 2012-03-08  Marek Polacek  <polacek@redhat.com>
15099         [BZ #13806]
15100         * stdio-common/Makefile (tests): Add tst-fphex-wide.
15101         * stdio-common/tst-fphex.c: Define a few macros to make the
15102         test reusable.  Use them.
15103         * stdio-common/tst-fphex-wide.c: New file.
15105 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
15107         [BZ #6911]
15108         * manual/macros.texi (gnusystems): New macro.
15109         (nongnusystems): Likewise.
15110         (gnulinuxhurdsystems): Likewise.
15111         (gnuhurdsystems): Likewise..
15112         (gnulinuxsystems): Likewise.
15113         * manual/charset.texi: Use new macros or @theglibc{} to refer to
15114         variants of the GNU system, not "GNU system".
15115         * manual/conf.texi: Likewise.
15116         * manual/errno.texi: Likewise.  Update example of errno macro
15117         expansion.
15118         * manual/filesys.texi: Likewise.
15119         (getumask): Document as specific to GNU/Hurd.
15120         * manual/install.texi: Likewise.  Reword some references to
15121         GNU/Linux.
15122         * manual/intro.texi: Likewise.
15123         * manual/io.texi: Likewise.
15124         (File Name Portability): Detail which constraints are inapplicable
15125         to all GNU systems and which are only inapplicable to GNU/Hurd.
15126         * manual/job.texi: Likewise.
15127         * manual/llio.texi: Likewise.
15128         (O_NOCTTY): Document as present on GNU/Linux.
15129         * manual/maint.texi: Likewise.
15130         * manual/memory.texi: Likewise.
15131         * manual/pattern.texi: Likewise.
15132         * manual/pipe.texi: Likewise.
15133         * manual/process.texi: Likewise.
15134         * manual/resource.texi: Likewise.
15135         (RUSAGE_CHILDREN): Remove statement about specifying a particular
15136         child on GNU/Hurd.
15137         * manual/setjmp.texi: Likewise.
15138         * manual/signal.texi: Likewise.
15139         * manual/startup.texi: Likewise.
15140         * manual/stdio.texi: Likewise.
15141         * manual/terminal.texi: Likewise.
15142         (ONLCR): Document as POSIX.
15143         (OXTABS): Document availability on GNU/Linux as XTABS.
15144         (ONOEOT): Document availability separately from other bits.
15145         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
15146         * manual/time.texi: Likewise.
15147         * manual/users.texi: Likewise.
15148         * INSTALL: Regenerated.
15149         * sysdeps/gnu/errlist.c: Regenerated.
15151         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
15152         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
15153         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
15154         puts.
15155         * configure: Regenerated.
15157 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
15159         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
15160         default includes instead of AC_HEADER_CHECK.
15161         * sysdeps/i386/configure: Regenerated.
15163         [BZ #10716]
15164         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
15165         * math/s_cacoshf.c (__cacoshf): Likewise.
15166         * math/s_cacoshl.c (__cacoshl): Likewise.
15167         * math/s_casinh.c (__casinh): Set signs of result from argument.
15168         * math/s_casinhf.c (__casinhf): Likewise.
15169         * math/s_casinhl.c (__casinhl): Likewise.
15170         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
15171         (casinh_test): Add more tests.
15172         * sysdeps/i386/fpu/libm-test-ulps: Update.
15173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15175 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
15177         * po/zh_TW.po: Update from translation team.
15179         * login/Makefile (distribute): Remove variable.
15180         * catgets/Makefile: Likewise.
15181         * mach/Makefile: Likewise.
15182         * malloc/Makefile: Likewise.
15183         * misc/Makefile: Likewise.
15184         * iconv/Makefile: Likewise.
15185         * nscd/Makefile: Likewise.
15186         * hurd/Makefile: Likewise.
15187         * manual/Makefile: Likewise.
15188         * locale/Makefile: Likewise.
15189         * intl/Makefile: Likewise.
15190         * conform/Makefile: Likewise.
15191         * nss/Makefile: Likewise.
15192         * time/Makefile: Likewise.
15193         * soft-fp/Makefile: Likewise.
15194         * dirent/Makefile: Likewise.
15195         * gmon/Makefile: Likewise.
15196         * po/Makefile: Likewise.
15197         * rt/Makefile: Likewise.
15198         * socket/Makefile: Likewise.
15199         * math/Makefile: Likewise.
15200         * signal/Makefile: Likewise.
15201         * debug/Makefile: Likewise.
15202         * elf/Makefile: Likewise.
15203         * timezone/Makefile: Likewise.
15204         * stdlib/Makefile: Likewise.
15205         * iconvdata/Makefile: Likewise.
15206         * sunrpc/Makefile: Likewise.
15207         * io/Makefile: Likewise.
15208         * argp/Makefile: Likewise.
15209         * inet/Makefile: Likewise.
15210         * hesiod/Makefile: Likewise.
15211         * grp/Makefile: Likewise.
15212         * csu/Makefile: Likewise.
15213         * wctype/Makefile: Likewise.
15214         * crypt/Makefile: Likewise.
15215         * libio/Makefile: Likewise.
15216         * string/Makefile: Likewise.
15217         * nis/Makefile: Likewise.
15218         * resolv/Makefile: Likewise.
15219         * stdio-common/Makefile: Likewise.
15220         * wcsmbs/Makefile: Likewise.
15221         * dlfcn/Makefile: Likewise.
15222         * posix/Makefile: Likewise.
15224         [BZ #6959]
15225         * timezone/Makefile: Don't install timezone files, just the programs
15226         and scripts.
15228 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
15230         * nss/databases.def: Add missing gshadow entry.
15232         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
15234 2012-03-06  Marek Polacek  <polacek@redhat.com>
15236         [BZ #13726]
15237         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
15238         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15239         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
15240         * stdio-common/tst-long-dbl-fphex.c: New file.
15242 2012-03-06  David S. Miller  <davem@davemloft.net>
15244         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15245         (set_obp_int): New function.
15246         (get_obp_int): New function.
15247         (__get_clockfreq_via_dev_openprom): Likewise.
15248         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
15249         Avoid unused variable warnings on 'val' and use builtin_expect.
15250         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
15251         __builtin_expect.
15252         (INLINE_CLONE_SYSCALL): Likewise.
15254 2012-03-05  David S. Miller  <davem@davemloft.net>
15256         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15258 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
15260         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15262         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
15263         only for |x| >= 40.
15264         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15266 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
15268         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
15269         Replace gettimeofday with __vdso_gettimeofday.
15271         * sysdeps/unix/sysv/linux/x86_64/init-first.c
15272         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
15273         __vdso_clock_gettime and __vdso_getcpu.
15275         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
15276         time with __vdso_time.
15278 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
15280         * manual/lang.texi (size_t): Note types to which size_t may be
15281         equivalent with the GNU C Library, but do not describe when
15282         differences between them are significant.
15284 2012-03-05  Andreas Jaeger  <aj@suse.de>
15286         * sysdeps/i386/fpu/libm-test-ulps: Update.
15288 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
15290         [BZ #3976]
15291         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
15292         (__ieee754_pow): Save and restore rounding mode and use
15293         round-to-nearest for main computations.
15294         * math/libm-test.inc (pow_test_tonearest): New function.
15295         (pow_test_towardzero): Likewise.
15296         (pow_test_downward): Likewise.
15297         (pow_test_upward): Likewise.
15298         (main): Call the new functions.
15299         * sysdeps/i386/fpu/libm-test-ulps: Update.
15300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15302         [BZ #3976]
15303         * math/libm-test.inc (cosh_test_tonearest): New function.
15304         (cosh_test_towardzero): Likewise.
15305         (cosh_test_downward): Likewise.
15306         (cosh_test_upward): Likewise.
15307         (sinh_test_tonearest): Likewise.
15308         (sinh_test_towardzero): Likewise.
15309         (sinh_test_downward): Likewise.
15310         (sinh_test_upward): Likewise.
15311         (main): Call the new functions.
15312         * sysdeps/i386/fpu/libm-test-ulps: Update.
15313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15315 2012-03-05  Tom de Vries  <tom@codesourcery.com>
15317         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
15318         default stack guard is set in last bytes.
15319         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
15321 2012-03-05  Kees Cook  <keescook@chromium.org>
15323         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
15325         [BZ #13656]
15326         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
15327         possibly allocate from heap instead of stack.
15328         * stdio-common/bug-vfprintf-nargs.c: New file.
15329         * stdio-common/Makefile (tests): Add nargs overflow test.
15331 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
15333         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15335 2012-03-03  Marek Polacek  <polacek@redhat.com>
15337         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
15338         * math/math_private.h: Likewise.
15339         * stdlib/tst-strtod.c: Likewise.
15340         * sysdeps/i386/i486/bits/atomic.h: Likewise.
15341         * sysdeps/x86_64/bits/atomic.h: Likewise.
15343 2012-03-02  David S. Miller  <davem@davemloft.net>
15345         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
15346         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
15347         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
15348         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
15349         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
15350         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
15351         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
15352         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
15354 2012-03-02  Roland McGrath  <roland@hack.frob.com>
15356         [BZ #13792]
15357         * manual/examples/README: New file, says the example source files
15358         can be used under GPL>=2.
15359         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
15360         line containing just "*/".
15361         * manual/examples/add.c: Add copyright header (GPL>=2).
15362         * manual/examples/argp-ex1.c: Likewise.
15363         * manual/examples/argp-ex2.c: Likewise.
15364         * manual/examples/argp-ex3.c: Likewise.
15365         * manual/examples/argp-ex4.c: Likewise.
15366         * manual/examples/atexit.c: Likewise.
15367         * manual/examples/db.c: Likewise.
15368         * manual/examples/dir.c: Likewise.
15369         * manual/examples/dir2.c: Likewise.
15370         * manual/examples/execinfo.c: Likewise.
15371         * manual/examples/filecli.c: Likewise.
15372         * manual/examples/filesrv.c: Likewise.
15373         * manual/examples/fmtmsgexpl.c: Likewise.
15374         * manual/examples/genpass.c: Likewise.
15375         * manual/examples/inetcli.c: Likewise.
15376         * manual/examples/inetsrv.c: Likewise.
15377         * manual/examples/isockad.c: Likewise.
15378         * manual/examples/longopt.c: Likewise.
15379         * manual/examples/memopen.c: Likewise.
15380         * manual/examples/memstrm.c: Likewise.
15381         * manual/examples/mkfsock.c: Likewise.
15382         * manual/examples/mkisock.c: Likewise.
15383         * manual/examples/mygetpass.c: Likewise.
15384         * manual/examples/pipe.c: Likewise.
15385         * manual/examples/popen.c: Likewise.
15386         * manual/examples/rprintf.c: Likewise.
15387         * manual/examples/search.c: Likewise.
15388         * manual/examples/select.c: Likewise.
15389         * manual/examples/setjmp.c: Likewise.
15390         * manual/examples/sigh1.c: Likewise.
15391         * manual/examples/sigusr.c: Likewise.
15392         * manual/examples/stpcpy.c: Likewise.
15393         * manual/examples/strdupa.c: Likewise.
15394         * manual/examples/strftim.c: Likewise.
15395         * manual/examples/strncat.c: Likewise.
15396         * manual/examples/subopt.c: Likewise.
15397         * manual/examples/swapcontext.c: Likewise.
15398         * manual/examples/termios.c: Likewise.
15399         * manual/examples/testopt.c: Likewise.
15400         * manual/examples/testpass.c: Likewise.
15401         * manual/examples/timeval_subtract.c: Likewise.
15403         [BZ #13792]
15404         * manual/time.texi (Elapsed Time): Move timeval_subtract example
15405         function to ...
15406         * manual/timeval_subtract.c.texi: ... here, new file.
15408 2012-03-02  David S. Miller  <davem@davemloft.net>
15410         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
15412 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
15414         [BZ #3976]
15415         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
15416         (__sin): Save and restore rounding mode and use round-to-nearest
15417         for all computations.
15418         (__cos): Save and restore rounding mode and use round-to-nearest
15419         for all computations.
15420         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
15421         <fenv.h>.
15422         (tan): Save and restore rounding mode and use round-to-nearest for
15423         all computations.
15424         * math/libm-test.inc (cos_test_tonearest): New function.
15425         (cos_test_towardzero): Likewise.
15426         (cos_test_downward): Likewise.
15427         (cos_test_upward): Likewise.
15428         (sin_test_tonearest): Likewise.
15429         (sin_test_towardzero): Likewise.
15430         (sin_test_downward): Likewise.
15431         (sin_test_upward): Likewise.
15432         (tan_test_tonearest): Likewise.
15433         (tan_test_towardzero): Likewise.
15434         (tan_test_downward): Likewise.
15435         (tan_test_upward): Likewise.
15436         (main): Call the new functions.
15437         * sysdeps/i386/fpu/libm-test-ulps: Update.
15438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15440         [BZ #10135]
15441         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
15442         small n, then large n, before computing and testing k+n.
15443         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15444         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
15445         Likewise.
15446         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
15447         Likewise.
15448         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
15449         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
15450         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
15451         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
15452         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15453         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15454         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
15455         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
15456         * math/libm-test.inc (scalbn_test): Add more tests.
15457         (scalbln_test): Likewise.
15459         * manual/filesys.texi (mode_t): Describe constraints on size and
15460         signedness, not exact equivalence to a particular type.
15461         (ino_t): Likewise.
15462         (ino64_t): Likewise.
15463         (dev_t): Likewise.
15464         (nlink_t): Likewise.
15465         (blkcnt_t): Likewise.
15466         (blkcnt64_t): Likewise.
15467         * manual/llio.texi (off_t): Likewise.
15469         [BZ #3976]
15470         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
15471         (__ieee754_exp): Save and restore rounding mode and use
15472         round-to-nearest for all computations.
15473         * math/libm-test.inc (exp_test_tonearest): New function.
15474         (exp_test_towardzero): Likewise.
15475         (exp_test_downward): Likewise.
15476         (exp_test_upward): Likewise.
15477         (main): Call the new functions.
15478         * sysdeps/i386/fpu/libm-test-ulps: Update.
15479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15481 2012-03-01  Chris Demetriou  <cgd@google.com>
15483         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
15484         have predictable order.
15486 2012-03-01  David S. Miller  <davem@davemloft.net>
15488         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
15490         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
15491         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
15492         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
15493         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
15495         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
15496         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
15497         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
15498         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
15499         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
15500         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
15501         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
15502         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
15503         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
15505         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15507         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
15508         * sysdeps/sparc/fpu/libm-test-ulps: to here.
15509         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
15511         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
15512         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15513         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15514         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
15515         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
15516         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
15517         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
15518         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15519         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15520         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
15521         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
15522         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15523         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15524         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15525         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15526         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15527         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
15528         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
15529         * sysdeps/sparc/elf/configure: Regenerated.
15531 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
15533         * configure.in (AS, LD): Require binutils 2.20 or later.
15534         * configure: Regenerated.
15535         * manual/install.texi (Tools for Compilation): Give binutils 2.20
15536         as required minimum version.
15537         * INSTALL: Regenerated.
15539         [BZ #2541]
15540         [BZ #4108]
15541         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
15542         before squaring exponent.
15543         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
15544         bottom long double and 27 bits of top long double before squaring
15545         exponent.
15546         * math/libm-test.inc (erfc_test): Add more tests.
15547         * sysdeps/i386/fpu/libm-test-ulps: Update.
15548         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15551 2012-03-01  Kai Tietz  <ktietz@redhat.com>
15553         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
15554         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
15555         containing bit-fields.
15556         * soft-fp/extended.h (_FP_UNION_E): Likewise.
15557         * soft-fp/single.h (_FP_UNION_S): Likewise.
15558         * soft-fp/double.h (_FP_UNION_D): Likewise.
15560 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
15562         [BZ #13786]
15563         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
15564         not include ../strcmp.S.
15565         [USE_AS_STRNCASECMP_L]: Likewise.
15566         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
15567         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
15568         * sysdeps/i386/i686/multiarch/strncase_l-c.c
15569         (__strncasecmp_l_ia32): Define as alias to
15570         __strncasecmp_l_nonascii.
15572         [BZ #5794]
15573         * math/libm-test.inc (expm1_test): Add test for bug 5794.
15574         * sysdeps/i386/fpu/libm-test-ulps: Update.
15575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15577         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
15578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15580 2012-02-29  Jeff Law  <law@redhat.com>
15582         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
15583         out of bounds read.
15585 2012-02-29  Marek Polacek  <polacek@redhat.com>
15587         [BZ #13706]
15588         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
15589         * elf/Makefile: Add rules to run tst-unused-dep.out.
15591 2012-02-28  David S. Miller  <davem@davemloft.net>
15593         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
15594         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
15595         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
15596         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
15597         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
15598         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
15600 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
15602         * math/libm-test.inc (llround_test): Move one test from
15603         lround_test.  Use TEST_f_L in moved test.
15604         (lround_test): Move misplaced test to llround_test.  Add testcase
15605         from bug 2561.
15607 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
15609         * sysdeps/x86_64/fpu/e_expf.S: New file.
15610         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
15612 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
15614         [BZ #13637]
15615         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
15616         of remain_len that may cause incomplete multi-byte character and
15617         false match.
15618         * posix/bug-regex33.c: New file.
15619         * posix/Makefile (tests): Add bug-regex33.
15621 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
15623         * manual/macros.texi: New file.
15624         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
15625         * manual/libc.texinfo: Include macros.texi.
15626         * manual/creatute.texi: Likewise.
15627         * manual/install.texi: Likewise.
15628         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
15629         @glibcadj{} in references to the GNU C Library.
15630         * manual/charset.texi: Likewise.
15631         * manual/conf.texi: Likewise.
15632         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
15633         when not using those macros.
15634         * manual/creature.texi: Likewise.
15635         * manual/crypt.texi: Likewise.
15636         * manual/errno.texi: Likewise.
15637         * manual/filesys.texi: Likewise.
15638         * manual/header.texi: Likewise.
15639         * manual/install.texi: Likewise.
15640         * manual/intro.texi: Likewise.
15641         * manual/io.texi: Likewise.
15642         * manual/job.texi: Likewise.
15643         * manual/lang.texi: Likewise.
15644         * manual/libc.texiinfo: Likewise.
15645         * manual/llio.texi: Likewise.
15646         * manual/locale.texi: Likewise.
15647         * manual/maint.texi: Likewise.
15648         * manual/math.texi: Likewise.
15649         * manual/memory.texi: Likewise.
15650         * manual/message.texi: Likewise.
15651         * manual/nss.texi: Likewise.
15652         * manual/pattern.texi: Likewise.
15653         * manual/process.texi: Likewise.
15654         * manual/resource.texi: Likewise.
15655         * manual/search.texi: Likewise.
15656         * manual/setjmp.texi: Likewise.
15657         * manual/signal.texi: Likewise.
15658         * manual/socket.texi: Likewise.
15659         * manual/startup.texi: Likewise.
15660         * manual/stdio.texi: Likewise.
15661         * manual/string.texi: Likewise.
15662         * manual/sysinfo.texi: Likewise.
15663         * manual/syslog.texi: Likewise.
15664         * manual/terminal.texi: Likewise.
15665         * manual/time.texi: Likewise.
15666         * manual/users.texi: Likewise.
15667         * INSTALL: Regenerated.
15668         * NOTES: Regenerated.
15669         * sysdeps/gnu/errlist.c: Regenerated.
15671 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
15673         * include/dirent.h: Include <dirstream.h> before
15674         <dirent/dirent.h>.
15676 2012-02-28  David S. Miller  <davem@davemloft.net>
15678         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
15679         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
15680         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
15681         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
15683 2012-02-27  David S. Miller  <davem@davemloft.net>
15685         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
15686         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
15687         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
15688         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
15690         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
15691         frame pointer instead of stack pointer relative arg slot.
15692         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15693         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15694         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15696 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
15698         [BZ #3992]
15699         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
15701 2012-02-27  David S. Miller  <davem@davemloft.net>
15703         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
15704         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15705         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15706         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
15707         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15708         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15709         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
15710         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
15712 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
15714         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
15715         later.  Allow versions 5-9.
15716         * configure: Regenerated.
15717         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
15718         required minimum version and 4.6 as recommended version.  Do not
15719         mention bugs in GCC 2.7 and 2.8.
15720         * INSTALL: Regenerated.
15722 2012-02-27  David S. Miller  <davem@davemloft.net>
15724         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
15725         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
15726         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
15727         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
15728         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
15729         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
15730         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
15731         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
15733         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
15734         manipulate bits before adding and subtracting TWO112[sx].
15735         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15737 2012-02-27  Roland McGrath  <roland@hack.frob.com>
15739         [BZ #13775]
15740         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
15741         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
15742         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
15743         being in POSIX, because they are in 1003.1-2008.
15745         * rt/tst-aio.c: Include <fcntl.h>.
15746         * rt/tst-aio7.c: Likewise.
15747         * rt/tst-aio64.c: Likewise.
15749         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
15751 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
15753         * manual/install.texi (--with-headers): Describe headers as
15754         interface headers, not private headers.
15755         (Specific advice for GNU/Linux systems): Describe use of headers
15756         from "make headers_install", not private headers from older
15757         kernels.
15758         * INSTALL: Regenerated.
15759         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
15760         Change to 2.6.19.
15761         * sysdeps/unix/sysv/linux/configure: Regenerated.
15763         * manual/llio.texi (fclean): Remove documentation.
15765         * manual/Makefile (libc-texi-generated): New variable.  Include
15766         version.texi.
15767         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
15768         $(libc-texi-generated), not duplicated list of files.
15769         (version.texi, stamp-version): New rules.
15770         (realclean): Remove $(libc-texi-generated), not individual files
15771         from that list.  Do not remove dir-add.texinfo.
15772         * manual/libc.texinfo: Comment out uses of edition numbers and
15773         references to printed manual.  Remove last-updated dates.
15774         (EDITION): Comment out.
15775         (ISBN): Likewise.
15776         (VERSION, UPDATED): Remove.
15777         (version.texi): Include.
15779 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
15781         * sysdeps/posix/spawni.c: Include <signal.h>.
15782         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
15783         * sysdeps/pthread/aio_fsync.c: Likewise.
15785 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
15787         * conform/Makefile (tests): Run only when not cross-compiling and
15788         when fast-check is not defined.
15790         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
15791         * conform/data/limits.h-data: Fixes for POSIX2008.
15792         * conform/run-conformtest.sh: Run all tests.
15793         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
15794         headers.
15795         * include/bits/dlfcn.h: Likewise.
15796         * include/langinfo.h: Likewise.
15797         * include/monetary.h: Likewise.
15798         * include/sys/poll.h: Likewise.
15800         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
15801         for __USE_GNU.
15802         * posix/spawn.h: Define __need_sigset_t.
15803         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
15804         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
15805         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
15806         to get sigevent_t only.
15807         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
15808         only for __USE_GNU.
15809         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15810         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15811         process_vm_writev only for __USE_GNU.
15812         * termios/termios.h: Declare tcgetsid also for POSIX2008.
15814         * conform/Makefile: For now ignore errors from run-conformtest.
15815         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
15816         POSIX to avoid namespace pollution.  Don't prepend headers.
15817         * conform/data/aio.h-data: Fixes for POSIX testing.
15818         * conform/data/fcntl.h-data: Likewise.
15819         * conform/data/glob.h-data: Likewise.
15820         * conform/data/grp.h-data: Likewise.
15821         * conform/data/pthread.h-data: Likewise.
15822         * conform/data/pwd.h-data: Likewise.
15823         * conform/data/signal.h-data: Likewise.
15824         * conform/data/spawn.h-data: Likewise.
15825         * conform/data/stdio.h-data: Likewise.
15826         * conform/data/stdlib.h-data: Likewise.
15827         * conform/data/stropts.h-data: Likewise.
15828         * conform/data/sys/mman.h-data: Likewise.
15829         * conform/data/sys/stat.h-data: Likewise.
15830         * conform/data/sys/types.h-data: Likewise.
15831         * conform/data/sys/wait.h-data: Likewise.
15832         * conform/data/time.h-data: Likewise.
15833         * conform/data/unistd.h-data: Likewise.
15834         * conform/data/utime.h-data: Likewise.
15836         * io/sys/stat.h: fchmod was always in POSIX.
15837         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
15838         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
15839         * rt/aio.h: Define __need_timespec before including <time.h>.
15840         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
15841         struct.  Add forward declaration of pthread_attr_t and use it in
15842         sigevent.
15843         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15844         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15845         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
15846         always remove CLK_TCK definition.
15848 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
15850         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
15852 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
15854         * conform/run-conformtest.sh: New file.
15855         * conform/Makefile: Run run-conformtest for tests.
15856         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
15857         support.
15859         * conform/data/uchar.h-data: New file.
15860         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
15861         * conform/data/arpa/inet.h-data: Likewise.
15862         * conform/data/assert.h-data: Likewise.
15863         * conform/data/complex.h-data: Likewise.
15864         * conform/data/cpio.h-data: Likewise.
15865         * conform/data/ctype.h-data: Likewise.
15866         * conform/data/dirent.h-data: Likewise.
15867         * conform/data/dlfcn.h-data: Likewise.
15868         * conform/data/errno.h-data: Likewise.
15869         * conform/data/fcntl.h-data: Likewise.
15870         * conform/data/float.h-data: Likewise.
15871         * conform/data/fmtmsg.h-data: Likewise.
15872         * conform/data/fnmatch.h-data: Likewise.
15873         * conform/data/ftw.h-data: Likewise.
15874         * conform/data/glob.h-data: Likewise.
15875         * conform/data/grp.h-data: Likewise.
15876         * conform/data/iconv.h-data: Likewise.
15877         * conform/data/inttypes.h-data: Likewise.
15878         * conform/data/langinfo.h-data: Likewise.
15879         * conform/data/libgen.h-data: Likewise.
15880         * conform/data/limits.h-data: Likewise.
15881         * conform/data/locale.h-data: Likewise.
15882         * conform/data/math.h-data: Likewise.
15883         * conform/data/monetary.h-data: Likewise.
15884         * conform/data/mqueue.h-data: Likewise.
15885         * conform/data/ndbm.h-data: Likewise.
15886         * conform/data/net/if.h-data: Likewise.
15887         * conform/data/netdb.h-data: Likewise.
15888         * conform/data/netinet/in.h-data: Likewise.
15889         * conform/data/nl_types.h-data: Likewise.
15890         * conform/data/poll.h-data: Likewise.
15891         * conform/data/pthread.h-data: Likewise.
15892         * conform/data/pwd.h-data: Likewise.
15893         * conform/data/regex.h-data: Likewise.
15894         * conform/data/sched.h-data: Likewise.
15895         * conform/data/search.h-data: Likewise.
15896         * conform/data/semaphore.h-data: Likewise.
15897         * conform/data/setjmp.h-data: Likewise.
15898         * conform/data/signal.h-data: Likewise.
15899         * conform/data/spawn.h-data: Likewise.
15900         * conform/data/stdarg.h-data: Likewise.
15901         * conform/data/stdio.h-data: Likewise.
15902         * conform/data/stdlib.h-data: Likewise.
15903         * conform/data/string.h-data: Likewise.
15904         * conform/data/strings.h-data: Likewise.
15905         * conform/data/stropts.h-data: Likewise.
15906         * conform/data/sys/ipc.h-data: Likewise.
15907         * conform/data/sys/mman.h-data: Likewise.
15908         * conform/data/sys/msg.h-data: Likewise.
15909         * conform/data/sys/resource.h-data: Likewise.
15910         * conform/data/sys/select.h-data: Likewise.
15911         * conform/data/sys/sem.h-data: Likewise.
15912         * conform/data/sys/shm.h-data: Likewise.
15913         * conform/data/sys/socket.h-data: Likewise.
15914         * conform/data/sys/stat.h-data: Likewise.
15915         * conform/data/sys/statvfs.h-data: Likewise.
15916         * conform/data/sys/time.h-data: Likewise.
15917         * conform/data/sys/timeb.h-data: Likewise.
15918         * conform/data/sys/times.h-data: Likewise.
15919         * conform/data/sys/types.h-data: Likewise.
15920         * conform/data/sys/uio.h-data: Likewise.
15921         * conform/data/sys/un.h-data: Likewise.
15922         * conform/data/sys/utsname.h-data: Likewise.
15923         * conform/data/sys/wait.h-data: Likewise.
15924         * conform/data/syslog.h-data: Likewise.
15925         * conform/data/tar.h-data: Likewise.
15926         * conform/data/termios.h-data: Likewise.
15927         * conform/data/utime.h-data: Likewise.
15928         * conform/data/utmpx.h-data: Likewise.
15929         * conform/data/varargs.h-data: Likewise.
15930         * conform/data/wchar.h-data: Likewise.
15931         * conform/data/wctype.h-data: Likewise.
15932         * conform/data/wordexp.h-data: Likewise.
15934         * include/stropts.h: New file.
15935         * include/uchar.h: New file.
15936         * include/aio.h: Changes to allow conformtest.pl to use the headers.
15937         * include/assert.h: Likewise.
15938         * include/ctype.h: Likewise.
15939         * include/dirent.h: Likewise.
15940         * include/dlfcn.h: Likewise.
15941         * include/fcntl.h: Likewise.
15942         * include/fnmatch.h: Likewise.
15943         * include/glob.h: Likewise.
15944         * include/grp.h: Likewise.
15945         * include/libio.h: Likewise.
15946         * include/locale.h: Likewise.
15947         * include/math.h: Likewise.
15948         * include/net/if.h: Likewise.
15949         * include/netdb.h: Likewise.
15950         * include/netinet/in.h: Likewise.
15951         * include/pthread.h: Likewise.
15952         * include/pwd.h: Likewise.
15953         * include/regex.h: Likewise.
15954         * include/sched.h: Likewise.
15955         * include/search.h: Likewise.
15956         * include/setjmp.h: Likewise.
15957         * include/signal.h: Likewise.
15958         * include/stdio.h: Likewise.
15959         * include/stdlib.h: Likewise.
15960         * include/string.h: Likewise.
15961         * include/sys/cdefs.h: Likewise.
15962         * include/sys/mman.h: Likewise.
15963         * include/sys/msg.h: Likewise.
15964         * include/sys/resource.h: Likewise.
15965         * include/sys/select.h: Likewise.
15966         * include/sys/socket.h: Likewise.
15967         * include/sys/stat.h: Likewise.
15968         * include/sys/statvfs.h: Likewise.
15969         * include/sys/time.h: Likewise.
15970         * include/sys/times.h: Likewise.
15971         * include/sys/uio.h: Likewise.
15972         * include/sys/utsname.h: Likewise.
15973         * include/sys/wait.h: Likewise.
15974         * include/termios.h: Likewise.
15975         * include/time.h: Likewise.
15976         * include/ulimit.h: Likewise.
15977         * include/unistd.h: Likewise.
15978         * include/utime.h: Likewise.
15979         * include/wchar.h: Likewise.
15980         * include/wctype.h: Likewise.
15981         * include/wordexp.h: Likewise.
15983         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
15985         * time/time.h: TIME_UTC must be a macro.
15986         Make timespec_get available for ISO C11 only as well.
15988 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
15990         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
15991         Reported by Peng Haitao <penght@cn.fujitsu.com>.
15993 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
15995         * configure.in: Use -o not -a in test for unsupported multi-arch.
15997 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
15999         * manual/texinfo.tex: Update to version 2012-01-19.16.
16001 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
16003         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
16005 2012-02-24  Roland McGrath  <roland@hack.frob.com>
16007         [BZ #13738]
16008         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
16009         * manual/fdl-1.3.texi: New file.
16010         * manual/fdl-1.1.texi: File removed.
16012         [BZ #13738]
16013         * manual/libc.texinfo (FDL_VERSION): New @set.
16014         Use it for mention of FDL in cover text.
16015         (Documentation License): Use it in @include file name.
16017 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
16018             Roland McGrath  <roland@hack.frob.com>
16020         [BZ #5461]
16021         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
16022         not LONG_LONG_MAX and LONG_LONG_MIN.
16023         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
16024         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
16025         name.
16026         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
16028 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
16030         [BZ #2547]
16031         [BZ #11365]
16032         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
16033         manipulate bits before adding and subtracting TWO23[sx].
16034         * math/libm-test.inc (nearbyint_test): Add more tests.
16036 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
16038         [BZ #2548]
16039         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
16040         bits before adding and subtracting TWO23[sx].
16041         * math/libm-test.inc (rint_test): Add more tests.
16042         (rint_test_tonearest): Likewise.
16043         (rint_test_towardzero): Likewise.
16044         (rint_test_downward): Likewise.
16045         (rint_test_upward: Likewise.
16047 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
16049         [BZ #10110]
16050         * include/stdc-predef.h: New file.  Extracted from features.h.
16051         * include/features.h: Include stdc-predef.h.
16052         * Makefile (headers): Add stdc-predef.h.
16053         * CONFORMANCE (Compiler limitations): Update.
16055 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
16057         * manual/libc.texinfo (VERSION, UPDATED): Revert.
16059 2012-02-21  David S. Miller  <davem@davemloft.net>
16061         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
16062         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16064 2012-02-20  David S. Miller  <davem@davemloft.net>
16066         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
16067         using a normal save/restore sequence, rather than allocating a
16068         dummy stack frame just to store a frame pointer and restore.
16069         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16071 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
16073         * manual/install.texi: Fix stray word in line-wrapped comment.
16075 2012-02-20  David S. Miller  <davem@davemloft.net>
16077         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
16078         both binutils and gcc support GOTDATA.
16080         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
16081         "rd %pc" in the PIC register setup sequences.
16083         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
16084         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
16085         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16086         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
16087         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16088         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16089         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16090         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16091         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
16092         (SYSCALL_ERROR_HANDLER): Likewise.
16093         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16094         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16095         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
16096         (SYSCALL_ERROR_HANDLER): Likewise.
16098         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
16099         (HAVE_GCC_GOTDATA): New.
16100         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
16101         relocation support in both binutils and gcc.
16102         * sysdeps/sparc/elf/configure: Regenerate.
16104         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
16105         * sysdeps/sparc/sparc32/elf/configure: Delete.
16106         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
16107         * sysdeps/sparc/sparc64/elf/configure: Delete.
16108         * sysdeps/sparc/elf/configure.in: New file.
16109         * sysdeps/sparc/elf/configure: Generate.
16111         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
16112         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
16113         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16114         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
16115         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
16117 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
16119         * manual/install.texi: Do not mention specific glibc version
16120         numbers.
16121         * manual/libc.texinfo (VERSION, UPDATED): Update.
16122         (@copying): Use @copyright{} and range of years.
16124 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
16126         [BZ #13695]
16127         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
16128         [crti.S not in sysdirs] (generated): Do not append.
16129         [crti.S not in sysdirs] (omit-deps): Likewise.
16130         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
16131         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
16132         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
16133         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
16134         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
16135         Likewise.
16136         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
16137         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
16138         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
16139         * csu/defs.awk: Remove file.
16140         * sysdeps/generic/initfini.c: Likewise.
16141         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
16142         variable.
16143         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
16144         Likewise.
16146 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
16148         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
16149         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
16150         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
16151         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
16152         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16153         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
16154         <bits/epoll.h>.
16155         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
16156         (__EPOLL_PACKED): Define to empty if not defined by
16157         <bits/epoll.h>.
16158         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
16159         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16160         bits/epoll.h.
16162 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
16164         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
16165         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
16166         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
16167         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
16168         <bits/timerfd.h>.
16169         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
16170         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16171         bits/timerfd.h.
16173 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
16175         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
16176         in C locale.
16177         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16178         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16179         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
16180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16182 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
16184         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16185         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16187 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
16189         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
16190         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
16191         defined.
16192         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
16193         Likewise.
16194         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
16195         entry for 2.16.
16197 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
16199         * math/w_acos.c: Use non-signaling floating-point comparisons.
16200         * math/w_acosf.c: Likewise.
16201         * math/w_acosh.c: Likewise.
16202         * math/w_acoshf.c: Likewise.
16203         * math/w_acoshl.c: Likewise.
16204         * math/w_acosl.c: Likewise.
16205         * math/w_asin.c: Likewise.
16206         * math/w_asinf.c: Likewise.
16207         * math/w_asinl.c: Likewise.
16208         * math/w_atanh.c: Likewise.
16209         * math/w_atanhf.c: Likewise.
16210         * math/w_atanhl.c: Likewise.
16211         * math/w_exp2.c: Likewise.
16212         * math/w_exp2f.c: Likewise.
16213         * math/w_exp2l.c: Likewise.
16214         * math/w_j0.c: Likewise.
16215         * math/w_j0f.c: Likewise.
16216         * math/w_j0l.c: Likewise.
16217         * math/w_j1.c: Likewise.
16218         * math/w_j1f.c: Likewise.
16219         * math/w_j1l.c: Likewise.
16220         * math/w_jn.c: Likewise.
16221         * math/w_jnf.c: Likewise.
16222         * math/w_log.c: Likewise.
16223         * math/w_log10.c: Likewise.
16224         * math/w_log10f.c: Likewise.
16225         * math/w_log10l.c: Likewise.
16226         * math/w_log2.c: Likewise.
16227         * math/w_log2f.c: Likewise.
16228         * math/w_log2l.c: Likewise.
16229         * math/w_logf.c: Likewise.
16230         * math/w_logl.c: Likewise.
16231         * math/w_sqrt.c: Likewise.
16232         * math/w_sqrtf.c: Likewise.
16233         * math/w_sqrtl.c: Likewise.
16234         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16235         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16236         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16237         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16238         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16240 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
16242         [BZ #9739]
16243         * manual/string.texi (strnlen): Use correct parameter name in
16244         equivalent expression.
16246 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
16248         [BZ #11174]
16249         * manual/users.texi (seteuid): Consistently use neweuid for
16250         argument name.
16252 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
16254         [BZ #13704]
16255         * manual/nss.texi (Services in the NSS configuration): Correct
16256         list of services in example configuration file.
16258 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
16260         [BZ #11322]
16261         * manual/arith.texi: Remove statements about negative zero
16262         behaving identically to zero.
16264 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
16266         [BZ #5993]
16267         * manual/install.texi: Do not document upgrading from libc5.
16269 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
16271         [BZ #4596]
16272         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
16274 2012-02-18  David S. Miller  <davem@davemloft.net>
16276         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
16277         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
16278         %o7 across the call.
16279         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
16280         instead.
16281         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
16282         SETUP_PIC_REG_LEAF.
16283         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16284         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
16285         * sysdeps/sparc/crtn.S: Likewise.
16287 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
16289         * aout/Makefile: Remove.
16291 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
16293         [BZ #13058]
16294         * manual/examples/argp-ex1.c (main): Format definition in GNU
16295         style.
16296         * manual/examples/argp-ex2.c (main): Likewise.
16297         * manual/examples/argp-ex3.c (main): Likewise.
16298         * manual/examples/argp-ex4.c (main): Likewise.
16299         * manual/examples/longopt.c (main): Use new-style prototype
16300         definition.
16301         * manual/examples/strncat.c (main): Specify return type and use
16302         (void) for arguments.
16303         * manual/examples/subopt.c (main): Use char **argv argument.
16305 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
16307         [BZ #5077]
16308         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
16309         rounding modes.
16311 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
16313         [BZ #6907]
16314         * manual/string.texi (strchr): Change when strchrnul is
16315         recommended.
16317 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
16319         [BZ #174]
16320         * manual/locale.texi (setlocale): Document LOCPATH.
16322 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
16324         [BZ #10210]
16325         * manual/process.texi (execle): Move @dots{} before last argument.
16327 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
16329         [BZ #12047]
16330         * manual/charset.texi (Generic Charset Conversion): Fix typo
16331         (LC_TYPE -> LC_CTYPE).
16333 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
16335         [BZ #5805]
16336         * manual/arith.texi (scalbn): Use @var{} on parameter names.
16337         (scalbnf): Likewise.
16338         (scalbnl): Likewise.
16339         (scalbln): Likewise.
16340         (scalblnf): Likewise.
16341         (scalblnl): Likewise.
16342         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
16343         (vwarnx): Likewise.
16344         (verr): Likewise.
16345         (verrx): Likewise.
16346         * manual/filesys.texi (telldir): Use braces around return type.
16347         * manual/llio.texi (mmap): Add space after comma.
16348         (mmap64): Likewise.
16349         * manual/math.texi (jn): Use @var{} on parameter names.
16350         (jnf): Likewise.
16351         (jnl): Likewise.
16352         (yn): Likewise.
16353         (ynf): Likewise.
16354         (ynl): Likewise.
16355         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
16356         line.
16357         * manual/resource.texi (ulimit): Use @dots{} instead of literal
16358         "...".
16359         (sched_get_priority_min): Remove semicolon on @deftypefun line.
16360         (sched_get_priority_max): Likewise.
16361         * manual/signal.texi (sigvec): Add space after comma.
16362         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
16363         names.
16364         (if_indextoname): Likewise.
16365         (if_freenameindex): Likewise.
16366         (sendto): Use ',' instead of '.' in prototype.
16367         * manual/startup.texi (syscall): Use @dots{} instead of literal
16368         "...".
16369         * manual/stdio.texi (__fpending): Separate initial words of
16370         paragraph from @deftypefun line.
16371         * manual/syslog.texi (syslog): Use @dots{} instead of literal
16372         "...".
16373         (vsyslog): Use @var{} on parameter names.
16374         * manual/terminal.texi (stty): Use @var{} on parameter names.
16375         * manual/users.texi (getutmp): Use @var{} on parameter names.
16376         (getutmpx): Likewise.
16378 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
16380         [BZ #6884]
16381         * manual/stdio.texi (fopen): Fix typos in description of
16382         ",ccs=STRING".
16384 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
16386         [BZ #4026]
16387         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
16388         get clock_id definition.
16390 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
16392         [BZ #4822]
16393         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
16394         (madvise): Cast every argument to void on its own.
16396 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
16398         [BZ #9902]
16399         * manual/startup.texi (Exit Status): Fix typo.
16401 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
16403         [BZ #10140]
16404         * manual/examples/argp-ex1.c: Include <stdlib.h>.
16405         * manual/examples/argp-ex2.c: Likewise.
16406         * manual/examples/argp-ex3.c: Likewise.
16408 2012-02-16  Richard Henderson  <rth@redhat.com>
16410         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
16411         * sysdeps/s390/s390-32/initfini.c: Remove.
16412         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
16413         * sysdeps/s390/s390-64/initfini.c: Remove.
16415 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16417         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
16418         compiler output for sysdeps/generic/initfini.c.
16419         * sysdeps/sh/elf/initfini.c: Remove file.
16421 2012-02-16  David S. Miller  <davem@davemloft.net>
16423         [BZ #11494]
16424         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
16426         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
16427         * sysdeps/sparc/crti.S: New file.
16428         * sysdeps/sparc/crtn.S: New file.
16429         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
16430         * sysdeps/sparc/sparc64/Makefile: Likewise.
16432 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
16434         [BZ #3335]
16435         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
16437 2012-02-15  Roland McGrath  <roland@hack.frob.com>
16439         [BZ #4822]
16440         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
16442         * mach/devstream.c (cookie_io_functions_t): Macro removed.
16443         (write, read, close): Likewise.
16444         Patch by Aurelien Jarno <aurelien@aurel32.net>.
16446 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
16448         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
16449         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
16450         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
16451         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
16452         <bits/signalfd.h>.
16453         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
16454         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16455         bits/signalfd.h.
16457 2012-02-14  Marek Polacek  <polacek@redhat.com>
16459         * sysdeps/x86_64/crti.S: New file.
16460         * sysdeps/x86_64/crtn.S: New file.
16461         * sysdeps/x86_64/elf/initfini.c: Remove file.
16463 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
16465         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
16466         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
16467         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
16468         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
16469         <bits/inotify.h>.
16470         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
16471         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16472         bits/inotify.h.
16474 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
16476         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
16477         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
16478         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
16479         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
16480         <bits/eventfd.h>.
16481         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
16482         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16483         bits/eventfd.h.
16485 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
16487         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
16488         __feraiseexcept instead of feraiseexcept.
16490         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
16491         nanosleep invocations.
16492         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
16493         strings, and add error checking for a nanosleep invocations.
16495 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
16497         Replace FSF snail mail address with URLs, as per GNU coding standards.
16498         Most of the snail mail addresses were wrong anyway, and omitting
16499         them makes the source code easier to maintain.  Almost all of the
16500         changes are to license notices and to locale LC_IDENTIFICATION
16501         addresses, except for this one:
16502         * manual/libc.texinfo: In "Published by", give the FSF's URL,
16503         not its snail mail address.
16505 2012-02-09  Richard Henderson  <rth@twiddle.net>
16507         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
16508         of kernel-features.h.
16510         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
16512 2012-02-08  Marek Polacek  <polacek@redhat.com>
16514         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
16515         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
16516         * sysdeps/gnu/_G_config.h: Likewise.
16517         * sysdeps/generic/_G_config.h: Likewise.
16519 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
16521         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
16522         tests.
16523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16525         * sysdeps/powerpc/powerpc32/crti.S: New file.
16526         * sysdeps/powerpc/powerpc32/crtn.S: New file.
16527         * sysdeps/powerpc/powerpc64/crti.S: New file.
16528         * sysdeps/powerpc/powerpc64/crtn.S: New file.
16530         * Makeconfig (have-initfini): Don't set.
16531         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
16532         * configure.in (nopic_initfini): Don't substitute.
16533         * config.h.in (HAVE_INITFINI): Don't #undef.
16534         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
16535         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
16537 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
16539         Support crti.S and crtn.S provided directly by architectures.
16540         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
16541         [crti.S in sysdirs] (omit-deps): Likewise.
16542         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
16543         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
16544         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
16545         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
16546         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
16547         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
16548         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
16549         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
16550         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
16551         compiler output for sysdeps/generic/initfini.c.
16552         * sysdeps/i386/elf/Makefile: Remove file.
16553         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
16555 2012-02-07  Marek Polacek  <polacek@redhat.com>
16557         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
16558         * sysdeps/gnu/_G_config.h: Likewise.
16559         * sysdeps/mach/hurd/_G_config.h: Likewise.
16561 2012-02-07  Marek Polacek  <polacek@redhat.com>
16563         * math/Makefile (tests): Add tst-CMPLX2.
16564         * math/tst-CMPLX2.c: New file.
16566 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
16568         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16570         * math/libm-test.inc (jn_test): Add missing L suffix.
16572 2012-02-06  Marek Polacek  <polacek@redhat.com>
16574         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
16575         * sysdeps/i386/fpu/e_powf.S: Likewise.
16576         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16577         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16578         * sysdeps/i386/fpu/e_acosh.S: Likewise.
16579         * sysdeps/i386/fpu/e_pow.S: Likewise.
16580         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16581         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16582         * sysdeps/i386/fpu/s_expm1.S: Likewise.
16583         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16584         * sysdeps/i386/fpu/e_log2.S: Likewise.
16585         * sysdeps/i386/fpu/e_log2l.S: Likewise.
16586         * sysdeps/i386/fpu/e_scalb.S: Likewise.
16587         * sysdeps/i386/fpu/e_powl.S: Likewise.
16588         * sysdeps/i386/fpu/s_log1p.S: Likewise.
16589         * sysdeps/i386/fpu/e_log10f.S: Likewise.
16590         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16591         * sysdeps/i386/fpu/e_logl.S: Likewise.
16592         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16593         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
16594         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16595         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16596         * sysdeps/i386/fpu/e_log2f.S: Likewise.
16597         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16598         * sysdeps/i386/fpu/e_log.S: Likewise.
16599         * sysdeps/i386/fpu/s_cexp.S: Likewise.
16600         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16601         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
16602         * sysdeps/i386/fpu/e_logf.S: Likewise.
16603         * sysdeps/i386/fpu/e_log10l.S: Likewise.
16604         * sysdeps/i386/fpu/e_atanh.S: Likewise.
16605         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
16606         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16607         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16608         * sysdeps/i386/fpu/e_log10.S: Likewise.
16609         * sysdeps/i386/fpu/s_frexp.S: Likewise.
16610         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16611         * sysdeps/i386/fpu/s_asinh.S: Likewise.
16612         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16613         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16614         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16615         * sysdeps/i386/asm-syntax.h: Likewise.
16616         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16617         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16618         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16619         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
16620         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
16621         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16622         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16623         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16624         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16625         * sysdeps/powerpc/sysdep.h: Likewise.
16626         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
16627         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16629 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
16631         [BZ #411]
16632         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
16634 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
16636         * sysdeps/i386/sysdep.h: Include <features.h>.
16637         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
16638         version.
16640 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
16642         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
16643         Define.
16644         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
16645         LOAD_PIC_REG_STR.
16647 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
16649         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
16650         (SETUP_PIC_REG): Use GET_PC_THUNK.
16651         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
16652         macro.
16654 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
16656         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
16657         for non-PIC compilation.
16658         (SETUP_PIC_REG): Add .p2align directive.
16659         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
16660         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
16661         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16662         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16663         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16664         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16665         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16666         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16667         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16668         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16669         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16670         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16671         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16672         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16673         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16674         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16675         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16676         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16677         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16678         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16679         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16680         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16681         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16682         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16683         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16684         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16685         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16686         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16687         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16688         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16689         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16690         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16691         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16692         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16693         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16694         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16695         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16696         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16697         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16698         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16699         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16701 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
16703         * math/tst-CMPLX.c: Include <stdio.h>.
16705 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
16707         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
16708         float.
16709         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16710         * sysdeps/sparc/bits/mathdef.h: Likewise.
16712 2012-01-31  Marek Polacek  <polacek@redhat.com>
16714         * libio/libio.h: Don't define _PARAMS.
16715         * locale/programs/config.h: Don't define PARAMS.
16716         * stdlib/strtol_l.c: Likewise.
16717         (__strtol_l): Remove PARAMS from the prototype.
16719 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
16721         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
16722         names.  Just use the correct names.  Remove unnecessary wrapper
16723         functions.
16724         * malloc/arena.c: Likewise.
16725         * malloc/hooks.c: Likewise.
16727         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
16728         ARENA_TEST says not to.  Simplify test for creation of a new arena.
16729         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
16731 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
16733         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
16734         into tail calls.
16735         (update_get_addr): New function.
16736         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
16737         GET_ADDR_MODULE parameter.
16739 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
16741         * crypt/cert.c: Remove __STDC__ conditionals.
16742         * crypt/crypt-entry.c: Likewise.
16743         * crypt/crypt_util.c: Likewise.
16744         * libio/filedoalloc.c: Likewise.
16745         * libio/fileops.c: Likewise.
16746         * libio/genops.c: Likewise.
16747         * libio/iofclose.c: Likewise.
16748         * libio/iofdopen.c: Likewise.
16749         * libio/iofopen.c: Likewise.
16750         * libio/iofopen64.c: Likewise.
16751         * libio/iogetdelim.c: Likewise.
16752         * libio/iopopen.c: Likewise.
16753         * libio/obprintf.c: Likewise.
16754         * libio/oldfileops.c: Likewise.
16755         * libio/oldiofclose.c: Likewise.
16756         * libio/oldiofdopen.c: Likewise.
16757         * libio/oldiofopen.c: Likewise.
16758         * libio/oldiopopen.c: Likewise.
16759         * libio/wfiledoalloc.c: Likewise.
16760         * libio/wgenops.c: Likewise.
16761         * locale/programs/xmalloc.c: Likewise.
16762         * misc/syslog.c: Likewise.
16763         * stdio-common/xbug.c: Likewise.
16764         * string/memchr.c: Likewise.
16765         * string/memcmp.c: Likewise.
16766         * string/memrchr.c: Likewise.
16767         * string/rawmemchr.c: Likewise.
16768         * sysdeps/posix/getcwd.c: Likewise.
16769         * time/strftime_l.c: Likewise.
16771 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
16773         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
16774         * config.make.in (config-cflags-sse2avx): Define.
16775         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
16776         Fix typo.
16778 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
16780         * scripts/config.guess: Update from upstream config git repository.
16781         * scripts/config.sub: Likewise.
16783 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
16785         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
16786         (EM_NUM): Update.
16787         (R_TILEPRO_*, R_TILEGX_*): New macros.
16789         * scripts/firstversions.awk: Fix bug in version range handling.
16791         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
16793         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
16795         * include/sys/epoll.h: New file.
16796         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
16797         libc_hidden_def.
16799 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
16801         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
16802         Avoid unnecessary __WORDSIZE == 64 test.
16803         (fmaxf): Use VEX format if possible.
16804         (fmax): Likewise.
16805         (fminf): Likewise.
16806         (fmin): Likewise.
16808         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
16809         * math/math_private.h: Remove libc_fegetround* and
16810         libc_fesetround*.
16811         * sysdeps/i386/configure.in: Check for -msse2avx.
16812         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
16813         also if SSE2AVX is defined.
16814         Remove libc_fegetround* and libc_fesetround*.
16815         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
16816         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
16817         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
16818         of HAS_YMM_USABLE.
16819         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16820         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16821         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16822         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16823         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16825         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
16827 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16829         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
16830         size is not set.
16831         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16833 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
16835         [BZ #13618]
16836         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
16837         relocation.
16838         * Makeconfig (libm): Define.
16839         * elf/Makefile: Add rules to build and run tst-relsort1.
16840         * elf/tst-relsort1.c: New file.
16841         * elf/tst-relsort1mod1.c: New file.
16842         * elf/tst-relsort1mod2.c: New file.
16844 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
16846         * math/s_ldexp.c: Remove __STDC__ conditionals.
16847         * math/s_ldexpf.c: Likewise.
16848         * math/s_ldexpl.c: Likewise.
16849         * math/s_nextafter.c: Likewise.
16850         * math/s_nexttowardf.c: Likewise.
16851         * math/s_significand.c: Likewise.
16852         * math/s_significandf.c: Likewise.
16853         * math/s_significandl.c: Likewise.
16854         * math/w_jnl.c: Likewise.
16855         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16856         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16857         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16858         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16859         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16860         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16861         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
16862         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16863         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16864         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16865         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16866         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16867         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16868         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16869         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16870         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16871         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16872         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16873         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16874         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16875         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16876         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16877         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16878         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16879         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16880         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16881         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16882         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16883         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16884         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16885         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16886         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16887         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16888         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16889         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16890         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16891         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16892         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16893         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16894         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16895         * sysdeps/ieee754/k_standard.c: Likewise.
16896         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16897         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16898         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16899         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16900         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16901         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16902         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16903         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16904         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16905         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16906         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16907         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16908         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16909         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16910         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16911         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16912         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16913         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16914         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16915         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16916         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16917         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16918         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16919         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16920         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16921         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16922         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16923         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16924         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16925         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16926         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16927         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
16928         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16929         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16930         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16931         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16932         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
16933         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16934         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16935         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
16936         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
16937         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16938         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16939         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
16940         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16941         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16942         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16943         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16944         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16945         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16946         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
16947         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16948         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16949         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16950         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16951         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16952         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
16953         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16954         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16955         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16956         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16957         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16958         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16959         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16960         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16961         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16962         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16963         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16964         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16965         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16966         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16967         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16968         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16969         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16970         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16971         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16972         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16973         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16974         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16975         * sysdeps/ieee754/s_matherr.c: Likewise.
16976         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16977         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16978         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16979         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16981 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
16983         * crypt/md5.h: Remove __STDC__ conditionals.
16984         * libio/libioP.h: Likewise.
16985         * locale/programs/config.h: Likewise.
16986         * sysdeps/generic/sysdep.h: Likewise.
16987         * sysdeps/i386/asm-syntax.h: Likewise.
16988         * sysdeps/s390/asm-syntax.h: Likewise.
16989         * sysdeps/unix/sysdep.h: Likewise.
16990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16993 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
16995         * libio/libio.h: Remove __STDC__ conditionals.
16996         * malloc/obstack.h: Likewise.
16997         * math/complex.h: Likewise.
16998         * math/math.h: Likewise.
16999         * sysdeps/generic/_G_config.h: Likewise.
17000         * sysdeps/gnu/_G_config.h: Likewise.
17001         * sysdeps/mach/hurd/_G_config.h: Likewise.
17002         * sysdeps/powerpc/bits/mathdef.h: Likewise.
17003         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17004         * sysdeps/sparc/bits/mathdef.h: Likewise.
17006 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
17008         [BZ #13583]
17009         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
17010         Clean up HAS_* macros.
17011         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
17012         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
17013         possible.
17014         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
17015         HAS_AVX.
17016         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17017         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17018         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17019         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17020         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17022 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
17024         * elf/tst-unique3.cc (gets): Remove declaration.
17025         * elf/tst-unique3lib.cc (gets): Likewise.
17026         * elf/tst-unique3lib2.cc (gets): Likewise.
17027         * elf/tst-unique4.cc (gets): Likewise.
17029 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
17031         * include/stdio.h: Add C++ protection.  Add gets declarations and
17032         definitions.
17033         * debug/tst-chk1.c: Don't declare gets here.
17034         * stdio-common/tst-gets.c: Likewise.
17036 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
17038         * posix/glob: Remove directory.
17040 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
17042         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
17044 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
17046         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
17047         of the non-standard EPFNOSUPPORT.
17049 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17051         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
17052         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
17053         ANYWHERE set to 1 only on KERN_NO_SPACE error.
17055 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
17057         * wcsmbs/uchar.h: Test __STDC_VERSION__.
17059 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
17061         * nscd/aicache.c (addhstaiX): Do not cache negative results of
17062         transient errors.
17063         * nscd/grpcache.c (cache_addgr): Likewise.
17064         * nscd/hstcache.c (cache_addhst): Likewise.
17065         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17066         * nscd/pwdcache.c (cache_addpw): Likewise.
17067         * nscd/servicescache.c (cache_addserv): Likewise.
17069 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
17071         * malloc/malloc.c: Various cleanups.
17072         * malloc/hooks.c: Likewise.
17074         * stdlib/Makefile (tests): Add bug-fmtmsg1.
17075         * stdlib/bug-fmtmsg1.c: New file.
17077         * stdlib/fmtmsg.c (init): Add missing unlock.
17078         Patch by Peng Haitao <penght@cn.fujitsu.com>.
17080 2012-01-12  Marek Polacek  <polacek@redhat.com>
17082         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
17083         and _GNU_SOURCE.
17085 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
17087         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
17088         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
17089         macro to ensure uniqueness of label name.
17090         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17091         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17093 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
17095         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
17097         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
17098         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17099         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17100         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
17102 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
17104         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
17106         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
17107         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17108         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17110         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
17112         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
17113         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17114         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17115         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
17117         * math/bits/math-finite.h: Add ldexp support.
17119 2012-01-10  Marek Polacek  <polacek@redhat.com>
17121         * locale/programs/localedef.h (show_archive_content): Add noreturn
17122         attribute.
17124 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
17126         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
17128 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
17130         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
17132         * io/Makefile (headers): Add bits/poll2.h.
17134 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
17136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
17137         typo #include statement.
17139 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
17141         * include/sys/cdefs.h: Define __attribute_alloc_size.
17142         * catgets/gencat.c: Add alloc_size attribute and apply consistently
17143         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
17144         * elf/pldd.c: Likewise.
17145         * iconv/iconv_charmap.c: Likewise.
17146         * iconv/iconvconfig.c: Likewise.
17147         * iconv/strtab.c: Likewise.
17148         * locale/programs/locale.c: Likewise.
17149         * locale/programs/localedef.h: Likewise.
17150         * locale/programs/simple-hash.c: Likewise.
17151         * nscd/nscd.h: Likewise.
17152         * nss/makedb.c: Likewise.
17153         * sysdeps/generic/ldconfig.h: Likewise.
17154         * locale/programs/localedef.c: Remove xmalloc prototype.
17155         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
17157 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17159         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
17160         appropriate.
17162 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
17164         * math/Makefile (tests): Add tst-CMPLX.
17165         * math/tst-CMPLX.c: New file.
17167         * math/complex.h (CMPLXL): Fix typo.
17169         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
17170         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
17171         GLIBC_2.16.
17172         * debug/tst-chk1.c: Add poll and ppoll tests.
17173         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
17174         * include/sys/poll.h: Add hidden proto for ppoll.
17175         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
17176         * sysdeps/mach/hurd/ppoll.c: Likewise.
17177         * io/ppoll.c: Likewise.
17178         * debug/poll_chk.c: New file.
17179         * debug/ppoll_chk.c: New file.
17180         * include/bits/poll2.h: New file.
17181         * io/bits/poll2.h: New file.
17183         [BZ #1350]
17184         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
17186         * configure.in: static is always set to yes.  Remove.
17187         * config.make.in: Don't set build-static.
17188         * Makeconfig: Remove use of build-static.
17189         * dlfcn/Makefile: Likewise.
17190         * elf/Makefile: Likewise.
17191         * math/Makefile: Likewise.
17192         * misc/Makefile: Likewise.
17193         * nptl/Makefile: Likewise.
17194         * sysdeps/mach/hurd/Makefile: Likewise.
17196         * configure.in: PWD_P is not used anymore.
17197         * config.make.in: Remove PWD_P entry.
17199         * configure.in: Remove last remnants of RANLIB.
17200         No need to check for signed size_t anymore.
17201         Don't set libc_commonpagesize and libc_relro_required here for Alpha
17202         and IA-64.
17203         Remove __builtin_expect test because we require at least gcc 3.4.
17204         * aclocal.m4: Likewise.
17206         * wcsmbs/mbrtoc16.c: Implement using towc function.
17207         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
17208         * wcsmbs/wcsmbsload.c: Likewise.
17209         * iconv/gconv_simple.c: Likewise.
17210         * iconv/gconv_int.h: Likewise.
17211         * iconv/gconv_builtin.h: Likewise.
17212         * iconv/iconv_prog.c: Remove CHAR16 handling.
17214         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
17216         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
17218         * configure.in: Remove --with-elf and --enable-bounded options.
17219         Dont set base_machine for ia64.  More non-ELF conditions removed.
17220         Remove testing and setting of leading underscore information.
17221         * config.make.in (build-bounded): Set to no.
17222         * config.h.in: Remove NO_UNDERSCORES entry.
17223         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
17224         them.
17225         * csu/start.c: Remove !NO_UNDERSCORE code.
17226         * locale/localeinfo.h: Likewise.
17227         * sysdeps/generic/machine-gmon.h: Likewise.
17228         * sysdeps/generic/sysdep.h: Likewise.
17229         * sysdeps/i386/sysdep.h: Likewise.
17230         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17231         * sysdeps/mach/sysdep.h: Likewise.
17232         * sysdeps/s390/s390-32/sysdep.h: Likewise.
17233         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17234         * sysdeps/sh/sysdep.h: Likewise.
17235         * sysdeps/sparc/sparc32/alloca.S: Likewise.
17236         * sysdeps/unix/i386/sysdep.S: Likewise.
17237         * sysdeps/unix/sparc/start.c: Likewise.
17238         * sysdeps/unix/sparc/sysdep.S: Likewise.
17239         * sysdeps/unix/sparc/sysdep.h: Likewise.
17240         * sysdeps/unix/start.c: Likewise.
17241         * sysdeps/unix/x86_64/sysdep.S: Likewise.
17242         * sysdeps/x86_64/sysdep.h: Likewise.
17244 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
17246         [BZ #13553]
17247         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
17248         for non-gcc.
17249         * argp/argp-fmtstream.h: Use const instead __const.
17250         * argp/argp.h: Likewise.
17251         * assert/assert.h: Likewise.
17252         * bits/fenv.h: Likewise.
17253         * bits/sched.h: Likewise.
17254         * bits/sigset.h: Likewise.
17255         * bits/sigthread.h: Likewise.
17256         * catgets/nl_types.h: Likewise.
17257         * conform/data/pthread.h-data: Likewise.
17258         * crypt/crypt-private.h: Likewise.
17259         * crypt/crypt.h: Likewise.
17260         * crypt/crypt_util.c: Likewise.
17261         * ctype/ctype.h: Likewise.
17262         * debug/execinfo.h: Likewise.
17263         * debug/mbsnrtowcs_chk.c: Likewise.
17264         * debug/mbsrtowcs_chk.c: Likewise.
17265         * debug/wcsnrtombs_chk.c: Likewise.
17266         * debug/wcsrtombs_chk.c: Likewise.
17267         * debug/wcstombs_chk.c: Likewise.
17268         * dirent/dirent.h: Likewise.
17269         * dlfcn/dlfcn.h: Likewise.
17270         * elf/neededtest4.c: Likewise.
17271         * grp/grp.h: Likewise.
17272         * gshadow/gshadow.h: Likewise.
17273         * iconv/gconv.h: Likewise.
17274         * iconv/gconv_int.h: Likewise.
17275         * iconv/gconv_simple.c: Likewise.
17276         * iconv/iconv.h: Likewise.
17277         * iconv/loop.c: Likewise.
17278         * iconv/skeleton.c: Likewise.
17279         * include/aio.h: Likewise.
17280         * include/aliases.h: Likewise.
17281         * include/argz.h: Likewise.
17282         * include/arpa/inet.h: Likewise.
17283         * include/assert.h: Likewise.
17284         * include/dirent.h: Likewise.
17285         * include/dlfcn.h: Likewise.
17286         * include/execinfo.h: Likewise.
17287         * include/fcntl.h: Likewise.
17288         * include/fenv.h: Likewise.
17289         * include/glob.h: Likewise.
17290         * include/grp.h: Likewise.
17291         * include/libintl.h: Likewise.
17292         * include/mntent.h: Likewise.
17293         * include/netdb.h: Likewise.
17294         * include/pwd.h: Likewise.
17295         * include/rpc/netdb.h: Likewise.
17296         * include/sched.h: Likewise.
17297         * include/search.h: Likewise.
17298         * include/shadow.h: Likewise.
17299         * include/signal.h: Likewise.
17300         * include/stdio.h: Likewise.
17301         * include/stdlib.h: Likewise.
17302         * include/string.h: Likewise.
17303         * include/sys/socket.h: Likewise.
17304         * include/sys/stat.h: Likewise.
17305         * include/sys/statfs.h: Likewise.
17306         * include/sys/statvfs.h: Likewise.
17307         * include/sys/syslog.h: Likewise.
17308         * include/sys/time.h: Likewise.
17309         * include/sys/uio.h: Likewise.
17310         * include/time.h: Likewise.
17311         * include/unistd.h: Likewise.
17312         * include/utmp.h: Likewise.
17313         * include/wchar.h: Likewise.
17314         * include/wctype.h: Likewise.
17315         * inet/aliases.h: Likewise.
17316         * inet/arpa/inet.h: Likewise.
17317         * inet/netinet/ether.h: Likewise.
17318         * inet/netinet/in.h: Likewise.
17319         * intl/libintl.h: Likewise.
17320         * io/bits/fcntl2.h: Likewise.
17321         * io/fcntl.h: Likewise.
17322         * io/ftw.h: Likewise.
17323         * io/sys/poll.h: Likewise.
17324         * io/sys/stat.h: Likewise.
17325         * io/sys/statfs.h: Likewise.
17326         * io/sys/statvfs.h: Likewise.
17327         * io/utime.h: Likewise.
17328         * libio/bits/stdio.h: Likewise.
17329         * libio/bits/stdio2.h: Likewise.
17330         * libio/libio.h: Likewise.
17331         * libio/libioP.h: Likewise.
17332         * libio/stdio.h: Likewise.
17333         * locale/lc-ctype.c: Likewise.
17334         * locale/locale.h: Likewise.
17335         * login/utmp.h: Likewise.
17336         * malloc/arena.c: Likewise.
17337         * malloc/malloc.c: Likewise.
17338         * malloc/malloc.h: Likewise.
17339         * malloc/mcheck.c: Likewise.
17340         * malloc/mtrace.c: Likewise.
17341         * math/bits/mathcalls.h: Likewise.
17342         * math/fenv.h: Likewise.
17343         * math/math_private.h: Likewise.
17344         * misc/bits/error.h: Likewise.
17345         * misc/bits/syslog.h: Likewise.
17346         * misc/err.h: Likewise.
17347         * misc/error.h: Likewise.
17348         * misc/fstab.h: Likewise.
17349         * misc/mntent.h: Likewise.
17350         * misc/regexp.h: Likewise.
17351         * misc/search.h: Likewise.
17352         * misc/sgtty.h: Likewise.
17353         * misc/sys/mman.h: Likewise.
17354         * misc/sys/syslog.h: Likewise.
17355         * misc/sys/uio.h: Likewise.
17356         * misc/sys/xattr.h: Likewise.
17357         * misc/ttyent.h: Likewise.
17358         * nis/rpcsvc/ypclnt.h: Likewise.
17359         * nss/nss.h: Likewise.
17360         * posix/bits/unistd.h: Likewise.
17361         * posix/fnmatch.h: Likewise.
17362         * posix/glob.h: Likewise.
17363         * posix/sched.h: Likewise.
17364         * posix/spawn.h: Likewise.
17365         * posix/sys/wait.h: Likewise.
17366         * posix/unistd.h: Likewise.
17367         * posix/wordexp.h: Likewise.
17368         * pwd/pwd.h: Likewise.
17369         * resolv/netdb.h: Likewise.
17370         * resource/sys/resource.h: Likewise.
17371         * rt/aio.h: Likewise.
17372         * rt/bits/mqueue2.h: Likewise.
17373         * rt/mqueue.h: Likewise.
17374         * shadow/shadow.h: Likewise.
17375         * signal/signal.h: Likewise.
17376         * socket/send.c: Likewise.
17377         * socket/sendto.c: Likewise.
17378         * socket/sys/socket.h: Likewise.
17379         * stdio-common/printf.h: Likewise.
17380         * stdlib/bits/stdlib.h: Likewise.
17381         * stdlib/fmtmsg.h: Likewise.
17382         * stdlib/monetary.h: Likewise.
17383         * stdlib/stdlib.h: Likewise.
17384         * stdlib/ucontext.h: Likewise.
17385         * streams/stropts.h: Likewise.
17386         * string/argz.h: Likewise.
17387         * string/bits/string2.h: Likewise.
17388         * string/string.h: Likewise.
17389         * string/strings.h: Likewise.
17390         * sunrpc/rpc/auth.h: Likewise.
17391         * sunrpc/rpc/auth_des.h: Likewise.
17392         * sunrpc/rpc/clnt.h: Likewise.
17393         * sunrpc/rpc/netdb.h: Likewise.
17394         * sunrpc/rpc/pmap_clnt.h: Likewise.
17395         * sunrpc/rpc/xdr.h: Likewise.
17396         * sysdeps/generic/inttypes.h: Likewise.
17397         * sysdeps/generic/net/if.h: Likewise.
17398         * sysdeps/generic/sys/swap.h: Likewise.
17399         * sysdeps/gnu/net/if.h: Likewise.
17400         * sysdeps/gnu/utmpx.h: Likewise.
17401         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
17402         * sysdeps/i386/i486/bits/string.h: Likewise.
17403         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
17404         * sysdeps/s390/bits/string.h: Likewise.
17405         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
17406         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
17407         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
17408         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
17409         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
17410         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
17411         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
17412         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
17413         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
17414         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
17415         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
17416         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17417         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
17418         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17419         * sysdeps/unix/sysv/linux/readv.c: Likewise.
17420         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
17421         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17422         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17423         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17424         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17425         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17426         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
17427         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
17428         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
17429         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
17430         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
17431         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
17432         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17433         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
17434         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
17435         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
17436         * sysvipc/sys/ipc.h: Likewise.
17437         * sysvipc/sys/msg.h: Likewise.
17438         * sysvipc/sys/sem.h: Likewise.
17439         * sysvipc/sys/shm.h: Likewise.
17440         * termios/termios.h: Likewise.
17441         * time/sys/time.h: Likewise.
17442         * time/time.h: Likewise.
17443         * wcsmbs/bits/wchar2.h: Likewise.
17444         * wcsmbs/uchar.h: Likewise.
17445         * wcsmbs/wchar.h: Likewise.
17446         * wctype/wctype.h: Likewise.
17448         [BZ #13551]
17449         * Makeconfig: Remove all but ELF support including AIX support.
17450         * Makerules: Likewise.
17451         * config.h.in: Likewise.
17452         * config.make.in: Likewise.
17453         * configure: Likewise.
17454         * configure.in: Likewise.
17455         * csu/Makefile: Likewise.
17456         * csu/version.c: Likewise.
17457         * debug/Makefile: Likewise.
17458         * dlfcn/Makefile: Likewise.
17459         * elf/Makefile: Likewise.
17460         * extra-lib.mk: Likewise.
17461         * iconv/Makefile: Likewise.
17462         * include/libc-symbols.h: Likewise.
17463         * include/shlib-compat.h: Likewise.
17464         * resolv/Makefile: Likewise.
17465         * resolv/res_libc.c: Likewise.
17466         * rt/Makefile: Likewise.
17467         * sysdeps/i386/asm-syntax.h: Likewise.
17468         * sysdeps/i386/sysdep.h: Likewise.
17469         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17470         * sysdeps/mach/sysdep.h: Likewise.
17471         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
17472         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
17473         * sysdeps/s390/asm-syntax.h: Likewise.
17474         * sysdeps/s390/s390-32/sysdep.h: Likewise.
17475         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17476         * sysdeps/sh/sysdep.h: Likewise.
17477         * sysdeps/unix/sparc/sysdep.h: Likewise.
17478         * sysdeps/wordsize-32/divdi3.c: Likewise.
17479         * sysdeps/x86_64/sysdep.h: Likewise.
17481         * argp/Versions: Remove _argp_unlock_xxx.
17483         [BZ #13559]
17484         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
17485         * abilist/libBrokenLocale.abilist: Likewise.
17486         * abilist/libanl.abilist: Likewise.
17487         * abilist/libc.abilist: Likewise.
17488         * abilist/libcrypt.abilist: Likewise.
17489         * abilist/libdl.abilist: Likewise.
17490         * abilist/libm.abilist: Likewise.
17491         * abilist/libnsl.abilist: Likewise.
17492         * abilist/libpthread.abilist: Likewise.
17493         * abilist/libresolv.abilist: Likewise.
17494         * abilist/librt.abilist: Likewise.
17495         * abilist/libthread_db.abilist: Likewise.
17496         * abilist/libutil.abilist: Likewise.
17497         * abilist/libnss_db.abilist: New file.
17499         * scripts/abilist.awk: Add support for indirect functions.
17501         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
17503         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
17505         * shlib-versions: Remove entries for ports architectures.
17507         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
17508         files in ports.
17509         * elf/stackguard-macros.h: Remove support for IA-64.
17510         * elf/tst-auditmod1.c: Likewise.
17511         * sysdeps/generic/ldsodefs.h: Likewise.
17513         * sysdeps/unix/sysv/linux/configure.in: Ports should define
17514         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
17515         configure files.
17517         [BZ #13552]
17518         * configure.in: Remove --enable-omitfp support.
17519         * FAQ.in: Adjust.
17520         * config.make.in: Likewise.
17521         * Makeconfig: Likewise.
17522         * manual/install.texi: Likewise.
17524         In case anyone cares, the IA-64 architecture could move to ports.
17525         * sysdeps/ia64/*: Removed.
17526         * sysdeps/unix/sysv/linux/ia64/*: Removed.
17527         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
17529         [BZ #13555]
17530         * configure.in: Remove entries for unsupported architectures.
17532         [BZ #13533]
17533         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
17534         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
17535         routines.
17536         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
17537         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
17538         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
17539         fall back to using wcrtomb.
17540         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
17541         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
17542         renaming.
17543         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
17544         * wcsmbs/tst-c16c32-1.c: New file.
17546         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
17547         local variable.
17549         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
17551         * elf/tst-unique3.cc: Add explicit declaration of gets.
17552         * elf/tst-unique3lib.cc: Likewise.
17553         * elf/tst-unique3lib2.cc: Likewise.
17554         * elf/tst-unique4.cc: Likewise.
17556         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
17558 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
17560         [BZ #13566]
17561         * assert/assert.h (static_assert): Don't define for C++.
17562         * libio/stdio.h (gets): Do declare for C++ <= C++11.
17563         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
17565 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
17567         * iconv/loop.c (single loop): Fix assertion in storing of
17568         remaining bytes.
17570         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
17572 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
17574         * posix/getconf.c: Update copyright year.
17575         * nss/getent.c: Likewise.
17576         * nss/makedb.c: Likewise.
17577         * iconv/iconvconfig.c: Likewise.
17578         * iconv/iconv_prog.c: Likewise.
17579         * elf/ldconfig.c: Likewise.
17580         * elf/pldd.c: Likewise.
17581         * elf/sotruss.ksh: Likewise.
17582         * catgets/gencat.c: Likewise.
17583         * csu/version.c: Likewise.
17584         * elf/ldd.bash.in: Likewise.
17585         * elf/sprof.c (print_version): Likewise.
17586         * locale/programs/locale.c: Likewise.
17587         * locale/programs/localedef.c: Likewise.
17588         * login/programs/pt_chown.c: Likewise.
17589         * nscd/nscd.c (print_version): Likewise.
17590         * debug/xtrace.sh: Likewise.
17591         * malloc/memusage.sh: Likewise.
17592         * malloc/mtrace.pl: Likewise.
17593         * debug/catchsegv.sh: Likewise.
17595 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
17597         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
17598         pure attribute.
17600 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
17602         [BZ #13533]
17603         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
17604         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
17605         transformations.
17606         * iconv/gconv_int.h: Likewise.
17607         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
17608         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
17609         from libc for GLIBC_2.16.
17610         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
17611         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
17612         * wcsmbs/uchar.h: Really define mbstate_t.
17613         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
17614         * wcsmbs/c16rtomb.c: New file.
17615         * wcsmbs/mbrtoc16.c: New file.
17616         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
17617         for C/POSIX locale.
17618         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
17619         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
17621         * wcsmbs/wchar.h: Add missing __restrict.
17623 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
17625         [BZ #13532]
17626         * time/Makefile (routines): Add timespec_get.
17627         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
17628         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
17629         timespec for ISO C11.
17630         * time/timespec_get.c: New file.
17631         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
17632         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
17634         [BZ #13531]
17635         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
17636         * stdlib/stdlib.h: Declare aligned_alloc.
17637         * Versions.def: Add GLIBC_2.16 for libc.
17638         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
17640         [BZ 13527]
17641         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
17642         ISO C11.
17644         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
17645         code.
17647         [BZ #13528]
17648         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
17650         [BZ #13529]
17651         * assert/assert.h (static_assert): Define.
17653         * version.h: Update for 2.16 development version.
17655         [BZ #13526]
17656         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
17657         _ISOC11_SOURCE.
17659         * version.h (RELEASE): Bump for 2.15 release.
17660         * include/features.h (__GLIBC_MINOR__): Bump to 15.
17662         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
17663         Patch by Marek Polacek <mpolacek@redhat.com>.
17665         * bits/byteswap.h: Protect long long constants with __extension__.
17666         * sysdeps/i386/bits/byteswap.h: Likewise.
17667         * sysdeps/ia64/bits/byteswap.h: Likewise.
17668         * sysdeps/s390/bits/byteswap.h: Likewise.
17669         * sysdeps/x86_64/bits/byteswap.h: Likewise.
17671 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17673         [BZ #13540]
17674         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
17675         destination buffer.
17676         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17678 2011-12-23  Marek Polacek  <polacek@redhat.com>
17680         * elf/dl-addr.c (determine_info): Add inline keyword.
17681         * elf/tst-auditmod4b.c (check_avx): Likewise.
17682         * elf/tst-auditmod6b.c (check_avx): Likewise.
17683         * elf/tst-auditmod6c.c (check_avx): Likewise.
17684         * elf/tst-auditmod7b.c (check_avx): Likewise.
17686 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
17688         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
17689         !__SSE_MATH__.
17691 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17693         [BZ #13540]
17694         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
17695         processing for last bytes.
17697 2011-08-06  Bruno Haible  <bruno@clisp.org>
17699         [BZ #13061]
17700         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
17701         U+0385, not to U+1FEE.
17703         [BZ #13062]
17704         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
17705         entry for U+00A5 U+0301.
17707 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
17709         [BZ #13166]
17710         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
17711         buffer for the output is too small.
17713         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
17714         optimization.
17716         [BZ #13185]
17717         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
17718         SSE flags if possible.
17720 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17722         [BZ #13540]
17723         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
17724         processing for last bytes.
17726 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
17728         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
17729         (syscall-list-default-options, syscall-list-default-condition)
17730         (syscall-list-includes): Define.
17731         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
17732         list of ABIs and options and #if conditions for each ABI.  Do not
17733         handle common syscalls between ABIs specially.
17734         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
17735         Remove.
17736         (syscall-list-variants, syscall-list-32bit-options)
17737         (syscall-list-32bit-condition, syscall-list-64bit-options)
17738         (syscall-list-64bit-condition): Define.
17739         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
17740         (syscall-list-variants, syscall-list-32bit-options)
17741         (syscall-list-32bit-condition, syscall-list-64bit-options)
17742         (syscall-list-64bit-condition): Define.
17743         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
17744         Remove.
17745         (syscall-list-variants, syscall-list-32bit-options)
17746         (syscall-list-32bit-condition, syscall-list-64bit-options)
17747         (syscall-list-64bit-condition): Define.
17748         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
17749         Remove.
17750         (syscall-list-variants, syscall-list-32bit-options)
17751         (syscall-list-32bit-condition, syscall-list-64bit-options)
17752         (syscall-list-64bit-condition): Define.
17754 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
17756         * locale/iso-639.def: Add brx entry.
17758         [BZ #13328]
17759         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
17760         Proposed by Mariusz_Cukr <marcukr@op.pl>.
17762         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
17763         __feraiseexcept_renamed.
17765 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
17767         [BZ #13538]
17768         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
17769         EPOLLET with unsigned values.
17770         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17771         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17773         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
17774         to large cancellation.
17775         * math/s_cacoshf.c: Likewise.
17776         * math/s_cacoshl.c: Likewise.
17778 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
17780         [BZ #13305]
17781         [BZ #12786]
17782         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
17783         * math/s_cacoshf.c: Likewise.
17784         * math/s_cacoshl.c: Likewise.
17786 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
17788         [BZ #13439]
17789         * iconv/gconv.h: Define __GCONV_SWAP.
17790         * iconvdata/unicode.c: The swap bit must be stored in __flags.
17791         * iconvdata/utf-16.c: Likewise.
17792         * iconvdata/utf-32.c: Likewise.
17794 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
17796         [BZ #13524]
17797         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
17798         numerator after shifting it by one limb.
17800 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
17802         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
17803         under [__USE_EXTERN_INLINES].
17805 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
17807         [BZ #13446]
17808         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
17810 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17812         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
17813         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
17814         optimized code.
17815         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
17816         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
17817         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
17818         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
17819         for strncasecmp/strncasecmp_l compilation.
17820         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
17821         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
17823 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
17825         [BZ #13484]
17826         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
17827         of __asm__.
17829 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
17831         [BZ #13506]
17832         * time/tzfile.c (__tzfile_read): Check values from file header.
17834 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
17836         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
17837         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
17838         * powerpc/powerpc32/dl-start.S: Likewise.
17839         * powerpc/powerpc32/elf/start.S: Likewise.
17840         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17841         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
17842         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
17843         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
17844         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17845         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
17846         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
17847         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17848         * powerpc/powerpc32/fpu/s_round.S: Likewise.
17849         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17850         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17851         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17852         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17853         * powerpc/powerpc32/memset.S: Likewise.
17854         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17855         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17856         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17857         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17858         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17859         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17860         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17861         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17862         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
17863         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
17864         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
17865         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17866         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17868 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17870         * math/libm-test.inc: Added more nearbyint tests.
17871         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
17872         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
17873         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
17874         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
17876 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
17878         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
17879         FD_CLOEXEC.
17881 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17883         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
17884         Add wcscpy-ssse3 wcscpy-c.
17885         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
17886         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
17887         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
17888         * sysdeps/x86_64/wcschr.S: New file.
17889         * sysdeps/x86_64/wcsrchr.S: New file.
17890         * string/test-strcmp.c: Remove checking of wcscmp function for
17891         wrong alignments.
17892         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
17893         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
17894         wcsrchr-sse2 wcsrchr-c.
17895         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
17896         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
17897         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
17898         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
17899         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
17900         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
17901         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
17902         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
17903         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
17904         * wcsmbc/wcschr.c (WCSCHR): New macro.
17906 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17908         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
17909         * wcsmbs/test-wcsrchr.c: New file.
17910         * string/test-strrchr.c: Add wcsrchr support.
17911         (WIDE): New macro.
17912         * wcsmbs/test-wcscpy.c: New file.
17913         * string/test-strcpy.c: Add wcscpy support.
17914         (WIDE): New macro.
17916 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
17918         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
17919         the inner loop.
17921 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
17923         [BZ #13472]
17924         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
17926 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
17928         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
17929         Minor optimizations.
17931         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
17932         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
17933         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17935 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
17937         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
17938         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
17939         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
17940         for gcc to avoid warnings.
17941         * inet/Makefile (tests): Add tst-checks.
17942         * inet/tst-checks.c: New file.
17944         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
17945         warning.
17947         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
17948         __wmemcmp_sse2.
17950         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
17951         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
17953         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
17955 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
17957         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
17958         problem.
17960         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
17962 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
17964         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
17965         conditional on GCC version.
17966         (__arch_compare_and_exchange_val_8_acq)
17967         (__arch_compare_and_exchange_val_16_acq)
17968         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
17969         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
17970         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
17972 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
17974         * sysdeps/sh/backtrace.c: New file.
17976 2011-12-02  Andreas Schwab  <schwab@redhat.com>
17978         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
17979         parenthesis.
17981 2011-12-01  Andreas Schwab  <schwab@redhat.com>
17983         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
17984         falling back to utime.
17986 2011-11-30  Andreas Schwab  <schwab@redhat.com>
17988         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
17989         expectations for float.
17991 2011-11-29  Andreas Schwab  <schwab@redhat.com>
17993         * locale/weight.h (findidx): Add parameter len.
17994         * locale/weightwc.h (findidx): Likewise.
17995         * posix/fnmatch_loop.c (FCT): Adjust caller.
17996         * posix/regcomp.c (build_equiv_class): Likewise.
17997         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
17998         * posix/regexec.c (check_node_accept_bytes): Likewise.
17999         * string/strcoll_l.c (STRCOLL): Likewise.
18000         * string/strxfrm_l.c (STRXFRM): Likewise.
18002 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
18004         * Makefile.in: Remove CVSOPT handling.
18005         * configure.in: Remove use of AC_REVISION.
18006         * iconvdata/Makefile (distribute): No need to filter out CVS.
18007         * scripts/list-sources.sh: Remove CVS, subversion and monotone
18008         handling.
18010 2011-11-16  Andreas Schwab  <schwab@redhat.com>
18012         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
18013         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
18014         [USE_AS_STRNCASECMP_L]: Likewise.
18015         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
18016         NO_TLS_DIRECT_SEG_REFS.
18017         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
18018         Fix argument offsets for non-PIC.
18019         [USE_AS_STRNCASECMP_L]: Likewise.
18020         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
18021         NO_TLS_DIRECT_SEG_REFS.
18023 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
18025         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
18026         O_CLOEXEC.
18027         * locale/loadlocale.c (_nl_load_locale): Likewise.
18029 2011-11-15  Andreas Schwab  <schwab@redhat.com>
18031         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
18032         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
18033         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
18034         (SYSCALL_GETTIME): Set errno on error.
18036         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
18037         count references to noai6ai_cached.
18039 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
18041         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
18043         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
18044         FD_CLOEXEC for /proc/self/maps.
18046         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
18047         FD_CLOEXEC for /proc/meminfo.
18049         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
18050         gai.conf.
18052         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
18053         FD_CLOEXEC for given file.
18055         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
18057         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
18058         FD_CLOEXEC for /etc/hosts.
18059         (_gethtent): Likewise.
18061         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
18063         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
18064         cancellation and set FD_CLOEXEC for /etc/netgroup.
18066         * nss/nss_files/files-key.c (search): Don't allow cancellation when
18067         reading /etc/publickey.
18069         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
18070         allow cancellation when reading /etc/group.
18072         * nss/nss_files/files-alias.c (internal_setent): Don't allow
18073         cancellation.
18074         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
18076         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
18077         when using data file.
18079         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
18081         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
18082         (write_nis_obj): Use "c" and "e" in fopen.
18084         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
18086         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
18088         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
18090         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
18092         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
18093         locale.alias.
18095         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
18097         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
18099         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
18101         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
18102         file parsing and set FD_CLOEXEC.
18104 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
18106         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
18108 2011-11-14  Andreas Schwab  <schwab@redhat.com>
18110         * malloc/arena.c (arena_get2): Don't call reused_arena when
18111         _int_new_arena failed.
18113 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
18115         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
18116         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
18117         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
18118         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18119         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18120         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
18121         to compile strcasecmp and strncasecmp.
18122         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
18123         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
18125         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
18127 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
18129         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
18130         locale-defines.sym to gen-as-const-headers.
18131         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
18132         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
18133         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
18134         to compile strcasecmp and strncasecmp.
18135         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
18136         strcasecmp_l and strncasecmp_l.
18137         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
18138         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
18139         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
18140         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
18141         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
18142         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
18143         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
18144         * sysdeps/i386/i686/multiarch/strncase.S: New file.
18145         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
18146         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
18147         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
18149 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
18151         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
18152         result of SYSDEP_GETTIME_CPU to retval.
18153         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
18154         parameter list to macro.  Remove trailing semicolon.  Adjust users.
18156         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
18157         variable.
18159         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
18160         mantissa words.
18161         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18163         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
18164         from unused variable.
18166         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
18167         DWARF definitions.
18168         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
18169         for assembling.
18171         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
18172         over namespaces.
18174         * sunrpc/rpc_prot.c (rejected): Fix case value.
18176         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
18177         unsigned long long int to avoid warnings in shift.
18179         * posix/regex_internal.c (re_string_reconstruct): Actually use result
18180         of use of trans.
18181         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
18182         variable tmp.
18184         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
18185         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18186         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18188         * nis/nis_table.c (nis_list): Use variable of correct type for
18189         result of __follow_path call.
18191 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18193         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
18194         of math functions ceil, trunc, floor, round, and sqrt, when
18195         avaliable on the platform.
18196         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
18197         name clash.
18198         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18199         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18200         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18202 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
18204         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
18205         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18207 2011-11-11  Roland McGrath  <roland@hack.frob.com>
18209         * include/unistd.h: Fix __readlink return type.
18210         Reported by Chris Metcalf <cmetcalf@tilera.com>.
18212 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
18214         * stdlib/ucontext.h: Undo last change for makecontext.
18216 2011-11-11  Andreas Schwab  <schwab@redhat.com>
18218         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
18220         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
18221         * setjmp/setjmp.h: Mark functions as non-leaf.
18222         * setjmp/bits/setjmp2.h: Likewise.
18223         * stdlib/ucontext.h: Likewise.
18225 2011-11-10  Andreas Schwab  <schwab@redhat.com>
18227         * malloc/arena.c (_int_new_arena): Don't increment narenas.
18228         (reused_arena): Don't check arena limit.
18229         (arena_get2): Atomically check arena limit.
18231 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
18233         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
18234         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
18236         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
18237         instructions.
18239 2011-11-07  Andreas Schwab  <schwab@redhat.com>
18241         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
18242         handler when locking.
18244         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18245         Fix size of allocated buffer.
18247 2011-11-04  Andreas Schwab  <schwab@redhat.com>
18249         [BZ #10103]
18250         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
18251         declarations for long double functions.
18252         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
18254         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
18256 2011-11-03  Andreas Schwab  <schwab@redhat.com>
18258         * nscd/nscd.c (main): Don't start AVC thread until credentials are
18259         installed.
18261         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
18262         is disabled.
18264 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18266         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
18268 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
18270         * include/alloca.h (stackinfo_alloca_round): Define.
18271         (extend_alloca): Use it.
18272         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
18273         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
18274         here.
18276         * scripts/check-local-headers.sh: Ignore libaudit.h.
18278         * nscd/Makefile (extra-objs): Make recursively expanded.
18280 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
18282         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
18283         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18285         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
18286         * posix/tst-rfc3484-2.c: Likewise.
18287         * posix/tst-rfc3484-3.c: Likewise.
18289         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18290         process_vm_writev.
18291         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
18292         process_vm_writev.
18293         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
18294         process_vm_writev from libc using GLIBC_2.15 version.
18296         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
18298 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
18300         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
18301         stack usage.
18303 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
18305         [BZ #13367]
18306         * nss/getent.c (initgroups_keys): Show error message in case no group
18307         names are given.
18309         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
18310         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
18311         __bump_nl_timestamp.
18312         * nscd/connections (nscd_init): When host database is served open
18313         netlink socket and request notification about configuration changes.
18314         (main_loop_poll): Track netlink file descriptor and bump timestamp
18315         in case data becomes available.
18316         (main_loop_epoll): Likewise.
18317         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
18318         (database_pers_head): Add extra_data fileds.
18319         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
18320         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
18321         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
18322         Adjust caller.
18323         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
18324         in6ai data, call __free_in6ai.
18325         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
18326         Add -DHAVE_NETLINK.
18327         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
18328         interface information.  Reuse previous data if netlink timestamp
18329         is not changed.
18330         (__bump_nl_timestamp): New function.
18331         (__free_in6ai): New function.
18333 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
18335         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
18336         close_not_cancel_no_status here.
18337         (__check_pf): Reorganize code a bit to not call close twice if OOM.
18339 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
18341         [BZ #13276]
18342         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
18343         return value.
18345         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
18346         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
18347         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
18349 2011-07-03  Andreas Jaeger  <aj@suse.de>
18351         [BZ #10709]
18352         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
18353         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
18354         * math/libm-test.inc (sin_test): Add test case.
18356 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
18358         [BZ #13337]
18359         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
18360         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18362         * elf/chroot_canon.c (chroot_canon): Cleanups.
18364         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
18366         [BZ #13335]
18367         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
18368         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18370         * string/test-strchr.c: Make usable for strchrnul testing.
18371         * string/test-strchrnul.c: New file.
18372         * string/Makefile (strop-tests): Add strchrnul.
18374         * po/it.po: Update from translation team.
18375         * po/es.po: Likewise.
18377 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
18379         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
18380         the three constants needed as parameters.  Drop the others.
18381         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
18382         __m128i_strloadu_tolower.
18383         Create and initialize variable zero and use it in all the places
18384         where _mm_setzero_si128 was used.
18386         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
18387         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
18388         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
18389         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
18390         anymore.
18391         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
18392         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
18393         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
18394         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
18395         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
18396         __mpranred, __mptan.
18397         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
18398         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
18399         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
18400         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
18401         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
18402         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
18403         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
18404         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
18405         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
18407 2011-10-28  Andreas Schwab  <schwab@redhat.com>
18409         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
18410         redefine if SHARED.
18411         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
18413         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
18414         wide char related routines to wcsmbs subdir.
18416 2011-10-27  Andreas Schwab  <schwab@redhat.com>
18418         [BZ #13344]
18419         * misc/sys/cdefs.h (__THROWNL): Define.
18420         * posix/unistd.h: Use __THREADNL instead of __THREAD
18421         for memory synchronization functions.
18423 2011-10-26  Roland McGrath  <roland@hack.frob.com>
18425         [BZ #13349]
18426         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
18427         doesn't exist.
18428         * manual/stdio.texi (Obstack Streams): Node removed.
18430 2011-10-26  Andreas Schwab  <schwab@redhat.com>
18432         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
18433         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18434         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18436         * math/math_private.h (math_force_eval): Allow non-addressable
18437         arguments.
18438         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
18440 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
18442         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
18443         file is not needed.
18445         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
18446         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18447         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18448         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18449         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18450         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18451         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18452         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
18453         Add AVX variants.
18454         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
18455         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
18456         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
18457         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
18458         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
18459         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
18460         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
18461         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
18462         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
18463         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
18464         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
18465         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
18466         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
18467         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
18468         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
18469         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
18470         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
18471         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
18472         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
18474         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
18475         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
18477         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
18478         place.  Use VEX encoding when compiling for AVX.
18480 2011-10-25  Andreas Schwab  <schwab@redhat.com>
18482         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
18483         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18485         * string/test-strchr.c (do_test): Don't generate NUL bytes.
18487 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
18489         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
18490         useless if() expression.
18491         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18492         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18493         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18494         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18495         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18496         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18497         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18498         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18499         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18500         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18501         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18502         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18503         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18504         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18505         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18506         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18507         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18508         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18509         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18511         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
18513 2011-10-25  Andreas Schwab  <schwab@redhat.com>
18515         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
18516         condition.
18517         * elf/dl-fini.c (_dl_sort_fini): Likewise.
18519 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
18521         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
18522         .text section.  Avoid duplicate constants.
18523         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18524         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18525         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18526         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18527         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18528         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18529         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18530         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18531         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18532         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
18533         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18534         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18535         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18536         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18537         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18538         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18539         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18540         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18541         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18542         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18543         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18544         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18545         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18546         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
18547         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
18548         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
18549         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
18550         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
18551         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
18552         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18553         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
18554         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18555         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18556         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
18557         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
18558         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18559         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18560         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
18561         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
18562         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
18563         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
18564         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
18565         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
18566         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18567         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18569 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
18571         * sysdeps/x86_64/dla.h: Move to ...
18572         * sysdeps/x86_64/fpu/dla.h: ...here.
18573         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
18574         situations.  Use __builtin_fma only for gcc 4.6 and up.
18576         * config.make.in: Add have-mfma4 entry.
18577         * configure.in: Substitute libc_cv_cc_fma4.
18578         * math/Makefile (dbl-only-routines): Add sincostab.
18579         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
18580         Use __sincostab not sincos.
18581         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
18582         name is a macro.
18583         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18584         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18585         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18586         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
18587         using __copysign.
18588         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
18589         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
18590         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
18591         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
18592         and __inv.
18593         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
18594         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
18595         __copysign.
18596         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
18597         define aliases when function name is a macro.
18598         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
18599         sysdeps/ieee754/dbl-64/sincos.tbl.
18600         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
18601         fma4-enabled routines.
18602         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
18603         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
18604         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
18605         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
18606         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
18607         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
18608         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
18609         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
18610         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
18611         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
18612         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
18613         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
18614         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
18615         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
18616         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
18617         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
18618         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
18619         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
18620         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
18621         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
18622         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
18623         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
18624         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
18625         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
18626         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
18627         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
18628         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
18629         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
18630         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
18631         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
18633         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
18634         rename.
18635         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18636         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18637         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18638         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18639         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18640         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18641         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18642         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18644 2011-10-24  Andreas Schwab  <schwab@redhat.com>
18646         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
18648 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
18650         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
18652         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
18653         prediction.
18654         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
18656         * string/strnlen.c: Don't define STRNLEN, reverse logic.
18657         Remove unused variable magic_bits.
18658         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
18660         * string/strnlen.c: Define and use STRNLEN macro.
18661         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
18662         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
18663         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
18664         * wcsmbs/wcslen.c: Define and use WCSLEN.
18665         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
18666         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
18667         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
18668         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
18669         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
18670         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
18671         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18673 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18675         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18676         strnlen-sse2-no-bsf.
18677         Rename strlen-no-bsf to strlen-sse2-no-bsf.
18678         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
18679         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
18680         Add strnlen support.
18681         (USE_AS_STRNLEN): New macro.
18682         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
18683         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
18684         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
18685         * sysdeps/x86_64/wcslen.S: New file.
18687 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
18689         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18690         XMM-moves are used for copying on small sizes.
18692 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18694         * wcsmbs/Makefile (strop-tests): Add wcschr.
18695         * wcsmbs/test-wcschr.c: New file.
18696         * string/test-strchr.c: Update.
18697         Add wcschr support.
18698         (WIDE): New macro.
18700 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18702         * wcsmbs/Makefile (strop-tests): Add wcslen.
18703         * wcsmbs/test-wcslen.c: New file.
18704         * string/test-strlen.c: Update.
18705         Add wcslen support.
18706         (WIDE): New macro.
18708 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
18710         * po/it.po: Update from translation team.
18712 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18714         * sysdeps/x86_64/wcscmp.S: Update.
18715         Fix wrong comparison semantics.
18716         wcscmp shall use signed comparison not unsigned.
18717         Don't use substraction to avoid overflow bug.
18718         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18719         * wcsmbc/wcscmp.c: Likewise.
18720         * string/test-strcmp.c: Likewise.
18721         Add new tests to check cases with negative values.
18723 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
18725         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
18726         * sysdeps/x86_64/dla.h: ...here.  New file.
18727         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
18728         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18729         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18730         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18731         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18732         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18733         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18734         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18735         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18737 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
18739         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
18740         __ynl_finite aliases.
18742 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
18744         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18746         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
18747         define DLA_FMA.
18748         [DLA_FMA] (EMULV): Use DLA_FMA.
18749         [DLA_FMA] (MUL12): Use EMULV.
18750         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
18751         that are not needed.
18752         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18753         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18754         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18755         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18756         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18757         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18758         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18760 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
18762         * math/s_nan.c: Undef __nan.
18763         * math/s_nanf.c: Undef __nanf.
18764         * math/s_nanl.c: Undef __nanl.
18765         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
18766         "math_private.h".
18768 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
18770         * math/s_catan.c: Add branch predictions.
18771         * math/s_catanf.c: Likewise.
18772         * math/s_catanh.c: Likewise.
18773         * math/s_catanhf.c: Likewise.
18774         * math/s_catanhl.c: Likewise.
18775         * math/s_catanl.c: Likewise.
18776         * math/s_cexp.c: Likewise.
18777         * math/s_cexpf.c: Likewise.
18778         * math/s_cexpl.c: Likewise.
18779         * math/s_clog.c: Likewise.
18780         * math/s_clog10.c: Likewise.
18781         * math/s_clog10f.c: Likewise.
18782         * math/s_clog10l.c: Likewise.
18783         * math/s_clogf.c: Likewise.
18784         * math/s_clogl.c: Likewise.
18785         * math/s_csqrt.c: Likewise.
18786         * math/s_csqrtf.c: Likewise.
18787         * math/s_csqrtl.c: Likewise.
18788         * math/s_ctanf.c: Likewise.
18789         * math/s_ctanh.c: Likewise.
18790         * math/s_ctanhf.c: Likewise.
18791         * math/s_ctanhl.c: Likewise.
18792         * math/s_ctanl.c: Likewise.
18794         * math/math_private.h: Define __nan, __nanf, __nanl.
18795         * math/s_cacosh.c: Include <math_private.h>.
18796         * math/s_cacoshl.c: Likewise.
18797         * math/s_casinh.c: Likewise.
18798         * math/s_casinhf.c: Likewise.
18799         * math/s_casinhl.c: Likewise.
18800         * math/s_ccos.c: Rely entire on ccosh.
18801         * math/s_ccosf.c: Rely entire on ccoshf.
18802         * math/s_ccosl.c: Rely entirely on ccoshl.
18803         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
18804         Remove tests for FE_INVALID.
18805         * math/s_ccoshf.c: Likewise.
18806         * math/s_ccoshl.c: Likewise.
18807         * math/s_csin.c: Likewise.
18808         * math/s_csinf.c: Likewise.
18809         * math/s_csinh.c Likewise.
18810         * math/s_csinhf.c: Likewise.
18811         * math/s_csinhl.c: Likewise.
18812         * math/s_csinl.c: Likewise.
18813         * math/s_ctan.c: Likewise.
18814         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
18815         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
18816         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
18818 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
18820         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
18821         compilation problems.
18823         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
18824         __builtin_expect.
18826 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
18828         * sysdeps/i386/configure.in: Test for -mfma4 option.
18829         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
18830         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
18831         COMMON_CPUID_INDEX_80000001.
18832         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
18833         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
18834         use it if FMA3 is not supported.
18835         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18837         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
18838         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18840 2011-10-20  Andreas Schwab  <schwab@redhat.com>
18842         [BZ #12892]
18843         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
18844         it would create a cycle with a link time dependency.
18846 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
18848         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
18849         instruction.
18850         * string/Makefile (strop-tests): Add rawmemchr.
18851         * string/test-rawmemchr.c: New file.
18853         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
18854         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
18855         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
18856         when compiling str{,n}casecmp and when AVX is available.  Hook up
18857         new optimized code in initializers.
18859 2011-10-19  Andreas Schwab  <schwab@redhat.com>
18861         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
18862         __feraiseexcept instead of feraiseexcept.
18864 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
18866         * math/math_private.h: Define defaults for libc_fetestexcept and
18867         libc_feupdateenv.
18868         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
18869         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18870         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18871         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18872         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18873         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18874         libc_fetestexcept and libc_feupdateenv.
18876         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
18877         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
18878         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
18879         * sysdeps/x86_64/fpu/math_private.h: Define special version of
18880         libc_feholdexcept_setround.
18882         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
18883         Add s_nearbyint-c and s_nearbyintf-c.
18884         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
18885         nearbyintf inlines.
18886         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
18887         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
18888         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
18889         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
18891         * math/math_private.h: Define defaults for libc_fegetround,
18892         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
18893         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
18894         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
18895         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
18896         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
18897         standard functions.
18898         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18899         Remove comments and hacks for old compiler versions.
18900         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18901         libc_fegetround, libc_fesetround, libc_feholdexcept, and
18902         libc_feholdexceptl.
18904 2011-10-18  Andreas Schwab  <schwab@redhat.com>
18906         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
18907         (__feraiseexcept_renamed): Add __NTH.
18908         (feraiseexcept): Add __NTH.  Rename local variables to fix
18909         namespace violations.
18911 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
18913         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
18915         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
18917         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
18918         recently added interfaces.
18919         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
18921         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
18922         about macro parameter expansion.
18924         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
18925         __NO_MATH_INLINES is defined.  Cleanups.
18927         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
18928         and __floorf is target has SSE4.1.
18929         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
18930         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
18931         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
18932         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
18934         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
18935         name.
18936         (floorf): Likewise.
18938         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
18940 2011-10-17  Andreas Schwab  <schwab@redhat.com>
18942         * misc/sys/cdefs.h: Fix last change.
18944         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
18945         database lookup.
18947 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
18949         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
18951         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
18952         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18953         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18954         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18955         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18956         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18957         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18958         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18959         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18960         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
18961         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
18962         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
18963         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
18964         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
18965         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
18966         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
18967         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
18968         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
18969         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
18970         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
18971         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
18972         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
18974         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
18975         ceil, ceilf, floor, floorf.
18977         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
18978         Perform IRELATIVE relocations last.
18980         * elf/do-rel.h: Add another parameter nrelative, replacing the
18981         local variable with the same name.  Change name of the function
18982         to end in Rel or Rela (uppercase).
18983         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
18984         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
18985         elf_dynamic_do_##reloc function.
18987 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
18989         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
18990         is sufficient, at least on modern CPUs.
18992         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
18994         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
18995         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
18997         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
18998         __expl_finite.
18999         * math/bits/math-finite.h: Add entries for exp.
19000         * math/e_expl.c: Add __*_finite alias.
19001         * sysdeps/i386/fpu/e_exp.S: Likewise.
19002         * sysdeps/i386/fpu/e_expf.S: Likewise.
19003         * sysdeps/i386/fpu/e_expl.c: Likewise.
19004         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19005         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19006         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19007         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19008         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
19009         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19010         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19012         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
19013         is sufficient, at least on modern CPUs.
19015         * ctype/ctype-info.c (__ctype_init): Define.
19016         * include/ctype.h (__ctype_init): Declare.
19017         (__ctype_b_loc): The variable is always initialized.
19018         (__ctype_toupper_loc): Likewise.
19019         (__ctype_tolower_loc): Likewise.
19020         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
19021         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
19023 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
19025         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
19027         * configure.in: Also look in $cxxmachine/include for C++ system
19028         headers.
19030 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19032         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
19033         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
19034         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
19035         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
19036         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
19037         (USE_AS_WMEMCMP): New macro.
19038         Fixing indents.
19039         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
19040         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
19041         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
19042         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
19043         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19044         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
19045         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
19046         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
19047         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
19048         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
19049         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
19050         (USE_AS_WMEMCMP): New macro.
19051         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
19052         * sysdeps/string/test-memcmp.c: Update.
19053         Fix simple_wmemcmp.
19054         Add new tests.
19055         * wcsmbs/wmemcmp.c: Update.
19056         (WMEMCMP): New macro.
19057         Fix overflow bug.
19059 2011-10-12  Andreas Jaeger  <aj@suse.de>
19061         [BZ #13268]
19062         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
19064 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
19066         * libio/iofwide.c (do_length): Avoid warning.
19068         * ctype/ctype.h (__isctype_f): Add missing __THROW.
19070 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
19072         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
19074         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
19075         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
19076         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
19077         * sysdeps/i386/i686/fpu/e_log.S: New file.
19078         * sysdeps/i386/i686/fpu/e_logf.S: New file.
19079         * sysdeps/i386/i686/fpu/e_logl.S: New file.
19081         * ctype/ctype.h: Add support for inlined isXXX functions when
19082         compiling C++ code.
19084 2011-10-14  Andreas Schwab  <schwab@redhat.com>
19086         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19088         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
19090 2011-10-13  Roland McGrath  <roland@hack.frob.com>
19092         [BZ #13291]
19093         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
19095 2011-10-13  Andreas Schwab  <schwab@redhat.com>
19097         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
19098         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
19099         feraiseexcept.
19101         * sysdeps/x86_64/memrchr.S: Check for zero size.
19103         * string/stratcliff.c: Add memrchr tests.
19105 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19107         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19108         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
19109         rawmemchr-sse2 rawmemchr-sse2-bsf.
19110         * sysdeps/i386/i686/multiarch/memchr.S: New file.
19111         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
19112         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
19113         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
19114         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
19115         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
19116         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
19117         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
19118         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
19119         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
19120         * string/memrchr.c (MEMRCHR): New macro.
19122 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
19124         Add integration with gcc's -ffinite-math-only and optimize wrapper
19125         functions in libm.
19126         * Versions.def: Define GLIBC_2.15 version for libm.
19127         * math/Makefile (headers): Add bits/math-finite.h.
19128         * math/bits/math-finite.h: New file.
19129         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
19130         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
19131         * math/e_acoshl.c: Add __*_finite alias.
19132         * math/e_acosl.c: Likewise.
19133         * math/e_asinl.c: Likewise.
19134         * math/e_atan2l.c: Likewise.
19135         * math/e_atanhl.c: Likewise.
19136         * math/e_coshl.c: Likewise.
19137         * math/e_exp10.c: Likewise.
19138         * math/e_exp10f.c: Likewise.
19139         * math/e_exp10l.c: Likewise.
19140         * math/e_exp2l.c: Likewise.
19141         * math/e_fmodl.c: Likewise.
19142         * math/e_gammal_r.c: Likewise.
19143         * math/e_hypotl.c: Likewise.
19144         * math/e_j0l.c: Likewise.
19145         * math/e_j1l.c: Likewise.
19146         * math/e_jnl.c: Likewise.
19147         * math/e_lgammal_r.c: Likewise.
19148         * math/e_log10l.c: Likewise.
19149         * math/e_log2l.c: Likewise.
19150         * math/e_logl.c: Likewise.
19151         * math/e_powl.c: Likewise.
19152         * math/e_sinhl.c: Likewise.
19153         * math/e_sqrtl.c: Likewise.
19154         * math/e_scalb.c: Completely rewritten and optimized.
19155         * math/e_scalbf.c: Likewise.
19156         * math/e_scalbl.c: Likewise.
19157         * math/w_acos.c: Likewise.
19158         * math/w_acosf.c: Likewise.
19159         * math/w_acosl.c: Likewise.
19160         * math/w_acosh.c: Likewise.
19161         * math/w_acoshf.c: Likewise.
19162         * math/w_acoshl.c: Likewise.
19163         * math/w_asin.c: Likewise.
19164         * math/w_asinf.c: Likewise.
19165         * math/w_asinl.c: Likewise.
19166         * math/w_atan2.c: Likewise.
19167         * math/w_atan2f.c: Likewise.
19168         * math/w_atan2l.c: Likewise.
19169         * math/w_atanh.c: Likewise.
19170         * math/w_atanhf.c: Likewise.
19171         * math/w_atanhl.c: Likewise.
19172         * math/w_exp10.c: Likewise.
19173         * math/w_exp10f.c: Likewise.
19174         * math/w_exp10l.c: Likewise.
19175         * math/w_fmod.c: Likewise.
19176         * math/w_fmodf.c: Likewise.
19177         * math/w_fmodl.c: Likewise.
19178         * math/w_j0.c: Likewise.
19179         * math/w_j0f.c: Likewise.
19180         * math/w_j0l.c: Likewise.
19181         * math/w_j1.c: Likewise.
19182         * math/w_j1f.c: Likewise.
19183         * math/w_j1l.c: Likewise.
19184         * math/w_jn.c: Likewise.
19185         * math/w_jnf.c: Likewise.
19186         * math/w_log.c: Likewise.
19187         * math/w_logf.c: Likewise.
19188         * math/w_logl.c: Likewise.
19189         * math/w_log10.c: Likewise.
19190         * math/w_log10f.c: Likewise.
19191         * math/w_log10l.c: Likewise.
19192         * math/w_log2.c: Likewise.
19193         * math/w_log2f.c: Likewise.
19194         * math/w_log2l.c: Likewise.
19195         * math/w_pow.c: Likewise.
19196         * math/w_powf.c: Likewise.
19197         * math/w_powl.c: Likewise.
19198         * math/w_remainder.c: Likewise.
19199         * math/w_remainderf.c: Likewise.
19200         * math/w_remainderl.c: Likewise.
19201         * math/w_scalb.c: Likewise.
19202         * math/w_scalbf.c: Likewise.
19203         * math/w_scalbl.c: Likewise.
19204         * math/w_sqrt.c: Likewise.
19205         * math/w_sqrtf.c: Likewise.
19206         * math/w_sqrtl.c: Likewise.
19207         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
19208         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
19209         used.
19210         * math/math_private.h: Declare __kernel_standard_f.
19211         * math/w_cosh.c: Remove cruft and optimize a bit.
19212         * math/w_coshf.c: Likewise.
19213         * math/w_coshl.c: Likewise.
19214         * math/w_exp2.c: Likewise.
19215         * math/w_exp2f.c: Likewise.
19216         * math/w_exp2l.c: Likewise.
19217         * math/w_hypot.c: Likewise.
19218         * math/w_hypotf.c: Likewise.
19219         * math/w_hypotl.c: Likewise.
19220         * math/w_lgamma.c: Likewise.
19221         * math/w_lgamma_r.c: Likewise.
19222         * math/w_lgammaf.c: Likewise.
19223         * math/w_lgammaf_r.c: Likewise.
19224         * math/w_lgammal.c: Likewise.
19225         * math/w_lgammal_r.c: Likewise.
19226         * math/w_sinh.c: Likewise.
19227         * math/w_sinhf.c: Likewise.
19228         * math/w_sinhl.c: Likewise.
19229         * math/w_tgamma.c: Likewise.
19230         * math/w_tgammaf.c: Likewise.
19231         * math/w_tgammal.c: Likewise.
19232         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19233         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19234         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
19235         Minor optimizations.  Pretty printing.  Remove cruft.
19236         * sysdeps/i386/fpu/e_acosf.S: Likewise.
19237         * sysdeps/i386/fpu/e_acosh.S: Likewise.
19238         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19239         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19240         * sysdeps/i386/fpu/e_acosl.c: Likewise.
19241         * sysdeps/i386/fpu/e_asin.S: Likewise.
19242         * sysdeps/i386/fpu/e_asinf.S: Likewise.
19243         * sysdeps/i386/fpu/e_atan2.S: Likewise.
19244         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
19245         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
19246         * sysdeps/i386/fpu/e_atanh.S: Likewise.
19247         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19248         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19249         * sysdeps/i386/fpu/e_exp10.S: Likewise.
19250         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
19251         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
19252         * sysdeps/i386/fpu/e_exp2.S: Likewise.
19253         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
19254         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
19255         * sysdeps/i386/fpu/e_fmod.S: Likewise.
19256         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
19257         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
19258         * sysdeps/i386/fpu/e_hypot.S: Likewise.
19259         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
19260         * sysdeps/i386/fpu/e_log.S: Likewise.
19261         * sysdeps/i386/fpu/e_log10.S: Likewise.
19262         * sysdeps/i386/fpu/e_log10f.S: Likewise.
19263         * sysdeps/i386/fpu/e_log10l.S: Likewise.
19264         * sysdeps/i386/fpu/e_log2.S: Likewise.
19265         * sysdeps/i386/fpu/e_log2f.S: Likewise.
19266         * sysdeps/i386/fpu/e_log2l.S: Likewise.
19267         * sysdeps/i386/fpu/e_logf.S: Likewise.
19268         * sysdeps/i386/fpu/e_logl.S: Likewise.
19269         * sysdeps/i386/fpu/e_pow.S: Likewise.
19270         * sysdeps/i386/fpu/e_powf.S: Likewise.
19271         * sysdeps/i386/fpu/e_powl.S: Likewise.
19272         * sysdeps/i386/fpu/e_remainder.S: Likewise.
19273         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
19274         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
19275         * sysdeps/i386/fpu/e_scalb.S: Likewise.
19276         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19277         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19278         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
19279         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
19280         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
19281         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19282         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19283         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19284         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19285         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19286         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19287         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19288         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19289         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19290         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19291         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19292         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19293         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19294         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19295         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19296         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19297         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19298         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19299         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19300         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19301         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19302         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19303         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19304         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19305         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19306         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19307         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19308         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19309         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
19310         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19311         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19312         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19313         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19314         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19315         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19316         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19317         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19318         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19319         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19320         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19321         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19322         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19323         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19324         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19325         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19326         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19327         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19328         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19329         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19330         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
19331         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19332         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19333         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19334         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19335         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19336         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19337         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19338         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19339         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19340         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19341         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19342         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19343         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19344         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19345         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19346         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19347         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19348         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19349         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
19350         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19351         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19352         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19353         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19354         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19355         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19356         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19357         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19358         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19359         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19360         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19361         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19362         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19363         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
19364         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19365         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19366         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19367         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19368         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19369         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19370         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19371         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19372         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19373         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19374         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19375         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19376         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19377         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19378         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
19379         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
19380         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
19381         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
19382         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
19383         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
19384         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
19385         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19386         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19387         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19388         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19389         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
19390         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19391         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
19392         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
19393         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
19394         (__isnanf): Likewise.
19395         (__isinf_ns): Likewise.
19396         (__isinf_nsf): Likewise.
19397         (__finite): Likewise.
19398         (__finitef): Likewise.
19399         (__ieee754_sqrt): Define as macro.
19400         (__ieee754_sqrtf): Define as macro.
19401         (__ieee754_sqrtl): Define as macro.
19402         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
19403         inlined copy.
19404         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
19405         __FINITE_MATH_ONLY__ consistent.
19406         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
19408 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
19410         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
19411         of rawmemchr.
19413         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
19415 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
19417         * po/ja.po: Update from translation team.
19419 2011-10-08  Roland McGrath  <roland@hack.frob.com>
19421         * locale/programs/locarchive.c (prepare_address_space): New function.
19422         (create_archive, enlarge_archive, open_archive): Use it.
19424         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
19425         inside [SHARED], where it is used.
19427         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
19429         * nss/getent.c (netgroup_keys): Remove unused variable.
19430         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19432 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
19434         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
19435         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
19436         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
19437         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
19438         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
19439         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
19440         * math/Makefile (libm-calls): Add s_isinf_ns.
19441         * math/divtc3.c: Use __isinf_nsl instead of isinf.
19442         * math/multc3.c: Likewise.
19443         * math/s_casin.c: Likewise.
19444         * math/s_casinf.c: Likewise.
19445         * math/s_casinl.c: Likewise.
19446         * math/s_ccos.c: Likewise.
19447         * math/s_ccosf.c: Likewise.
19448         * math/s_ccosl.c: Likewise.
19449         * math/s_ctan.c: Likewise.
19450         * math/s_ctanf.c: Likewise.
19451         * math/s_ctanh.c: Likewise.
19452         * math/s_ctanhf.c: Likewise.
19453         * math/s_ctanhl.c: Likewise.
19454         * math/s_ctanl.c: Likewise.
19455         * math/w_fmod.c: Likewise.
19456         * math/w_fmodf.c: Likewise.
19457         * math/w_fmodl.c: Likewise.
19458         * math/w_remainder.c: Likewise.
19459         * math/w_remainderf.c: Likewise.
19460         * math/w_remainderl.c: Likewise.
19461         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
19462         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
19463         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
19464         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
19465         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
19466         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
19467         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
19468         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
19470         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
19471         of the number.
19472         * stdio-common/printf_fphex.c: Likewise.
19473         * stdio-common/printf_size.c: Likewise.
19475         * math/e_exp10.c: Include math_private.h using <...> not "...".
19476         * math/e_exp10f.c: Likewise.
19477         * math/e_exp10l.c: Likewise.
19478         * math/e_exp2l.c: Likewise.
19479         * math/e_j0l.c: Likewise.
19480         * math/e_j1l.c: Likewise.
19481         * math/e_jnl.c: Likewise.
19482         * math/e_lgammal_r.c: Likewise.
19483         * math/e_rem_pio2l.c: Likewise.
19484         * math/e_scalb.c: Likewise.
19485         * math/e_scalbf.c: Likewise.
19486         * math/e_scalbl.c: Likewise.
19487         * math/k_cosl.c: Likewise.
19488         * math/k_sinl.c: Likewise.
19489         * math/k_tanl.c: Likewise.
19490         * math/s_cacoshf.c: Likewise.
19491         * math/s_catan.c: Likewise.
19492         * math/s_catanf.c: Likewise.
19493         * math/s_catanh.c: Likewise.
19494         * math/s_catanhf.c: Likewise.
19495         * math/s_catanhl.c: Likewise.
19496         * math/s_catanl.c: Likewise.
19497         * math/s_ccosh.c: Likewise.
19498         * math/s_ccoshf.c: Likewise.
19499         * math/s_ccoshl.c: Likewise.
19500         * math/s_cexp.c: Likewise.
19501         * math/s_cexpf.c: Likewise.
19502         * math/s_cexpl.c: Likewise.
19503         * math/s_clog.c: Likewise.
19504         * math/s_clog10.c: Likewise.
19505         * math/s_clog10f.c: Likewise.
19506         * math/s_clog10l.c: Likewise.
19507         * math/s_clogf.c: Likewise.
19508         * math/s_clogl.c: Likewise.
19509         * math/s_csin.c: Likewise.
19510         * math/s_csinf.c: Likewise.
19511         * math/s_csinh.c: Likewise.
19512         * math/s_csinhf.c: Likewise.
19513         * math/s_csinhl.c: Likewise.
19514         * math/s_csinl.c: Likewise.
19515         * math/s_csqrt.c: Likewise.
19516         * math/s_csqrtf.c: Likewise.
19517         * math/s_csqrtl.c: Likewise.
19518         * math/s_ctan.c: Likewise.
19519         * math/s_ctanf.c: Likewise.
19520         * math/s_ctanh.c: Likewise.
19521         * math/s_ctanhf.c: Likewise.
19522         * math/s_ctanhl.c: Likewise.
19523         * math/s_ctanl.c: Likewise.
19524         * math/s_ldexp.c: Likewise.
19525         * math/s_ldexpf.c: Likewise.
19526         * math/s_ldexpl.c: Likewise.
19527         * math/s_significand.c: Likewise.
19528         * math/s_significandf.c: Likewise.
19529         * math/s_significandl.c: Likewise.
19530         * math/w_acos.c: Likewise.
19531         * math/w_acosf.c: Likewise.
19532         * math/w_acosh.c: Likewise.
19533         * math/w_acoshf.c: Likewise.
19534         * math/w_acoshl.c: Likewise.
19535         * math/w_acosl.c: Likewise.
19536         * math/w_asin.c: Likewise.
19537         * math/w_asinf.c: Likewise.
19538         * math/w_asinl.c: Likewise.
19539         * math/w_atan2.c: Likewise.
19540         * math/w_atan2f.c: Likewise.
19541         * math/w_atan2l.c: Likewise.
19542         * math/w_atanh.c: Likewise.
19543         * math/w_atanhf.c: Likewise.
19544         * math/w_atanhl.c: Likewise.
19545         * math/w_cosh.c: Likewise.
19546         * math/w_coshf.c: Likewise.
19547         * math/w_coshl.c: Likewise.
19548         * math/w_dremf.c: Likewise.
19549         * math/w_exp10.c: Likewise.
19550         * math/w_exp10f.c: Likewise.
19551         * math/w_exp10l.c: Likewise.
19552         * math/w_exp2.c: Likewise.
19553         * math/w_exp2f.c: Likewise.
19554         * math/w_fmod.c: Likewise.
19555         * math/w_fmodf.c: Likewise.
19556         * math/w_fmodl.c: Likewise.
19557         * math/w_hypot.c: Likewise.
19558         * math/w_hypotf.c: Likewise.
19559         * math/w_hypotl.c: Likewise.
19560         * math/w_j0.c: Likewise.
19561         * math/w_j0f.c: Likewise.
19562         * math/w_j0l.c: Likewise.
19563         * math/w_j1.c: Likewise.
19564         * math/w_j1f.c: Likewise.
19565         * math/w_j1l.c: Likewise.
19566         * math/w_jn.c: Likewise.
19567         * math/w_jnf.c: Likewise.
19568         * math/w_jnl.c: Likewise.
19569         * math/w_lgamma.c: Likewise.
19570         * math/w_lgamma_r.c: Likewise.
19571         * math/w_lgammaf.c: Likewise.
19572         * math/w_lgammaf_r.c: Likewise.
19573         * math/w_lgammal.c: Likewise.
19574         * math/w_lgammal_r.c: Likewise.
19575         * math/w_log.c: Likewise.
19576         * math/w_log10.c: Likewise.
19577         * math/w_log10f.c: Likewise.
19578         * math/w_log10l.c: Likewise.
19579         * math/w_log2.c: Likewise.
19580         * math/w_log2f.c: Likewise.
19581         * math/w_log2l.c: Likewise.
19582         * math/w_logf.c: Likewise.
19583         * math/w_logl.c: Likewise.
19584         * math/w_pow.c: Likewise.
19585         * math/w_powf.c: Likewise.
19586         * math/w_powl.c: Likewise.
19587         * math/w_remainder.c: Likewise.
19588         * math/w_remainderf.c: Likewise.
19589         * math/w_remainderl.c: Likewise.
19590         * math/w_scalb.c: Likewise.
19591         * math/w_scalbf.c: Likewise.
19592         * math/w_scalbl.c: Likewise.
19593         * math/w_sinh.c: Likewise.
19594         * math/w_sinhf.c: Likewise.
19595         * math/w_sinhl.c: Likewise.
19596         * math/w_sqrt.c: Likewise.
19597         * math/w_sqrtf.c: Likewise.
19598         * math/w_sqrtl.c: Likewise.
19599         * math/w_tgamma.c: Likewise.
19600         * math/w_tgammaf.c: Likewise.
19601         * math/w_tgammal.c: Likewise.
19603         * po/ja.po: Update from translation team.
19605 2011-09-29  Andreas Jaeger  <aj@suse.de>
19607         [BZ #13179]
19608         * sunrpc/netname.c (netname2host): Fix logic.
19610         [BZ #6779]
19611         [BZ #6783]
19612         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
19613         correctly.
19614         * math/w_remainder.c (__remainder): Likewise.
19615         * math/w_remainderf.c (__remainderf): Likewise.
19616         * math/libm-test.inc (remainder_test): Add test cases.
19618 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19620         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
19621         sdiv_qrnnd.
19623 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
19625         * string/test-memcmp.c: Avoid unncessary #defines.
19626         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19628 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19630         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
19631         Use new sse2 version for core i3 - i7 as it's faster
19632         than sse42 version.
19633         (bit_Prefer_PMINUB_for_stringop): New.
19634         * sysdeps/x86_64/rawmemchr.S: Update.
19635         Replace with faster SSE2 version.
19636         * sysdeps/x86_64/memrchr.S: New file.
19637         * sysdeps/x86_64/memchr.S: Update.
19638         Replace with faster SSE2 version.
19640 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
19642         * elf/dl-load.c (lose): Add cast to avoid warning.
19644 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
19646         * po/ca.po: Update from translation team.
19648         * inet/getnetgrent_r.c: Hook up nscd.
19649         * nscd/Makefile (routines): Add nscd_netgroup.
19650         (nscd-modules): Add netgroupcache.
19651         (CFLAGS-netgroupcache.c): Define.
19652         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
19653         (cache_search): Add const to second parameter.
19654         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
19655         INNETGR.
19656         (dbs): Add netgrdb entry.
19657         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
19658         (verify_persistent_db): Handle netgrdb.
19659         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
19660         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
19661         GETFDNETGR.
19662         (netgroup_response_header): Define.
19663         (innetgroup_response_header): Define.
19664         (datahead): Add netgroup_response_header and innetgroup_response_header
19665         elements.
19666         * nscd/nscd.conf: Add entries for netgroup cache.
19667         * nscd/nscd.h (dbtype): Add netgrdb.
19668         (_PATH_NSCD_NETGROUP_DB): Define.
19669         (netgroup_iov_disabled): Declare.
19670         (xmalloc, xcalloc, xrealloc): Move declarations here.
19671         (cache_search): Adjust prototype.
19672         Add netgroup-related prototypes.
19673         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
19674         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
19675         (__nscd_innetgr): Declare.
19676         * nscd/selinux.c (perms): Use access_vector_t as element type and
19677         add netgroup-related initializers.
19678         * nscd/netgroupcache.c: New file.
19679         * nscd/nscd_netgroup.c: New file.
19680         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
19681         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
19682         For four parameters use innetgr.
19683         * nss/nss_files/files-init.c: Add definition and callback for netgr.
19684         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
19685         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
19686         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
19688         * nscd/connections.c (register_traced_file): Don't register file
19689         for disabled databases.
19691 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
19693         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
19695         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
19696         from tree and freeing node.
19698 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
19700         * nss/nsswitch.c (__nss_database_lookup): Handle
19701         nss_parse_service_list out of memory case.
19703 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
19705         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
19706         out of memory case.
19708 2011-10-04  Andreas Schwab  <schwab@redhat.com>
19710         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
19711         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
19712         pass it down.
19713         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
19714         elf_machine_rela, elf_machine_lazy_rel.
19715         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
19716         (ELF_DYNAMIC_DO_REL): Likewise.
19717         (ELF_DYNAMIC_DO_RELA): Likewise.
19718         (ELF_DYNAMIC_RELOCATE): Likewise.
19719         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
19720         to ELF_DYNAMIC_DO_REL.
19721         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
19722         (dl_main): In trace mode always set __RTLD_NOIFUNC.
19723         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
19724         elf_machine_rela.
19725         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
19726         skip_ifunc, don't call ifunc function if non-zero.
19727         (elf_machine_rela): Likewise.
19728         (elf_machine_lazy_rel): Likewise.
19729         (elf_machine_lazy_rela): Likewise.
19730         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19731         (elf_machine_lazy_rel): Likewise.
19732         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19733         Likewise.
19734         (elf_machine_lazy_rel): Likewise.
19735         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19736         Likewise.
19737         (elf_machine_lazy_rel): Likewise.
19738         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
19739         (elf_machine_lazy_rel): Likewise.
19740         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
19741         (elf_machine_lazy_rel): Likewise.
19742         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19743         (elf_machine_lazy_rel): Likewise.
19744         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
19745         (elf_machine_lazy_rel): Likewise.
19746         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
19747         (elf_machine_lazy_rel): Likewise.
19748         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19749         (elf_machine_lazy_rel): Likewise.
19751 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
19753         * nss/nss_files/files-init.c (_nss_files_init): Use static
19754         initialization for all the *_traced_file variables.
19756 2011-09-28  Andreas Schwab  <schwab@redhat.com>
19758         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19760 2011-09-27  Roland McGrath  <roland@hack.frob.com>
19762         [BZ #13226]
19763         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
19765 2011-09-27  Andreas Schwab  <schwab@redhat.com>
19767         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19768         Reread the line before reparsing it.
19770 2011-09-26  Andreas Schwab  <schwab@redhat.com>
19772         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
19774 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
19775             Maxim Kuvyrkov  <maxim@codesourcery.com>
19776             Joseph Myers  <joseph@codesourcery.com>
19778         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
19779         if needed for __stack_chk_guard.
19781 2011-09-19  Roland McGrath  <roland@hack.frob.com>
19783         * sysdeps/posix/spawni.c (script_execute): Always define it.
19784         It will be optimized away if unused.
19785         (maybe_script_execute): New function.
19786         (__spawni): Call it.
19788         * Makerules: Don't include tls.make.
19789         (config-tls): Always set to thread.
19790         * tls.make.c: File removed.
19792 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
19794         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
19795         * config.make.in (CPPFLAGS-config): New substituted variable.
19797 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
19799         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
19801         [BZ #13192]
19802         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
19803         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
19805 2011-09-15  Roland McGrath  <roland@hack.frob.com>
19807         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
19808         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
19809         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19810         (CALL_FAIL): Likewise.
19811         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
19812         (CALL_FAIL): Macro removed.
19813         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
19815 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
19817         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
19818         for __FINITE_MATH_ONLY__ == 1.
19820 2011-09-15  Andreas Schwab  <schwab@redhat.com>
19822         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
19823         __ieee754_sqrt instead of sqrt.
19824         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
19825         __ieee754_sqrtf instead of sqrtf.
19826         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
19827         __floorf instead of floorf.
19828         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
19829         __floorf, __truncf instead of floorf, truncf.
19831 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
19833         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
19835         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
19836         __extern_always_inline.
19837         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
19838         32-bit.
19840 2011-09-14  Andreas Schwab  <schwab@redhat.com>
19842         * elf/rtld.c (dl_main): Also relocate in dependency order when
19843         doing symbol dependency testing.
19845 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
19847         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19848         Always define `refsym'.
19850 2011-09-13  Andreas Schwab  <schwab@redhat.com>
19852         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
19853         (__FD_ELT): Renamed from __FDELT.
19854         * misc/bits/select2.h (__FD_ELT): Likewise.
19855         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
19856         __FD_MASK instead of __FDELT, __FDMASK.
19857         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19858         Likewise.
19859         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19860         Likewise.
19862         * elf/Makefile (gen-ldd): Fix pattern.
19864         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
19865         (init_tls): Likewise.
19867 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
19869         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
19871 2011-09-12  Andreas Schwab  <schwab@redhat.com>
19873         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
19874         `struct cmsghdr *' instead of `void *'.
19875         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
19876         Likewise.
19878 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
19880         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
19881         if non-absolute.
19882         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
19883         ldd_rewrite_script.
19885 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
19887         * configure.in: Remove --with-tls option.
19888         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
19889         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
19890         out in case it is missing.
19891         * sysdeps/ia64/elf/configure.in: Likewise.
19892         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
19893         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
19894         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
19895         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
19896         * sysdeps/sh/elf/configure.in: Likewise.
19897         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
19898         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19899         * sysdeps/x86_64/elf/configure.in: Likewise.
19900         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
19901         * sysdeps/mach/hurd/tls.h: Likewise.
19903         [BZ #13067]
19904         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
19906         [BZ #13090]
19907         * configure.in: Fix use of AC_INIT.
19909         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
19911 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
19913         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
19914         __set_errno.
19915         * malloc/hooks.c: Likewise.
19917         [BZ #11929]
19918         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
19919         variables statically.
19920         (narenas): Initialize.
19921         (list_lock): Initialize.
19922         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
19923         initializtion of main_arena and list_lock.  Small cleanups.
19924         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
19925         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
19926         Add initializers to main_arena and mp_.
19927         (malloc_state): Remove pagesize member.  Change all users to use
19928         GLRO(dl_pagesize).
19930         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
19931         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
19932         is always initialized.
19934         * malloc/malloc.c: Removed unused configurations and dead code.
19935         * malloc/arena.c: Likewise.
19936         * malloc/hooks.c: Likewise.
19937         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
19939         * include/tls.h: Removed.  USE___THREAD must always be defined.
19940         * bits/libc-tsd.h: Don't handle !USE___THREAD.
19941         * elf/dl-libc.c: Likewise.
19942         * elf/dl-tsd.c: Likewise.
19943         * include/errno.h: Likewise.
19944         * include/netdb.h: Likewise.
19945         * include/resolv.h: Likewise.
19946         * inet/herrno-loc.c: Likewise.
19947         * inet/herrno.c: Likewise.
19948         * malloc/arena.c: Likewise.
19949         * malloc/hooks.c: Likewise.
19950         * malloc/malloc.c: Likewise.
19951         * resolv/res-state.c: Likewise.
19952         * resolv/res_libc.c: Likewise.
19953         * sysdeps/i386/dl-machine.h: Likewise.
19954         * sysdeps/ia64/dl-machine.h: Likewise.
19955         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
19956         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19957         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19958         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19959         * sysdeps/sh/dl-machine.h: Likewise.
19960         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19961         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19962         * sysdeps/unix/i386/sysdep.S: Likewise.
19963         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19964         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19965         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19966         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19967         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19968         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19969         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19970         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19971         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19972         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19973         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19974         * sysdeps/x86_64/dl-machine.h: Likewise.
19975         * tls.make.c: Likewise.
19977         * configure.in: Remove --with-__thread option.  Make tests for
19978         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
19979         tls_model attribute fail if no support is available.  Remove
19980         USE_IN_LIBIO.
19981         * Makeconfig: Adjust for dropped configure option.  All features are
19982         now mandatory.
19983         * Makerules: Likewise.
19984         * Versions.def: Likewise.
19985         * argp/argp-fmtstream.c: Likewise.
19986         * argp/argp-fmtstream.h: Likewise.
19987         * argp/argp-help.c: Likewise.
19988         * assert/assert.c: Likewise.
19989         * config.h.in: Likewise.
19990         * config.make.in: Likewise.
19991         * configure: Likewise.
19992         * configure.in: Likewise.
19993         * csu/Versions: Likewise.
19994         * csu/init.c: Likewise.
19995         * elf/tst-audit2.c: Likewise.
19996         * elf/tst-tls10.c: Likewise.
19997         * elf/tst-tls10.h: Likewise.
19998         * elf/tst-tls11.c: Likewise.
19999         * elf/tst-tls12.c: Likewise.
20000         * elf/tst-tls14.c: Likewise.
20001         * elf/tst-tlsmod11.c: Likewise.
20002         * elf/tst-tlsmod12.c: Likewise.
20003         * elf/tst-tlsmod13.c: Likewise.
20004         * elf/tst-tlsmod13a.c: Likewise.
20005         * elf/tst-tlsmod14a.c: Likewise.
20006         * elf/tst-tlsmod15b.c: Likewise.
20007         * elf/tst-tlsmod16a.c: Likewise.
20008         * elf/tst-tlsmod16b.c: Likewise.
20009         * elf/tst-tlsmod7.c: Likewise.
20010         * elf/tst-tlsmod8.c: Likewise.
20011         * elf/tst-tlsmod9.c: Likewise.
20012         * gmon/gmon.c: Likewise.
20013         * grp/fgetgrent_r.c: Likewise.
20014         * grp/putgrent.c: Likewise.
20015         * hurd/fopenport.c: Likewise.
20016         * include/libc-symbols.h: Likewise.
20017         * include/tls.h: Likewise.
20018         * intl/gettextP.h: Likewise.
20019         * intl/loadinfo.h: Likewise.
20020         * locale/global-locale.c: Likewise.
20021         * locale/localeinfo.h: Likewise.
20022         * mach/devstream.c: Likewise.
20023         * malloc/arena.c: Likewise.
20024         * malloc/set-freeres.c: Likewise.
20025         * misc/err.c: Likewise.
20026         * misc/getttyent.c: Likewise.
20027         * misc/mntent_r.c: Likewise.
20028         * posix/getopt.c: Likewise.
20029         * posix/wordexp.c: Likewise.
20030         * pwd/fgetpwent_r.c: Likewise.
20031         * resolv/Versions: Likewise.
20032         * resolv/res_hconf.c: Likewise.
20033         * shadow/fgetspent_r.c: Likewise.
20034         * shadow/putspent.c: Likewise.
20035         * stdio-common/printf_fphex.c: Likewise.
20036         * stdio-common/tmpfile.c: Likewise.
20037         * stdlib/abort.c: Likewise.
20038         * stdlib/fmtmsg.c: Likewise.
20039         * sunrpc/auth_unix.c: Likewise.
20040         * sunrpc/clnt_perr.c: Likewise.
20041         * sunrpc/clnt_tcp.c: Likewise.
20042         * sunrpc/clnt_udp.c: Likewise.
20043         * sunrpc/clnt_unix.c: Likewise.
20044         * sunrpc/openchild.c: Likewise.
20045         * sunrpc/svc_simple.c: Likewise.
20046         * sunrpc/svc_tcp.c: Likewise.
20047         * sunrpc/svc_udp.c: Likewise.
20048         * sunrpc/svc_unix.c: Likewise.
20049         * sunrpc/xdr.c: Likewise.
20050         * sunrpc/xdr_array.c: Likewise.
20051         * sunrpc/xdr_rec.c: Likewise.
20052         * sunrpc/xdr_ref.c: Likewise.
20053         * sunrpc/xdr_stdio.c: Likewise.
20055 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
20057         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20059 2011-07-03  Andreas Jaeger  <aj@suse.de>
20061         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
20062         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
20063         regenerate with gen-libm-tests.pl.
20065 2010-05-12  Petr Baudis  <pasky@suse.cz>
20067         [BZ #11589]
20068         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
20069         around j0() zero points by switching to j1().
20070         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20071         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20072         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20073         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20075 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
20077         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
20078         instead of 0.
20079         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
20080         instead of 0.
20081         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20082         Patch in part by Pavel Roskin <proski@gnu.org>.
20084         [BZ #13138]
20085         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
20086         realloc.
20087         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
20088         Free memory block if necessary.
20090         [BZ #12847]
20091         * libio/genops.c (INTDEF): For string streams the _lock pointer can
20092         be NULL.  Don't lock in this case.
20094 2011-09-09  Roland McGrath  <roland@hack.frob.com>
20096         * elf/elf.h (ELFOSABI_GNU): New macro.
20097         (ELFOSABI_LINUX): Define to that.
20099 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
20101         * string/strncat.c (strncat): Undef the symbol in case it has been
20102         defined in bits/string.h.
20104 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
20106         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
20108         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
20109         link map.
20111 2011-08-17  Andreas Jaeger  <aj@suse.de>
20113         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
20115 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
20116             Ian Lance Taylor  <iant@google.com>
20118         * math/libm-test.inc (lround_test): New testcase.
20119         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
20121 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
20123         * Makefile: Remove support for automatic cvs check-ins.
20124         * Makerules: Likewise.
20125         * config.make.in: Likewise.
20126         * configure.in: Likewise.
20127         * intl/Makefile: Likewise.
20128         * locale/Makefile: Likewise.
20129         * po/Makefile: Likewise.
20130         * posix/Makefile: Likewise.
20131         * sysdeps/gnu/Makefile: Likewise.
20132         * sysdeps/mach/hurd/Makefile: Likewise.
20133         * sysdeps/sparc/sparc32/Makefile: Likewise.
20135         [BZ #13118]
20136         * posix/Makefile (bug-regex32-ENV): Define.
20137         Patch by John Stanley <jpsinthemix@verizon.net>.
20139         * misc/Makefile (headers): Add bits/select2.h.
20140         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
20141         * misc/bits/select2.h: New file.
20142         * include/bits/select2.h: New file.
20143         * debug/Makefile (routines): Add fdelt_chk.
20144         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
20145         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
20146         FD_ISSET.
20147         * debug/fdelt_chk.c: New file.
20149         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
20150         * wcsmbs/test-wmemcmp.c: Likewise.
20151         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
20152         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
20154 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20156         * string/Makefile (strop-tests): Add memcmp.
20157         * string/test-wmemcmp.c: New file.
20158         * string/test-memcmp.c: Add wmemcmp support.
20160 2011-09-08  Roland McGrath  <roland@hack.frob.com>
20162         [BZ #13153]
20163         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
20164         2011-07-19 change.
20166         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
20167         garbage value in a __mach_port_mod_refs call in the cases of the
20168         task-self and thread-self ports.
20170 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20172         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
20174 2011-09-08  Andreas Schwab  <schwab@redhat.com>
20176         * elf/dl-load.c (lose): Check for non-null L.
20178 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
20180         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
20182         * elf/dl-libc.c (dlerror_run): Pass back error code from
20183         dl_catch_error.
20185         [BZ #13123]
20186         * elf/dl-load.c (lose): Free l_origin if it is valid.
20188         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
20189         names.
20190         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20191         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20192         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20193         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20194         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20195         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
20197 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20199         * sysdeps/powerpc/fpu/e_hypot.c: New file.
20200         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
20201         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
20202         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
20203         * sysdeps/powerpc/fpu/k_cosf.c: New file.
20204         * sysdeps/powerpc/fpu/k_sinf.c: New file.
20205         * sysdeps/powerpc/fpu/s_cosf.c: New file.
20206         * sysdeps/powerpc/fpu/s_sinf.c: New file.
20207         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
20208         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
20210 2011-08-15  Alan Modra  <amodra@gmail.com>
20212         [BZ #13092]
20213         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
20214         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
20215         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
20216         ppc_mcount to static-only-routines.
20217         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
20218         __mcount_internal.
20219         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
20220         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
20222 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
20224         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
20225         for finite and infinity parameters.
20227 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
20229         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
20230         and add nop instructions for throughput optimization.
20231         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20233 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
20235         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
20236         aligned copy for power7 with vector-scalar instructions.
20237         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20239 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
20241         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
20242         AVX check.
20244 2011-09-07  Andreas Schwab  <schwab@redhat.com>
20246         [BZ #13144]
20247         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
20248         last change.
20250 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
20252         * sysdeps/unix/sysv/linux/x86_64/init-first.c
20253         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
20254         syscall wrapper around clock_gettime in __vdso_clock_gettime.
20255         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
20256         clock_gettime.
20258 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
20260         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
20261         Forgot to demangle the pointer.
20263         * sysdeps/i386/sysdep.h: Define atom_text_section.
20264         * sysdeps/x86_64/sysdep.h: Likewise.
20265         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
20266         section with atom_text_section.
20267         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20268         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20269         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20270         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20271         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
20273         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
20274         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
20275         already be defined.  Change to take two parameters and don't assign
20276         result to variable.  Adjust all users.
20277         Define INTERNAL_GETTIME if not already defined.
20278         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
20279         call.
20280         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
20281         HAVE_CLOCK_GETTIME_VSYSCALL.
20282         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
20284         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
20285         gettimeofday vsyscall, just use time.
20287 2011-09-06  Andreas Schwab  <schwab@redhat.com>
20289         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
20290         <errno.h>.
20292 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
20294         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
20295         syscall on x86-64.
20296         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
20297         syscall.
20298         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20299         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
20300         syscall if possible.
20302 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
20304         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
20305         e_ident.  Don't pass to find_mapsXX.
20306         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
20308 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20310         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20311         strchr-sse2-no-bsf strrchr-sse2-no-bsf
20312         * sysdeps/x86_64/multiarch/strchr.S: Update.
20313         Check bit_slow_BSF bit.
20314         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20315         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
20316         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
20318 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
20320         [BZ #13134]
20321         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
20322         before glibc 2.15.
20323         (tryshell): Define.
20324         (__spawni): Change last parameter to be flag.  Test
20325         SPAWN_XFLAGS_USE_PATH flag to use path or not.
20326         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
20327         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
20328         * posix/spawni.c: Likewise.
20329         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
20330         * posix/spawnp.c: Likewise.  Change normal version to use
20331         SPAWN_XFLAGS_USE_PATH.
20332         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
20333         SPAWN_XFLAGS_TRY_SHELL.
20335         [BZ #13150]
20336         * posix/glob.h: Remove gcc 1.x support.
20338         [BZ #13068]
20339         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
20341 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20343         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20344         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
20345         strrchr-sse2-bsf
20346         * sysdeps/i386/i686/multiarch/strchr.S: New file.
20347         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
20348         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
20349         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
20350         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
20351         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
20353 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20355         * sysdeps/x86_64/wcscmp.S: New file.
20357         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
20358         wcscmp-c wcscmp-sse2
20359         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
20360         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
20361         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
20362         * wcsmbs/wcscmp.c: Allow renaming.
20364 2011-09-05  David S. Miller  <davem@davemloft.net>
20366         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
20367         stack slot, rather than the struct return pointer slot.
20368         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
20369         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
20370         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
20371         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
20373 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
20375         * po/ja.po: Update from translation team.
20377         [BZ #13144]
20378         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
20379         kernel in 64-bit binaries.
20381 2011-09-01  David S. Miller  <davem@davemloft.net>
20383         * elf/elf.h (HWCAP_SPARC_*): Move to..
20384         * sysdeps/sparc/sysdep.h: this new file and add new values.
20385         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
20386         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
20387         _DL_HWCAP_COUNT to 24.
20388         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20389         entries.
20390         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
20391         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
20392         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
20393         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
20394         instead of magic constants.
20395         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20397 2011-08-31  David S. Miller  <davem@davemloft.net>
20399         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
20400         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
20401         Reimplement to do errno handling inline.
20402         (SYSCALL_ERROR_HANDLER): New macro.
20403         (__SYSCALL_STRING): Do not do errno handling in asm.
20404         (__CLONE_SYSCALL_STRING): Delete.
20405         (__INTERNAL_SYSCALL_STRING): Delete.
20406         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
20407         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
20408         (PSEUDO): Reimplement to do errno handling inline.
20409         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
20410         (SYSCALL_ERROR_HANDLER): New macro.
20411         (__SYSCALL_STRING): Do not do errno handling in asm.
20412         (__CLONE_SYSCALL_STRING): Delete.
20413         (__INTERNAL_SYSCALL_STRING): Delete.
20414         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
20415         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
20416         i386.
20417         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
20418         (inline_syscall*): Add 'err' argument.
20419         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
20420         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
20421         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
20422         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
20424         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
20425         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20427 2011-08-30  Andreas Schwab  <schwab@redhat.com>
20429         * elf/rtld.c (dl_main): Relocate objects in dependency order.
20431 2011-08-29  Jiri Olsa <jolsa@redhat.com>
20433         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
20434         directive.
20436 2011-08-24  David S. Miller  <davem@davemloft.net>
20438         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
20440 2011-08-24  Andreas Schwab  <schwab@redhat.com>
20442         * elf/Makefile: Add rules to build and run unload8 test.
20443         * elf/unload8.c: New file.
20444         * elf/unload8mod1.c: New file.
20445         * elf/unload8mod1x.c: New file.
20446         * elf/unload8mod2.c: New file.
20447         * elf/unload8mod3.c: New file.
20449         * elf/dl-close.c (_dl_close_worker): Reset private search list if
20450         it wasn't used.
20452 2011-08-23  David S. Miller  <davem@davemloft.net>
20454         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
20455         subtract stack bias.
20456         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
20457         %sp not %fp in calculations.
20458         (_JMPBUF_UNWINDS_ADJ): Likewise.
20460         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
20461         (aio_suspend): Call it to force an exception region around the
20462         AIO_MISC_WAIT() invocation.
20464 2011-08-23  Andreas Schwab  <schwab@redhat.com>
20466         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
20467         backslash.
20469 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
20471         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
20472         protection macro.
20473         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
20474         and <dl-machine.h>.
20475         (Elf64_FuncDesc): Remove.
20477 2011-08-22  David S. Miller  <davem@davemloft.net>
20479         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
20480         sigaltstack check, add missing cfi directives.
20481         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
20482         missing cfi directives, and sigaltstack handling.
20484 2011-08-16  Andreas Schwab  <schwab@redhat.com>
20486         [BZ #11724]
20487         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
20488         object is seen twice.
20489         * elf/dl-fini.c (_dl_sort_fini): Likewise.
20491         * elf/Makefile (distribute): Add tst-initorder2.c.
20492         (tests): Add tst-initorder2.
20493         (modules-names): Add tst-initorder2a tst-initorder2b
20494         tst-initorder2c tst-initorder2d.  Add rules to build them.
20495         ($(objpfx)tst-initorder2.out): New rule.
20496         * elf/tst-initorder2.c: New file.
20497         * elf/tst-initorder2.exp: New file.
20499 2011-08-22  Andreas Schwab  <schwab@redhat.com>
20501         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
20503         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
20504         dependencies back to end of function.
20506         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20507         $(elfobjdir)/ld.so.
20509 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
20511         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
20512         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
20513         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
20514         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
20515         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
20516         of __vdso_gettimeofday.
20517         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
20518         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
20519         attribute_hidden.
20520         (_libc_vdso_platform_setup): Remove initialization of
20521         __vdso_gettimeofday and __vdso_time.
20523 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
20525         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
20526         and fgetc_unlocked.
20527         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
20528         getc_unlocked.
20530         * elf/dl-open.c (add_to_global): Report additions to the global scope
20531         for LD_DEBUG=scopes.
20532         (dl_open_worker): Also print scope of newly loaded dependencies.
20533         (_dl_show_scope): Indicate if there is no scope.
20535         [BZ #13114]
20536         * stdio-common/Makefile (tests): Add bug24.
20537         * stdio-common/bug24.c: New file.
20539 2011-08-19  Andreas Jaeger  <aj@suse.de>
20541         [BZ #13114]
20542         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
20543         non-existant file when using close-on-exec mode.
20545 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
20547         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
20548         the very first instruction.
20550         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
20551         the CFI state in the end.
20552         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
20553         inclusion of dl-trampoline.h.
20554         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
20556 2011-08-19  Andreas Schwab  <schwab@redhat.com>
20558         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
20559         expectations for long double.
20561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
20562         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
20564 2011-08-14  David S. Miller  <davem@davemloft.net>
20566         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
20567         artificual limit depends upon the system page size.
20569 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
20571         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
20572         * resolv/Makefile: Define CFLAGS-libresolv.
20574 2011-08-17  Andreas Schwab  <schwab@redhat.com>
20576         * nss/makedb.c (compute_tables): Make variables used in nested
20577         function static.
20579 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
20581         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
20582         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
20583         if buffer was too small.
20585         * elf/pldd.c (main): Attach to all threads in the process.
20586         Rewrite /proc handling to use *at functions.
20588 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
20590         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
20591         specifies first scope to show.
20592         (dl_open_worker): Update callers.  Move printing scope of new
20593         object to before the relocation.
20594         * elf/rtld.c (dl_main): Update _dl_show_scope call.
20595         * sysdeps/generic/ldsodefs.h: Update declaration.
20597         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
20598         string for the scope number.
20600 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
20602         * nscd/servicescache.c (cache_addserv): Make sure written is always
20603         initialized.
20605 2011-08-14  Roland McGrath  <roland@hack.frob.com>
20607         * sysdeps/i386/i486/bits/atomic.h
20608         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
20609         statement expression, so as to suppress "set but not used" warning.
20610         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
20612         * string/strncat.c (STRNCAT): Use prototype definition.
20614         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
20615         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
20616         -Iprograms here.
20617         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
20618         (localedef-modules): Add localedef.
20619         (locale-modules): Add locale.
20621         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
20622         * elf/rtld.c (dl_main): Invert order of assignment in last change,
20623         to avoid a warning.
20625 2011-08-14  David S. Miller  <davem@davemloft.net>
20627         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
20628         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
20630 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
20632         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
20633         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
20634         * elf/rtld.c (dl_main): Set l_name of vDSO.
20635         Call _dl_show_scope when DL_DEBUG_SCOPES.
20636         (process_dl_debug): Recognize scopes flag and also set it for all.
20637         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
20638         Declare _dl_show_scope.
20640         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
20641         (do_dlopen): Pass caller_dlopen to dl_open.
20642         (__libc_dlopen_mode): Initialize caller_dlopen.
20644         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
20645         of libc.  Make tolower call locale-independent.  Optimize a bit by
20646         using isdigit instead of isalnum.
20647         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
20649 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
20651         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
20652         was a dependency or dynamically loaded.
20654 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
20656         * intl/l10nflist.c: Allow architecture-specific pop function.
20657         * sysdeps/x86_64/l10nflist.c: New file.
20659         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
20660         classification.
20662 2011-08-10  Andreas Schwab  <schwab@redhat.com>
20664         * include/dirent.h: Add libc_hidden_proto for scandirat and
20665         scandirat64.  Don't declare __scandirat64.
20666         * dirent/scandirat.c: Add libc_hidden_def.
20667         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
20668         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
20670 2011-08-10  David S. Miller  <davem@davemloft.net>
20672         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
20673         enum.
20674         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20675         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20676         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20678 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
20680         * Versions.def [libc]: Add GLIBC_2.15.
20681         * dirent/Makefile (routines): Add scandirat and scandirat64.
20682         * dirent/Versions [libc]: Export scandirat and scandirat64 for
20683         GLIBC_2.15.
20684         * dirent/dirent.h: Declare scandirat and scandirat64.
20685         * dirent/scandirat.c: New file.
20686         * dirent/scandirat64.c: New file.
20687         * sysdeps/wordsize-64/scandirat.c: New file.
20688         * sysdeps/wordsize-64/scandirat64.c: New file.
20689         * dirent/opendir.c: Define opendirat.
20690         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
20691         using scandirat.
20692         * dirent/scandir64.c: Adjust for scandir.c change.
20693         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
20694         __scandirat64, and __scandir_cancel_handler.
20695         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
20696         additional parameter and use openat instead of open (outside of ld.so).
20697         Add new __opendir as wrapper around __opendirat.
20698         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
20699         here without requiring old scandirat implementation.
20701 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
20703         * dirent/scandir.c (cancel_handler): Renamed to
20704         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
20705         defined.  Adjust users.
20706         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
20707         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
20709 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
20711         * string/test-string.h (IMPL): Use __STRING to expand name and then
20712         stringify it.
20714         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
20715         of cleanups.
20717 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20719         * string/Makefile: Update.
20720         (strop-tests): Append strncat.
20721         * string/test-wcscmp.c: New file.
20722         New comprehensive test for wcscmp.
20723         * string/test-strcmp.c: Update.
20724         (WIDE): New define.
20726 2011-07-22  Andreas Schwab  <schwab@redhat.com>
20728         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
20729         line.
20731 2011-07-26  Andreas Schwab  <schwab@redhat.com>
20733         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20734         encoding to ACE if AI_IDN.
20736 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
20738         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
20739         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
20741 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20743         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
20744         Fix overflow bug in strncat.
20745         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20747         * string/test-strncat.c: Update.
20748         Add new tests for checking overflow bugs.
20750 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20752         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20753         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
20754         * sysdeps/i386/i686/multiarch/strcat.S: New file.
20755         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
20756         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
20757         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
20758         * sysdeps/i386/i686/multiarch/strncat.S: New file.
20759         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
20760         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
20762         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
20763         (USE_AS_STRCAT): Define.
20764         Add strcat and strncat support.
20765         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20767 2011-07-25  Andreas Schwab  <schwab@redhat.com>
20769         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
20770         __n bigger than INT_MAX+1.
20771         (__strncmp_g): Likewise.
20773 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
20775         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
20776         * libio/stido.h: Likewise.
20778         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
20779         (AF_NFC): Define.
20780         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
20781         (AF_NFC): Define.
20783         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
20784         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20785         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20786         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20787         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20789         [BZ #13021]
20790         * scripts/test-installation.pl: Don't expect libnss_test1 to be
20791         installed.
20793         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
20794         typo.
20795         (_dl_x86_64_save_sse): Likewise.
20797 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
20799         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
20800         OSXSAVE.
20801         (_dl_x86_64_save_sse): Likewise.
20803         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
20805         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
20807 2011-07-21  Andreas Schwab  <schwab@redhat.com>
20809         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
20810         change.
20811         (_dl_x86_64_save_sse): Use correct AVX check.
20813 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20815         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
20816         bug in strncpy/strncat.
20817         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20819 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
20821         * string/tester.c (test_strcat): Add tests for different alignments
20822         of source and destination.
20823         (test_strncat): Likewise.
20825 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
20827         [BZ #12852]
20828         * posix/glob.c (glob): Check passed in values before using them in
20829         expressions to avoid some overflows.
20830         (glob_in_dir): Likewise.
20832         [BZ #13007]
20833         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
20834         check for AVX enablement so that we don't crash with old kernels and
20835         new hardware.
20836         * elf/tst-audit4.c: Add same checks here.
20837         * elf/tst-audit6.c: Likewise.
20839         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
20841 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
20843         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
20845 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
20847         * po/cs.po: Update from translation team.
20848         * po/bg.po: Likewise.
20850 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
20852         * misc/sys/cdefs.h: Add support for const attribute.
20853         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
20854         to gnu_dev_{major,minor,makedev} functions.
20856 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
20858         * intl/dcigettext.c (get_output_charset): Add missing bracket.
20860 2011-07-20  Andreas Schwab  <schwab@redhat.com>
20862         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
20863         strlen results.
20865 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20867         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20868         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
20869         register in order to avoid conflicts with the soft frame pointer
20870         being held in r11 when necessary.
20871         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20872         (INTERNAL_VSYSCALL_NCS): Likewise.
20874 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
20876         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
20877         * elf/dl-fini.c (_dl_fini): Adjust caller.
20878         * elf/dl-close.c (_dl_close_worker): Likewise.
20879         * sysdeps/generic/ldsodefs.h: Adjust declaration.
20881 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
20883         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
20884         "aux_cache->nlibs < 0".
20886         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
20887         in the reload-count case.
20889 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20891         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20892         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
20893         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
20894         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
20895         * sysdeps/x86_64/multiarch/strcat.S: New file.
20896         * sysdeps/x86_64/multiarch/strncat.S: New file.
20897         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
20898         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
20899         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
20900         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
20901         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
20902         (USE_AS_STRCAT): Define.
20903         Add strcat and strncat support.
20904         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20905         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20906         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
20907         * string/strncat.c: Update.
20908         (USE_AS_STRNCAT): Define.
20909         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20910         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
20911         and i7.
20912         * sysdeps/x86_64/multiarch/init-arch.h
20913         (bit_Prefer_PMINUB_for_stringop): New.
20914         (index_Prefer_PMINUB_for_stringop): Likewise.
20915         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
20916         bit_Prefer_PMINUB_for_stringop.
20918 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
20920         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
20921         buffer64.
20922         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
20923         of casting of buffer.
20924         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
20925         buffer32 and buffer64.
20926         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
20927         writes instead of casting of buffer.
20928         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
20929         buffer32.
20930         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
20931         casting of buffer.
20933 2011-07-19  Andreas Schwab  <schwab@redhat.com>
20935         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
20937 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
20939         * nscd/nscd.c (termination_handler): Don't do anything for a database
20940         if it has not yet been initialized.
20942 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
20944         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20946 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
20948         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20950 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
20952         * po/nl.po: Update from translation team.
20953         * po/sv.po: Likewise.
20955 2011-07-16  Roland McGrath  <roland@hack.frob.com>
20957         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
20958         now disallowed by GCC.
20960         * configure.in (use-default-link): Default to yes if a test -shared
20961         link meets our qualifications.
20962         * configure: Regenerated.
20964         * config.make.in (output-format): New variable.
20965         * configure.in: Check for ld --print-output-format support.
20966         * configure: Regenerated.
20967         * Makerules ($(common-objpfx)format.lds)
20968         [$(output-format) != unknown]: Just use $(output-format),
20969         instead of the linker-script munging.
20971 2011-07-14  Roland McGrath  <roland@hack.frob.com>
20973         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
20974         of $(common-objpfx)shlib.lds.
20975         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
20977         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
20978         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
20980         * configure.in (-z relro check): Adjust test code to add a large
20981         writable data section after it.
20982         * configure: Regenerated.
20984 2011-07-11  Roland McGrath  <roland@hack.frob.com>
20986         * configure.in (-z relro check): Fix test code to make the variable
20987         truly const.
20988         * configure: Regenerated.
20990 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
20992         * nscd/nscd.h (struct traced_file): Define.
20993         (struct database_dyn): Remove inotify_descr, reset_res, and filename
20994         elements.  Add traced_files.
20995         (inotify_fd): Declare.
20996         (register_traced_file): Declare.
20997         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
20998         (inotify_fd): Export.
20999         (resolv_conf_descr): Remove.
21000         (nscd_init): Move inotify descriptor creation to main.
21001         Don't register files for notification here.
21002         (register_traced_file): New function.
21003         (invalidate_cache): Don't use reset_res to determine whether to call
21004         res_init, go through the list of registered files.
21005         (main_loop_poll): The inotify descriptors are now stored in the
21006         structures for the traced files.
21007         (main_loop_epoll): Likewise
21008         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
21009         to __nss_disable_nscd.
21010         * nscd/cache.c (prune_cache): There is no single inotify descriptor
21011         for a database anymore.  Check the records for all the registered
21012         files instead.
21013         * nss/Makefile (libnss_files-routines): Add files-init.
21014         (libnss_db-routines): Add db-init.
21015         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
21016         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
21017         * nss/nss_db/db-init.c: New file.
21018         * nss/nss_files/files-init.c: New file.
21019         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
21020         __nss_lookup_function.
21021         (__nss_lookup_function): Call nss_load_library.
21022         (nss_load_all_libraries): New function.
21023         (__nss_disable_nscd): Take parameter with callback function for files
21024         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
21025         used for the cached services.
21026         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
21027         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
21028         options for features to all the files in nscd.
21030         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
21032 2011-07-10  Roland McGrath  <roland@hack.frob.com>
21034         * csu/elf-init.c (__libc_csu_init): Comment typo.
21036 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
21038         * po/pl.po: Update from translation team.
21039         * po/ja.po: Likewise.
21040         * po/ru.po: Likewise.
21041         * po/ko.po: Likewise.
21042         * po/fr.po: Likewise.
21044 2011-07-09  Roland McGrath  <roland@hack.frob.com>
21046         * configure.in (.ctors/.dtors header and trailer check):
21047         Use an empirical test on a built program.
21048         * configure: Regenerated.
21050         * configure.in (-z relro check): Use an empirical test on a built DSO.
21051         Detect, but do not require, on ia64.
21052         * configure: Regenerated.
21054         * configure.in (READELF): Find it with AC_CHECK_TOOL.
21055         Update tests that use readelf to use $READELF instead.
21056         * configure: Regenerated.
21058 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
21060         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
21061         if the result is not used.
21063 2011-07-05  Andreas Jaeger  <aj@suse.de>
21065         [BZ#9696]
21066         * stdlib/tst-strtod.c: Add testcase.
21068 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
21070         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
21071         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
21072         The latter has a higher limit.  Take additional parameter to pass to
21073         the new function.
21074         (__pathconf): Pass file to __statfs_link_max.
21075         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
21076         __statfs_link_max.
21077         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
21078         __statfs_link_max.
21080         [BZ #12868]
21081         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
21082         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21083         Handle Lustre.
21084         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
21085         (__statfs_filesize_max): Likewise.
21086         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
21088 2011-07-05  Andreas Jaeger  <aj@suse.de>
21090         * resolv/res_comp.c (dn_skipname): Remove unused variable.
21092 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
21094         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
21095         `status' variable.
21096         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
21097         Likewise.
21099 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
21101         * Makefile (strop-tests): Add strncat.
21102         * string/test-strncat.c: New file.
21104 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
21106         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
21108 2011-06-21  Andreas Jaeger  <aj@suse.de>
21110         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
21111         Copy rule from iconvdata/Makefile.
21113 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
21115         [BZ #12922]
21116         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
21117         but no long options are defined, just return 'W'.
21119 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
21121         [BZ #9696]
21122         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
21124 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
21126         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
21127         netgroups to read.
21128         (innetgr): Likewise.
21130 2011-07-05  Roland McGrath  <roland@hack.frob.com>
21132         * config.make.in (install_root): Default to $(DESTDIR).
21134 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
21136         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
21138 2011-07-02  Roland McGrath  <roland@hack.frob.com>
21140         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
21142         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
21143         containing directory rather than embedding absolute directory names.
21145         * scripts/check-local-headers.sh: Rewritten using awk.
21146         Match by word, not by line.  Print error messages for matches.
21147         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
21149         * Makerules [shlib-lds-flags empty]:
21150         ($(common-objpfx)libc_pic.opts): New target.
21151         ($(common-objpfx)libc_pic.os.clean): New target.
21152         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
21154         * config.make.in (OBJCOPY): New variable.
21155         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
21156         * configure: Regenerated.
21158         * config.make.in (use-default-link): New variable.
21159         * configure.in (use_default_link): Grok --with-default-link to set it.
21160         * configure: Regenerated.
21161         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
21162         (shlib-lds, shlib-lds-flags): Define to empty.
21164         * Makerules (shlib-lds): New variable.
21165         (shlib-lds-flags): New variable.
21166         (build-shlib, build-moduile, build-module-asneeded): Use it.
21167         ($(common-objpfx)libc.so): Use $(shlib-lds).
21168         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
21169         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
21171         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
21172         DT_FLAGS/DT_FLAGS_1 with zero flags.
21174         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
21175         linker script munging.
21177 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
21179         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
21180         as 128-bit value.
21181         * crypt/sha512.c (sha512_process_block): Perform total addition using
21182         128-bit if possible.
21183         (__sha512_finish_ctx): Likewise.
21184         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
21185         as 64-bit value.
21186         * crypt/sha256.c (SWAP64): Define.
21187         (sha256_process_block): Perform total addition using 64-bit if
21188         possible.
21189         (__sha256_finish_ctx): Likewise.
21191 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
21193         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
21194         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21195         * nscd/hstcache.c (cache_addhst): Likewise.
21196         * nscd/grpcache.c (cache_addgr): Likewise.
21197         * nscd/aicache.c (addhstaiX): Likewise
21198         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
21200 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
21202         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
21203         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21204         * nscd/hstcache.c (cache_addhst): Likewise.
21205         * nscd/grpcache.c (cache_addgr): Likewise.
21206         * nscd/aicache.c (addhstaiX): Likewise
21208 2011-07-01  Andreas Schwab  <schwab@redhat.com>
21210         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
21211         domain only when needed.
21213 2011-06-30  Andreas Schwab  <schwab@redhat.com>
21215         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
21216         is always restored.
21218 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
21220         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
21221         are re-adding the entry.
21222         * nscd/servicescache.c (cache_addserv): Likewise.
21224 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
21226         * sysdeps/generic/dl-irel.h: fix protection against multiple
21227         inclusions.
21228         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
21230 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
21232         [BZ #12935]
21233         * malloc/memusage.sh: Fix quoting in message.
21234         * debug/xtrace.sh: Likewise.
21236         * configure.in: Remove support for --experimental-malloc option, make
21237         it the default.
21238         * config.make.in: Likewise.
21239         * malloc/Makefile: Likewise.
21241 2011-06-27  Andreas Schwab  <schwab@redhat.com>
21243         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
21244         two-byte characters.
21246 2011-06-27  Roland McGrath  <roland@hack.frob.com>
21248         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
21249         AC_CACHE_CHECK invocation.
21250         * configure: Regenerated.
21252         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
21254 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
21256         [BZ #12350]
21257         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
21258         bit from old_res_options.
21260         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
21262         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
21263         value type for setfct.
21265 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
21267         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21268         __gettimeofday instead of gettimeofday.
21270 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
21272         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
21274 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
21276         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
21278         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
21279         info.
21281 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
21283         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21284         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21285         strcpy-sse2-unaligned strncpy-sse2-unaligned
21286         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
21287         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
21288         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
21289         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
21290         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
21291         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
21292         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
21293         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
21294         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
21295         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
21296         (STRCPY): Support SSE2 and SSSE3 versions.
21298 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
21300         [BZ #12874]
21301         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
21302         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
21303         kernels which artificially limit size of requests.
21305 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
21307         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21308         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21309         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
21310         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
21311         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
21312         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
21313         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
21314         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
21315         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
21316         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
21317         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
21318         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
21319         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
21320         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
21321         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
21322         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21323         Enable unaligned load optimization for Intel Core i3, i5 and i7
21324         processors.
21325         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
21326         Define.
21327         (index_Fast_Unaligned_Load): Define.
21328         (HAS_FAST_UNALIGNED_LOAD): Define.
21330 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
21332         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
21334 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
21336         [BZ #12907]
21337         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
21338         until it is clear that the information is realy needed.
21339         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
21341 2011-06-22  Andreas Schwab  <schwab@redhat.com>
21343         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
21345 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
21347         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21348         /sys/devices/system/cpu/online if it is usable.
21350         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
21351         reading the information from the /proc filesystem to once a second.
21353 2011-06-21  Andreas Jaeger  <aj@suse.de>
21355         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
21356         NULL after inclusion of kernel headers.
21358 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
21360         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
21361         calls to internal_setent.
21363         [BZ #12885]
21364         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
21365         addresses using gethostbyname4_r ignore IPv4 addresses.
21367         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
21368         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
21370         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
21372 2011-06-20  David S. Miller  <davem@davemloft.net>
21374         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
21375         inclusions.
21376         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
21378         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
21379         (elf_irel): Use it.
21380         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
21381         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
21382         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
21383         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
21384         * sysdeps/x86_64/dl-irel.h: Likewise.
21386         * elf/dl-runtime.c: Use elf_ifunc_invoke.
21387         * elf/dl-sym.c: Likewise.
21389 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
21391         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
21392         need to dereference resplen2.
21394 2011-06-14  Andreas Schwab  <schwab@redhat.com>
21396         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
21398 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
21400         * Makeconfig: Define vardbdir and inst_vardbdir.
21401         * nss/Makefile: Add rules to install db-Makefile.
21403         * nss/nss_db/db-XXX.c: Cleanup.
21405         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
21406         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
21407         GLIBC_PRIVATE.
21408         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
21409         * nss/makedb.c: Implement -g option to specify that value strings
21410         are generated and should not be added to table iterated over for
21411         get*ent calls.
21412         * nss/nss_db/db-initgroups.c: New file.
21414         * nss/getent.c: Add support for initgroups lookups through getgrouplist
21415         interface.
21417         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
21418         (internal_getgrouplist): Adjust to name change.
21419         Update use_initgroups_entry if this is not the first call.
21420         * nss/databases.def: Add initgroups entry.
21422         * nss/makedb.c (compute_tables): Check result of multiple hash table
21423         sizes to minimize maximum chain length.
21425 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
21427         * Versions.def: Add entry for libnss_db.
21428         * shlib-versions: Likewise.
21429         * nss/Makefile: Add rules to build libnss_db.
21430         * nss/Versions: Add libnss_db information.  Organize libnss_files
21431         entries better.
21432         * nss/db-Makefile: Add gshadow support.  Change rules for the new
21433         makedb progra.  Some minor improvements to generate smaller files.
21434         * nss/nss_db/nss_db.h: Move NSS database header data structures to
21435         here from...
21436         * nss/makedb.c: ...here.
21437         Improve database format to be smaller and require less memory at
21438         runtime.
21439         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
21440         db anymore.
21441         * nss/nss_db/db-netgrp.c: Likewise.
21442         * nss/nss_db/db-open.c: Likewise.
21443         * nss/nss_files/flies-XXX.x: Adjust comments.
21444         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
21445         * nss/nss_files/files-grp.c: Likewise.
21446         * nss/nss_files/files-hosts.c: Likewise.
21447         * nss/nss_files/files-network.c: Likewise.
21448         * nss/nss_files/files-proto.c: Likewise.
21449         * nss/nss_files/files-pwd.c: Likewise.
21450         * nss/nss_files/files-rpc.c: Likewise.
21451         * nss/nss_files/files-service.c: Likewise.
21452         * nss/nss_files/files-sgrp.c: Likewise.
21453         * nss/nss_files/files-spwd.c: Likewise.
21454         * nss/nss_db/db-alias.c: Removed.
21455         * nss/nss_db/dummy-db.h: Removed.
21457 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
21459         * nss/makedb.c: Rewritten to not use database library.
21460         * nss/Makefile: Update to build new makedb program.
21462 2011-06-14  Andreas Jaeger  <aj@suse.de>
21464         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
21465         memset declaration.
21467 2011-06-10  Andreas Schwab  <schwab@redhat.com>
21469         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
21470         tmpbuf.
21472 2011-06-10  Roland McGrath  <roland@hack.frob.com>
21474         * Makerules (shlib.lds): Fail if the linker script comes out empty.
21475         * elf/Makefile ($(objpfx)ld.so): Likewise.
21477         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
21478         Don't list ld.so twice in dependencies.
21480         * posix/bug-regex31.c: Include <stdlib.h>.
21482         * nscd/hstcache.c (cache_addhst): Remove unused variable.
21484         * nis/nss_compat/compat-spwd.c
21485         (getspent_next_nss_netgr): Remove unused variable.
21486         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
21488         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
21489         nonmembers" output to use the right array.
21491         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
21493         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
21495         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
21496         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
21497         * catgets/gencat.c (read_input_file): Likewise.
21498         * locale/programs/locarchive.c (enlarge_archive): Likewise.
21500         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
21501         variable definition inside #if's controlling its use.
21503         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
21505         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
21507         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
21509         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
21510         unreachable code.
21512         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
21514         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
21515         * configure: Regenerated.
21517         * Makerules: Revert last change.
21518         * elf/Makefile: Likewise.
21520 2011-06-09  Roland McGrath  <roland@hack.frob.com>
21522         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
21523         * elf/Makefile ($(objpfx)librtld.os): Likewise.
21524         (reloc-link): Likewise.
21526 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
21528         * elf/Makefile: Add rules to build pldd.
21529         * elf/pldd.c: New file.
21530         * elf/pldd-xx.c: New file.
21532 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
21534         * version.h: Update for 2.15 development version.
21536 2011-06-07  David S. Miller  <davem@davemloft.net>
21538         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
21539         ifuncs.
21540         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
21541         elf_machine_lazy_rel): Likewise.
21542         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21543         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
21544         elf_machine_lazy_rel): Likewise.
21545         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
21546         dl_hwcap via passed in argument.
21547         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
21548         Likewise.
21550 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21552         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
21554 2011-06-06  Roland McGrath  <roland@hack.frob.com>
21556         [BZ #12849]
21557         * manual/fdl-1.1.texi: New file, verbatim from:
21558         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
21559         * manual/lgpl-2.1.texi: New file, verbatim from:
21560         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
21561         * manual/Makefile (licenses): New variable, list those new file names.
21562         (texis): Use it.
21563         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
21565         * manual/fdl.texi: File removed.
21566         * manual/lesser.texi: File removed.
21567         * manual/libc.texinfo (Copying, Documentation License):
21568         Use new @include file names, put @appendix directive before @include.
21570 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
21572         [BZ #12841]
21573         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
21574         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
21575         (mq_open): Add __NTH.
21577 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
21579         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21580         Assume Intel Core i3/i5/i7 processor if AVX is available.
21582 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
21584         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21585         typo.
21587 2011-05-31  Andreas Schwab  <schwab@redhat.com>
21589         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
21590         memory.  Use alloca_account.  Fix memory leak when retrying.
21592 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
21594         * version.h (RELEASE): Bump for 2.14 release.
21595         * include/features.h (__GLIBC_MINOR__): Bump to 14.
21597         * config.make.in (RANLIB): Remove entry.
21599 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
21601         * po/Makefile (po-sed-cmd): Add ksh to extensions.
21602         (libc.pot): Work around missing support for .ksh extension in xgettext.
21604         [BZ #12684]
21605         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
21606         if both request failed.
21607         (send_dg): In case of server errors clear resplen or *resplen2.
21609         [BZ #12454]
21610         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
21611         when there are multiple maps.
21612         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
21613         (_dl_fini): Remove test here.
21615         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
21617 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
21619         [BZ #12350]
21620         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
21621         bit from old_res_options.
21622         (gaih_inet): Likewise.
21624         [BZ #11099]
21625         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
21626         as signed.
21628         * resolv/res_init.c (res_setoptions): Make the code more compact.
21630         [BZ #11558]
21631         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
21632         set RES_USEVC.
21634         [BZ #11634]
21635         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
21637         * malloc/malloc.h: Mark malloc hook variables as deprecated.
21639         [BZ #11781]
21640         * malloc/malloc.h: Declare malloc hook variables as volatile.
21642         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
21643         in last patch.
21645         [BZ #11799]
21646         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
21647         raise in the comment.
21648         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21649         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21650         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
21652 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
21654         [BZ #12811]
21655         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
21656         grow the buffers more if it already has to be sufficient.
21657         (build_wcs_upper_buffer): Likewise.
21658         * posix/regexec.c (check_matching): Likewise.
21659         (clean_state_log_if_needed): Likewise.
21660         (extend_buffers): Don't enlarge buffers beyond size of the input
21661         buffer.
21662         Patches mostly by Emil Wojak <emil@wojak.eu>.
21663         * posix/bug-regex32.c: New file.
21664         * posix/Makefile (tests): Add bug-regex32.
21666         * locale/findlocale.c (_nl_find_locale): Return right away if
21667         _nl_explode_name failed.
21668         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21670         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
21672         * debug/xtrace.sh: Unify messages.
21673         * malloc/memusage.sh: Likewise.
21675         [BZ #12813]
21676         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
21677         time symbol from vDSO.  Substitute with vsyscall if not available.
21678         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
21679         __vdso_time.
21681         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
21682         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
21683         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
21684         Add sendmmsg and internal_sendmmsg.
21685         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
21686         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
21687         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
21689         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
21690         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
21691         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
21693 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
21695         [BZ #12813]
21696         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
21697         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
21698         available.
21699         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
21700         __vdso_getcpu.
21702         [BZ #12814]
21703         * iconvdata/Makefile (tests): Add bug-iconv9.
21704         * iconvdata/bug-iconv9.c: New file.
21706 2011-05-27  Andreas Schwab  <schwab@redhat.com>
21708         [BZ #12814]
21709         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
21711 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
21713         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21714         (struct user_regs_struct): Change intcs field back to cs.
21716 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
21718         * po/ja.po: Update from translation team.
21720 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
21722         [BZ #12795]
21723         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
21724         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
21726 2011-05-20  Andreas Schwab  <schwab@redhat.com>
21728         * stdlib/longlong.h: Update from GCC.
21730 2011-05-23  Andreas Schwab  <schwab@redhat.com>
21732         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
21733         parameter name.
21734         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
21735         Add parameter name.
21736         (__sysconf): Pass it down.
21738 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
21740         [BZ #12671]
21741         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
21742         some situations.
21743         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21744         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
21745         add in in __libc_use_alloca calls.  Adjust callers.
21746         (glob): Use malloc in some situations.
21748         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
21749         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
21750         pltexit.
21752 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
21754         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
21755         and CLOCK_BOOTTIME_ALARM.
21757         [BZ #12782]
21758         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
21759         is returned.
21761         * string/_strerror.c (__strerror_r): Print negative errors as signed
21762         numbers.
21764         [BZ #12777]
21765         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
21766         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
21767         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
21769         * configure.in: Fix typo in redirection and correct removal of test
21770         files in two cases.
21772         [BZ #12788]
21773         * locale/setlocale.c (new_composite_name): Fix test to check for
21774         identical name of all categories.
21776         [BZ #12792]
21777         * libio/filedoalloc.c (local_isatty): New function.
21778         (_IO_file_doallocate): Use local_isatty.
21779         * stdio-common/perror.c (perror): In case a new stream is used
21780         forward the stream error.
21781         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
21782         error flag.
21784 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
21786         [BZ #11869]
21787         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
21788         alloca.
21789         * include/alloca.h (extend_alloca_account): Define.
21791         [BZ #11857]
21792         * posix/regex.h: Fix comments with documentation of user-accessible
21793         fields after compilation and describe correct free'ing of pattern
21794         after re_compile_pattern.
21795         Patch by Reuben Thomas <rrt@sc3d.org>.
21797 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
21799         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
21800         and -mno-altivec to prevent the compiler from using Altivec and/or
21801         VSX instructions when the corresponding registers are not available.
21803 2011-05-19  Andreas Schwab  <schwab@redhat.com>
21805         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
21807 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
21809         * libio/freopen.c (freopen): Use __dup2, not dup2.
21810         * libio/freopen64.c (freopen64): Likewise.
21812 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
21814         [BZ #12775]
21815         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
21816         * math/Makefile (tests): Add test-powl.
21817         (CFLAGS-test-powl.c): Define.
21818         * math/test-powl.c: New file.
21820 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21822         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
21824 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
21826         [BZ #11837]
21827         * iconvdata/gb18030.c: Update to GB18020-2005.
21829 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
21831         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
21832         RE_SYNTAX_POSIX_AWK): Update to match recent development.
21833         Patch by Aharon Robbins <arnold@skeeve.com>.
21835         [BZ #11892]
21836         * stdlib/putenv.c (putenv): Don't always create copy of the variable
21837         on the stack.
21839         [BZ #11895]
21840         * misc/pselect.c (__pselect): Handle timeout value errors hidden
21841         through underflows.
21843         [BZ #12766]
21844         * misc/error.c (error_at_line): Ensure file_name and old_file_name
21845         point to strings before performing equality test for error_one_per_line
21846         mode.
21848         [BZ #11697]
21849         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
21851         [BZ #11820]
21852         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21853         (struct user_fpregs_struct): Avoid __uint*_t types.
21855         [BZ #6420]
21856         * malloc/mtrace.c (tr_where): Add additional parameter to point to
21857         symbol info.  Use it instead of calling _dl_addr locally.
21858         (lock_and_info): New function.
21859         (tr_freehook): Call lock_and_info and pass symbol info as additional
21860         parameter to tr_where.
21861         (tr_mallochook): Likewise.
21862         (tr_reallochook): Likewise.
21863         (tr_memalignhook): Likewise.
21865         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
21866         used and couldn't be at all thread-safe.
21868 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
21870         * libio/freopen.c (freopen): Don't close old file descriptor
21871         before the new one is opened.  Instead dup the new file descriptor
21872         to the old one after the new stream is created.
21873         * libio/freopen64.c (freopen64): Likewise.
21874         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
21875         * libio/fileops.c (_IO_new_file_close_it): Handle new
21876         _IO_FLAGS2_NOCLOSE flag.
21877         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
21878         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
21879         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
21880         _IO_FLAGS2_NOCLOSE flag.
21881         * include/unistd.h: Add hidden_proto for dup3.
21882         Define __have_dup3.
21883         * io/dup3.c: Define hidden symbol.
21884         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
21886         [BZ #7101]
21887         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
21888         when an incomplete long option is used.
21889         * posix/tst-getopt_long1.c: New file.
21890         * posix/Makefile (tests): Add tst-getopt_long1.
21892         [BZ #10138]
21893         * scripts/config.guess: Update from autoconf-2.68.
21894         * scripts/config.sub: Likewise.
21896         [BZ #10157]
21897         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
21898         tests into ...
21899         (has_cpuclock): ...this.  New function.
21900         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
21901         macro here based on has_cpuclock code.
21903         [BZ #10149]
21904         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21905         First byte (not low byte) is now always NUL.
21906         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
21908         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21909         Use non-cancelable interfaces.
21911         [BZ #9809]
21912         * locale/iso-639.def: Add entry for Sorani.
21914         [BZ #11901]
21915         * include/stdlib.h: Move include protection to the right place.
21916         Define abort_msg_s.  Declare __abort_msg with it.
21917         * stdlib/abort.c (__abort_msg): Adjust type.
21918         * assert/assert.c (__assert_fail_base): New function.  Majority
21919         of code from __assert_fail.  Allocate memory for __abort_msg with
21920         mmap.
21921         (__assert_fail): Now call __assert_fail_base.
21922         * assert/assert-perr.c: Remove bulk of implementation.  Use
21923         __assert_fail_base.
21924         * include/assert.hL Declare __assert_fail_base.
21925         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
21926         mmap.
21927         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
21929 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
21931         [BZ #11952]
21932         [BZ #12453]
21933         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
21934         until all modules are registered in the DTV.
21935         * elf/Makefile: Add rules to build and run tst-tls19.
21936         * elf/tst-tls19.c: New file.
21937         * elf/tst-tls19mod1.c: New file.
21938         * elf/tst-tls19mod2.c: New file.
21939         * elf/tst-tls19mod3.c: New file.
21940         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
21942         [BZ #12083]
21943         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
21944         correctly.
21946         [BZ #12601]
21947         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
21948         two-byte sequence errors.
21949         * iconvdata/Makefile (tests): Add bug-iconv8.
21950         * iconvdata/bug-iconv8.c: New file.
21952         [BZ #12626]
21953         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
21954         buf2 definition.
21956         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
21958         [BZ #12432]
21959         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
21960         (dummy_getcfa): New function.
21961         (init): Get _Unwind_GetCFA address, use dummy if not found.
21962         (backtrace_helper): In recursion check, also check whether CFA changes.
21963         (__backtrace): Completely initialize arg.
21965         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
21966         storing incomplete byte sequence in state object.  Avoid testing for
21967         guaranteed too small input if we know there is enough data available.
21969 2011-05-11  Andreas Schwab  <schwab@redhat.com>
21971         * Makeconfig (+link-pie): Indent.
21972         * Rules (binaries-pie): Define if $(have-fpie) and
21973         $(build-shared).
21974         (binaries-shared): Also filter out $(binaries-pie).
21975         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
21976         * nscd/Makefile (others-pie): Add nscd.
21977         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
21978         ($(objpfx)nscd): Remove command override.
21979         * login/Makefile (others-pie): Add pt_chown.
21980         ($(objpfx)pt_chown): Remove command override.
21981         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
21982         remove command overrides.
21984 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
21986         * libio/tst_putwc.c: Fix error messages.
21988         [BZ #12724]
21989         * libio/fileops.c (_IO_new_file_close_it): Always flush when
21990         currently writing and seek to current position when not.
21991         * libio/Makefile (tests): Add bug-fclose1.
21992         * libio/bug-fclose1.c: New file.
21994 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
21996         [BZ #12511]
21997         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
21998         don't set DF_1_NODELETE here.
21999         (do_lookup_x): When entering new entry test for copy relocation
22000         and if necessary set DF_1_NODELETE flag.
22001         * elf/tst-unique4.cc: New file.
22002         * elf/tst-unique4.h: New file.
22003         * elf/tst-unique4lib.cc: New file.
22004         * elf/Makefile: Add rules to build and run tst-unique4.
22005         Patch by Piotr Bury <pbury@goahead.com>.
22007 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
22009         [BZ #12052]
22010         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
22012         [BZ #12625]
22013         * misc/mntent_r.c (addmntent): Flush the stream after the output
22015         [BZ #12393]
22016         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
22017         (is_trusted_path_normalize): Skip initial colon.  Append slash
22018         to empty buffer.  Duplicate is_trusted_path code but allow
22019         constructed patch to be prefix.
22020         (is_dst): Allow $ORIGIN followed by /.
22021         (_dl_dst_substitute): Correct clearing of check_for_trusted.
22022         Correct testing of result of is_trusted_path_normalize
22023         (decompose_rpath): Fix warning.
22025 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
22027         [BZ #11257]
22028         * grp/initgroups.c (internal_getgrouplist): When we found the service
22029         list through the initgroups entry in nsswitch.conf do not always
22030         continue on a successful lookup.  Don't always use the
22031         __nss_group_database value if it is set.
22032         * nss/nsswitch.conf (initgroups): Change action for successful db
22033         lookup to continue for compatibility.
22035 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
22037         [BZ #11532]
22038         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
22039         and CP774 modules.
22040         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
22041         and CP774 modules.
22042         * iconvdata/tst-tables.sh: Likewise.
22043         * iconvdata/cp770.c: New file.
22044         * iconvdata/cp771.c: New file.
22045         * iconvdata/cp772.c: New file.
22046         * iconvdata/cp773.c: New file.
22047         * iconvdata/cp774.c: New file.
22048         * iconvdata/testdata/CP770: New file.
22049         * iconvdata/testdata/CP770..UTF8: New file.
22050         * iconvdata/testdata/CP771: New file.
22051         * iconvdata/testdata/CP771..UTF8: New file.
22052         * iconvdata/testdata/CP772: New file.
22053         * iconvdata/testdata/CP772..UTF8: New file.
22054         * iconvdata/testdata/CP773: New file.
22055         * iconvdata/testdata/CP773..UTF8: New file.
22056         * iconvdata/testdata/CP774: New file.
22057         * iconvdata/testdata/CP774..UTF8: New file.
22059         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
22060         END CHARMAP line.
22061         * iconvdata/gen-8bit-gap.sh: Likewise.
22062         * iconvdata/gen-8bit.sh: Likewise.
22064         * locale/iso-639.def: Add ary entry.
22066         [BZ #11258]
22067         * locale/C-translit.h.in: Add U20A1 transliteration.
22069         [BZ #12178]
22070         * locale/iso-639.def: Add wae entry.
22071         Patch by Kevin Bortis <bortis@translate-wae.ch>.
22073         [BZ #12545]
22074         * locale/programs/localedef.c (construct_output_path): Use ssize_t
22075         for n.
22077         [BZ #12711]
22078         * locale/C-translit.h.in: Add entry for U20B9.
22079         Patch by pravin.d.s@gmail.com.
22081 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
22083         [BZ #12713]
22084         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
22085         ENAMETOOLONG use generic getcwd.
22086         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
22087         in rtld.  Use *stat64.
22088         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
22089         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
22090         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
22091         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
22092         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
22093         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
22094         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
22095         __fstatat64 macros.
22096         * include/dirent.h: Add libc_hidden_proto for rewinddir.
22097         * dirent/rewinddir.c: Add libc_hidden_def.
22098         * sysdeps/mach/hurd/rewinddir.c: Likewise.
22099         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
22101         * include/dirent.h (__alloc_dir): Add flags parameter.
22102         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
22103         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
22104         __alloc_dir.
22105         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
22106         from fdopendir if O_CLOEXEC is already set.
22108 2011-03-15  Alan Modra  <amodra@gmail.com>
22110         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
22111         l_tls_firstbyte_offset non-zero.  Save padding offset in
22112         l_tls_firstbyte_offset for later use.
22113         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
22114         freeing static tls block.
22116 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
22118         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
22119         where #ifdef was intended.  The intent is to prevent ARG_MAX from
22120         being defined by the kernel headers.
22122 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
22124         [BZ #12734]
22125         * resolv/resolv.h: Define RES_NOTLDQUERY.
22126         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
22127         no-tld-query and set RES_NOTLDQUERY.
22128         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
22129         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
22130         modern BIND to search name as TLD unless forbidden.
22132 2011-05-07  Petr Baudis  <pasky@suse.cz>
22133             Ulrich Drepper  <drepper@gmail.com>
22135         [BZ #12393]
22136         * elf/dl-load.c (fillin_rpath): Move trusted path check...
22137         (is_trusted_path): ...to here.
22138         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
22139         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
22140         using is_trusted_path_normalize() in setuid scripts.
22142 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22144         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
22145         __BEGIN/__END_DECLS.
22147 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
22149         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
22150         NSS_STATUS_NOTFOUND if no record was found.
22152 2011-05-05  Andreas Schwab  <schwab@redhat.com>
22154         * sunrpc/Makefile (headers): Add rpc/netdb.h.
22155         (headers-not-in-tirpc): Remove rpc/netdb.h
22156         * resolv/netdb.h: Revert last change.
22158 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
22160         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
22161         circular dependency between libgcc.a and libc.a.
22163 2011-05-05  Andreas Schwab  <schwab@redhat.com>
22165         * resolv/netdb.h: Don't include <rpc/netdb.h>.
22166         * nis/Makefile: Don't install rpcsvc/*.
22167         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
22168         instead of <rpc/types.h>.
22169         (MAXHOSTNAMELEN): Define.
22171 2011-05-03  Andreas Schwab  <schwab@redhat.com>
22173         * elf/ldconfig.c (add_dir): Don't crash on empty path.
22175 2011-04-28  Maciej Babinski  <mbabinski@google.com>
22177         [BZ #12714]
22178         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
22179         gethostbyname4_r when IPv6 results are possible.
22181 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
22183         [BZ #12723]
22184         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
22185         _PC_PIPE_BUF handling.
22187 2011-04-30  Bruno Haible  <bruno@clisp.org>
22189         [BZ #12717]
22190         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
22191         * resolv/netdb.h (getnameinfo): Change type of flags parameter
22192         to 'int'.
22193         * inet/getnameinfo.c (getnameinfo): Likewise.
22195 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
22197         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
22198         to groups setting in database lookup.
22199         * nss/nsswitch.conf: Add initgroups entry.
22201 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
22203         [BZ #12685]
22204         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
22205         mode string.
22206         Patch by Eric Blake <eblake@redhat.com>.
22208 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
22210         * sunrpc/Makefile (need-export-routines): Add svc_run.
22211         (routines): Remove svc_run.
22212         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
22213         * sunrpc/clnt_perr.c (clnt_perrno): Export.
22214         * sunrpc/svc_run.c (svc_run): Likewise.
22215         * sunrpc/svc_udp.c (svcudp_create): Likewise.
22217 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
22219         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
22220         problem in reallocation in last patch.
22222 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
22224         * sunrpc/Makefile: Move inclusion of Rules.
22226 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
22228         * nss/nss_files/files-initgroups.c: New file.
22229         * nss/Makefile (libnss_files-routines): Add files-initgroups.
22230         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
22231         _nss_files_initgroups_dyn.
22233 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
22235         * elf/elf.h (R_ARM_IRELATIVE): Define.
22237 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
22239         * po/ru.po: Update from translation team.
22241 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
22243         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
22244         dependencies.
22246 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
22248         [BZ #12653]
22249         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
22250         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
22251         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22252         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22253         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22255 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
22257         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
22258         differing bytes.
22259         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22260         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22261         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22263 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
22265         [BZ #12420]
22266         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
22267         storing it.
22268         * stdlib/bug-getcontext.c: New file.
22269         * stdlib/Makefile: Add rules to build and run bug-getcontext.
22271 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22273         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
22274         instructions into .machine "z9-109".
22275         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22276         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22278 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22280         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
22281         between environment variables and auxiliary vector.
22283 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
22285         * Makefile: Add rules to build linkobj/libc.so.
22286         * include/libc-symbols.h: Define libc_hidden_nolink.
22287         * include/rpc/auth.h: Mark functions which are to be hidden.
22288         * include/rpc/auth_des.h: Likewise.
22289         * include/rpc/auth_unix.h: Likewise.
22290         * include/rpc/clnt.h: Likewise.
22291         * include/rpc/des_crypt.h: Likewise.
22292         * include/rpc/key_prot.h: Likewise.
22293         * include/rpc/pmap_clnt.h: Likewise.
22294         * include/rpc/pmap_prot.h: Likewise.
22295         * include/rpc/pmap_rmt.h: Likewise.
22296         * include/rpc/rpc_msg.h: Likewise.
22297         * include/rpc/svc.h: Likewise.
22298         * include/rpc/svc_auth.h: Likewise.
22299         * include/rpc/xdr.h: Likewise.
22300         * nis/Makefile: Link all DSOs against linkobj/libc.so.
22301         * nss/Makefile: Likewise.
22302         * sunrpc/Makefile: Don't install headers.  Build library with normal
22303         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
22304         * sunrpc/auth_des.c: Hide exported symbols by default, export some
22305         for the compat linking library.  Remove use of INTDEF/INTUSE.
22306         * sunrpc/auth_none.c: Likewise.
22307         * sunrpc/auth_unix.c: Likewise.
22308         * sunrpc/authdes_prot.c: Likewise.
22309         * sunrpc/authuxprot.c: Likewise.
22310         * sunrpc/clnt_gen.c: Likewise.
22311         * sunrpc/clnt_perr.c: Likewise.
22312         * sunrpc/clnt_raw.c: Likewise.
22313         * sunrpc/clnt_simp.c: Likewise.
22314         * sunrpc/clnt_tcp.c: Likewise.
22315         * sunrpc/clnt_udp.c: Likewise.
22316         * sunrpc/clnt_unix.c: Likewise.
22317         * sunrpc/des_crypt.c: Likewise.
22318         * sunrpc/des_soft.c: Likewise.
22319         * sunrpc/get_myaddr.c: Likewise.
22320         * sunrpc/key_call.c: Likewise.
22321         * sunrpc/key_prot.c: Likewise.
22322         * sunrpc/netname.c: Likewise.
22323         * sunrpc/pm_getmaps.c: Likewise.
22324         * sunrpc/pm_getport.c: Likewise.
22325         * sunrpc/pmap_clnt.c: Likewise.
22326         * sunrpc/pmap_prot.c: Likewise.
22327         * sunrpc/pmap_prot2.c: Likewise.
22328         * sunrpc/pmap_rmt.c: Likewise.
22329         * sunrpc/publickey.c: Likewise.
22330         * sunrpc/rpc_cmsg.c: Likewise.
22331         * sunrpc/rpc_common.c: Likewise.
22332         * sunrpc/rpc_dtable.c: Likewise.
22333         * sunrpc/rpc_prot.c: Likewise.
22334         * sunrpc/rpc_thread.c: Likewise.
22335         * sunrpc/rtime.c: Likewise.
22336         * sunrpc/svc.c: Likewise.
22337         * sunrpc/svc_auth.c: Likewise.
22338         * sunrpc/svc_authux.c: Likewise.
22339         * sunrpc/svc_raw.c: Likewise.
22340         * sunrpc/svc_run.c: Likewise.
22341         * sunrpc/svc_simple.c: Likewise.
22342         * sunrpc/svc_tcp.c: Likewise.
22343         * sunrpc/svc_udp.c: Likewise.
22344         * sunrpc/svc_unix.c: Likewise.
22345         * sunrpc/svcauth_des.c: Likewise.
22346         * sunrpc/xcrypt.c: Likewise.
22347         * sunrpc/xdr.c: Likewise.
22348         * sunrpc/xdr_array.c: Likewise.
22349         * sunrpc/xdr_float.c: Likewise.
22350         * sunrpc/xdr_intXX_t.c: Likewise.
22351         * sunrpc/xdr_mem.c: Likewise.
22352         * sunrpc/xdr_rec.c: Likewise.
22353         * sunrpc/xdr_ref.c: Likewise.
22354         * sunrpc/xdr_sizeof.c: Likewise.
22355         * sunrpc/xdr_stdio.c: Likewise.
22357 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
22359         [BZ #12650]
22360         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
22361         * sysdeps/ia64/dl-tls.h: Likewise.
22362         * sysdeps/powerpc/dl-tls.h: Likewise.
22363         * sysdeps/s390/dl-tls.h: Likewise.
22364         * sysdeps/sh/dl-tls.h: Likewise.
22365         * sysdeps/sparc/dl-tls.h: Likewise.
22366         * sysdeps/x86_64/dl-tls.h: Likewise.
22367         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
22369 2011-03-14  Andreas Schwab  <schwab@redhat.com>
22371         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
22372         rpath element also skip the following colon.
22373         (expand_dynamic_string_token): Add is_path parameter and pass
22374         down to DL_DST_REQUIRED and _dl_dst_substitute.
22375         (decompose_rpath): Call expand_dynamic_string_token with
22376         non-zero is_path.  Ignore empty rpaths.
22377         (_dl_map_object_from_fd): Call expand_dynamic_string_token
22378         with zero is_path.
22380 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
22382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22383         Make cancelable.
22385 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
22387         [BZ #12655]
22388         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
22389         Patch by Filipe David Manana <fdmanana@apache.org>.
22391 2011-04-07  Andreas Schwab  <schwab@redhat.com>
22393         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
22394         Maintain aligned stack.
22395         (CHECK_RSP): Remove unused macro.
22397 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
22399         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
22400         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
22402 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
22404         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
22406         * include/features.h: Mention __USE_XOPEN2K8 in comment.
22408 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
22410         [BZ #12518]
22411         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
22412         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
22413         * sysdeps/x86_64/memmove.c: New file.
22414         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
22415         (memcpy): Renamed to ...
22416         (__new_memcpy): This.
22417         (memcpy): Provide GLIBC_2_14 memcpy.
22418         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
22419         (memcpy): Provide GLIBC_2_2_5 memcpy.
22421 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
22423         [BZ #12631]
22424         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
22426 2011-03-30  Andreas Schwab  <schwab@redhat.com>
22428         * misc/syncfs.c: New file.
22429         * misc/Makefile (routines): Add syncfs.
22430         * posix/unistd.h: Declare syncfs.
22431         * sysdeps/unix/syscalls.list: Add syncfs.
22433 2011-04-01  Andreas Schwab  <schwab@redhat.com>
22435         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
22436         open_by_handle_at.
22437         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22438         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22439         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22440         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22441         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22442         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
22443         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22445 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
22447         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
22448         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22449         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
22450         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22451         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22452         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22453         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22455         * io/Makefile: Compile fallocate.c, fallocate64.c, and
22456         sync_file_range.c with -fexceptions.
22457         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
22458         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
22459         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22460         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22461         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
22462         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22463         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
22464         sync_file_range as cancellation point
22465         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
22466         now a wrapper around __call_sync_file_range with cancellation handling.
22467         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
22468         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
22469         function name to __call_sync_file_range.
22470         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
22471         Add call_sync_file_range.
22473 2011-04-01  Andreas Schwab  <schwab@redhat.com>
22475         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22476         bits/timex.h.
22478 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
22480         * iconv/iconv.h: Fix typo in comment.
22481         * io/fcntl.h: Likewise.
22482         * libio/stdio.h: Likewise.
22483         * posix/spawn.h: Likewise.
22484         * posix/unistd.h: Likewise.
22485         * stdlib/stdlib.h: Likewise.
22486         * time/time.h: Likewise.
22487         * wcsmbs/wchar.h: Likewise.
22489         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
22490         open_by_handle): Add.
22491         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
22492         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
22493         Augment a few comments.
22494         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22495         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22496         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22497         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22498         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22499         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
22500         open_by_handle.
22502         * io/fcntl.h (AT_EMPTY_PATH): Define.
22504 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
22506         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
22507         * sysdeps/unix/sysv/linux/bits/time.h: New file.
22508         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
22509         to...
22510         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
22511         * Versions.def: Add GLIBC_2.14.
22512         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
22513         Export.
22515 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
22517         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
22518         round counter.
22519         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22521 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
22523         [BZ #12597]
22524         * string/test-strncmp.c (do_page_test): New function.
22525         (check2): Likewise.
22526         (test_main): Call check2.
22527         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
22529 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
22531         [BZ #12587]
22532         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
22533         Handle cache information in CPU leaf 4.
22534         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22536 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
22538         [BZ #12583]
22539         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
22540         character representation.
22541         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
22543 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
22545         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
22546         END(__isnan) to END(__isnanf) to match function entry point/label
22547         EALIGN(__isnanf,...).
22549 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
22551         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
22553 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
22555         [BZ #12510]
22556         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
22557         copy from the symbol referenced in the relocation to initialize the
22558         used variable.
22559         Patch by Piotr Bury <pbury@goahead.com>.
22560         * elf/Makefile: Add rules to build and tst-unique3.
22561         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
22562         * elf/tst-unique3.cc: New file.
22563         * elf/tst-unique3.h: New file.
22564         * elf/tst-unique3lib.cc: New file.
22565         * elf/tst-unique3lib2.cc: New file.
22567         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
22569 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
22571         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
22572         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
22573         to _start.
22575 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
22577         * elf/dl-load.c (_dl_map_object): If we are looking for the first
22578         to-be-loaded object along a path to loader is ld.so.
22580 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
22581             Ulrich Drepper  <drepper@gmail.com>
22583         * sysdeps/x86_64/memset.S: After aligning destination, code
22584         branches to different locations depending on the value of
22585         misalignment, when multiarch is enabled. Fix this.
22587 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
22589         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
22590         Set _x86_64_preferred_memory_instruction for AMD processsors.
22591         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22592         Set bit_Prefer_SSE_for_memop for AMD processors.
22594 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
22596         * libio/fmemopen.c (fmemopen): Optimize a bit.
22598 2011-03-03  Andreas Schwab  <schwab@redhat.com>
22600         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
22602 2011-03-03  Roland McGrath  <roland@redhat.com>
22604         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
22606 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
22608         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
22609         __bzero_ultra1 instead of __memset_ultra1.
22611 2011-02-23  Andreas Schwab  <schwab@redhat.com>
22612             Ulrich Drepper  <drepper@gmail.com>
22614         [BZ #12509]
22615         * include/link.h (struct link_map): Add l_orig_initfini.
22616         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
22617         returning unsuccessfully.
22618         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
22619         close of a file loaded at startup, restore the original l_initfini
22620         list.
22621         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
22622         list, store the pointer.
22623         * elf/Makefile ($(objpfx)noload-mem): New rule.
22624         (noload-ENV): Define.
22625         (tests): Add $(objpfx)noload-mem.
22626         * elf/noload.c: Include <memcheck.h>.
22627         (main): Call mtrace.  Close all opened handles.
22629 2011-02-17  Andreas Schwab  <schwab@redhat.com>
22631         [BZ #12454]
22632         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
22633         dependencies are missing.
22635 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22637         Fix __if_freereq crash: Unlike the generic version which uses free,
22638         Hurd needs munmap.
22639         * sysdeps/mach/hurd/ifreq.h: New file.
22641 2011-01-27  Petr Baudis  <pasky@suse.cz>
22642             Ulrich Drepper  <drepper@gmail.com>
22644         [BZ 12445]#
22645         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
22646         to extend_alloca().
22647         * stdio-common/bug23.c: New file.
22648         * stdio-common/Makefile (tests): Add bug23.
22650 2010-09-28  Andreas Schwab  <schwab@redhat.com>
22651             Ulrich Drepper  <drepper@gmail.com>
22653         [BZ #12489]
22654         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
22655         before performing relro protection.  At old place add assertion
22656         to make sure nothing changed.
22658 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
22659             Glauber de Oliveira Costa  <glommer@gmail.com>
22661         * elf/elf.h: Add new ARM TLS relocs.
22663 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
22665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22666         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
22667         cast from r3.
22668         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
22669         'tests' variable.
22670         * sysdeps/wordsize-64/tst-writev.c: New file.
22672 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
22674         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
22675         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
22676         insns in _dl_start to prevent a TOC reference before relocs are
22677         resolved.
22679 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
22681         [BZ #12469]
22682         * Makeconfig: Remove RANLIB definition.
22683         * Makerules: Don't use RANLIB.
22684         * aclocal.m4: Remove ranlib test.
22685         * configure.in: No need to check for ranlib.
22686         * elf/rtld-Rules: Don't use RANLIB.
22688 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22690         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
22691         protection macro.
22692         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
22693         inclusion protection macro.
22695         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
22696         SIGRTMIN and SIGRTMAX and print information in that case only when
22697         SIGRTMIN is defined.
22699 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
22701         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
22702         arginfo fn returning -1.
22704         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
22705         and thousands string is zero terminated.
22707 2011-02-03  Andreas Schwab  <schwab@redhat.com>
22709         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
22710         sysdeps/unix/sysv/linux/bits/socket.h.
22712 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22714         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
22715         (__CPU_COUNT): Remove old macros.
22716         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
22717         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
22718         (__CPU_ALLOC, __CPU_FREE): Add macros.
22719         (__sched_cpualloc, __sched_cpufree): Add declarations.
22721 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
22723         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
22724         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
22725         * nscd/aicache.c (addhstaiX): Return timeout of added value.
22726         (readdhstai): Return value of addhstaiX call.
22727         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
22728         (addgrbyX): Return value returned by cache_addgr.
22729         (readdgrbyname): Return value returned by addgrbyX.
22730         (readdgrbygid): Likewise.
22731         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
22732         (addpwbyX): Return value returned by cache_addpw.
22733         (readdpwbyname): Return value returned by addhstbyX.
22734         (readdpwbyuid): Likewise.
22735         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
22736         (addservbyX): Return value returned by cache_addserv.
22737         (readdservbyname): Return value returned by addservbyX:
22738         (readdservbyport): Likewise.
22739         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
22740         (addhstbyX): Return value returned by cache_addhst.
22741         (readdhstbyname): Return value returned by addhstbyX.
22742         (readdhstbyaddr): Likewise.
22743         (readdhstbynamev6): Likewise.
22744         (readdhstbyaddrv6): Likewise.
22745         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
22746         (readdinitgroups): Return value returned by addinitgroupsX.
22747         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
22748         (prune_cache): Keep track of timeout value of re-added entries.
22749         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
22750         * nscd/nscd.h: Adjust prototypes of readd* functions.
22752 2011-02-04  Roland McGrath  <roland@redhat.com>
22754         * nis/nis_server.c (nis_servstate): Use the right name for 0.
22755         (nis_stats): Likewise.
22756         * nis/nis_modify.c (nis_modify): Likewise.
22757         * nis/nis_remove.c (nis_remove): Likewise.
22758         * nis/nis_add.c (nis_add): Likewise.
22760         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
22762         * posix/fnmatch_loop.c: Add some consts.
22764         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
22766 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
22768         [BZ #12460]
22769         * config.make.in (config-cflags-novzeroupper): Define.
22770         * configure.in: Substitute libc_cv_cc_novzeroupper.
22771         * elf/Makefile (AVX-CFLAGS): Define.
22772         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
22773         (CFLAGS-tst-auditmod4a.c): Likewise.
22774         (CFLAGS-tst-auditmod4b.c): Likewise.
22775         (CFLAGS-tst-auditmod6b.c): Likewise.
22776         (CFLAGS-tst-auditmod6c.c): Likewise.
22777         (CFLAGS-tst-auditmod7b.c): Likewise.
22778         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
22780 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
22782         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
22783         function to the callback.
22784         Patch partly by Jiri Olsa <jolsa@redhat.com>.
22786 2011-02-02  Andreas Schwab  <schwab@redhat.com>
22788         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
22789         of errno.
22791 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
22793         [BZ #11724]
22794         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
22795         of constructors.
22796         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
22797         of destructors.
22798         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
22800         [BZ #11724]
22801         * elf/Makefile: Add rules to build and run new test.
22802         * elf/tst-initorder.c: New file.
22803         * elf/tst-initorder.exp: New file.
22804         * elf/tst-initordera1.c: New file.
22805         * elf/tst-initordera2.c: New file.
22806         * elf/tst-initordera3.c: New file.
22807         * elf/tst-initordera4.c: New file.
22808         * elf/tst-initorderb1.c: New file.
22809         * elf/tst-initorderb2.c: New file.
22810         * elf/tst-order-a1.c: New file.
22811         * elf/tst-order-a2.c: New file.
22812         * elf/tst-order-a3.c: New file.
22813         * elf/tst-order-a4.c: New file.
22814         * elf/tst-order-b1.c: New file.
22815         * elf/tst-order-b2.c: New file.
22816         * elf/tst-order-main.c: New file.
22817         New test case by George Gensure <werkt0@gmail.com>.
22819 2010-10-01  Andreas Schwab  <schwab@redhat.com>
22821         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22822         decoding ACE if AI_CANONIDN.
22824 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
22826         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
22828 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
22830         * version.h (RELEASE): Bump for 2.13 release.
22831         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
22833         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
22835         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
22836         MADV_NOHUGEPAGE.
22837         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
22838         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22839         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22840         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22841         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22842         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22844         * posix/getconf.c: Update copyright year.
22845         * catgets/gencat.c: Likewise.
22846         * csu/version.c: Likewise.
22847         * debug/catchsegv.sh: Likewise.
22848         * debug/xtrace.sh: Likewise.
22849         * elf/ldconfig.c: Likewise.
22850         * elf/ldd.bash.in: Likewise.
22851         * elf/sprof.c (print_version): Likewise.
22852         * iconv/iconv_prog.c: Likewise.
22853         * iconv/iconvconfig.c: Likewise.
22854         * locale/programs/locale.c: Likewise.
22855         * locale/programs/localedef.c: Likewise.
22856         * malloc/memusage.sh: Likewise.
22857         * malloc/mtrace.pl: Likewise.
22858         * nscd/nscd.c (print_version): Likewise.
22859         * nss/getent.c: Likewise.
22861         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
22862         PF_CAIF, and PF_ALG.
22863         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22865 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
22867         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
22868         (modules-names): Use them.
22869         (ifunc-test-modules, ifunc-pie-tests): Define.
22870         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
22871         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
22872         (test-extras): Likewise.
22873         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
22874         $(compile-command.c).
22875         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
22876         (all-built-dso): Define.
22877         (check-textrel.out, check-execstack.out): Depend on it.
22879         * configure.in: Don't override --enable-multi-arch.
22881 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
22883         [BZ #6812]
22884         * nscd/hstcache.c (tryagain): Define.
22885         (cache_addhst): Return tryagain not notfound for temporary errors.
22886         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
22887         failed.
22889 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
22891         [BZ #10563]
22892         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
22893         to make the syscall.
22894         * sysdeps/unix/sysv/linux/setgroups.c: New file.
22896         [BZ #12378]
22897         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
22898         and fall back to matching as normal character if the string ends before
22899         the matching ']' is found.  This is what POSIX requires.
22900         * posix/testfnm.c: Adjust test result.
22901         * posix/globtest.sh: Adjust test result.  Add new test.
22902         * posix/tst-fnmatch.input: Likewise.
22903         * posix/tst-fnmatch2.c: Add new test.
22905 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
22907         * elf/Makefile (check-execstack): Revert last change.  Depend on
22908         check-execstack.h.
22909         (check-execstack.h): New target.
22910         (generated): Add check-execstack.h.
22911         * elf/check-execstack.c: Include "check-execstack.h".
22912         (main): Revert last change.
22913         (handle_file): Return zero if GNU_STACK is absent and
22914         DEFAULT_STACK_PERMS doesn't include PF_X.
22916 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
22918         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
22919         in child fails because the descriptor is already closed.
22920         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
22921         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
22922         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
22924         [BZ #12397]
22925         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
22926         syscall.
22928         [BZ #10484]
22929         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
22930         temporary buffer used to handle multi lookups locally.
22931         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
22933 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
22935         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
22936         loader is ld.so.
22938 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
22940         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
22941         alignment for SSE2.
22943 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
22945         [BZ #12394]
22946         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
22947         characters.  When rounding increased number of integer digits recompute
22948         number of groups.
22949         * stdio-common/tst-grouping.c: New file.
22950         * stdio-common/Makefile: Add rules to build and run tst-grouping.
22952 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
22954         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
22955         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
22957         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
22958         void.
22959         * bits/select.h: Likewise.
22961 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
22963         * po/ja.po: Update from translation team.
22965 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
22967         [BZ #11155]
22968         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
22969         implementation just like for lxstat, fxstatat, et al.
22971 2010-12-27  Jim Meyering  <meyering@redhat.com>
22973         [BZ #12348]
22974         * posix/regexec.c (build_trtable): Return failure indication upon
22975         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
22977 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
22979         [BZ #12201]
22980         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
22981         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
22982         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
22983         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
22985         [BZ #12207]
22986         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
22988         [BZ #12204]
22989         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
22990         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
22992 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
22994         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
22995         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
22996         script has SORT_BY_INIT_PRIORITY.
22997         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
22998         NO_CTORS_DTORS_SECTIONS is defined.
22999         * elf/soinit.c: Likewise.
23000         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
23001         NO_CTORS_DTORS_SECTIONS is defined.
23002         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
23003         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
23004         * sysdeps/sh/init-first.c: Likewise.
23005         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
23007 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
23009         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
23010         always use the slow path.
23012 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
23014         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
23015         similar rule which adds the sysdep directories to the header search in
23016         order to pick up the correct platform stackinfo.h.
23017         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
23018         perform test if it is, otherwise return successfully without testing.
23019         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
23020         DEFAULT_STACK_PERMS define in stackinfo.h.
23021         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
23022         defined in stackinfo.h.
23023         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
23024         DEFAULT_STACK_PERMS defined in stackinfo.h.
23025         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
23026         * sysdeps/ia64/stackinfo.h: Likewise.
23027         * sysdeps/s390/stackinfo.h: Likewise.
23028         * sysdeps/sh/stackinfo.h: Likewise.
23029         * sysdeps/sparc/stackinfo.h: Likewise.
23030         * sysdeps/x86_64/stackinfo.h: Likewise.
23031         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
23032         PF_X for powerpc64.  Retain PF_X for powerpc32.
23034 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
23036         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
23037         accurately.
23038         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
23039         GETDENTS_64BIT_ALIGNED.
23041 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
23043         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
23045 2010-12-10  Andreas Schwab  <schwab@redhat.com>
23047         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
23048         _GNU_SOURCE.
23050         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
23051         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
23052         Remove __restrict.
23053         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
23054         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
23056 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
23058         [BZ #11655]
23059         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
23060         are initialized.
23062 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
23064         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
23066 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
23068         * po/it.po: Update from translation team.
23070 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
23072         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
23073         unused codes.
23075 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
23077         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
23079 2010-11-24  Andreas Schwab  <schwab@redhat.com>
23081         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
23082         specially.
23083         (gaih_getanswer_slice): Likewise.
23085 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
23087         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
23089 2010-05-31  Petr Baudis  <pasky@suse.cz>
23091         [BZ #11149]
23092         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
23093         silently even in the chroot mode.
23095 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
23097         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
23098         last patch a bit.  Pretty printing
23100 2010-05-31  Petr Baudis <pasky@suse.cz>
23102         [BZ #10085]
23103         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
23104         initialization of skip_initgroups_dyn.
23106 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
23108         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
23109         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23111 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
23113         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
23115 2010-11-11  Andreas Schwab  <schwab@redhat.com>
23117         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
23118         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
23119         (tst-fnmatch-ENV): Set MALLOC_TRACE.
23120         ($(objpfx)tst-fnmatch-mem): New rule.
23121         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
23122         * posix/tst-fnmatch.c (main): Call mtrace.
23124 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
23126         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23127         Support Intel processor model 6 and model 0x2c.
23129 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
23131         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
23132           signed comparison.
23134 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
23136         [BZ #12205]
23137         * string/test-strncasecmp.c (check_result): New function.
23138         (do_one_test): Use it.
23139         (check1): New function.
23140         (test_main): Use it.
23141         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
23142         Support strcasecmp and strncasecmp.
23144 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
23146         [BZ #12194]
23147         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
23148         * sysdeps/x86_64/bits/byteswap.h: Likewise.
23150 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
23152         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
23153         IFUNC support.
23154         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23155         memset-x86-64.
23156         * sysdeps/x86_64/multiarch/bzero.S: New file.
23157         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
23158         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
23159         * sysdeps/x86_64/multiarch/memset.S: New file.
23160         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
23161         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23162         Set bit_Prefer_SSE_for_memop for Intel processors.
23163         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
23164         Define.
23165         (index_Prefer_SSE_for_memop): Define.
23166         (HAS_PREFER_SSE_FOR_MEMOP): Define.
23168 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
23170         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
23171         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
23173 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
23175         [BZ #12191]
23176         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23177         (__x86_64_raw_data_cache_size_half): Likewise.
23178         (__x86_64_raw_shared_cache_size): Likewise.
23179         (__x86_64_raw_shared_cache_size_half): Likewise.
23181         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23182         (__x86_64_raw_data_cache_size_half): Likewise.
23183         (__x86_64_raw_shared_cache_size): Likewise.
23184         (__x86_64_raw_shared_cache_size_half): Likewise.
23185         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
23186         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
23187         and __x86_64_raw_shared_cache_size_half.  Round
23188         __x86_64_data_cache_size_half, __x86_64_data_cache_size
23189         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
23190         to multiple of 256 bytes.
23192 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
23194         [BZ #12167]
23195         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
23196         of inacessible symlinks.  Verify result of symlink before returning it.
23197         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23198         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
23200 2010-10-28  Erich Ritz  <erichritz@gmail.com>
23202         * math/math.h (isinf): Fix typo in comment.
23204 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
23206         * po/da.po: Update from translation team.
23208 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
23210         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
23211         is added to the list.
23213 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23214             Ulrich Drepper  <drepper@gmail.com>
23216         * elf/dl-object.c (_dl_new_object): Don't append the new object to
23217         the global list here.  Move code to...
23218         (_dl_add_to_namespace_list): ...here.  New function.
23219         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
23220         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
23221         * elf/dl-load.c (lose): Don't remove the element from the list.
23222         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
23223         (_dl_map_object): Likewise.
23225 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
23227         [BZ #12159]
23228         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
23229         into all bytes of SSE register.
23230         Patch by Richard Li <richardpku@gmail.com>.
23232 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
23234         [BZ #12140]
23235         * malloc/malloc.c (_int_free): Fill correct number of bytes when
23236         perturbing.
23238 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
23240         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
23241         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
23242         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
23243         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
23245         submachine.
23246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
23248 2010-10-22  Andreas Schwab  <schwab@redhat.com>
23250         * include/dlfcn.h (__RTLD_SECURE): Define.
23251         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
23252         mode & __RTLD_SECURE instead.
23253         (open_path): Rename preloaded parameter to secure.
23254         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
23255         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
23256         * elf/dl-deps.c (openaux): Likewise.
23257         * elf/rtld.c (struct map_args): Remove is_preloaded.
23258         (map_doit): Don't use it.
23259         (dl_main): Likewise.
23260         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
23261         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
23263 2010-09-09  Andreas Schwab  <schwab@redhat.com>
23265         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
23266         (sysd-rules-targets): Remove duplicates.
23267         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
23268         rtld-%.$o dependency.
23270 2010-10-18  Andreas Schwab  <schwab@redhat.com>
23272         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
23273         _dl_map_object do it.
23275 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
23277         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
23278         fast fma builtins, define the macros in the C99 standard.
23279         (FP_FAST_FMAF): Likewise.
23280         (FP_FAST_FMAL): Likewise.
23281         * sysdeps/x86_64/bits/mathdef.h: Likewise.
23283         * bits/mathdef.h: Update copyright year.
23284         * sysdeps/powerpc/bits/mathdef.h: Likewise.
23286 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
23288         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
23289         builtins, define the macros in the C99 standard.
23290         (FP_FAST_FMAF): Likewise.
23291         (FP_FAST_FMAL): Likewise.
23292         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
23293         multiply/add.
23294         (FP_FAST_FMAF): Likewise.
23296 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
23298         [BZ #3268]
23299         * math/libm-test.inc (fma_test): Some new testcases.
23300         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
23301         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
23302         y and infinite z.  Do multiplication by C already in long double.
23303         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
23304         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
23305         y and infinite z.  Do bitwise or of inexact bit into u.d.
23306         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
23307         * sysdeps/i386/fpu/s_fmaf.S: Removed.
23308         * sysdeps/i386/fpu/s_fma.S: Removed.
23309         * sysdeps/i386/fpu/s_fmal.S: Removed.
23311 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
23313         [BZ #3268]
23314         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
23315         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
23316         computation is not scheduled after fetestexcept.  Fix value
23317         of minimum denormal long double.
23319 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
23321         [BZ #3268]
23322         * math/libm-test.inc (fma_test): Add some more tests.
23323         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
23324         correctly.
23326 2010-10-15  Andreas Schwab  <schwab@redhat.com>
23328         * scripts/data/localplt-s390-linux-gnu.data: New file.
23329         * scripts/data/localplt-s390x-linux-gnu.data: New file.
23331 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
23333         [BZ #3268]
23334         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
23335         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
23336         instead of dbl-64.
23337         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
23338         inlines.
23339         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
23340         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
23341         if one of x and y is very large and the other is subnormal.
23342         * sysdeps/s390/fpu/s_fmaf.c: New file.
23343         * sysdeps/s390/fpu/s_fma.c: New file.
23344         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
23345         * sysdeps/powerpc/fpu/s_fma.S: New file.
23346         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
23347         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
23348         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
23350 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
23352         [BZ #3268]
23353         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
23354         fma tests.
23355         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
23356         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
23357         * sysdeps/i386/i686/multiarch/s_fma.c: Include
23358         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
23359         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
23360         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
23361         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
23363 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
23365         [BZ #12078]
23366         * posix/regcomp.c (parse_branch): One more memory leak plugged.
23367         * posix/bug-regex31.input: Add test case.
23369 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
23371         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
23372         * posix/bug-regex31.input: New file.
23374         [BZ #12078]
23375         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
23376         (parse_sub_exp): Fix last change, use postorder.
23378         * posix/bug-regex31.c: New file.
23379         * posix/Makefile: Add rules to build and run bug-regex31.
23381         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
23383         [BZ #12078]
23384         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
23386         [BZ #12108]
23387         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
23388         to have entries in sys_siglist.
23390         [BZ #12093]
23391         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
23392         be NULL.
23394 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
23396         [BZ #3268]
23397         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
23398         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
23399         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23400         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
23401         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23402         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
23403         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
23404         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
23405         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
23406         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
23407         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
23408         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
23409         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23410         * math/ftestexcept.c (fetestexcept): Likewise.
23411         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
23412         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
23413         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23414         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
23415         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
23416         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
23417         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23419 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
23421         [BZ #12107]
23422         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
23423         newline.
23425 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
23427         * string/bug-strstr1.c: New file.
23428         * string/Makefile: Add rules to build and run bug-strstr1.
23430 2010-10-05  Eric Blake  <eblake@redhat.com>
23432         [BZ #12092]
23433         * string/str-two-way.h (two_way_long_needle): Always clear memory
23434         when skipping input due to the shift table.
23436 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
23438         [BZ #12005]
23439         * malloc/mcheck.c: Handle large requests.
23441         [BZ #12077]
23442         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
23443         for strncmp and strncasecmp.
23444         * string/stratcliff.c: Add tests for strcmp and strncmp.
23445         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
23447 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23449         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
23450         __set_fpscr.
23452 2010-09-30  Andreas Jaeger  <aj@suse.de>
23454         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
23455         (CGROUP_SUPER_MAGIC): Define.
23456         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23457         Handle btrfs and cgroup file systems.
23458         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23459         Likewise.
23461 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
23463         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
23464         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
23466 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23468         [BZ #12067]
23469         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
23470         trying to locate the ELF header.
23472 2010-09-27  Andreas Schwab  <schwab@redhat.com>
23474         [BZ #11611]
23475         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
23476         Mask out sign-bit copies when constructing f_fsid.
23478 2010-09-24  Petr Baudis <pasky@suse.cz>
23480         * debug/stack_chk_fail_local.c: Add missing licence exception.
23481         * debug/warning-nop.c: Likewise.
23483 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
23485         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
23486         implementing getdents64 using getdents syscall, set d_type if
23487         __ASSUME_GETDENTS32_D_TYPE.
23489 2010-09-16  Andreas Schwab  <schwab@redhat.com>
23491         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
23492         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
23494 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
23496         [BZ #12037]
23497         * posix/unistd.h: Undo change of feature selection for ftruncate from
23498         2010-01-11.
23500 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
23502         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
23503         detection.
23505 2010-09-20  Andreas Schwab  <schwab@redhat.com>
23507         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
23508         fanotify_mark.
23509         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23511 2010-09-14  Andreas Schwab  <schwab@redhat.com>
23513         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
23514         variables after CHECK_SP call.
23515         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
23517 2010-09-13  Andreas Schwab  <schwab@redhat.com>
23518             Ulrich Drepper  <drepper@redhat.com>
23520         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
23521         re-relocationg ld.so.
23522         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
23523         _dl_init_paths call.
23524         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
23525         here anymore.
23527 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
23529         * resolv/res_init.c (__res_vinit): Count the default server we added.
23531 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
23532             Ulrich Drepper  <drepper@redhat.com>
23534         [BZ #11968]
23535         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23536         (____longjmp_chk): Use %ebx for saving value across system call.
23537         Add unwind info.
23539 2010-09-06  Andreas Schwab  <schwab@redhat.com>
23541         * manual/Makefile: Don't mix pattern rules with normal rules.
23543 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
23545         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
23546         operation.
23547         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
23548         * libio/iofopncook.c (_IO_cookie_init): Likewise.
23549         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
23550         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23551         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23552         Likewise.
23554 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
23556         [BZ #11979]
23557         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
23558         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
23560 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
23562         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
23563         * sysdeps/x86_64/addmul_1.S: Likewise.
23564         * sysdeps/x86_64/lshift.S: Likewise.
23565         * sysdeps/x86_64/mul_1.S: Likewise.
23566         * sysdeps/x86_64/rshift.S: Likewise.
23567         * sysdeps/x86_64/sub_n.S: Likewise.
23568         * sysdeps/x86_64/submul_1.S: Likewise.
23570 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23572         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
23573         Define __sched_param instead of SCHED_* and sched_param when
23574         <bits/sched.h> is included with __need_schedparam defined.
23575         * bits/sched.h [__need_schedparam]
23576         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
23577         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
23578         (__defined_schedparam): Define to 1.
23579         (__sched_param): New structure, identical to sched_param.
23580         (__need_schedparam): Undefine.
23582 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
23584         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
23585         (epoll_create1): Declare.
23587         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
23589 2010-08-31  Andreas Schwab  <schwab@redhat.com>
23591         [BZ #7066]
23592         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
23593         shifting retval into place.
23595 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
23597         * nis/rpcsvc/nis.h: Update copyright notice.
23598         * nis/rpcsvc/nis.x: Likewise.
23599         * nis/rpcsvc/nis_callback.h: Likewise.
23600         * nis/rpcsvc/nis_callback.x: Likewise.
23601         * nis/rpcsvc/nis_object.x: Likewise.
23602         * nis/rpcsvc/nis_tags.h: Likewise.
23603         * nis/rpcsvc/yp.h: Likewise.
23604         * nis/rpcsvc/yp.x: Likewise.
23605         * nis/rpcsvc/ypupd.h: Likewise.
23606         * nis/yp_xdr.c: Likewise.
23607         * nis/ypupdate_xdr.c: Likewise.
23609         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
23610         mainly the body of pmap_getport.  Add parameters to specify timeouts.
23611         (pmap_getport): Use __libc_rpc_getport.
23612         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
23613         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
23614         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
23616 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
23618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
23619         fanotify_mark.
23621 2010-08-27  Roland McGrath  <roland@redhat.com>
23623         * sysdeps/i386/i686/multiarch/Makefile
23624         (CFLAGS-varshift.c): New variable.
23626 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
23628         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
23629         * sysdeps/i386/i686/multiarch/varshift.c: New file.
23631         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
23633         * sysdeps/x86_64/strlen.S: Minimal code improvement.
23635 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
23637         * sysdeps/x86_64/strlen.S: Unroll the loop.
23638         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23639         strlen-sse2 strlen-sse2-bsf.
23640         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
23641         __strlen_no_bsf if bit_Slow_BSF is set.
23642         (__strlen_sse42): Removed.
23643         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
23644         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
23646 2010-08-25  Roland McGrath  <roland@redhat.com>
23648         * sysdeps/x86_64/multiarch/varshift.S: File removed.
23649         * sysdeps/x86_64/multiarch/varshift.c: New file.
23650         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
23651         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
23652         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
23653         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23655 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
23657         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23658         strlen-sse2 strlen-sse2-bsf.
23659         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
23660         __strlen_sse2_bsf if bit_Slow_BSF is unset.
23661         (__strlen_sse2): Removed.
23662         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
23663         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
23664         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23665         bit_Slow_BSF for Atom.
23666         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
23667         (index_Slow_BSF): Define.
23668         (HAS_SLOW_BSF): Define.
23670 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
23672         [BZ #10851]
23673         * resolv/res_init.c (__res_vinit): When no server address at all
23674         is given default to loopback.
23676 2010-08-24  Roland McGrath  <roland@redhat.com>
23678         * configure.in: Remove config-name.h generation.
23679         * configure: Regenerated.
23680         * config-name.in: File removed.
23681         * scripts/config-uname.sh: New file.
23682         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
23683         ($(objdir)config-name.h): New target.
23685         * sunrpc/rpc_parse.h: Avoid nested comment.
23687 2010-08-24  Richard Henderson  <rth@redhat.com>
23688             Ulrich Drepper  <drepper@redhat.com>
23689             H.J. Lu  <hongjiu.lu@intel.com>
23691         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
23692         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
23693         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
23694         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
23695         _mm_alignr_epi8 with _mm_loadu_si128.
23696         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
23697         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
23698         (__m128i_shift_right): Removed.
23699         * sysdeps/i386/i686/multiarch/varshift.h: New file.
23700         * sysdeps/i386/i686/multiarch/varshift.S: New file.
23701         * sysdeps/x86_64/multiarch/varshift.h: New file.
23702         * sysdeps/x86_64/multiarch/varshift.S: New file.
23704 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
23706         * configure.in: Move assembler checks to before sysdep dir checking.
23708 2010-08-20  Petr Baudis  <pasky@suse.cz>
23710         * LICENSES: Sync the sunrpc license.
23712 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
23714         * sunrpc/auth_des.c: Update copyright notice once again.
23715         * sunrpc/auth_none.c: Likewise.
23716         * sunrpc/auth_unix.c: Likewise.
23717         * sunrpc/authdes_prot.c: Likewise.
23718         * sunrpc/authuxprot.c: Likewise.
23719         * sunrpc/bindrsvprt.c: Likewise.
23720         * sunrpc/clnt_gen.c: Likewise.
23721         * sunrpc/clnt_perr.c: Likewise.
23722         * sunrpc/clnt_raw.c: Likewise.
23723         * sunrpc/clnt_simp.c: Likewise.
23724         * sunrpc/clnt_tcp.c: Likewise.
23725         * sunrpc/clnt_udp.c: Likewise.
23726         * sunrpc/clnt_unix.c: Likewise.
23727         * sunrpc/des_crypt.c: Likewise.
23728         * sunrpc/des_soft.c: Likewise.
23729         * sunrpc/get_myaddr.c: Likewise.
23730         * sunrpc/getrpcport.c: Likewise.
23731         * sunrpc/key_call.c: Likewise.
23732         * sunrpc/key_prot.c: Likewise.
23733         * sunrpc/openchild.c: Likewise.
23734         * sunrpc/pm_getmaps.c: Likewise.
23735         * sunrpc/pm_getport.c: Likewise.
23736         * sunrpc/pmap_clnt.c: Likewise.
23737         * sunrpc/pmap_prot.c: Likewise.
23738         * sunrpc/pmap_prot2.c: Likewise.
23739         * sunrpc/pmap_rmt.c: Likewise.
23740         * sunrpc/rpc/auth.h: Likewise.
23741         * sunrpc/rpc/auth_unix.h: Likewise.
23742         * sunrpc/rpc/clnt.h: Likewise.
23743         * sunrpc/rpc/des_crypt.h: Likewise.
23744         * sunrpc/rpc/key_prot.h: Likewise.
23745         * sunrpc/rpc/netdb.h: Likewise.
23746         * sunrpc/rpc/pmap_clnt.h: Likewise.
23747         * sunrpc/rpc/pmap_prot.h: Likewise.
23748         * sunrpc/rpc/pmap_rmt.h: Likewise.
23749         * sunrpc/rpc/rpc.h: Likewise.
23750         * sunrpc/rpc/rpc_des.h: Likewise.
23751         * sunrpc/rpc/rpc_msg.h: Likewise.
23752         * sunrpc/rpc/svc.h: Likewise.
23753         * sunrpc/rpc/svc_auth.h: Likewise.
23754         * sunrpc/rpc/types.h: Likewise.
23755         * sunrpc/rpc/xdr.h: Likewise.
23756         * sunrpc/rpc_clntout.c: Likewise.
23757         * sunrpc/rpc_cmsg.c: Likewise.
23758         * sunrpc/rpc_common.c: Likewise.
23759         * sunrpc/rpc_cout.c: Likewise.
23760         * sunrpc/rpc_dtable.c: Likewise.
23761         * sunrpc/rpc_hout.c: Likewise.
23762         * sunrpc/rpc_main.c: Likewise.
23763         * sunrpc/rpc_parse.c: Likewise.
23764         * sunrpc/rpc_parse.h: Likewise.
23765         * sunrpc/rpc_prot.c: Likewise.
23766         * sunrpc/rpc_sample.c: Likewise.
23767         * sunrpc/rpc_scan.c: Likewise.
23768         * sunrpc/rpc_scan.h: Likewise.
23769         * sunrpc/rpc_svcout.c: Likewise.
23770         * sunrpc/rpc_tblout.c: Likewise.
23771         * sunrpc/rpc_util.c: Likewise.
23772         * sunrpc/rpc_util.h: Likewise.
23773         * sunrpc/rpcinfo.c: Likewise.
23774         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
23775         * sunrpc/rpcsvc/key_prot.x: Likewise.
23776         * sunrpc/rpcsvc/klm_prot.x: Likewise.
23777         * sunrpc/rpcsvc/mount.x: Likewise.
23778         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
23779         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
23780         * sunrpc/rpcsvc/rex.x: Likewise.
23781         * sunrpc/rpcsvc/rstat.x: Likewise.
23782         * sunrpc/rpcsvc/rusers.x: Likewise.
23783         * sunrpc/rpcsvc/sm_inter.x: Likewise.
23784         * sunrpc/rpcsvc/spray.x: Likewise.
23785         * sunrpc/rpcsvc/yppasswd.x: Likewise.
23786         * sunrpc/rtime.c: Likewise.
23787         * sunrpc/svc.c: Likewise.
23788         * sunrpc/svc_auth.c: Likewise.
23789         * sunrpc/svc_authux.c: Likewise.
23790         * sunrpc/svc_raw.c: Likewise.
23791         * sunrpc/svc_run.c: Likewise.
23792         * sunrpc/svc_simple.c: Likewise.
23793         * sunrpc/svc_tcp.c: Likewise.
23794         * sunrpc/svc_udp.c: Likewise.
23795         * sunrpc/svc_unix.c: Likewise.
23796         * sunrpc/svcauth_des.c: Likewise.
23797         * sunrpc/xcrypt.c: Likewise.
23798         * sunrpc/xdr.c: Likewise.
23799         * sunrpc/xdr_array.c: Likewise.
23800         * sunrpc/xdr_float.c: Likewise.
23801         * sunrpc/xdr_mem.c: Likewise.
23802         * sunrpc/xdr_rec.c: Likewise.
23803         * sunrpc/xdr_ref.c: Likewise.
23804         * sunrpc/xdr_sizeof.c: Likewise.
23805         * sunrpc/xdr_stdio.c: Likewise.
23807         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
23808         handling.
23810 2010-08-19  Andreas Schwab  <schwab@redhat.com>
23812         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
23814 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
23816         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
23817         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
23818         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
23819         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
23820         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
23821         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
23822         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
23823         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
23824         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
23825         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
23826         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
23827         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
23828         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
23829         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
23831 2010-07-26  Anton Blanchard  <anton@samba.org>
23833         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
23834         * malloc/arena.c (heap_trim): Likewise.
23836 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
23838         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
23839         here.  Not...
23840         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
23841         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
23843 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
23845         * sysdeps/i386/elf/Makefile: New file.
23847 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
23849         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
23850         from fanotify_init.
23851         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
23852         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23854 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
23856         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
23857         of strncasecmp_l.
23858         * sysdeps/multiarch/strcmp.S: Likewise.
23860 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
23862         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23863         strncase_l-nonascii.
23864         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23865         Add strncase_l-ssse3.
23866         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
23867         * sysdeps/x86_64/strcmp.S: Likewise.
23868         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
23869         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
23870         * sysdeps/x86_64/strncase.S: New file.
23871         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
23872         * sysdeps/x86_64/strncase_l.S: New file.
23873         * string/Makefile (strop-tests): Add strncasecmp.
23874         * string/test-strncasecmp.c: New file.
23876         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
23877         warning.
23879         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
23880         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
23882 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
23884         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
23886 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
23888         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
23889         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
23890         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
23892 2010-05-01  Alan Modra  <amodra@gmail.com>
23894         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
23895         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
23896         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
23897         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
23898         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
23899         tidying.  Don't tail-call __sigjmp_save for static lib.
23900         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
23901         save location.
23902         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
23903         (CALL_MCOUNT): Add eh info, and nop after bl.
23904         (TAIL_CALL_SYSCALL_ERROR): New macro.
23905         (PSEUDO_RET): Use it.
23906         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23907         Correct save location of integer regs and cr.
23908         (_dl_profile_resolve): Correct cr save location.  Delete nops
23909         after bl when SHARED.  Reduce cfi size a little by better
23910         placement of cfi directives.
23911         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
23912         make a stack frame.  Instead use parm save area as a temp.
23913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
23914         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
23915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23916         Don't make a stack frame for parent, use parm save area.
23917         Increase child stack frame to 112 bytes.  Don't save unused reg,
23918         and adjust reg usage.  Set up cfi on error recovery and
23919         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
23920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23921         (__makecontext): Add dummy nop after jump to exit.
23922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
23923         Use correct parm save area and cr save, reduce stack frame.
23924         Correct cfi for possible PSEUDO_RET frame setup.
23925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
23926         Branch to local label emitted by PSEUDO_RET rather than
23927         __syscall_error.
23929 2010-08-12  Andreas Schwab  <schwab@redhat.com>
23931         [BZ #11904]
23932         * locale/programs/locale.c (print_assignment): New function.
23933         (show_locale_vars): Use it.
23935 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
23937         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
23938         field.
23939         (struct statfs64): Likewise.
23940         (_STATFS_F_FLAGS): Define.
23941         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
23942         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23943         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
23944         (ST_VALID): Define locally.
23945         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
23946         __statvfs_getflags, use the provided value.
23947         * sysdeps/unix/sysv/linux/kernel-features.h: Define
23948         __ASSUME_STATFS_F_FLAGS.
23950         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
23952         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
23953         Add sys/fanotify.h.
23954         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
23955         fanotify_mask for GLIBC_2.13.
23956         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
23957         fanotify_init and fanotify_mark.
23958         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23959         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
23961         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
23962         Add prlimit.
23963         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
23964         prlimit64 for GLIBC_2.13.
23965         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
23966         prlimit64.
23967         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
23968         syscall.
23969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
23970         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23971         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
23972         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
23973         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
23974         add prlimit alias.
23975         * sysdeps/unix/sysv/linux/prlimit.c: New file.
23977         [BZ #11903]
23978         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
23979         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
23981         * nss/Makefile: Add rules to build and run tst-nss-test1.
23982         * shlib-versions: Add entry for libnss_test1.
23983         * nss/nss_test1.c: New file.
23984         * nss/tst-nss-test1.c: New file.
23986         * nss/nsswitch.c (__nss_database_custom): Define new variable.
23987         (__nss_configure_lookup): Set appropriate entry in
23988         __nss_configure_lookup to true.
23989         * nss/nsswitch.h: Define enum with indeces of databases in
23990         databases and __nss_database_custom arrays.  Declare
23991         __nss_database_custom.
23992         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
23993         to avoid using nscd when custom rules are installed.
23994         * nss/getXXbyYY_r.c: Likewise.
23995         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23997         * nss/nss_files/files-parse.c: Whitespace fixes.
23999 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
24001         [BZ #11883]
24002         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
24003         * posix/fnmatch_loop.c: Likewise.
24005 2010-07-17  Andi Kleen  <ak@linux.intel.com>
24007         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
24008         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
24009         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
24010         * Versions.def [GLIBC_2.13]: Add.
24012 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
24014         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24015         Also fail if tpwd after pwuid call is NULL.
24017 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24019         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
24020         when converting to ms.
24022 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24024         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
24025         EOPNOTSUPP errors with ENOTTY.
24026         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
24027         EOPNOTSUPP errors with ENOTTY.
24029 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
24031         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24032         Add strcasecmp_l-ssse3.
24033         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
24034         strcasecmp.
24035         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
24036         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
24037         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
24039 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
24041         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
24043         * string/Makefile (strop-tests): Add strcasecmp.
24044         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24045         strcasecmp_l-nonascii.
24046         (gen-as-const-headers): Add locale-defines.sym.
24047         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
24048         * sysdeps/x86_64/strcasecmp.S: New file.
24049         * sysdeps/x86_64/strcasecmp_l.S: New file.
24050         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
24051         * sysdeps/x86_64/locale-defines.sym: New file.
24052         * string/test-strcasecmp.c: New file.
24054         * string/test-strcasestr.c: Test both ends of the range of characters.
24055         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
24057 2010-07-29  Roland McGrath  <roland@redhat.com>
24059         [BZ #11856]
24060         * manual/locale.texi (Yes-or-No Questions): Fix example code.
24062 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
24064         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
24065         for ld.so.
24067 2010-07-27  Andreas Schwab  <schwab@redhat.com>
24069         * manual/memory.texi (Malloc Tunable Parameters): Document
24070         M_PERTURB.
24072 2010-07-26  Roland McGrath  <roland@redhat.com>
24074         [BZ #11840]
24075         * configure.in (-fgnu89-inline check): Set and substitute
24076         gnu89_inline, not libc_cv_gnu89_inline.
24077         * configure: Regenerated.
24078         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
24080 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
24082         * string/test-strnlen.c: New file.
24083         * string/Makefile (strop-tests): Add strnlen.
24084         * string/tester.c (test_strnlen): Add a few more test cases.
24085         * string/tst-strlen.c: Better error reporting.
24087         * sysdeps/x86_64/strnlen.S: New file.
24089 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
24091         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
24092         lower-latency instructions.
24094 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
24096         * string/test-strcasestr.c: New file.
24097         * string/test-strstr.c: New file.
24098         * string/Makefile (strop-tests): Add strstr and strcasestr.
24099         * string/str-two-way.h: Don't undefine MAX.
24100         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
24102 2010-07-21  Andreas Schwab  <schwab@redhat.com>
24104         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24105         strcasestr-nonascii.
24106         (CFLAGS-strcasestr-nonascii.c): Define.
24107         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
24108         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
24109         Remove unused attribute.
24111 2010-07-20  Roland McGrath  <roland@redhat.com>
24113         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
24114         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
24115         ld.so.cache was broken.  With it, there is no way to disable dsocaps
24116         like LD_HWCAP_MASK can disable hwcaps.
24118 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
24120         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
24122 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
24124         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
24125         call in strcasestr.
24126         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
24127         __strcasestr_sse42_nonascii.
24128         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
24129         strcasestr-nonascii.c.
24130         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
24132 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
24134         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
24135         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
24136         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
24137         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
24139 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
24141         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
24142         fcntl.
24144 2010-07-06  Andreas Schwab  <schwab@redhat.com>
24146         [BZ #11577]
24147         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
24148         dl_signal_cerror.
24150 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
24152         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
24153         _PC_PIPE_BUF using F_GETPIPE_SZ.
24155 2010-07-05  Roland McGrath  <roland@redhat.com>
24157         * manual/arith.texi (Rounding Functions): Fix rint description
24158         implicit in round description.
24160 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
24162         * elf/Makefile: Fix linking for a few tests to make recent linker
24163         happy.
24165 2010-06-30  Andreas Schwab  <schwab@redhat.com>
24167         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24168         $(common-objpfx)libc_nonshared.a.
24170 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
24172         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
24173         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
24174         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24175         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24176         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
24177         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
24178         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24179         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
24181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
24182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
24183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
24185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
24187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
24188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
24189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
24190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
24192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
24194         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
24195         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
24196         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
24197         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
24198         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
24199         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
24200         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
24201         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
24202         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
24203         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
24204         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
24205         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
24206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
24207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
24208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
24209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
24210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
24211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
24212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
24213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
24214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
24215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
24216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
24217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
24218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
24219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
24221 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
24223         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
24224         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
24225         * string/memmove.c (memmove): Renamed to ...
24226         (MEMMOVE): ...this.  Default to memmove.
24227         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
24228         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
24229         (END_CHK): Define.
24230         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24231         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
24232         mempcpy-ssse3-back memmove-ssse3-back.
24233         * sysdeps/x86_64/multiarch/bcopy.S: New file .
24234         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
24235         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
24236         * sysdeps/x86_64/multiarch/memcpy.S: New file.
24237         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
24238         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
24239         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
24240         * sysdeps/x86_64/multiarch/memmove.c: New file.
24241         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
24242         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
24243         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
24244         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
24245         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
24246         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
24247         Define.
24248         (index_Fast_Copy_Backward): Define.
24249         (HAS_ARCH_FEATURE): Define.
24250         (HAS_FAST_REP_STRING): Define.
24251         (HAS_FAST_COPY_BACKWARD): Define.
24253 2010-06-21  Andreas Schwab  <schwab@redhat.com>
24255         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24256         Restore proper fallback handling.
24258 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
24260         [BZ #11701]
24261         * posix/group_member.c (__group_member): Correct checking loop.
24263         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
24264         OOM in getpwuid_r correctly.  Return error number when the caller
24265         should return, otherwise -1.
24266         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
24267         call returning > 0 value.
24268         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
24270 2010-06-07  Andreas Schwab  <schwab@redhat.com>
24272         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
24273         libc_nonshared.a from targets in modules-names.
24275 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
24277         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
24278         requires it.
24280 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
24282         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
24283         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
24284         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
24285         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
24287 2010-06-02  Andreas Schwab  <schwab@redhat.com>
24289         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
24291 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
24293         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
24294         and F_GETPIPE_SZ.
24295         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24296         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24297         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24298         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24299         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24300         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
24302 2010-06-14  Roland McGrath  <roland@redhat.com>
24304         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
24306 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
24308         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
24309         __REDIRECT followed by __THROW.
24310         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
24311         * posix/getopt.h (getopt): Likewise.
24313 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
24315         * hurd/lookup-at.c (__file_name_lookup_at): Accept
24316         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
24317         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
24318         in AT_FLAGS.
24319         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
24320         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
24322 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
24324         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
24326 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
24328         [BZ #11640]
24329         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24330         Properly check family and model.
24332 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
24334         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
24336 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
24338         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
24340 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
24342         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
24343         symbol reference.
24345 2010-05-19  Andreas Schwab  <schwab@redhat.com>
24347         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
24348         symbol reference.
24350 2010-05-21  Andreas Schwab  <schwab@redhat.com>
24352         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
24353         and internal_recvmmsg.
24354         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
24355         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
24356         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
24357         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
24359         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
24360         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24361         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24363 2010-05-20  Andreas Schwab  <schwab@redhat.com>
24365         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
24367 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
24369         POWER7 optimizations.
24370         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
24371         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
24373 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
24375         * version.h: Update for 2.13 development version.
24377 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
24379         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
24380         exceptions.  Return 0.
24382 2010-05-07  Roland McGrath  <roland@redhat.com>
24384         * elf/ldconfig.c (main): Add a const.
24386 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
24388         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
24389         (args_options): Add no-idn option.
24390         (ahosts_keys_int): Add idn_flags to ai_flags.
24391         (parse_option): Handle 'i' option to clear idn_flags.
24393         * malloc/malloc.c (_int_free): Possible race in the most recently
24394         added check.  Only act on the data if no current modification
24395         happened.
24397 See ChangeLog.17 for earlier changes.