Implement x86 SIZE32/SIZE64 relocations
[glibc.git] / ChangeLog
blobdfebce129b4be661eefeda9f3619ce5ee9d6627f
1 2013-01-16  H.J. Lu  <hongjiu.lu@intel.com>
3         * elf/elf.h (R_386_SIZE32): New relocation.
4         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
5         R_386_SIZE32.
6         (elf_machine_rela): Likewise.
7         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8         R_X86_64_SIZE64 and R_X86_64_SIZE32.
10 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
12         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13         (FP_FAST_FMA): Do not define.
14         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
15         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
16         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
17         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18         !_SOFT_FLOAT]: Likewise.
19         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
21         value.
22         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
26         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
27         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
28         file.
30 2013-01-16  Andreas Schwab  <schwab@suse.de>
32         [BZ #14327]
33         * include/stdlib.h (__mktemp): Add declaration.
34         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
35         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
37 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
40         definitions.
41         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
42         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
43         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
44         definitions here.
45         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
46         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
47         definitions.
48         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
49         and ONE.
50         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
51         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
52         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
53         definitions.
54         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
55         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
56         definitions.
57         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
59         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
61 2013-01-15  David S. Miller  <davem@davemloft.net>
63         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
64         trunc{,f} to libm-sysdep_routes.
65         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
66         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
67         file.
68         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
69         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
70         file.
71         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
72         file.
73         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
74         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
75         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
76         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
77         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
78         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
79         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
80         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
82         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
83         nearbyint{,f} to libm-sysdep_routes.
84         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
85         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
86         New file.
87         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
88         file.
89         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
90         New file.
91         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
92         file.
93         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
94         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
95         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
96         file.
97         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
98         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
99         file.
100         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
101         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
102         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
104         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
105         libc_feholdexcept and libc_fesetenv.
107 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
109         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
111 2013-01-14  David S. Miller  <davem@davemloft.net>
113         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
114         (SPARC_ASM_VIS2_IFUNC): Likewise.
115         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
117         use of 'siam' instruction.
118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
119         Likewise.
120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
121         Likewise.
122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
123         Likewise.
124         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
125         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
126         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
127         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
129         file.
130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
131         file.
132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
133         file.
134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
135         file.
136         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
137         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
138         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
139         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
141         new VIS2 routines.
142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
145         Likewise.
146         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
147         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
148         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
149         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
151         routines to libm-sysdep_routines.
152         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
155         fdim/fdimf to libm-sysdep_routines.
156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
157         file.
158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
160         file.
161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
162         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
163         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
164         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
165         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
166         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
167         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
169 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
171         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
172         to optimize copies.
174         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
175         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
176         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
178         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
179         local variable MPTWO.
180         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
181         Likewise.
183 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
185         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
186         GLOB_NOESCAPE.
188 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
190         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
192 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
194         * manual/pattern.texi (glob_t): Document gl_flags.
195         (glob64_t): Likewise.
197 2013-01-11  David S. Miller  <davem@davemloft.net>
199         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
200         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
201         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
202         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
203         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
204         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
205         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
206         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
207         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
208         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
209         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
210         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
211         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
213         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
214         sparc V9 rather than using V8 code.
215         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
216         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
218         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
219         Move to...
220         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
221         Here.
223 2013-01-11  Roland McGrath  <roland@hack.frob.com>
225         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
226         not in the main loop.
227         * configure: Regenerated.
229 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
231         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
232         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
233         to just #else.
234         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
235         [!__GLIBC_HAVE_LONG_LONG] case.
236         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
237         condition to just #else.
238         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
239         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
240         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
241         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
242         unconditional.
243         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
244         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
245         #elif condition to just #else.
246         * sysdeps/unix/sysv/linux/sys/sysmacros.h
247         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
248         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
249         #elif condition to just #else.
251 2013-01-11  Steve Ellcey  <sellcey@mips.com>
253         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
254         (EF_MIPS_ARCH_64): Fix value.
255         (EF_MIPS_ARCH_32R2): New.
256         (EF_MIPS_ARCH_64R2): New.
258 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
260         * Makeconfig (+link-pie-before-libc): New.
261         (+link-pie-after-libc): Likewise.
262         (+link-pie-tests): Likewise.
263         (+link-pie): Rewritten.
264         (link-before-libc): Remove $(config-LDFLAGS).
265         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
266         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
267         (config-LDFLAGS): Renamed to ...
268         (rtld-LDFLAGS): This.
269         (rtld-tests-LDFLAGS): New macro.
270         (link-libc-rpath-link): Likewise.
271         (link-libc-tests-rpath-link): Likewise.
272         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
273         (link-libc): Prepand $(link-libc-rpath-link).
274         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
275         (test-program-prefix): New macro.
276         (test-via-rtld-prefix): Likewise.
277         (test-program-cmd): Likewise.
278         (host-test-program-cmd): Likewise.
279         * Makefile ($(common-objpfx)testrun.sh): Replace
280         $(run-program-prefix) with $(test-program-prefix).
281         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
282         $(rtld-LDFLAGS).
283         ($(common-objpfx)shlib.lds): Likewise.
284         (build-module-helper): Likewise.
285         ($(common-objpfx)format.lds): Likewise.
286         * Rules (binaries-pie-tests): New.
287         (binaries-pie-notests): Likewise.
288         (binaries-pie): Rewritten.
289         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
290         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
291         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
292         (make-test-out): Replace $(host-built-program-cmd) with
293         $(host-test-program-cmd).
294         * config.make.in (build-hardcoded-path-in-tests): New variable.
295         * configure.in (--enable-hardcoded-path-in-tests): New configure
296         option.
297         (hardcoded_path_in_tests): New AC_SUBST.
298         * configure: Regenerated.
299         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
300         $(built-program-cmd) with $(test-program-cmd).
301         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
302         (test_program_cmd): This.
303         * elf/Makefile ($(objpfx)order.out): Run test with
304         $(test-program-prefix).
305         ($(objpfx)order2.out): Likewise.
306         ($(objpfx)tst-initorder.out): Likewise.
307         ($(objpfx)tst-initorder2.out): Likewise.
308         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
309         $(test-program-cmd).
310         ($(objpfx)tst-array1-static.out): Likewise.
311         ($(objpfx)tst-array2.out): Likewise.
312         ($(objpfx)tst-array3.out): Likewise.
313         ($(objpfx)tst-array4.out): Likewise.
314         ($(objpfx)tst-array5.out): Likewise.
315         ($(objpfx)tst-array5-static.out): Likewise.
316         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
317         $(test-program-cmd).
318         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
319         $(run-program-prefix) with $(test-program-prefix).
320         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
321         (test_program_prefix): This.
322         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
323         $(run-program-prefix) with $(test-program-prefix).
324         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
325         (test_program_prefix): This.
326         * iconvdata/tst-tables.sh: Likewise.
327         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
328         $(run-program-prefix) with $(test-program-prefix).
329         ($(objpfx)tst-translit.out): Likewise.
330         ($(objpfx)tst-gettext2.out): Likewise.
331         ($(objpfx)tst-gettext4.out): Likewise.
332         ($(objpfx)tst-gettext6.out): Likewise.
333         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
334         (test_program_prefix): This.
335         * intl/tst-gettext2.sh: Likewise.
336         * intl/tst-gettext4.sh  Likewise.
337         * intl/tst-gettext6.sh: Likewise.
338         * intl/tst-translit.sh: Likewise.
339         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
340         with $(test-program-cmd).
341         * libio/Makefile ($(objpfx)test-freopen.out): Replace
342         $(run-program-prefix) with $(test-program-prefix).
343         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
344         (test_program_prefix): This.
345         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
346         $(run-program-prefix) with $(test-program-prefix).
347         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
348         (test_program_prefix): This.
349         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
350         * posix/Makefile ($(objpfx)globtest.out): Replace
351         $(run-via-rtld-prefix) and $(test-wrapper) with
352         $(test-program-prefix) and $(test-via-rtld-prefix).
353         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
354         $(test-program-prefix).
355         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
356         $(host-test-program-cmd).
357         (tst-spawn-ARGS): Likewise.
358         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
359         $(test-program-prefix).
360         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
361         (test_via_rtld_prefix): This.
362         (test_wrapper): Renamed to ...
363         (test_program_prefix): This.
364         (run_program_prefix): Replaced by test_program_prefix.
365         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
366         (test_program_prefix): This.
367         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
368         with $(host-test-program-cmd).
369         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
370         $(run-program-prefix) with $(test-program-prefix).
371         ($(objpfx)tst-printf.out): Likewise.
372         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
373         $(test-program-cmd).
374         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
375         (test_program_prefix): This.
376         * stdio-common/tst-unbputc.sh: Likewise.
377         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
378         $(run-program-prefix) with $(test-program-prefix).
379         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
380         (test_program_prefix): This.
381         * string/Makefile ($(objpfx)tst-svc.out):  Replace
382         $(built-program-cmd) with $(test-program-cmd).
384 2013-01-11  Andreas Jaeger  <aj@suse.de>
386         [BZ #15003]
387         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
388         value. Sync with Linux 3.7.
390 2013-01-10  David S. Miller  <davem@davemloft.net>
392         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
393         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
394         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
396 2013-01-10  Roland McGrath  <roland@hack.frob.com>
398         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
399         never set.
400         * configure: Regenerated.
402 2013-01-10  David S. Miller  <davem@davemloft.net>
404         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
405         sparc V9 rather than using V8 code.
406         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
407         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
409 2013-01-10  Roland McGrath  <roland@hack.frob.com>
411         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
412         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
413         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
414         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
415         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
416         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
417         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
418         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
419         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
420         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
421         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
422         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
423         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
424         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
425         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
426         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
427         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
428         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
429         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
430         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
431         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
432         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
433         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
434         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
435         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
436         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
437         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
439 2013-01-10  David S. Miller  <davem@davemloft.net>
441         * sysdeps/sparc/fpu/libm-test-ulps: Update.
443 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
445         * posix/Makefile (tests-static): New variable.
446         (tests): Add $(tests-static).
447         (tst-exec-static-ARGS): New variable.
448         (tst-spawn-static-ARGS): Likewise.
449         * posix/tst-exec-static.c: New file.
450         * posix/tst-spawn-static.c: Likewise.
451         * posix/tst-exec.c: Support run directly.
452         * posix/tst-spawn.c: Likewise.
454 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
456         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
457         long.
458         * math/bits/mathcalls.h (llrint): Likewise.
459         (llround): Likewise.
460         * stdlib/stdlib.h (struct drand48_data): Likewise.
461         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
462         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
463         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
464         Likewise.
465         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
466         Likewise.
467         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
468         (elf_greg_t): Likewise.
469         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
470         (__jmp_buf): Likewise.
471         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
472         definitions.
473         (llrint): Likewise, for all definitions.
474         (llrintl): Likewise.
476         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
477         Remove [__GNUC__] condition.
478         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
479         condition to just [__USE_ISOC99].
480         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
482 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
484         [BZ #14200]
485         * sysdeps/unix/sysv/linux/x86/bits/environments.h
486         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
487         defined.
488         (_POSIX_V6_ILP32_OFF32): Likewise.
489         (_XBS5_ILP32_OFF32): Likewise.
490         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
491         (__ILP32_OFFBIG_LDFLAGS): Likewise.
493 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
495         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
497         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
498         doubles __mpexp_twomm1.  Adjust usage.
499         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
500         Remove.
502 2013-01-10  Andreas Schwab  <schwab@suse.de>
504         [BZ #14964]
505         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
506         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
508 2013-01-09  David S. Miller  <davem@davemloft.net>
510         [BZ #15003]
511         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
512         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
513         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
514         TCP_FASTOPEN): Define.
515         (tcp_repair_opt): New structure.
516         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
517         enum values.
518         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
519         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
520         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
521         (tcp_cookie_transactions): New structure.
523 2013-01-09  Anton Blanchard  <anton@samba.org>
525         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
526         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
527         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
528         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
530 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
532         * include/features.h (__USE_ANSI): Remove.
534 2013-01-09  Roland McGrath  <roland@hack.frob.com>
536         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
538         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
540 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
542         * sysdeps/s390/fpu/libm-test-ulps: Update.
544         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
546         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
547         (__acr): Likewise.
548         (__cpy): Likewise.
549         (norm): Likewise.
550         (denorm): Likewise.
551         (__mp_dbl): Likewise.
552         (__dbl_mp): Likewise.
553         (add_magnitudes): Likewise.
554         (sub_magnitudes): Likewise.
555         (__add): Likewise.
556         (__sub): Likewise.
557         (__mul): Likewise.
558         (__inv): Likewise.
559         (__dvd): Likewise.
560         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
561         (__acr): Likewise.
562         (__cpy): Likewise.
563         (norm): Likewise.
564         (denorm): Likewise.
565         (__mp_dbl): Likewise.
566         (__dbl_mp): Likewise.
567         (add_magnitudes): Likewise.
568         (sub_magnitudes): Likewise.
569         (__add): Likewise.
570         (__sub): Likewise.
571         (__mul): Likewise.
572         (__inv): Likewise.
573         (__dvd): Likewise.
574         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
575         (__acr): Likewise.
576         (__cpy): Likewise.
577         (norm): Likewise.
578         (denorm): Likewise.
579         (__mp_dbl): Likewise.
580         (__dbl_mp): Likewise.
581         (add_magnitudes): Likewise.
582         (sub_magnitudes): Likewise.
583         (__add): Likewise.
584         (__sub): Likewise.
585         (__mul): Likewise.
586         (__inv): Likewise.
587         (__dvd): Likewise.
589 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
591         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
592         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
593         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
594         2 && __USE_EXTERN_INLINES]: Likewise.
596 2013-01-08  Andreas Jaeger  <aj@suse.de>
598         [BZ# 14985]
599         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
600         Remove.
601         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
602         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
604 2013-01-07  Anton Blanchard  <anton@samba.org>
606         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
607         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
608         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
609         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
610         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
611         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
612         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
613         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
614         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
615         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
616         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
617         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
618         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
619         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
620         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
621         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
622         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
623         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
624         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
625         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
626         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
627         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
628         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
629         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
630         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
631         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
632         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
633         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
634         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
635         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
636         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
637         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
638         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
639         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
640         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
641         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
642         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
643         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
644         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
645         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
646         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
647         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
648         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
650 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
652         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
653         (__MALLOC_PMT): Likewise.
654         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
655         [__GNUC__], only on [_LIBC].
656         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
657         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
658         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
659         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
660         forward declaration.
661         (realloc_hook_ini): Likewise.
662         (memalign_hook_ini): Likewise.
663         (__libc_memalign): Do not use __MALLOC_PMT in variable
664         declaration.
665         (__libc_valloc): Likewise.
666         (__libc_pvalloc): Likewise.
667         (__libc_calloc): Likewise.
668         (__posix_memalign): Likewise.
670         [BZ #14996]
671         * math/s_casinh.c: Include <float.h>.
672         (__casinh): Do not do computation with squaring and square root
673         for large arguments.
674         * math/s_casinhf.c: Include <float.h>.
675         (__casinhf): Do not do computation with squaring and square root
676         for large arguments.
677         * math/s_casinhl.c: Include <float.h>.
678         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
679         (__casinhl): Do not do computation with squaring and square root
680         for large arguments.
681         * math/libm-test.inc (casin_test): Add more tests.
682         (casinh_test): Likewise.
683         * sysdeps/i386/fpu/libm-test-ulps: Update.
684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
686 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
688         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
689         (__x86_64_raw_data_cache_size): Likewise.
690         (__x86_64_data_cache_size_half): Likewise.
691         (__x86_64_raw_data_cache_size_half): Likewise.
692         (__x86_64_shared_cache_size): Likewise.
693         (__x86_64_raw_shared_cache_size): Likewise.
694         (__x86_64_shared_cache_size_half): Likewise.
695         (__x86_64_raw_shared_cache_size_half): Likewise.
696         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
697         to ...
698         (__x86_data_cache_size): This.
699         (__x86_64_raw_data_cache_size): Renamed to ...
700         (__x86_raw_data_cache_size): This.
701         (__x86_64_data_cache_size_half): Renamed to ...
702         (__x86_data_cache_size_half): This.
703         (__x86_64_raw_data_cache_size_half): Renamed to ...
704         (__x86_raw_data_cache_size_half): This.
705         (__x86_64_shared_cache_size): Renamed to ...
706         (__x86_shared_cache_size): This.
707         (__x86_64_raw_shared_cache_size): Renamed to ...
708         (__x86_raw_shared_cache_size): This.
709         (__x86_64_shared_cache_size_half): Renamed to ...
710         (__x86_shared_cache_size_half): This.
711         (__x86_64_raw_shared_cache_size_half): Renamed to ...
712         (__x86_raw_shared_cache_size_half): This.
713         * sysdeps/x86_64/memcpy.S: Updated.
714         * sysdeps/x86_64/memset.S: Likewise.
715         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
716         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
717         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
719 2013-01-04  David S. Miller  <davem@davemloft.net>
721         * sysdeps/sparc/fpu/libm-test-ulps: Update.
723 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
725         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
726         1 to avoid redefinition warning.
727         (__USE_GNU): Don't define.
728         (init_signaling_nan): Protoize.
730         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
732 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
734         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
735         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
736         (__cpymn): Likewise.
737         (norm): Remove commented code.
738         (denorm): Likewise.
739         (__mp_dbl): Likewise.
740         (__inv): Likewise.
741         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
742         (__cpymn): Likewise.
743         (norm): Remove commented code.
744         (denorm): Likewise.
745         (__mp_dbl): Likewise.
746         (__inv): Likewise.
748         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
749         mp_no value for 1.0 and 2.0.
750         (norm): Use RADIXI instead of radixi.d.
751         (denorm): Likewise.
752         (__mul): Use 0.0 instead of zero.d.
753         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
754         mp_no value for 1.0 and 2.0.
755         (norm): Use RADIXI instead of radixi.d.
756         (denorm): Likewise.
757         (__mul): Use 0.0 instead of zero.d.
759 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
761         [BZ #14994]
762         * math/s_casinh.c (__casinh): Reduce finite argument to first
763         quadrant then set signs of results at the end.
764         * math/s_casinhf.c (__casinhf): Likewise.
765         * math/s_casinhl.c (__casinhl): Likewise.
766         * math/libm-test.inc (casin_test): Add more tests.
767         (casinh_test): Likewise.
768         * sysdeps/i386/fpu/libm-test-ulps: Update.
769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
771 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
773         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
775         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
777         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
778         declarations.
779         (denorm): Likewise.
780         (__mp_dbl): Likewise.
781         (__inv): Likewise.
783         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
784         and adjust the header comment.
786         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
787         variable name from declaration.
789 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
791         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
792         Initialize COMMON_CPUID_INDEX_7 element.
793         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
794         (CPUID_RTM): Likewise.
795         (HAS_RTM): Likewise.
796         (COMMON_CPUID_INDEX_7): New enum.
798 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
800         [BZ #14981]
801         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
802         size is zero, record memory as freed.
804 2013-01-03  Andreas Jaeger  <aj@suse.de>
806         * po/ia.po: Add new Interlingua translation.
808 2012-01-03  Allan McRae  <allan@archlinux.org>
810         * locale/programs/localedef.c: Fix description of '--posix' flag.
812 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
814         * NEWS: Update dates in second copyright notice.
815         * README: Update copyright dates in example.
816         * manual/libc.texinfo: Update copyright dates.
817         * scripts/test-installation.pl: Update copyright date in --version
818         output.
820         * hurd/ctty-input.c: Fix copyright notice formatting.
821         * hurd/ctty-output.c: Likewise.
822         * hurd/dtable.c: Likewise.
823         * hurd/hurd-raise.c: Likewise.
824         * hurd/hurdprio.c: Likewise.
825         * hurd/msgportdemux.c: Likewise.
826         * misc/sys/file.h: Likewise.
827         * misc/sys/ioctl.h: Likewise.
828         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
829         * sysdeps/mach/hurd/chdir.c: Likewise.
830         * sysdeps/mach/hurd/fchdir.c: Likewise.
831         * sysdeps/mach/hurd/rename.c: Likewise.
832         * sysdeps/mach/hurd/rmdir.c: Likewise.
833         * sysdeps/mach/hurd/seekdir.c: Likewise.
834         * sysdeps/mach/hurd/setsid.c: Likewise.
835         * sysdeps/posix/wait3.c: Likewise.
837         * All files with FSF copyright notices: Update copyright dates
838         using scripts/update-copyrights.
839         * intl/plural.c: Regenerated.
840         * locale/programs/charmap-kw.h: Likewise.
841         * locale/programs/locfile-kw.h: Likewise.
843 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
845         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
846         four values.
848         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
849         calculation loop and add branch prediction.
851         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
852         check access beyond bounds of m1np.
854         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
855         MPTWO.
856         (__inv): Remove local variable MPTWO to use the global
857         constant.
858         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
859         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
860         variable MPTWO.
861         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
862         MP3HALFS static const.
864 2013-01-01  David S. Miller  <davem@davemloft.net>
866         * po/ca.po: Update from translation team.
868 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
870         * scripts/update-copyrights: New file.
871         * Makeconfig: Reformat copyright notice.
872         * ctype/ctype.h: Likewise.
873         * debug/swprintf_chk.c: Likewise.
874         * elf/dl-cache.c: Likewise.
875         * elf/dl-debug.c: Likewise.
876         * elf/dl-object.c: Likewise.
877         * grp/initgroups.c: Likewise.
878         * hurd/Makefile: Likewise.
879         * hurd/hurd/signal.h: Likewise.
880         * hurd/hurdfault.c: Likewise.
881         * hurd/hurdioctl.c: Likewise.
882         * hurd/hurdlookup.c: Likewise.
883         * hurd/intr-msg.c: Likewise.
884         * iconv/gconv_open.c: Likewise.
885         * libio/swprintf.c: Likewise.
886         * locale/lc-ctype.c: Likewise.
887         * locale/nl_langinfo.c: Likewise.
888         * mach/Machrules: Likewise.
889         * mach/Makefile: Likewise.
890         * malloc/obstack.h: Likewise.
891         * manual/Makefile: Likewise.
892         * manual/tsort.awk: Likewise.
893         * misc/bits/stab.def: Likewise.
894         * nis/nis_print_group_entry.c: Likewise.
895         * nis/nis_table.c: Likewise.
896         * nis/nss_compat/compat-pwd.c: Likewise.
897         * nis/nss_compat/compat-spwd.c: Likewise.
898         * po/Makefile: Likewise.
899         * posix/fnmatch.c: Likewise.
900         * posix/regex.h: Likewise.
901         * resolv/Makefile: Likewise.
902         * resolv/nss_dns/dns-network.c: Likewise.
903         * resolv/res_hconf.c: Likewise.
904         * scripts/gen-sorted.awk: Likewise.
905         * soft-fp/soft-fp.h: Likewise.
906         * stdio-common/printf.h: Likewise.
907         * stdlib/monetary.h: Likewise.
908         * stdlib/random.c: Likewise.
909         * stdlib/random_r.c: Likewise.
910         * sysdeps/generic/Makefile: Likewise.
911         * sysdeps/gnu/Makefile: Likewise.
912         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
913         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
914         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
915         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
916         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
917         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
918         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
919         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
920         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
921         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
922         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
923         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
924         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
925         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
926         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
927         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
928         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
929         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
930         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
931         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
932         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
933         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
934         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
935         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
936         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
937         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
938         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
939         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
940         * sysdeps/mach/hurd/errnos.awk: Likewise.
941         * sysdeps/mach/hurd/fork.c: Likewise.
942         * sysdeps/mach/hurd/getcwd.c: Likewise.
943         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
944         * sysdeps/mach/hurd/mmap.c: Likewise.
945         * sysdeps/mach/hurd/utimes.c: Likewise.
946         * sysdeps/mach/hurd/xmknod.c: Likewise.
947         * sysdeps/posix/profil.c: Likewise.
948         * sysdeps/posix/readdir_r.c: Likewise.
949         * sysdeps/powerpc/bits/mathdef.h: Likewise.
950         * sysdeps/powerpc/bits/setjmp.h: Likewise.
951         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
952         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
953         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
954         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
955         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
956         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
957         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
958         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
959         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
960         * sysdeps/pthread/lio_listio.c: Likewise.
961         * sysdeps/sparc/dl-procinfo.h: Likewise.
962         * sysdeps/unix/i386/sysdep.S: Likewise.
963         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
964         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
965         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
966         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
968         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
969         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
970         * sysdeps/unix/sysv/linux/speed.c: Likewise.
971         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
972         * sysdeps/wordsize-32/divdi3.c: Likewise.
973         * time/sys/time.h: Likewise.
974         * wcsmbs/Makefile: Likewise.
976 2013-01-01  David S. Miller  <davem@davemloft.net>
978         * po/fr.po: Update from translation team.
980         * catgets/gencat.c: Update copyright year.
981         * csu/version.c: Likewise.
982         * debug/catchsegv.sh: Likewise.
983         * debug/pcprofiledump.c: Likewise.
984         * debug/xtrace.sh: Likewise.
985         * elf/ldconfig.c: Likewise.
986         * elf/ldd.bash.in: Likewise.
987         * elf/pldd.c: Likewise.
988         * elf/sotruss.ksh: Likewise.
989         * elf/sprof.c: Likewise.
990         * iconv/iconv_prog.c: Likewise.
991         * iconv/iconvconfig.c: Likewise.
992         * locale/programs/locale.c: Likewise.
993         * locale/programs/localedef.c: Likewise.
994         * login/programs/pt_chown.c: Likewise.
995         * malloc/memusage.sh: Likewise.
996         * malloc/memusagestat.c: Likewise.
997         * malloc/mtrace.pl: Likewise.
998         * nscd/nscd.c: Likewise.
999         * nss/getent.c: Likewise.
1000         * nss/makedb.c: Likewise.
1001         * posix/getconf.c: Likewise.
1003 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
1005         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
1006         numbers.
1008 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
1010         * math/bits/mathcalls.h (modf): Use __nonnull.
1012 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1014         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
1015         (split): Use macro CN instead of the bare value.
1016         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
1017         could be used.
1018         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
1019         instead of the bare value.
1020         (power1): Likewise.
1022 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1024         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
1025         __ATAN_TWOM.
1026         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1028         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
1029         their values.
1030         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1031         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1032         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
1033         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1035 2012-12-28  Andreas Jaeger  <aj@suse.de>
1037         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
1038         values are from Linux 3.7.
1040         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
1041         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
1043 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1045         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
1046         TRUE case.
1048         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
1049         (norm): Likewise.
1050         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
1051         variables with preprocessor constants.
1052         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1053         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
1054         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
1056 2012-12-27  Bruno Haible  <bruno@clisp.org>
1058         [BZ #14317]
1059         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
1060         only if needed.
1062 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1064         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
1065         and use variable directly.
1066         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
1068         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1069         MPONE.
1070         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
1071         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1072         variable MPONE.
1073         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1074         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1075         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
1076         include directive.  Remove local variable MPONE.
1077         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
1078         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
1079         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1081 2012-12-25  David S. Miller  <davem@davemloft.net>
1083         * version.h (RELEASE): Set to "development".
1084         (VERSION): Set to "2.17.90".
1085         * NEWS: Add 2.18 section.
1087 2012-12-21  David S. Miller  <davem@davemloft.net>
1089         * po/hr.po: Update from translation team.
1091 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1093         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
1095 2012-12-19  Steve Ellcey  <sellcey@mips.com>
1097         * NEWS:  Mention new memcpy for MIPS.
1099 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1101         * manual/contrib.texi (Contributors): Spelling correction.
1103 2012-12-15  David S. Miller  <davem@davemloft.net>
1105         * po/ru.po: Update from translation team.
1107 2012-12-13  David S. Miller  <davem@davemloft.net>
1109         * NEWS: Mention IFUNC testsuite enhancements.
1111         * po/pl.po: Update from translation team.
1112         * po/bg.po: Likewise.
1114         * manual/contrib.texi (Contributors): Update entries for Hongjiu
1115         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
1117 2012-12-11  David S. Miller  <davem@davemloft.net>
1119         * po/sv.po: Update from translation team.
1121         * po/vi.po: Update from translation team.
1123         * po/cs.po: Update from translation team.
1125         * po/de.po: Update from translation team.
1126         * po/eo.po: Likewise.
1127         * po/nl.po: Likewise.
1129 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1131         [BZ #14246]
1132         * manual/argp.texi (Argp Helper Functions): Move node to follow
1133         Argp Parsing State.
1135         [BZ #14872]
1136         * manual/conf.texi (Limits on File System Capacity): Mention if
1137         terminating null is included in the max size.
1139 2012-12-10  Andreas Jaeger  <aj@suse.de>
1141         * po/cs.po: Update from translation team.
1143 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1145         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
1146         void pointer and cast to uintptr_t.
1147         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
1148         path.
1149         * sysdeps/s390/s390-64/memcpy.S: Likewise.
1150         * sysdeps/s390/s390-64/memset.S: Likewise.
1152 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
1154         [BZ #14833]
1155         * menual/message.texi (Message Translation): Fix typos.
1156         (Helper programs for gettext): Likewise.
1158 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
1160         [BZ #14898]
1161         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
1162         Change to -1.
1164 2012-12-07  David S. Miller  <davem@davemloft.net>
1166         * po/libc.pot: Update.
1168 2012-12-07  Richard Henderson  <rth@redhat.com>
1170         [BZ #10114]
1171         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
1172         normal/normal case to before the switch.
1173         (_FP_DIV): Likewise.
1175 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
1176             Mike Frysinger  <vapier@gentoo.org>
1178         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
1179         check for __NR_fadvise64_64.
1181 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
1183         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
1184         0, not just to plain "0" as a statement.
1185         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
1186         with cw.
1188 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
1190         * NEWS: Use sourceware.org in Bugzilla URL.
1192 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
1194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1195         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1197         * stdio-common/tst-put-error.c (do_test): Add newline to the
1198         padded test to ensure flush.
1200 2012-12-05  Jeff Law  <law@redhat.com>
1202         * sunrpc/etc.rpc (fedfs_admin): Add entry.
1204 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
1206         * README: Don't refer to ports add-on as distributed separately.
1207         Mention AArch64 in list of systems supported in the ports add-on.
1209         * LICENSES: Add more non-FSF copyright and license notices.
1211         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
1212         ((unused)).
1214         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
1216         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
1217         10000 as width of padded output.
1219 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
1221         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
1223         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
1224         variable LX with __attribute__ ((unused)).
1225         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1226         Likewise.
1227         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1228         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1229         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
1230         with __attribute__ ((unused)).
1232 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
1234         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
1236 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
1238         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
1239         (CFLAGS-nldbl-acos.c): New variable.
1240         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
1241         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
1242         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
1243         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
1244         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
1245         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
1246         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
1247         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
1248         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
1249         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
1250         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
1251         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
1252         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
1253         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
1254         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
1255         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
1256         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
1257         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
1258         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
1259         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
1260         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
1261         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
1262         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
1263         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
1264         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
1265         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
1266         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
1267         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
1268         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
1269         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
1270         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
1271         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
1272         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
1273         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
1274         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
1275         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
1276         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
1277         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
1278         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
1279         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
1280         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
1281         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
1282         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
1283         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
1284         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
1285         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
1286         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
1287         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
1288         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
1289         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
1290         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
1291         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
1292         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
1293         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
1294         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
1295         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
1296         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
1297         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
1298         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
1299         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
1300         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
1301         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
1302         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
1303         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
1304         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
1305         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
1306         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
1307         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
1308         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
1309         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
1310         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
1311         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
1312         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
1313         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
1314         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
1315         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
1316         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
1317         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
1318         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
1319         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
1320         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
1321         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
1322         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
1323         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
1324         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
1325         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
1326         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
1327         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
1328         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
1329         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
1330         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
1331         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
1332         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
1333         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
1334         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
1335         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
1336         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
1338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1339         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1341         [BZ #14914]
1342         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
1343         whole low double instead of just low 47 bits when splitting values
1344         into two parts.
1346 2012-12-03  Allan McRae  <allan@archlinux.org>
1348         * manual/stdio.texi (Predefined Printf Handlers): Remove
1349         @hsep and @vsep usage.
1351 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
1353         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
1354         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
1356 2012-12-03  Jeff Law  <law@redhat.com>
1358         * time/sys/time.h (settimeofday): Do not mark TV argument
1359         as __nonnull.
1361 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
1363         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
1364         when currently writing and seek to current position when not.
1365         * libio/Makefile (tests): Remove bug-fclose1.
1366         * libio/bug-fclose1.c: Delete.
1368 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
1370         * manual/arith.texi (feenableexcept): Fix typo.
1371         (fedisableexcept): Likewise.
1373 2012-11-30  Roland McGrath  <roland@hack.frob.com>
1375         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
1376         second, differently-typed declaration, rather than a cast.
1378 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1380         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
1381         * include/rpc/svc.h: ... here.
1383 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
1385         [BZ #13013]
1386         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
1387         depending n and resplen2 to catch cases where answer
1388         equals answerp2.
1390 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
1392         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
1393         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
1395 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
1397         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
1399 2012-11-29  Roland McGrath  <roland@hack.frob.com>
1401         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
1403 2012-11-28  Jeff Law  <law@redhat.com>
1405         [BZ #13761]
1406         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
1407         dataset_temporary.  Track alloca usage into alloca_used.
1408         If dataset is large allocate and release it via malloc/free.
1410 2012-06-04  Florian Weimer  <fweimer@redhat.com>
1412         [BZ #14197]
1413         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
1415 2012-11-28  David S. Miller  <davem@davemloft.net>
1417         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1419 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
1421         [BZ #14803]
1422         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
1423         of pi/2 rounded to nearest to 64 bits.
1424         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
1425         nearest to 64 bits.
1426         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
1427         bits.
1429 2012-11-28  Jeff Law <law@redhat.com>
1430             Martin Osvald <mosvald@redhat.com>
1432         [BZ #14889]
1433         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
1434         * sunrpc/svc.c: Include time.h.
1435         (__svc_accept_failed): New function.
1436         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
1437         any reason other than EINTR, call __svc_accept_failed.
1438         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
1439         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
1441 2012-11-28  Andreas Schwab  <schwab@suse.de>
1443         * scripts/abilist.awk: Also handle indirect functions in .opd
1444         section.
1446 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
1448         [BZ #13881]
1449         * sysdeps/x86/fpu/powl_helper.c: New file.
1450         * sysdeps/x86/fpu/Makefile: Likewise.
1451         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
1452         (p3): New object.
1453         (__ieee754_powl): Use __powl_helper for finite arguments except
1454         integer exponents below 8.
1455         * sysdeps/x86_64/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         * math/libm-test.inc (pow_test): Add more tests and enable some
1460         previously disabled tests.
1461         * sysdeps/i386/fpu/libm-test-ulps: Update.
1462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1464 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1465             Carlos O'Donell  <carlos_odonell@mentor.com>
1467         * nss/makedb.c (is_prime): Assert that input is odd and greater
1468         than 4.  Note that fact in a comment too.
1469         (next_prime): Add 4 to input.
1471 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1473         [BZ #11741]
1474         * libio/Makefile (tests): Add test case tst-fwrite-error.
1475         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
1476         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
1477         * libio/tst-fwrite-error.c: New test case.
1479 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
1481         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
1482         before casting to void *.
1483         * include/libc-internal.h (__pointer_type): New macro.
1484         (__integer_if_pointer_type_sub): Likewise.
1485         (__integer_if_pointer_type): Likewise.
1486         (cast_to_integer): Likewise.
1487         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
1488         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
1489         before casting to atomic64_t.
1490         (atomic_exchange_acq): Likewise.
1491         (__arch_exchange_and_add_body): Likewise.
1492         (__arch_add_body): Likewise.
1493         (atomic_add_negative): Likewise.
1494         (atomic_add_zero): Likewise.
1496 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
1498         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
1499         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
1500         (add_fdes): Likewise.
1501         (linear_search_fdes): Likewise.
1502         (binary_search_unencoded_fdes): Likewise.
1504 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
1506         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
1508 2012-11-24  Adam Conrad  <adconrad@0c3.net>
1510         * configure.in: Autodetect C++ header directories.
1511         * configure: Regenerated.
1513 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
1515         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
1517 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
1519         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1521 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
1523         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
1524         LDBL_MANT_DIG == 106]: Disable some tests.
1525         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1526         Likewise.
1527         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1528         Likewise.
1530         [BZ #14871]
1531         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
1532         input for small inputs.  Return +/- pi/2 for large inputs.
1533         * math/libm-test.inc (atan_test): Add more tests.
1535         * sysdeps/generic/unwind-dw2-fde-glibc.c
1536         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
1537         __attribute__ ((unused)).
1539         [BZ #14645]
1540         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
1541         x * y if x and y are nonzero and z is zero.
1543         [BZ #14811]
1544         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
1545         nonzero exponents with absolute value below 0x1p-117 to +/-
1546         0x1p-117.
1548         [BZ #14869]
1549         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
1550         up arguments below 2**-450, not just those below 2**-500.
1551         * math/libm-test.inc (hypot_test): Add another test.
1553         [BZ #14868]
1554         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
1555         Return a+b for ratio over 2**120, not 2**60.
1556         * math/libm-test.inc (hypot_test): Add another test.
1558         * math/libm-test.inc (clog_test): Use
1559         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
1560         (clog10_test): Likewise.
1562         [BZ #6778]
1563         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
1565 2012-11-22  Andreas Schwab  <schwab@suse.de>
1567         * sysdeps/i386/fpu/libm-test-ulps: Update.
1569 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
1571         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
1572         printf output with newline.
1574 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
1576         [BZ #14865]
1577         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
1578         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
1579         -z nodlopen, -z initfirst and -z execstack support.
1580         * configure: Regenerated.
1582         * elf/elf.h (DF_1_NODIRECT): New macro.
1583         (DF_1_IGNMULDEF): Likewise.
1584         (DF_1_NOKSYMS): Likewise.
1585         (DF_1_NOHDR): Likewise.
1586         (DF_1_EDITED): Likewise.
1587         (DF_1_NORELOC): Likewise.
1588         (DF_1_SYMINTPOSE): Likewise.
1589         (DF_1_GLOBAUDIT): Likewise.
1590         (DF_1_SINGLETON): Likewise.
1591         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
1592         DT_1_SUPPORTED_MASK bits.
1593         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
1595 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
1597         * sysdeps/unix/make-syscalls.sh: Document prefixes.
1599 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
1601         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
1602         macro.
1604         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
1605         (sendmmsg): Move declarations...
1606         * socket/sys/socket.h: ... here.
1607         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
1608         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
1609         include it from...
1610         * socket/recvmmsg.c: ... this new file.
1611         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
1612         (sendmmsg): Rename to __sendmmsg, create weak alias and make
1613         definition of __sendmmsg hidden.
1614         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1615         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
1616         Move ENOSYS stub into and include it from...
1617         * socket/sendmmsg.c: ... this new file.
1618         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
1619         (sysdep_routines): Move recvmmsg and sendmmsg...
1620         * socket/Makefile (routines): ... here.
1621         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
1622         (GLIBC_PRIVATE): Add __sendmmsg.
1623         * include/sys/socket.h (__sendmmsg): Add declarations.
1624         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
1625         sendmmsg.
1627 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
1629         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
1630         variable I1 with __attribute__ ((unused)).
1631         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1633 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
1635         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
1636         DUMMY variables with __attribute__ ((unused)).
1638         * bits/byteswap.h: Include <bits/types.h>.
1639         (__bswap_64): Use __uint64_t instead of unsigned long long int.
1641 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
1643         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
1644         string_t.  Do not manually set errno.
1645         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
1646         length with __strnlen.  Make sure to both set errno and return it on
1647         failure.
1649 2012-11-19  David S. Miller  <davem@davemloft.net>
1651         With help from Joseph Myers.
1652         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
1653         very large arguments properly.
1654         * math/libm-test.inc (atan_test): New tests.
1655         (atan2_test): New tests.
1656         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1657         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1659 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
1661         [BZ #14856]
1662         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
1663         Define to 3.
1665         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
1666         [POSIX] (EADDRNOTAVAIL): Likewise.
1667         [POSIX] (EAFNOSUPPORT): Likewise.
1668         [POSIX] (EALREADY): Likewise.
1669         [POSIX] (ECONNABORTED): Likewise.
1670         [POSIX] (ECONNREFUSED): Likewise.
1671         [POSIX] (ECONNRESET): Likewise.
1672         [POSIX] (EDESTADDRREQ): Likewise.
1673         [POSIX] (EDQUOT): Likewise.
1674         [POSIX] (EHOSTUNREACH): Likewise.
1675         [POSIX] (EIDRM): Likewise.
1676         [POSIX] (EISCONN): Likewise.
1677         [POSIX] (ELOOP): Likewise.
1678         [POSIX] (EMULTIHOP): Likewise.
1679         [POSIX] (ENETDOWN): Likewise.
1680         [POSIX] (ENETUNREACH): Likewise.
1681         [POSIX] (ENOBUFS): Likewise.
1682         [POSIX] (ENODATA): Likewise.
1683         [POSIX] (ENOLINK): Likewise.
1684         [POSIX] (ENOMSG): Likewise.
1685         [POSIX] (ENOPROTOOPT): Likewise.
1686         [POSIX] (ENOSR): Likewise.
1687         [POSIX] (ENOSTR): Likewise.
1688         [POSIX] (ENOTCONN): Likewise.
1689         [POSIX] (ENOTSOCK): Likewise.
1690         [POSIX] (EOPNOTSUPP): Likewise.
1691         [POSIX] (EOVERFLOW): Likewise.
1692         [POSIX] (EPROTO): Likewise.
1693         [POSIX] (EPROTONOSUPPORT): Likewise.
1694         [POSIX] (EPROTOTYPE): Likewise.
1695         [POSIX] (ESTALE): Likewise.
1696         [POSIX] (ETIME): Likewise.
1697         [POSIX] (ETXTBSY): Likewise.
1698         [POSIX] (EWOULDBLOCK): Likewise.
1699         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
1700         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
1701         [POSIX] (SEEK_CUR): Likewise.
1702         [POSIX] (SEEK_END): Likewise.
1703         [POSIX || UNIX98] (mode_t): Do not require.
1704         [POSIX] (off_t): Likewise.
1705         [POSIX] (pid_t): Likewise.
1706         [POSIX] (sys/stat.h): Do not allow header.
1707         [POSIX] (unistd.h): Likewise.
1708         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
1709         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
1710         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
1711         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
1712         require.
1713         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
1714         sigevent): Specify elements.
1715         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
1716         entry.
1717         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
1718         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
1720         * conform/data/cpio.h-data [POSIX]: Disable whole file.
1721         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
1722         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
1723         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
1724         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
1725         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
1726         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
1727         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
1728         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
1729         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
1730         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
1731         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
1732         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
1733         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
1734         Likewise.
1735         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
1736         Likewise.
1737         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
1738         Likewise.
1739         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
1740         Likewise.
1741         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
1742         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
1743         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
1744         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
1745         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
1746         Specify lower bound on value.
1747         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
1748         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
1749         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
1750         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
1751         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
1752         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
1753         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
1754         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
1755         value.
1756         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
1757         as optional.
1758         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
1759         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
1760         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
1761         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
1762         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
1763         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
1764         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
1765         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
1766         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
1767         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
1768         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
1769         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
1770         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
1771         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
1772         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
1773         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
1774         entry.
1775         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
1776         optional.
1777         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
1778         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
1779         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
1780         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
1781         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
1782         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
1783         Likewise.
1784         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
1785         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
1786         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
1787         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
1788         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
1789         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
1790         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
1791         as optional.
1792         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
1793         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
1794         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
1795         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
1796         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
1797         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
1798         specify as optional.
1799         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
1800         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
1801         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
1802         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
1803         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
1804         [XPG3] (NL_LANGMAX): Likewise.
1805         [POSIX || XPG3] (NL_MSGMAX): Likewise.
1806         [POSIX || XPG3] (NL_NMAX): Likewise.
1807         [POSIX || XPG3] (NL_SETMAX): Likewise.
1808         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
1809         [XPG3] (NZERO): Likewise.
1810         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
1811         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
1812         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
1813         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
1814         (REG_ERANGE): Expect.
1815         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
1816         optional-constant.
1817         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
1818         Use (void) in prototype.
1819         [POSIX] (*_t): Allow.
1820         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
1821         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
1822         (WRDE_BADVAL): Expect.
1824         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
1825         expect.
1826         [XPG3 || XPG4] (O_RSYNC): Likewise.
1827         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
1828         Likewise.
1829         [XPG3 || XPG4] (pthread_sigmask): Likewise.
1830         [XPG3 || XPG4] (sigqueue): Likewise.
1831         [XPG3 || XPG4] (sigtimedwait): Likewise.
1832         [XPG3 || XPG4] (sigwaitinfo): Likewise.
1833         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
1834         [XPG3 || XPG4] (vsnprintf): Likewise.
1835         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
1836         Likewise.
1837         [XPG3 || XPG4] (blksize_t): Likewise.
1838         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
1839         Likewise.
1840         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
1841         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1842         [XPG3 || XPG4] (struct itimerspec): Likewise.
1843         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
1844         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
1845         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
1846         [XPG3 || XPG4] (clockid_t): Likewise.
1847         [XPG3 || XPG4] (timer_t): Likewise.
1848         [XPG3 || XPG4] (clock_getres): Likewise.
1849         [XPG3 || XPG4] (clock_gettime): Likewise.
1850         [XPG3 || XPG4] (clock_settime): Likewise.
1851         [XPG3 || XPG4] (nanosleep): Likewise.
1852         [XPG3 || XPG4] (timer_create): Likewise.
1853         [XPG3 || XPG4] (timer_delete): Likewise.
1854         [XPG3 || XPG4] (timer_gettime): Likewise.
1855         [XPG3 || XPG4] (timer_getoverrun): Likewise.
1856         [XPG3 || XPG4] (timer_settime): Likewise.
1857         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
1858         [XPG3 || XPG4] (getlogin_r): Likewise.
1859         [XPG3 || XPG4] (pread): Likewise.
1860         [XPG3 || XPG4] (pthread_atfork): Likewise.
1861         [XPG3 || XPG4] (pwrite): Likewise.
1863         [BZ #14835]
1864         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
1865         <bits/siginfo.h>.
1867 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
1869         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
1870         finalizing MALLSTREAM.
1872         * sysdeps/mach/hurd/syncfs.c: New file.
1874 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1876         [BZ #14719]
1877         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
1878         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
1879         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
1880         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
1881         (_nss_dns_gethostbyname4_r): Likewise.
1882         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
1883         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
1885 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
1887         [BZ #13763]
1888         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
1890 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
1892         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
1893         * elf/cache.c (print_entry): Print ",AArch64" for
1894         FLAG_AARCH64_LIB64
1896         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
1897         * elf/cache.c (print_entry): Print ",hard-float" for
1898         FLAG_ARM_LIBHF.
1900 2012-11-18  David S. Miller  <davem@davemloft.net>
1902         With help from Joseph Myers.
1903         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
1904         cutoff to 2**-13.
1905         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
1906         cutoff to 2**-25.
1907         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
1908         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
1909         small.
1910         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1911         * math/libm-test.inc (y0_test): New tests.
1912         (y1_test): New tests.
1913         * sysdeps/i386/fpu/libm-test-ulps: Update.
1914         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1915         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1917 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
1919         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
1920         64-bit targets.
1921         * configure: Regenerated.
1923 2012-11-17  David S. Miller  <davem@davemloft.net>
1925         [BZ #14811]
1926         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
1927         nonzero exponents with absolute value below 0x1p-128 to +/-
1928         0x1p-128.
1930 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
1932         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
1934         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
1936         * posix/getconf-speclist.c: New file.
1937         * posix/posix-envs.def: Likewise.
1938         * posix/confstr.c (START_ENV_GROUP): New macro.
1939         (END_ENV_GROUP): Likewise.
1940         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1941         (KNOWN_PRESENT_ENV_STRING): Likewise.
1942         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1943         (UNKNOWN_ENVIRONMENT): Likewise.
1944         (confstr): Include posix-envs.def instead of handling
1945         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
1946         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
1947         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
1948         (END_ENV_GROUP): Likewise.
1949         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1950         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1951         (UNKNOWN_ENVIRONMENT): Likewise.
1952         (__sysconf): Include posix-envs.def instead of handling associated
1953         cases directly here.
1954         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
1955         preprocessing getconf-speclist.c rather than running getconf or
1956         generating empty file.
1958 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
1960         * scripts/check-local-headers.sh: Ignore 'mach' headers.
1962 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
1964         [BZ #14672]
1965         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
1967 2012-11-16  David S. Miller  <davem@davemloft.net>
1969         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
1970         smaller than LDBL_EPSILON/2.0L, just return xm1.
1972 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
1974         * elf/tst-array1.c (init): Set constructor priority to 1000.
1975         (fini): Set destructor priority to 1000.
1976         * elf/tst-array2dep.c: Likewise.
1978 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1980         [BZ #11741]
1981         * libio/fileops.c (_IO_new_file_write): Correctly return error.
1982         (_IO_new_file_xsputn): Also return EOF if none of the input
1983         data was written when overflow failed.
1984         * libio/iopadn.c (_IO_padn): Likewise.
1985         * libio/iowpadn.c (_IO_wpadn): Likewise.
1986         * stdio-common/tst-put-error.c: Add copyright notice.
1987         (do_test): Add case for printing padded string.
1988         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
1989         _IO_padn returned error.
1990         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
1991         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
1992         return EOF.
1994 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1996         * libio/libioP.h: Add comment note that the references to C++
1997         bits are now obsolete.
1999 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2001         * math/libm-test.inc (check_complex): Use asprintf.
2003 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
2005         * debug/pcprofiledump.c (print_version): Update copyright year.
2006         * malloc/memusagestat.c (print_version): Likewise.
2008 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
2010         [BZ #14831]
2011         * elf/Makefile (tests): Add tst-audit8.
2012         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
2013         ($(objpfx)tst-audit8.out): New target.
2014         (tst-audit8-ENV): New variable.
2015         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
2016         audit if l_reloc_result is NULL.
2017         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
2018         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
2019         * elf/tst-audit8.c: New file.
2021 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2023         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
2024         * misc/Makefile (CFLAGS-select.c): Define.
2025         * posix/Makefile (CFLAGS-pause.c): Define.
2027 2012-11-13  David S. Miller  <davem@davemloft.net>
2029         * crypt/Makefile: Move test targets after toplevel Rules
2030         inclusion.  Grab any necessary sysdep routines when linking.
2031         * crypt/md5.c (md5_process_block): Remove define, we will always
2032         name it __md5_process_block.
2033         (md5_finish_ctx): Update md5_process_block call.
2034         (md5_stream): Likewise.
2035         (md5_process_bytes): Likewise.
2036         (md5_process_block): Rename to __md5_process_block and move to ...
2037         * crypt/md5-block.c: ... here.
2038         * crypt/sha256.c (sha256_process_block): Move to ...
2039         * crypt/sha256-block.c: ... here.
2040         * crypt/sha512.c (sha512_process_block): Move to ...
2041         * crypt/sha512-block.c: ... here.
2042         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
2043         path.
2044         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
2045         * sysdeps/sparc/sparc64/multiarch/Makefile
2046         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
2047         crypt subdir.
2048         (localedef-aux): Add md5 crypto assembler when in locale subdir.
2049         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
2050         multiarch changes.
2051         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
2052         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
2053         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
2054         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
2055         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
2056         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
2057         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
2058         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
2059         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
2060         file.
2061         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
2062         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
2063         file.
2064         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
2066 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
2068         * timezone/tzselect.ksh: Update from tzcode git revision
2069         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
2070         * timezone/zdump.c: Likewise.
2071         * timezone/zic.c: Likewise.
2072         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
2073         in TZVERSION setting, not $(PKGVERSION).
2074         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
2075         REPORT_BUGS_TO settings.
2077         [BZ #14838]
2078         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
2079         macro.
2081 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2083         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
2084         detection to immediately after _FP_ROUND().
2085         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
2086         bits are 0.
2088 2012-11-11  David S. Miller  <davem@davemloft.net>
2090         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
2091         inttypes.h
2092         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
2093         __close rather than their public counterparts.
2095 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
2097         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
2098         file.
2099         [UNIX98] (sem_timedwait): Do not expect.
2100         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
2101         [XPG4 || UNIX98] (sockatmark): Do not expect.
2102         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
2103         (clock_getcpuclockid): Do not expect.
2104         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
2105         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
2106         Do not expect.
2107         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
2108         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
2109         [UNIX98] (vwscanf): Likewise.
2110         [UNIX98] (vswscanf): Likewise.
2112 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
2114         * timezone/version.h: Remove file.
2115         * timezone/README: Do not refer to version.h.
2116         * timezone/Makefile ($(objpfx)zic.o): New dependency on
2117         $(objpfx)version.h.
2118         ($(objpfx)zdump.o): Likewise.
2119         ($(objpfx)version.h): New target.
2121         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
2122         2012i.
2123         * timezone/README: Don't mention modification to tzselect.ksh.
2124         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
2125         work on unmodified tzselect.ksh.  Substitute version numbers in
2126         tzselect.ksh.
2128         * Makefile (format-me): Remove.
2129         (INSTALL): Adjust indentation.  Use commands directly instead of
2130         using $(format-me).
2132         * aclocal.m4 (ACX_PKGVERSION): New macro.
2133         (ACX_BUGURL): Likewise.
2134         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
2135         (PKGVERSION): New AC_DEFINE_UNQUOTED.
2136         (REPORT_BUGS_TO): Likewise.
2137         * configure: Regenerated.
2138         * config.h.in (PKGVERSION): New macro.
2139         (REPORT_BUGS_TO): Likewise.
2140         * config.make.in (PKGVERSION): New variable.
2141         (PKGVERSION_TEXI): Likewise.
2142         (REPORT_BUGS_TO): Likewise.
2143         (REPORT_BUGS_TEXI): Likewise.
2144         * Makefile (format-me): Use -I$(common-objpfx)manual.
2145         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
2146         ($(common-objpfx)manual/%): New target.
2147         (manual/%): Remove target.
2148         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
2149         (print_version): Use PKGVERSION.
2150         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
2151         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
2152         and REPORT_BUGS_TO.
2153         ($(objpfx)xtrace): Likewise.
2154         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
2155         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
2156         (print_version): Use PKGVERSION.
2157         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
2158         (do_version): Use PKGVERSION.
2159         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
2160         REPORT_BUGS_TO.
2161         (common-ldd-rewrite): Likewise.
2162         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
2163         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
2164         (print_version): Use PKGVERSION.
2165         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
2166         * elf/pldd.c (argp_program_bug_address): Remove variable.
2167         (more_help): New function.
2168         (argp): Use more_help.
2169         (print_version): Use PKGVERSION.
2170         * elf/sln.c (main): Use PKGVERSION.
2171         (usage): Use REPORT_BUGS_TO.
2172         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
2173         (top level): Use PKGVERSION.
2174         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
2175         (print_version): Use PKGVERSION.
2176         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
2177         (print_version): Use PKGVERSION.
2178         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
2179         (print_version): Use PKGVERSION.
2180         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
2181         (print_version): Use PKGVERSION.
2182         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
2183         (print_version): Use PKGVERSION.
2184         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
2185         (print_version): Use PKGVERSION.
2186         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
2187         and BUGURL.
2188         ($(objpfx)memusage): Likewise.
2189         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
2190         (do_version): Use PKGVERSION.
2191         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
2192         (print_version): Use PKGVERSION.
2193         * malloc/mtrace.pl ($PACKAGE): Remove variable.
2194         ($PKGVERSION): New variable.
2195         ($REPORT_BUGS_TO): Likewise.
2196         (usage): Use $REPORT_BUGS_TO.
2197         (top level): Use $PKGVERSION.
2198         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
2199         ($(objpfx)pkgvers.texi): New rule.
2200         ($(objpfx)stamp-pkgvers): Likewise.
2201         * manual/install.texi: Include pkgvers.texi.
2202         (--with-pkgversion): Document new configure option.
2203         (--with-bugurl): Likewise.
2204         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
2205         than necessarily for this particular distribution.  Use
2206         REPORT_BUGS_TO for where to report bugs.
2207         * INSTALL: Regenerated.
2208         * manual/libc.texinfo: Include pkgvers.texi.
2209         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
2210         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
2211         (print_version): Use PKGVERSION.
2212         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
2213         (print_version): Use PKGVERSION.
2214         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
2215         (print_version): Use PKGVERSION.
2216         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
2217         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
2218         macro.
2219         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
2220         (print_version): Use PKGVERSION.
2221         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
2222         (print_version): Use PKGVERSION.
2223         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
2224         and PKGVERSION.
2226         * timezone/checktab.awk: Update from tzcode 2012i.
2227         * timezone/ialloc.c: Likewise.
2228         * timezone/private.h: Likewise.
2229         * timezone/scheck.c: Likewise.
2230         * timezone/tzfile.h: Likewise.
2231         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
2232         (TZVERSION): Hardcode tzcode version number.
2233         * timezone/zdump.c: Update from tzcode 2012i.
2234         * timezone/zic.c: Likewise.
2235         * timezone/version.h: New file.
2236         * timezone/README: Describe version.h.  Update upstream location.
2238         [BZ #14824]
2239         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
2240         (mktemp): Enable declaration.
2241         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
2242         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
2243         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
2244         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
2245         Likewise.
2246         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
2247         Likewise.
2248         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
2249         Likewise.
2250         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
2251         Likewise.
2252         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
2253         Likewise.
2254         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
2255         Likewise.
2257         [BZ #14821]
2258         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
2259         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
2260         for copies of such integer values.
2261         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
2262         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
2264 2012-11-09  Andreas Jaeger  <aj@suse.de>
2266         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
2267         definitions and declarations that are provided by
2268         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2270 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2272         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
2273         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
2274         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
2275         definition.
2277 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2279         * elf/elf.h: Update comment before AArch64 relocations.
2281 2012-11-07  David S. Miller  <davem@davemloft.net>
2283         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
2284         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2285         (__start_context): Declare.
2286         (__makecontext_ret): Delete.
2287         (__makecontext): Hook up __start_context instead of
2288         __makecontext_ret.
2289         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2290         (sysdep_routines): Add __start_context when in stdlib.
2292 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
2294         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
2295         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
2296         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
2297         hardcoded "nm".
2298         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
2299         (READELF): New variable.  Use it instead of hardcoded "readelf".
2301 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
2303         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
2304         * sysdeps/x86/Makefile: Here.
2305         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
2306         * sysdeps/x86/tst-xmmymm.sh: This.
2308 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
2310         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
2311         expectations.
2312         [UNIX98] (pthread_barrier_t): Do not expect.
2313         [UNIX98] (pthread_barrierattr_t): Likewise.
2314         [UNIX98] (pthread_spinlock_t): Likewise.
2315         [UNIX98] (pthread_barrier_destroy): Likewise.
2316         [UNIX98] (pthread_barrier_init): Likewise.
2317         [UNIX98] (pthread_barrier_wait): Likewise.
2318         [UNIX98] (pthread_barrierattr_destroy): Likewise.
2319         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
2320         [UNIX98] (pthread_barrierattr_init): Likewise.
2321         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
2322         [UNIX98] (pthread_getcpuclockid): Likewise.
2323         [UNIX98] (pthread_mutex_timedlock): Likewise.
2324         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
2325         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
2326         [UNIX98] (pthread_sigmask): Likewise.
2327         [UNIX98] (pthread_spin_destroy): Likewise.
2328         [UNIX98] (pthread_spin_init): Likewise.
2329         [UNIX98] (pthread_spin_lock): Likewise.
2330         [UNIX98] (pthread_spin_trylock): Likewise.
2331         [UNIX98] (pthread_spin_unlock): Likewise.
2332         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
2333         Do not expect.
2334         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
2335         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
2336         [XPG3 || XPG4] (pthread_cond_t): Likewise.
2337         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
2338         [XPG3 || XPG4] (pthread_key_t): Likewise.
2339         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
2340         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
2341         [XPG3 || XPG4] (pthread_once_t): Likewise.
2342         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
2343         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
2344         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
2345         [XPG3 || XPG4] (pthread_t): Likewise.
2347         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
2348         not expect.
2349         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
2351         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
2352         Change function return type to int.
2354         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
2355         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
2356         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
2357         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
2358         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
2359         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
2360         [!POSIX] (posix_madvise): Likewise.
2361         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
2362         && !UNIX98].
2363         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
2364         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
2365         (mode_t): Likewise.
2366         (posix_mem_offset): Likewise.
2367         (posix_typed_mem_get_info): Likewise.
2368         (posix_typed_mem_open): Likewise.
2370         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
2371         Change condition to [XOPEN2K8].
2373         * conform/conformtest.pl: Preprocess allow-header data with -x c
2374         instead of from stdin.
2375         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
2376         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
2377         [C99-based standards] (cerfc): Likewise.
2378         [C99-based standards] (cexp2): Likewise.
2379         [C99-based standards] (cexpm1): Likewise.
2380         [C99-based standards] (clog10): Likewise.
2381         [C99-based standards] (clog1p): Likewise.
2382         [C99-based standards] (clog2): Likewise.
2383         [C99-based standards] (clgamma): Likewise.
2384         [C99-based standards] (ctgamma): Likewise.
2385         [C99-based standards] (cerff): Likewise.
2386         [C99-based standards] (cerfcf): Likewise.
2387         [C99-based standards] (cexp2f): Likewise.
2388         [C99-based standards] (cexpm1f): Likewise.
2389         [C99-based standards] (clog10f): Likewise.
2390         [C99-based standards] (clog1pf): Likewise.
2391         [C99-based standards] (clog2f): Likewise.
2392         [C99-based standards] (clgammaf): Likewise.
2393         [C99-based standards] (ctgammaf): Likewise.
2394         [C99-based standards] (cerfl): Likewise.
2395         [C99-based standards] (cerfcl): Likewise.
2396         [C99-based standards] (cexp2l): Likewise.
2397         [C99-based standards] (cexpm1l): Likewise.
2398         [C99-based standards] (clog10l): Likewise.
2399         [C99-based standards] (clog1pl): Likewise.
2400         [C99-based standards] (clog2l): Likewise.
2401         [C99-based standards] (clgammal): Likewise.
2402         [C99-based standards] (ctgammal): Likewise.
2403         * conform/data/inttypes.h-data [C99-based standards]: Include
2404         stdint.h-data.  Remove all expectations for stdint.h contents.
2405         [C99-based standards] (PRI*): Do not allow.
2406         [C99-based standards] (SCN*): Likewise.
2407         [C99-based standards] (*_t): Likewise.
2408         [C99-based-standards] (PRId8): Expect macro.
2409         [C99-based-standards] (PRIi8): Likewise.
2410         [C99-based-standards] (PRIo8): Likewise.
2411         [C99-based-standards] (PRIu8): Likewise.
2412         [C99-based-standards] (PRIx8): Likewise.
2413         [C99-based-standards] (PRIX8): Likewise.
2414         [C99-based-standards] (SCNd8): Likewise.
2415         [C99-based-standards] (SCNi8): Likewise.
2416         [C99-based-standards] (SCNo8): Likewise.
2417         [C99-based-standards] (SCNu8): Likewise.
2418         [C99-based-standards] (SCNx8): Likewise.
2419         [C99-based-standards] (PRIdLEAST8): Likewise.
2420         [C99-based-standards] (PRIiLEAST8): Likewise.
2421         [C99-based-standards] (PRIoLEAST8): Likewise.
2422         [C99-based-standards] (PRIuLEAST8): Likewise.
2423         [C99-based-standards] (PRIxLEAST8): Likewise.
2424         [C99-based-standards] (PRIXLEAST8): Likewise.
2425         [C99-based-standards] (SCNdLEAST8): Likewise.
2426         [C99-based-standards] (SCNiLEAST8): Likewise.
2427         [C99-based-standards] (SCNoLEAST8): Likewise.
2428         [C99-based-standards] (SCNuLEAST8): Likewise.
2429         [C99-based-standards] (SCNxLEAST8): Likewise.
2430         [C99-based-standards] (PRIdFAST8): Likewise.
2431         [C99-based-standards] (PRIiFAST8): Likewise.
2432         [C99-based-standards] (PRIoFAST8): Likewise.
2433         [C99-based-standards] (PRIuFAST8): Likewise.
2434         [C99-based-standards] (PRIxFAST8): Likewise.
2435         [C99-based-standards] (PRIXFAST8): Likewise.
2436         [C99-based-standards] (SCNdFAST8): Likewise.
2437         [C99-based-standards] (SCNiFAST8): Likewise.
2438         [C99-based-standards] (SCNoFAST8): Likewise.
2439         [C99-based-standards] (SCNuFAST8): Likewise.
2440         [C99-based-standards] (SCNxFAST8): Likewise.
2441         [C99-based-standards] (PRId16): Likewise.
2442         [C99-based-standards] (PRIi16): Likewise.
2443         [C99-based-standards] (PRIo16): Likewise.
2444         [C99-based-standards] (PRIu16): Likewise.
2445         [C99-based-standards] (PRIx16): Likewise.
2446         [C99-based-standards] (PRIX16): Likewise.
2447         [C99-based-standards] (SCNd16): Likewise.
2448         [C99-based-standards] (SCNi16): Likewise.
2449         [C99-based-standards] (SCNo16): Likewise.
2450         [C99-based-standards] (SCNu16): Likewise.
2451         [C99-based-standards] (SCNx16): Likewise.
2452         [C99-based-standards] (PRIdLEAST16): Likewise.
2453         [C99-based-standards] (PRIiLEAST16): Likewise.
2454         [C99-based-standards] (PRIoLEAST16): Likewise.
2455         [C99-based-standards] (PRIuLEAST16): Likewise.
2456         [C99-based-standards] (PRIxLEAST16): Likewise.
2457         [C99-based-standards] (PRIXLEAST16): Likewise.
2458         [C99-based-standards] (SCNdLEAST16): Likewise.
2459         [C99-based-standards] (SCNiLEAST16): Likewise.
2460         [C99-based-standards] (SCNoLEAST16): Likewise.
2461         [C99-based-standards] (SCNuLEAST16): Likewise.
2462         [C99-based-standards] (SCNxLEAST16): Likewise.
2463         [C99-based-standards] (PRIdFAST16): Likewise.
2464         [C99-based-standards] (PRIiFAST16): Likewise.
2465         [C99-based-standards] (PRIoFAST16): Likewise.
2466         [C99-based-standards] (PRIuFAST16): Likewise.
2467         [C99-based-standards] (PRIxFAST16): Likewise.
2468         [C99-based-standards] (PRIXFAST16): Likewise.
2469         [C99-based-standards] (SCNdFAST16): Likewise.
2470         [C99-based-standards] (SCNiFAST16): Likewise.
2471         [C99-based-standards] (SCNoFAST16): Likewise.
2472         [C99-based-standards] (SCNuFAST16): Likewise.
2473         [C99-based-standards] (SCNxFAST16): Likewise.
2474         [C99-based-standards] (PRId32): Likewise.
2475         [C99-based-standards] (PRIi32): Likewise.
2476         [C99-based-standards] (PRIo32): Likewise.
2477         [C99-based-standards] (PRIu32): Likewise.
2478         [C99-based-standards] (PRIx32): Likewise.
2479         [C99-based-standards] (PRIX32): Likewise.
2480         [C99-based-standards] (SCNd32): Likewise.
2481         [C99-based-standards] (SCNi32): Likewise.
2482         [C99-based-standards] (SCNo32): Likewise.
2483         [C99-based-standards] (SCNu32): Likewise.
2484         [C99-based-standards] (SCNx32): Likewise.
2485         [C99-based-standards] (PRIdLEAST32): Likewise.
2486         [C99-based-standards] (PRIiLEAST32): Likewise.
2487         [C99-based-standards] (PRIoLEAST32): Likewise.
2488         [C99-based-standards] (PRIuLEAST32): Likewise.
2489         [C99-based-standards] (PRIxLEAST32): Likewise.
2490         [C99-based-standards] (PRIXLEAST32): Likewise.
2491         [C99-based-standards] (SCNdLEAST32): Likewise.
2492         [C99-based-standards] (SCNiLEAST32): Likewise.
2493         [C99-based-standards] (SCNoLEAST32): Likewise.
2494         [C99-based-standards] (SCNuLEAST32): Likewise.
2495         [C99-based-standards] (SCNxLEAST32): Likewise.
2496         [C99-based-standards] (PRIdFAST32): Likewise.
2497         [C99-based-standards] (PRIiFAST32): Likewise.
2498         [C99-based-standards] (PRIoFAST32): Likewise.
2499         [C99-based-standards] (PRIuFAST32): Likewise.
2500         [C99-based-standards] (PRIxFAST32): Likewise.
2501         [C99-based-standards] (PRIXFAST32): Likewise.
2502         [C99-based-standards] (SCNdFAST32): Likewise.
2503         [C99-based-standards] (SCNiFAST32): Likewise.
2504         [C99-based-standards] (SCNoFAST32): Likewise.
2505         [C99-based-standards] (SCNuFAST32): Likewise.
2506         [C99-based-standards] (SCNxFAST32): Likewise.
2507         [C99-based-standards] (PRId64): Likewise.
2508         [C99-based-standards] (PRIi64): Likewise.
2509         [C99-based-standards] (PRIo64): Likewise.
2510         [C99-based-standards] (PRIu64): Likewise.
2511         [C99-based-standards] (PRIx64): Likewise.
2512         [C99-based-standards] (PRIX64): Likewise.
2513         [C99-based-standards] (SCNd64): Likewise.
2514         [C99-based-standards] (SCNi64): Likewise.
2515         [C99-based-standards] (SCNo64): Likewise.
2516         [C99-based-standards] (SCNu64): Likewise.
2517         [C99-based-standards] (SCNx64): Likewise.
2518         [C99-based-standards] (PRIdLEAST64): Likewise.
2519         [C99-based-standards] (PRIiLEAST64): Likewise.
2520         [C99-based-standards] (PRIoLEAST64): Likewise.
2521         [C99-based-standards] (PRIuLEAST64): Likewise.
2522         [C99-based-standards] (PRIxLEAST64): Likewise.
2523         [C99-based-standards] (PRIXLEAST64): Likewise.
2524         [C99-based-standards] (SCNdLEAST64): Likewise.
2525         [C99-based-standards] (SCNiLEAST64): Likewise.
2526         [C99-based-standards] (SCNoLEAST64): Likewise.
2527         [C99-based-standards] (SCNuLEAST64): Likewise.
2528         [C99-based-standards] (SCNxLEAST64): Likewise.
2529         [C99-based-standards] (PRIdFAST64): Likewise.
2530         [C99-based-standards] (PRIiFAST64): Likewise.
2531         [C99-based-standards] (PRIoFAST64): Likewise.
2532         [C99-based-standards] (PRIuFAST64): Likewise.
2533         [C99-based-standards] (PRIxFAST64): Likewise.
2534         [C99-based-standards] (PRIXFAST64): Likewise.
2535         [C99-based-standards] (SCNdFAST64): Likewise.
2536         [C99-based-standards] (SCNiFAST64): Likewise.
2537         [C99-based-standards] (SCNoFAST64): Likewise.
2538         [C99-based-standards] (SCNuFAST64): Likewise.
2539         [C99-based-standards] (SCNxFAST64): Likewise.
2540         [C99-based-standards] (PRIdMAX): Likewise.
2541         [C99-based-standards] (PRIiMAX): Likewise.
2542         [C99-based-standards] (PRIoMAX): Likewise.
2543         [C99-based-standards] (PRIuMAX): Likewise.
2544         [C99-based-standards] (PRIxMAX): Likewise.
2545         [C99-based-standards] (PRIXMAX): Likewise.
2546         [C99-based-standards] (SCNdMAX): Likewise.
2547         [C99-based-standards] (SCNiMAX): Likewise.
2548         [C99-based-standards] (SCNoMAX): Likewise.
2549         [C99-based-standards] (SCNuMAX): Likewise.
2550         [C99-based-standards] (SCNxMAX): Likewise.
2551         [C99-based-standards] (PRIdPTR): Likewise.
2552         [C99-based-standards] (PRIiPTR): Likewise.
2553         [C99-based-standards] (PRIoPTR): Likewise.
2554         [C99-based-standards] (PRIuPTR): Likewise.
2555         [C99-based-standards] (PRIxPTR): Likewise.
2556         [C99-based-standards] (PRIXPTR): Likewise.
2557         [C99-based-standards] (SCNdPTR): Likewise.
2558         [C99-based-standards] (SCNiPTR): Likewise.
2559         [C99-based-standards] (SCNoPTR): Likewise.
2560         [C99-based-standards] (SCNuPTR): Likewise.
2561         [C99-based-standards] (SCNxPTR): Likewise.
2562         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
2563         allow.
2564         * conform/data/stdint.h-data: Update comments to clarify
2565         requirements.
2566         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
2567         type.
2568         [C99-based standards] (INT8_MAX): Likewise.
2569         [C99-based standards] (INT16_MIN): Likewise.
2570         [C99-based standards] (INT16_MAX): Likewise.
2571         [C99-based standards] (INT32_MIN): Likewise.
2572         [C99-based standards] (INT32_MAX): Likewise.
2573         [C99-based standards] (INT64_MIN): Likewise.
2574         [C99-based standards] (INT64_MAX): Likewise.
2575         [C99-based standards] (UINT8_MAX): Likewise.
2576         [C99-based standards] (UINT16_MAX): Likewise.
2577         [C99-based standards] (UINT32_MAX): Likewise.
2578         [C99-based standards] (UINT64_MAX): Likewise.
2579         [C99-based standards] (INT_LEAST8_MIN): Likewise.
2580         [C99-based standards] (INT_LEAST8_MAX): Likewise.
2581         [C99-based standards] (INT_LEAST16_MIN): Likewise.
2582         [C99-based standards] (INT_LEAST16_MAX): Likewise.
2583         [C99-based standards] (INT_LEAST32_MIN): Likewise.
2584         [C99-based standards] (INT_LEAST32_MAX): Likewise.
2585         [C99-based standards] (INT_LEAST64_MIN): Likewise.
2586         [C99-based standards] (INT_LEAST64_MAX): Likewise.
2587         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
2588         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
2589         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
2590         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
2591         [C99-based standards] (INT_FAST8_MIN): Likewise.
2592         [C99-based standards] (INT_FAST8_MAX): Likewise.
2593         [C99-based standards] (INT_FAST16_MIN): Likewise.
2594         [C99-based standards] (INT_FAST16_MAX): Likewise.
2595         [C99-based standards] (INT_FAST32_MIN): Likewise.
2596         [C99-based standards] (INT_FAST32_MAX): Likewise.
2597         [C99-based standards] (INT_FAST64_MIN): Likewise.
2598         [C99-based standards] (INT_FAST64_MAX): Likewise.
2599         [C99-based standards] (UINT_FAST8_MAX): Likewise.
2600         [C99-based standards] (UINT_FAST16_MAX): Likewise.
2601         [C99-based standards] (UINT_FAST32_MAX): Likewise.
2602         [C99-based standards] (UINT_FAST64_MAX): Likewise.
2603         [C99-based standards] (INTPTR_MIN): Likewise.
2604         [C99-based standards] (INTPTR_MAX): Likewise.
2605         [C99-based standards] (UINTPTR_MAX): Likewise.
2606         [C99-based standards] (INTMAX_MIN): Likewise.
2607         [C99-based standards] (INTMAX_MAX): Likewise.
2608         [C99-based standards] (UINTMAX_MAX): Likewise.
2609         [C99-based standards] (PTRDIFF_MIN): Likewise.
2610         [C99-based standards] (PTRDIFF_MAX): Likewise.
2611         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
2612         [C99-based standards] (SIZE_MAX): Likewise.
2613         [C99-based standards] (WCHAR_MAX): Likewise.
2614         [C99-based standards] (WINT_MAX): Likewise.
2615         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
2616         constraint on value.
2617         [C99-based standards] (WCHAR_MIN): Likewise.
2618         [C99-based standards] (WINT_MIN): Likewise.
2619         [C99-based standards] (*_t): Allow.
2620         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
2621         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
2622         Include math.h-data and complex.h-data.  Remove all expectations
2623         of math.h and complex.h contents.
2624         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
2625         at end of line.
2626         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
2627         (struct tm): Expect tag.
2628         [C99-based-standards] (wcstof): Expect function.
2629         [C99-based-standards] (wcstold): Likewise.
2630         [C99-based-standards] (wcstoll): Likewise.
2631         [C99-based-standards] (wcstoull): Likewise.
2632         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
2633         macro-int-constant.  Specify type.
2634         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
2635         constraint on value.
2636         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2637         Specify type.
2638         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
2639         Specify value.
2640         [ISO C standards]: Do not allow headers.
2641         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
2642         wcs[abcdefghijklmnopqrstuvwxyz]*.
2643         [ISO C standards] (*_t): Do not allow.
2644         * conform/data/wctype.h-data [C99-based standards] (iswblank):
2645         Expect function.
2646         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
2647         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2648         Specify type.
2649         [ISO C standards]: Do not allow headers.
2650         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
2651         is[abcdefghijklmnopqrstuvwxyz]*.
2652         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
2653         to[abcdefghijklmnopqrstuvwxyz]*.
2654         [ISO C standards] (*_t): Do not allow.
2655         * conform/data/stdalign.h-data: New file.
2656         * conform/data/stdbool.h-data: Likewise.
2657         * conform/data/stdnoreturn.h-data: Likewise.
2659 2012-11-07  Roland McGrath  <roland@hack.frob.com>
2661         [BZ #14815]
2662         * manual/filesys.texi (Directory Entries): Typo fix.
2663         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
2665 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2667         * elf/elf.h (EM_AARCH64): New macro.
2668         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
2669         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
2670         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
2671         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
2672         (R_AARCH64_TLSDESC): Likewise.
2673         (NT_ARM_TLS): Likewise.
2674         (NT_ARM_HW_BREAK): Likewise.
2675         (NT_ARM_HW_WATCH): Likewise.
2677 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
2679         [BZ #14811]
2680         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
2681         (__ieee754_powl): Saturate nonzero exponents with absolute value
2682         below 0x1p-79 to +/- 0x1p-79.
2683         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
2684         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
2685         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
2686         nonzero exponents with absolute value below 0x1p-32 to +/-
2687         0x1p-32.
2688         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
2689         (__ieee754_powl): Saturate nonzero exponents with absolute value
2690         below 0x1p-79 to +/- 0x1p-79.
2691         * math/libm-test.inc (pow_test): Add more tests.
2693 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2695         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
2696         _dl_s390_cap_flags with kernel. Increase string length.
2697         (_dl_s390_platforms): Add z196 and zEC12.
2699 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
2701         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
2702         Change XOPEN21K to XOPEN2K.
2704 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
2706         * string/memmove.c: Use memcpy when possible.
2708 2012-11-06  Andreas Jaeger  <aj@suse.de>
2710         * po/eo.po: Update from translation team.
2712 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
2714         [BZ #14793]
2715         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
2716         exponent and small x and y exponents, scale x or y up.  Increase
2717         by 2 the exponent used in scaling up.
2718         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2719         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2720         * math/libm-test.inc (fma_test): Add more tests.
2721         (fma_test_towardzero): Likewise.
2722         (fma_test_downward): Likewise.
2723         (fma_test_upward): Likewise.
2725 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
2727         [BZ #14805]
2728         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
2729         fenv_t *.
2731         [BZ #14801]
2732         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
2733         namespace for names of struct fields.
2734         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
2735         fenv_t fields.
2736         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2737         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
2739 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2741         [BZ #3665]
2742         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
2744 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
2746         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
2747         PTR_DEMANGLE.
2749         [BZ #5246]
2750         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
2751         PTR_DEMANGLE.
2753 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
2755         [BZ #14797]
2756         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
2757         definitely overflow as x * y not x * y + z.
2758         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2759         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2760         * math/libm-test.inc (fma_test): Add more tests.
2761         (fma_test_towardzero): Likewise.
2762         (fma_test_downward): Likewise.
2763         (fma_test_upward): Likewise.
2765 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
2767         [BZ #157]
2769         * include/stub-tag.h: Remove file.
2770         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
2771         '#include' of it.
2772         * manual/maint.texi (Porting): Don't reference it.
2773         * Makerules ($(objpfx)stubs): Likewise.
2774         * dirent/closedir.c: Don't include <stub-tag.h>.
2775         * dirent/dirfd.c: Likewise.
2776         * dirent/fdopendir.c: Likewise.
2777         * dirent/getdents.c: Likewise.
2778         * dirent/getdents64.c: Likewise.
2779         * dirent/opendir.c: Likewise.
2780         * dirent/readdir.c: Likewise.
2781         * dirent/readdir64.c: Likewise.
2782         * dirent/readdir64_r.c: Likewise.
2783         * dirent/readdir_r.c: Likewise.
2784         * dirent/rewinddir.c: Likewise.
2785         * dirent/seekdir.c: Likewise.
2786         * dirent/telldir.c: Likewise.
2787         * gmon/profil.c: Likewise.
2788         * grp/setgroups.c: Likewise.
2789         * inet/if_index.c: Likewise.
2790         * io/access.c: Likewise.
2791         * io/chdir.c: Likewise.
2792         * io/chmod.c: Likewise.
2793         * io/chown.c: Likewise.
2794         * io/close.c: Likewise.
2795         * io/dup.c: Likewise.
2796         * io/dup2.c: Likewise.
2797         * io/dup3.c: Likewise.
2798         * io/euidaccess.c: Likewise.
2799         * io/faccessat.c: Likewise.
2800         * io/fchdir.c: Likewise.
2801         * io/fchmod.c: Likewise.
2802         * io/fchmodat.c: Likewise.
2803         * io/fchown.c: Likewise.
2804         * io/fchownat.c: Likewise.
2805         * io/fcntl.c: Likewise.
2806         * io/flock.c: Likewise.
2807         * io/fstatfs.c: Likewise.
2808         * io/fstatfs64.c: Likewise.
2809         * io/fstatvfs.c: Likewise.
2810         * io/fstatvfs64.c: Likewise.
2811         * io/futimens.c: Likewise.
2812         * io/fxstat.c: Likewise.
2813         * io/fxstat64.c: Likewise.
2814         * io/fxstatat.c: Likewise.
2815         * io/fxstatat64.c: Likewise.
2816         * io/getcwd.c: Likewise.
2817         * io/isatty.c: Likewise.
2818         * io/lchmod.c: Likewise.
2819         * io/lchown.c: Likewise.
2820         * io/link.c: Likewise.
2821         * io/linkat.c: Likewise.
2822         * io/lseek.c: Likewise.
2823         * io/lseek64.c: Likewise.
2824         * io/lxstat64.c: Likewise.
2825         * io/mkdir.c: Likewise.
2826         * io/mkdirat.c: Likewise.
2827         * io/mkfifo.c: Likewise.
2828         * io/mkfifoat.c: Likewise.
2829         * io/open.c: Likewise.
2830         * io/open64.c: Likewise.
2831         * io/openat.c: Likewise.
2832         * io/openat64.c: Likewise.
2833         * io/pipe.c: Likewise.
2834         * io/pipe2.c: Likewise.
2835         * io/poll.c: Likewise.
2836         * io/posix_fadvise.c: Likewise.
2837         * io/posix_fadvise64.c: Likewise.
2838         * io/posix_fallocate.c: Likewise.
2839         * io/posix_fallocate64.c: Likewise.
2840         * io/read.c: Likewise.
2841         * io/readlink.c: Likewise.
2842         * io/readlinkat.c: Likewise.
2843         * io/rmdir.c: Likewise.
2844         * io/sendfile.c: Likewise.
2845         * io/sendfile64.c: Likewise.
2846         * io/statfs.c: Likewise.
2847         * io/statfs64.c: Likewise.
2848         * io/statvfs.c: Likewise.
2849         * io/statvfs64.c: Likewise.
2850         * io/symlink.c: Likewise.
2851         * io/symlinkat.c: Likewise.
2852         * io/ttyname.c: Likewise.
2853         * io/ttyname_r.c: Likewise.
2854         * io/umask.c: Likewise.
2855         * io/unlink.c: Likewise.
2856         * io/unlinkat.c: Likewise.
2857         * io/utime.c: Likewise.
2858         * io/utimensat.c: Likewise.
2859         * io/write.c: Likewise.
2860         * io/xmknod.c: Likewise.
2861         * io/xmknodat.c: Likewise.
2862         * io/xstat.c: Likewise.
2863         * io/xstat64.c: Likewise.
2864         * login/getpt.c: Likewise.
2865         * login/grantpt.c: Likewise.
2866         * login/unlockpt.c: Likewise.
2867         * math/e_acoshl.c: Likewise.
2868         * math/e_acosl.c: Likewise.
2869         * math/e_asinl.c: Likewise.
2870         * math/e_atan2l.c: Likewise.
2871         * math/e_atanhl.c: Likewise.
2872         * math/e_coshl.c: Likewise.
2873         * math/e_expl.c: Likewise.
2874         * math/e_fmodl.c: Likewise.
2875         * math/e_gammal_r.c: Likewise.
2876         * math/e_hypotl.c: Likewise.
2877         * math/e_j0l.c: Likewise.
2878         * math/e_j1l.c: Likewise.
2879         * math/e_jnl.c: Likewise.
2880         * math/e_lgammal_r.c: Likewise.
2881         * math/e_log10l.c: Likewise.
2882         * math/e_log2l.c: Likewise.
2883         * math/e_logl.c: Likewise.
2884         * math/e_powl.c: Likewise.
2885         * math/e_rem_pio2l.c: Likewise.
2886         * math/e_sinhl.c: Likewise.
2887         * math/e_sqrtl.c: Likewise.
2888         * math/fclrexcpt.c: Likewise.
2889         * math/fedisblxcpt.c: Likewise.
2890         * math/feenablxcpt.c: Likewise.
2891         * math/fegetenv.c: Likewise.
2892         * math/fegetexcept.c: Likewise.
2893         * math/fegetround.c: Likewise.
2894         * math/feholdexcpt.c: Likewise.
2895         * math/fesetenv.c: Likewise.
2896         * math/fesetround.c: Likewise.
2897         * math/feupdateenv.c: Likewise.
2898         * math/fgetexcptflg.c: Likewise.
2899         * math/fraiseexcpt.c: Likewise.
2900         * math/fsetexcptflg.c: Likewise.
2901         * math/ftestexcept.c: Likewise.
2902         * math/k_cosl.c: Likewise.
2903         * math/k_rem_pio2l.c: Likewise.
2904         * math/k_sinl.c: Likewise.
2905         * math/k_tanl.c: Likewise.
2906         * math/s_asinhl.c: Likewise.
2907         * math/s_atanl.c: Likewise.
2908         * math/s_cbrtl.c: Likewise.
2909         * math/s_erfl.c: Likewise.
2910         * math/s_expm1l.c: Likewise.
2911         * math/s_log1pl.c: Likewise.
2912         * math/s_tanhl.c: Likewise.
2913         * misc/acct.c: Likewise.
2914         * misc/brk.c: Likewise.
2915         * misc/chflags.c: Likewise.
2916         * misc/chroot.c: Likewise.
2917         * misc/fchflags.c: Likewise.
2918         * misc/fgetxattr.c: Likewise.
2919         * misc/flistxattr.c: Likewise.
2920         * misc/fremovexattr.c: Likewise.
2921         * misc/fsetxattr.c: Likewise.
2922         * misc/fsync.c: Likewise.
2923         * misc/ftruncate.c: Likewise.
2924         * misc/futimes.c: Likewise.
2925         * misc/futimesat.c: Likewise.
2926         * misc/getdomain.c: Likewise.
2927         * misc/getdtsz.c: Likewise.
2928         * misc/gethostid.c: Likewise.
2929         * misc/gethostname.c: Likewise.
2930         * misc/getloadavg.c: Likewise.
2931         * misc/getpagesize.c: Likewise.
2932         * misc/getsysstats.c: Likewise.
2933         * misc/getxattr.c: Likewise.
2934         * misc/gtty.c: Likewise.
2935         * misc/ioctl.c: Likewise.
2936         * misc/lgetxattr.c: Likewise.
2937         * misc/listxattr.c: Likewise.
2938         * misc/llistxattr.c: Likewise.
2939         * misc/lremovexattr.c: Likewise.
2940         * misc/lsetxattr.c: Likewise.
2941         * misc/lutimes.c: Likewise.
2942         * misc/madvise.c: Likewise.
2943         * misc/mincore.c: Likewise.
2944         * misc/mlock.c: Likewise.
2945         * misc/mlockall.c: Likewise.
2946         * misc/mmap.c: Likewise.
2947         * misc/mprotect.c: Likewise.
2948         * misc/msync.c: Likewise.
2949         * misc/munlock.c: Likewise.
2950         * misc/munlockall.c: Likewise.
2951         * misc/munmap.c: Likewise.
2952         * misc/preadv.c: Likewise.
2953         * misc/preadv64.c: Likewise.
2954         * misc/ptrace.c: Likewise.
2955         * misc/pwritev.c: Likewise.
2956         * misc/pwritev64.c: Likewise.
2957         * misc/readv.c: Likewise.
2958         * misc/reboot.c: Likewise.
2959         * misc/remap_file_pages.c: Likewise.
2960         * misc/removexattr.c: Likewise.
2961         * misc/revoke.c: Likewise.
2962         * misc/select.c: Likewise.
2963         * misc/setdomain.c: Likewise.
2964         * misc/setegid.c: Likewise.
2965         * misc/seteuid.c: Likewise.
2966         * misc/sethostid.c: Likewise.
2967         * misc/sethostname.c: Likewise.
2968         * misc/setregid.c: Likewise.
2969         * misc/setreuid.c: Likewise.
2970         * misc/setxattr.c: Likewise.
2971         * misc/sstk.c: Likewise.
2972         * misc/stty.c: Likewise.
2973         * misc/swapoff.c: Likewise.
2974         * misc/swapon.c: Likewise.
2975         * misc/sync.c: Likewise.
2976         * misc/syncfs.c: Likewise.
2977         * misc/syscall.c: Likewise.
2978         * misc/truncate.c: Likewise.
2979         * misc/ualarm.c: Likewise.
2980         * misc/usleep.c: Likewise.
2981         * misc/ustat.c: Likewise.
2982         * misc/utimes.c: Likewise.
2983         * misc/vhangup.c: Likewise.
2984         * misc/writev.c: Likewise.
2985         * posix/_exit.c: Likewise.
2986         * posix/alarm.c: Likewise.
2987         * posix/execve.c: Likewise.
2988         * posix/fexecve.c: Likewise.
2989         * posix/fork.c: Likewise.
2990         * posix/fpathconf.c: Likewise.
2991         * posix/getaddrinfo.c: Likewise.
2992         * posix/getegid.c: Likewise.
2993         * posix/geteuid.c: Likewise.
2994         * posix/getgid.c: Likewise.
2995         * posix/getgroups.c: Likewise.
2996         * posix/getlogin.c: Likewise.
2997         * posix/getlogin_r.c: Likewise.
2998         * posix/getpgid.c: Likewise.
2999         * posix/getpid.c: Likewise.
3000         * posix/getppid.c: Likewise.
3001         * posix/getresgid.c: Likewise.
3002         * posix/getresuid.c: Likewise.
3003         * posix/getsid.c: Likewise.
3004         * posix/getuid.c: Likewise.
3005         * posix/glob64.c: Likewise.
3006         * posix/nanosleep.c: Likewise.
3007         * posix/pathconf.c: Likewise.
3008         * posix/pause.c: Likewise.
3009         * posix/posix_madvise.c: Likewise.
3010         * posix/pread.c: Likewise.
3011         * posix/pread64.c: Likewise.
3012         * posix/pwrite.c: Likewise.
3013         * posix/pwrite64.c: Likewise.
3014         * posix/sched_getaffinity.c: Likewise.
3015         * posix/sched_getp.c: Likewise.
3016         * posix/sched_gets.c: Likewise.
3017         * posix/sched_primax.c: Likewise.
3018         * posix/sched_primin.c: Likewise.
3019         * posix/sched_rr_gi.c: Likewise.
3020         * posix/sched_setaffinity.c: Likewise.
3021         * posix/sched_setp.c: Likewise.
3022         * posix/sched_sets.c: Likewise.
3023         * posix/sched_yield.c: Likewise.
3024         * posix/setgid.c: Likewise.
3025         * posix/setlogin.c: Likewise.
3026         * posix/setpgid.c: Likewise.
3027         * posix/setresgid.c: Likewise.
3028         * posix/setresuid.c: Likewise.
3029         * posix/setsid.c: Likewise.
3030         * posix/setuid.c: Likewise.
3031         * posix/sleep.c: Likewise.
3032         * posix/spawni.c: Likewise.
3033         * posix/sysconf.c: Likewise.
3034         * posix/times.c: Likewise.
3035         * posix/wait.c: Likewise.
3036         * posix/wait3.c: Likewise.
3037         * posix/wait4.c: Likewise.
3038         * posix/waitpid.c: Likewise.
3039         * resolv/gai_sigqueue.c: Likewise.
3040         * resource/getpriority.c: Likewise.
3041         * resource/getrlimit.c: Likewise.
3042         * resource/getrusage.c: Likewise.
3043         * resource/nice.c: Likewise.
3044         * resource/setpriority.c: Likewise.
3045         * resource/setrlimit.c: Likewise.
3046         * resource/ulimit.c: Likewise.
3047         * rt/aio_cancel.c: Likewise.
3048         * rt/aio_fsync.c: Likewise.
3049         * rt/aio_read.c: Likewise.
3050         * rt/aio_sigqueue.c: Likewise.
3051         * rt/aio_suspend.c: Likewise.
3052         * rt/aio_write.c: Likewise.
3053         * rt/clock_getres.c: Likewise.
3054         * rt/clock_gettime.c: Likewise.
3055         * rt/clock_nanosleep.c: Likewise.
3056         * rt/clock_settime.c: Likewise.
3057         * rt/lio_listio.c: Likewise.
3058         * rt/mq_close.c: Likewise.
3059         * rt/mq_getattr.c: Likewise.
3060         * rt/mq_notify.c: Likewise.
3061         * rt/mq_open.c: Likewise.
3062         * rt/mq_receive.c: Likewise.
3063         * rt/mq_send.c: Likewise.
3064         * rt/mq_setattr.c: Likewise.
3065         * rt/mq_timedreceive.c: Likewise.
3066         * rt/mq_timedsend.c: Likewise.
3067         * rt/mq_unlink.c: Likewise.
3068         * rt/shm_open.c: Likewise.
3069         * rt/shm_unlink.c: Likewise.
3070         * rt/timer_create.c: Likewise.
3071         * rt/timer_delete.c: Likewise.
3072         * rt/timer_getoverr.c: Likewise.
3073         * rt/timer_gettime.c: Likewise.
3074         * rt/timer_settime.c: Likewise.
3075         * setjmp/__longjmp.c: Likewise.
3076         * setjmp/setjmp.c: Likewise.
3077         * signal/kill.c: Likewise.
3078         * signal/killpg.c: Likewise.
3079         * signal/raise.c: Likewise.
3080         * signal/sigaction.c: Likewise.
3081         * signal/sigaltstack.c: Likewise.
3082         * signal/sigblock.c: Likewise.
3083         * signal/sigignore.c: Likewise.
3084         * signal/sigintr.c: Likewise.
3085         * signal/signal.c: Likewise.
3086         * signal/sigpause.c: Likewise.
3087         * signal/sigpending.c: Likewise.
3088         * signal/sigqueue.c: Likewise.
3089         * signal/sigreturn.c: Likewise.
3090         * signal/sigset.c: Likewise.
3091         * signal/sigsetmask.c: Likewise.
3092         * signal/sigstack.c: Likewise.
3093         * signal/sigsuspend.c: Likewise.
3094         * signal/sigtimedwait.c: Likewise.
3095         * signal/sigvec.c: Likewise.
3096         * signal/sigwait.c: Likewise.
3097         * signal/sigwaitinfo.c: Likewise.
3098         * signal/sysv_signal.c: Likewise.
3099         * socket/accept.c: Likewise.
3100         * socket/accept4.c: Likewise.
3101         * socket/bind.c: Likewise.
3102         * socket/connect.c: Likewise.
3103         * socket/getpeername.c: Likewise.
3104         * socket/getsockname.c: Likewise.
3105         * socket/getsockopt.c: Likewise.
3106         * socket/isfdtype.c: Likewise.
3107         * socket/listen.c: Likewise.
3108         * socket/recv.c: Likewise.
3109         * socket/recvfrom.c: Likewise.
3110         * socket/recvmsg.c: Likewise.
3111         * socket/send.c: Likewise.
3112         * socket/sendmsg.c: Likewise.
3113         * socket/sendto.c: Likewise.
3114         * socket/setsockopt.c: Likewise.
3115         * socket/shutdown.c: Likewise.
3116         * socket/sockatmark.c: Likewise.
3117         * socket/socket.c: Likewise.
3118         * socket/socketpair.c: Likewise.
3119         * stdio-common/ctermid.c: Likewise.
3120         * stdio-common/cuserid.c: Likewise.
3121         * stdio-common/remove.c: Likewise.
3122         * stdio-common/rename.c: Likewise.
3123         * stdio-common/renameat.c: Likewise.
3124         * stdio-common/tempname.c: Likewise.
3125         * stdlib/getcontext.c: Likewise.
3126         * stdlib/makecontext.c: Likewise.
3127         * stdlib/setcontext.c: Likewise.
3128         * stdlib/swapcontext.c: Likewise.
3129         * stdlib/system.c: Likewise.
3130         * streams/fattach.c: Likewise.
3131         * streams/fdetach.c: Likewise.
3132         * streams/getmsg.c: Likewise.
3133         * streams/getpmsg.c: Likewise.
3134         * streams/putmsg.c: Likewise.
3135         * streams/putpmsg.c: Likewise.
3136         * sysdeps/unix/bsd/getpt.c: Likewise.
3137         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
3138         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
3139         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
3141         Likewise.
3142         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
3143         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
3144         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3145         * sysvipc/msgctl.c: Likewise.
3146         * sysvipc/msgget.c: Likewise.
3147         * sysvipc/msgrcv.c: Likewise.
3148         * sysvipc/msgsnd.c: Likewise.
3149         * sysvipc/semctl.c: Likewise.
3150         * sysvipc/semget.c: Likewise.
3151         * sysvipc/semop.c: Likewise.
3152         * sysvipc/semtimedop.c: Likewise.
3153         * sysvipc/shmat.c: Likewise.
3154         * sysvipc/shmctl.c: Likewise.
3155         * sysvipc/shmdt.c: Likewise.
3156         * sysvipc/shmget.c: Likewise.
3157         * termios/tcdrain.c: Likewise.
3158         * termios/tcflow.c: Likewise.
3159         * termios/tcflush.c: Likewise.
3160         * termios/tcgetattr.c: Likewise.
3161         * termios/tcgetpgrp.c: Likewise.
3162         * termios/tcsendbrk.c: Likewise.
3163         * termios/tcsetattr.c: Likewise.
3164         * termios/tcsetpgrp.c: Likewise.
3165         * time/adjtime.c: Likewise.
3166         * time/clock.c: Likewise.
3167         * time/getitimer.c: Likewise.
3168         * time/gettimeofday.c: Likewise.
3169         * time/setitimer.c: Likewise.
3170         * time/settimeofday.c: Likewise.
3171         * time/stime.c: Likewise.
3172         * time/time.c: Likewise.
3174 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
3176         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
3177         /usr/old/bin.
3179         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
3180         instead of spaces.
3181         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
3183 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
3185         [BZ #14796]
3186         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
3187         FE_TONEAREST before applying Dekker multiplication and Knuth
3188         addition.  Clear inexact exceptions and check for exact zero
3189         results afterwards.
3190         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3191         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3192         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3193         * math/libm-test.inc (fma_test): Add more tests.
3194         (fma_test_towardzero): Likewise.
3195         (fma_test_downward): Likewise.
3196         (fma_test_upward): Likewise.
3197         * sysdeps/generic/math_private.h (default_libc_fesetround): New
3198         function.
3199         (libc_fesetround): New macro.
3200         (libc_fesetroundf): Likewise.
3201         (libc_fesetroundl): Likewise.
3202         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
3203         function.
3204         (libc_fesetround_387): Likewise.
3205         (libc_fesetroundf): New macro.
3206         (libc_fesetround): Likewise.
3207         (libc_fesetroundl): Likewise.
3208         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
3209         function.
3210         (libc_fesetroundf): New macro.
3211         (libc_fesetround): Likewise.
3212         (libc_fesetroundl): Likewise.
3213         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
3214         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
3215         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
3216         libm_hidden_ver.
3217         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
3218         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
3219         libm_hidden_def.
3220         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
3221         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
3222         libm_hidden_ver.
3223         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
3224         libm_hidden_def.
3226         [BZ #3439]
3227         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
3228         integer constant usable in #if and use that to give value to enum
3229         constant.
3230         (FE_DIVBYZERO): Likewise.
3231         (FE_UNDERFLOW): Likewise.
3232         (FE_OVERFLOW): Likewise.
3233         (FE_INVALID): Likewise.
3234         (FE_INVALID_SNAN): Likewise.
3235         (FE_INVALID_ISI): Likewise.
3236         (FE_INVALID_IDI): Likewise.
3237         (FE_INVALID_ZDZ): Likewise.
3238         (FE_INVALID_IMZ): Likewise.
3239         (FE_INVALID_COMPARE): Likewise.
3240         (FE_INVALID_SOFTWARE): Likewise.
3241         (FE_INVALID_SQRT): Likewise.
3242         (FE_INVALID_INTEGER_CONVERSION): Likewise.
3243         (FE_TONEAREST): Likewise.
3244         (FE_TOWARDZERO): Likewise.
3245         (FE_UPWARD): Likewise.
3246         (FE_DOWNWARD): Likewise.
3247         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
3248         (FE_DIVBYZERO): Likewise.
3249         (FE_OVERFLOW): Likewise.
3250         (FE_UNDERFLOW): Likewise.
3251         (FE_INEXACT): Likewise.
3252         (FE_TONEAREST): Likewise.
3253         (FE_DOWNWARD): Likewise.
3254         (FE_UPWARD): Likewise.
3255         (FE_TOWARDZERO): Likewise.
3256         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
3257         (FE_UNDERFLOW): Likewise.
3258         (FE_OVERFLOW): Likewise.
3259         (FE_DIVBYZERO): Likewise.
3260         (FE_INVALID): Likewise.
3261         (FE_TONEAREST): Likewise.
3262         (FE_TOWARDZERO): Likewise.
3263         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
3264         (FE_OVERFLOW): Likewise.
3265         (FE_UNDERFLOW): Likewise.
3266         (FE_DIVBYZERO): Likewise.
3267         (FE_INEXACT): Likewise.
3268         (FE_TONEAREST): Likewise.
3269         (FE_TOWARDZERO): Likewise.
3270         (FE_UPWARD): Likewise.
3271         (FE_DOWNWARD): Likewise.
3272         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
3273         (FE_DIVBYZERO): Likewise.
3274         (FE_OVERFLOW): Likewise.
3275         (FE_UNDERFLOW): Likewise.
3276         (FE_INEXACT): Likewise.
3277         (FE_TONEAREST): Likewise.
3278         (FE_DOWNWARD): Likewise.
3279         (FE_UPWARD): Likewise.
3280         (FE_TOWARDZERO): Likewise.
3282 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
3284         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
3286 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
3288         * scripts/cross-test-ssh.sh (command): Use newlines to separate
3289         commands.  Quote $PWD.
3290         (blacklist_exports): Don't use remove_newlines.  Replace "declare
3291         -x" by "export".
3292         (remove_newlines): Remove.
3294 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
3296         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
3297         * stdlib/stdlib.h (atof): Moved to ...
3298         * include/bits/stdlib-float.h: Here.  New file.
3299         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
3300         * stdlib/bits/stdlib-float.h: New file.
3301         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
3302         -mno-sse -mno-mmx.
3303         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
3304         <xmmintrin.h>.
3306 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
3308         * conform/conformtest.pl (@headers): Add fenv.h.
3309         * conform/data/fenv.h-data: New file.
3310         * include/fenv.h [_ISOMAC]: Disable all contents of file except
3311         include of <math/fenv.h>.
3313         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
3314         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
3315         && !UNIX98].  Enables tests for XOPEN2K8.
3316         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
3317         POSIX2008]: Likewise.
3319         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
3320         (struct rusage): Do not expect type or its members.
3322         [BZ #3439]
3323         * math/math.h (FP_NAN): Define macro to integer constant usable in
3324         #if and use that to give value to enum constant.
3325         (FP_INFINITE): Likewise.
3326         (FP_ZERO): Likewise.
3327         (FP_SUBNORMAL): Likewise.
3328         (FP_NORMAL): Likewise.
3330 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
3332         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
3333         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
3334         arguments.
3336 2012-11-02  Roland McGrath  <roland@hack.frob.com>
3338         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
3339         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
3340         autoconf-time if not.
3341         * configure.in: Remove AC_PREREQ.
3343 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3345         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
3346         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
3347         of the internal implementation.
3349 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
3351         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
3352         except include of <misc/sys/syslog.h>.
3354 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
3356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
3357         function returns with a NULL context exit with zero.
3359 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3361         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
3363 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
3365         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
3366         (run_program_cmd): This.
3367         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
3368         (tst_langinfo): New variable.  Use it.
3370 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
3372         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
3373         floating point opcodes.
3375 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
3377         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
3378         variable.
3380         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
3382         * sysdeps/mach/hurd/powerpc: Remove directory.
3383         * sysdeps/mach/powerpc: Likewise.
3385 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
3387         * scripts/check-local-headers.sh: Ignore c++ headers.
3389 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
3391         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
3392         __libc_cleanup_region_start argument.
3394 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
3396         [BZ #14784]
3397         [BZ #14785]
3398         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
3399         x * y using scaling, not as x * y + z.
3400         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3401         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3402         * math/libm-test.inc (fma_test): Add more tests.
3403         (fma_test_towardzero): Likewise.
3404         (fma_test_downward): Likewise.
3405         (fma_test_upward): Likewise.
3407 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
3409         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
3411 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
3413         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
3414         New variable.
3416 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
3418         * rt/tst-shm.c (worker): Correct checking for mmap failure.
3420 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
3422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3423         Fix sort order.
3424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3425         Likewise.
3427 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3430         Fix the order of the list for glibc 2.17.
3431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3432         Likewise.
3434 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
3436         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3438 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
3440         [BZ #14610]
3441         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
3442         for low part of x being zero before using __atanl (y).
3443         * math/libm-test.inc (atan2_test): Add another test.
3445         * manual/install.texi (Configuring and compiling): Document
3446         general use of test-wrapper and test-wrapper-env.
3447         * INSTALL: Regenerated.
3449         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
3450         (__fma): Do not extract and scale down low bits on after-rounding
3451         systems when result rounded to normal precision would have normal
3452         exponent.
3453         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
3454         (__fmal): 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-96/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         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
3462         macro.
3463         (fma_test): Add more tests.
3464         (fma_test_towardzero): Likewise.
3465         (fma_test_downward): Likewise.
3466         (fma_test_upward): Likewise.
3468 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
3470         * sysdeps/i386/tininess.h: Renamed to ...
3471         * sysdeps/x86/tininess.h: This.
3472         * sysdeps/x86_64/tininess.h: Removed.
3474 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
3476         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
3477         input.  Use $(build-program-cmd).
3478         ($(objpfx)tst-array1-static.out): Likewise.
3479         ($(objpfx)tst-array2.out): Likewise.
3480         ($(objpfx)tst-array3.out): Likewise.
3481         ($(objpfx)tst-array4.out): Likewise.
3482         ($(objpfx)tst-array5.out): Likewise.
3483         ($(objpfx)tst-array5-static.out): Likewise.
3485 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
3487         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
3488         if defined.
3490         * nss/nsswitch.h (nss_interface_function): Provide new
3491         macro for use with NSS functions.
3492         * grp/initgroups.c: Use new macro.
3493         * nss/getXXbyYY.c: Likewise.
3494         * nss/getXXbyYY_r.c: Likewise.
3495         * nss/getXXent.c: Likewise.
3496         * nss/getXXent_r.c: Likewise.
3497         * sysdeps/posix/getaddrinfo.c: Likewise.
3499 2012-10-30  Andreas Jaeger  <aj@suse.de>
3501         * po/ru.po: Update Russion translation from translation project.
3503 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
3505         [BZ #14152]
3506         [BZ #14783]
3507         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
3508         result and shift together with sticky bit instead of replicating
3509         round-to-nearest rounding.
3510         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3511         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3512         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
3513         missing underflow exceptions.
3514         (fma_test_towardzero): Add more tests.
3515         (fma_test_downward): Likewise.
3516         (fma_test_upward): Likewise.
3518         [BZ #14047]
3519         * sysdeps/generic/tininess.h: New file.
3520         * sysdeps/i386/tininess.h: Likewise.
3521         * sysdeps/sh/tininess.h: Likewise.
3522         * sysdeps/x86_64/tininess.h: Likewise.
3523         * stdlib/tst-strtod-underflow.c: Likewise.
3524         * stdlib/tst-tininess.c: Likewise.
3525         * stdlib/strtod_l.c: Include <tininess.h>.
3526         (round_and_return): Do not set errno for exact underflow cases.
3527         Force an underflow exception when setting errno for underflow.
3528         Determine underflow based on rounding to normal precision if
3529         TININESS_AFTER_ROUNDING.
3530         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
3531         ERANGE for exact underflow cases.
3532         * stdlib/Makefile (tests): Add tst-tininess and
3533         tst-strtod-underflow.
3534         ($(objpfx)tst-tininess): Use $(link-libm).
3535         ($(objpfx)tst-strtod-underflow): Likewise.
3537 2012-10-30  Andreas Jaeger  <aj@suse.de>
3539         [BZ#14767]
3540         * elf/Makefile (tests): Remove conditional for have-initfini-array
3541         since this is now always required and the variable does not exist
3542         anymore.
3543         (tests-static): Likewise.
3544         (modules-names): Likewise.
3546         * po/eo.po: Add Esperanto translation from translation project.
3548         * elf/tst-array1.c (fini_array): Make writeable so that it can be
3549         merged with constructor/destructor.
3550         (init_array): Likewise.
3551         * elf/tst-array2dep.c (fini_array): Likewise.
3552         (init_array): Likewise.
3554 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
3556         * manual/message.texi: Delete @cartouche tags.
3558 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
3560         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
3561         EOPNOTSUPP.
3562         * sysdeps/mach/hurd/fsync.c: Likewise.
3564         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
3565         [_POSIX_REALTIME_SIGNALS]: Change condition to
3566         [_POSIX_REALTIME_SIGNALS > 0].
3568 2012-10-27  Andreas Jaeger  <aj@suse.de>
3570         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
3571         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
3572         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
3573         [__WORDSIZE != 64]: Likewise.
3575 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
3577         *  iconvdata/tst-table.sh: Remove ${SHELL}.
3578         *  iconvdata/tst-tables.sh: Likewise.
3580 2012-10-25  David S. Miller  <davem@davemloft.net>
3582         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3583         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
3584         of strtoull.
3586         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
3587         ifunc-impl-list.c
3588         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3589         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
3590         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
3591         file.
3593 2012-10-25  Roland McGrath  <roland@hack.frob.com>
3595         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3596         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
3597         __getdirentries.
3599 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
3600             Jim Blandy  <jimb@codesourcery.com>
3602         * scripts/cross-test-ssh.sh: New file.
3603         * manual/install.texi (Configuring and compiling): Document use of
3604         cross-test-ssh.sh.
3605         * INSTALL: Regenerated.
3607 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
3609         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
3610         EOPNOTSUPP.
3612 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
3614         * Makeconfig (run-program-prefix): Fix comment.
3616 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
3617             Jim Blandy  <jimb@codesourcery.com>
3619         * Makeconfig (test-wrapper): New variable,
3620         (test-wrapper-env): Likewise.
3621         [$(cross-compiling) = yes && $(test-wrapper) != ""]
3622         (run-built-tests): Define to yes.
3623         (run-program-prefix): Use $(test-wrapper).
3624         (built-program-cmd): Likewise.
3625         * Rules (make-test-out): Use $(test-wrapper-env) and
3626         $(host-built-program-cmd).
3627         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
3628         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
3629         tst-pathopt.sh.
3630         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
3631         $(test-wrapper-env) to tst-rtld-load-self.sh.
3632         ($(objpfx)order2.out): Use $(test-wrapper).
3633         ($(objpfx)tst-initorder.out): Likewise.
3634         ($(objpfx)tst-initorder2.out): Likewise.
3635         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
3636         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
3637         (test_wrapper_env): New variable.  Use it to run ld.so.
3638         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
3639         Use it to run ld.so.
3640         (test_wrapper_env): Likewise.
3641         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
3642         $(test-wrapper) to run-iconv-test.sh.
3643         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
3644         (ICONV): Use $test_wrapper.
3645         * posix/Makefile ($(objpfx)globtest.out): Pass
3646         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
3647         globtest.sh, not $(run-program-prefix).
3648         * posix/globtest.sh (run_via_rtld_prefix): New variable.
3649         (test_wrapper): Likewise.
3650         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
3651         set together with run_via_rtld_prefix.
3652         (run_program_prefix): Define in terms of test_wrapper and
3653         run_via_rtld_prefix.
3655 2012-10-24  Roland McGrath  <roland@hack.frob.com>
3657         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
3658         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
3659         Targets removed.
3661         [BZ #14743]
3662         * include/time.h: Remove librt_hidden_proto (clock_gettime).
3663         Declare __clock_getres, __clock_gettime, __clock_settime,
3664         __clock_nanosleep, and __clock_getcpuclockid.
3665         * rt/clock_gettime.c: Define __clock_gettime as an alias.
3666         Remove librt_hidden_def (clock_gettime).
3667         * sysdeps/unix/clock_gettime.c: Likewise.
3668         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
3669         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3670         * rt/clock_getres.c: Define __clock_getres as an alias.
3671         * sysdeps/posix/clock_getres.c: Likewise.
3672         * rt/clock_settime.c: Define __clock_settime as an alias.
3673         * sysdeps/unix/clock_settime.c: Likewise.
3674         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
3675         * sysdeps/unix/clock_nanosleep.c: Likewise.
3676         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3677         * rt/clock-compat.c: New file.
3678         * rt/Makefile (librt-routines): Add clock-compat and move
3679         $(clock-routines) to ...
3680         (routines): ... here, new variable.
3681         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
3682         Don't add get_clockfreq here.
3683         * rt/Versions (libc: GLIBC_2.17): New version set.
3684         Add clock_* symbols here.
3685         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
3686         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
3687         (GLIBC_2.17): Add clock_* symbols.
3688         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3689         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3690         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3692         Likewise.
3693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3694         Likewise.
3695         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3696         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3697         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3698         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3699         * NEWS: Mention the move.
3701         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3702         Use __open, __read, __close rather than their public counterparts.
3703         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3704         (__get_clockfreq_via_cpuinfo): Likewise.
3705         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
3706         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
3708         * config.h.in (HAVE_IFUNC): New #undef.
3709         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
3710         was successful.
3711         * configure: Regenerated.
3713 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
3715         * configure.in: Move READELF check to start of file.
3716         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
3717         libc_cv_asm_gnu_indirect_function in the process.
3718         * configure: Regenerated.
3720 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
3722         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
3723         send the output to /dev/null.
3724         (libc_cv_cc_with_libunwind): Likewise.
3725         (libc_cv_as_noexecstack): Likewise.
3726         * configure: Regenerate.
3728 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
3730         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
3732         * posix/globtest.sh (TMPDIR): Do not set.
3733         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
3734         (testout): Likewise.
3736 2012-10-24  Andreas Jaeger  <aj@suse.de>
3738         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
3739         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
3740         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
3741         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
3742         posix_fadvise64, posix_fallocate64.
3744         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
3745         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
3746         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
3747         Likewise.
3748         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
3749         Likewise.
3750         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
3752         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
3753         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
3754         <bits/fcntl-linux.h>.
3755         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
3757         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
3758         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
3759         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
3760         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
3761         [__WORDSIZE != 64]: Likewise.
3763 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
3765         * Makeconfig (run-built-tests): New variable.
3766         * Rules [$(cross-compiling) = yes]: Change condition to
3767         [$(run-built-tests) = no].
3768         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
3769         to [$(run-built-tests) = yes].
3770         * elf/Makefile [$(cross-compiling) = no]: Likewise
3771         * grp/Makefile [$(cross-compiling) = no]: Likewise.
3772         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
3773         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
3774         * intl/Makefile [$(cross-compiling) = no]: Likewise.
3775         * io/Makefile [$(cross-compiling) = no]: Likewise.
3776         * libio/Makefile [$(cross-compiling) = no]: Likewise.
3777         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
3778         * misc/Makefile [$(cross-compiling) = no]: Likewise.
3779         * posix/Makefile [$(cross-compiling) = no]: Likewise.
3780         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
3781         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
3782         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
3783         * string/Makefile [$(cross-compiling) = no]: Likewise.
3785         * posix/Makefile ($(objpfx)globtest.out): Pass
3786         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
3787         $(rtld-installed-name).
3788         * posix/globtest.sh (elf_objpfx): Remove variable.
3789         (rtld_installed_name): Likewise.
3790         (library_path): Likewise.
3791         (run_program_prefix): New variable.  Use for running globtest
3792         binary.
3794 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
3795             Joseph Myers  <joseph@codesourcery.com>
3797         * Makeconfig (host-built-program-cmd): New variable.
3798         * elf/Makefile (tst-stackguard1-ARGS): Use
3799         $(host-built-program-cmd).
3800         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
3801         (tst-spawn-ARGS): Likewise.
3802         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
3804 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
3805             Jim Blandy  <jimb@codesourcery.com>
3807         * Makeconfig (run-via-rtld-prefix): New variable.
3808         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
3809         (built-program-cmd): Likewise.
3811 2012-10-22  Andreas Jaeger  <aj@suse.de>
3813         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
3814         __O_RSYNC if it exists, otherwise to O_SYNC.
3816 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
3817             Joseph Myers  <joseph@codesourcery.com>
3819         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
3820         /dev/null.
3821         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
3822         from /dev/null
3823         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
3824         /dev/null.
3826 2012-10-22  Andreas Jaeger  <aj@suse.de>
3828         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
3829         Define always.
3830         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
3832         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3833         bits/fcntl-linux.h.
3835         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
3836         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
3838         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
3839         to __O_LARGEFILE.
3840         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
3841         to __O_LARGEFILE.
3843 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
3844             Joseph Myers  <joseph@codesourcery.com>
3846         * config.make.in (NM): New variable.
3848 2012-10-21  Andreas Jaeger  <aj@suse.de>
3850         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
3851         definitions and declarations that are provided by
3852         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3854 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
3856         [BZ #14683]
3857         * elf/Makefile (tests-static): Add tst-leaks1-static.
3858         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
3859         ($(objpfx)tst-leaks1-static): New rule.
3860         ($(objpfx)tst-leaks1-static-mem): Likewise.
3861         (tst-leaks1-static-ENV): New macro.
3862         * elf/dl-open.c (dl_open_worker): Check the main application
3863         only if SHARED is defined.
3864         * elf/tst-leaks1-static.c: New file.
3866 2012-10-20  Andreas Jaeger  <aj@suse.de>
3868         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
3869         generic values for Linux.
3870         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
3871         and declarations that are provided by <bits/fcntl-linux.h> and
3872         include <bits/fcntl-linux.h>.
3873         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3874         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3876 2012-10-20  Roland McGrath  <roland@hack.frob.com>
3878         * io/fcntl.h: Move include of <bits/types.h> to the top and
3879         include it unconditionally.
3881 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
3883         * wcsmbs/Makefile (tests-ifunc): New variable.
3884         (tests): Add $(tests-ifunc).
3885         * wcsmbs/test-wcschr-ifunc.c: New file.
3886         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3887         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3888         * wcsmbs/test-wcslen-ifunc.c: Likewise.
3889         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3890         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3892         * string/Makefile (tests-ifunc): New variable.
3893         (tests): Add $(tests-ifunc).
3894         * string/test-memccpy.c (TEST_NAME): New macro.
3895         * string/test-memchr.c (TEST_NAME): Likewise.
3896         * string/test-memcmp.c (TEST_NAME): Likewise.
3897         * string/test-memcpy.c (TEST_NAME): Likewise.
3898         * string/test-memmem.c (TEST_NAME): Likewise.
3899         * string/test-memmove.c (TEST_NAME): Likewise.
3900         * string/test-memset.c (TEST_NAME): Likewise.
3901         * string/test-rawmemchr.c (TEST_NAME): Likewise.
3902         * string/test-stpcpy.c (TEST_NAME): Likewise.
3903         * string/test-stpncpy.c (TEST_NAME): Likewise.
3904         * string/test-strcasecmp.c (TEST_NAME): Likewise.
3905         * string/test-strcasestr.c (TEST_NAME): Likewise.
3906         * string/test-strcat.c (TEST_NAME): Likewise.
3907         * string/test-strchr.c (TEST_NAME): Likewise.
3908         * string/test-strcmp.c(TEST_NAME): Likewise.
3909         * string/test-strcpy.c (TEST_NAME): Likewise.
3910         * string/test-strcspn.c (TEST_NAME): Likewise.
3911         * string/test-strlen.c (TEST_NAME): Likewise.
3912         * string/test-strncasecmp.c (TEST_NAME): Likewise.
3913         * string/test-strncmp.c (TEST_NAME): Likewise.
3914         * string/test-strncpy.c (TEST_NAME): Likewise.
3915         * string/test-strnlen.c (TEST_NAME): Likewise.
3916         * string/test-strpbrk.c (TEST_NAME): Likewise.
3917         * string/test-strrchr.c (TEST_NAME): Likewise.
3918         * string/test-strspn.c (TEST_NAME): Likewise.
3919         * string/test-strstr.c (TEST_NAME): Likewise.
3920         * string/test-bcopy-ifunc.c: New file.
3921         * string/test-bzero-ifunc.c: Likewise.
3922         * string/test-memccpy-ifunc.c: Likewise.
3923         * string/test-memchr-ifunc.c: Likewise.
3924         * string/test-memcmp-ifunc.c: Likewise.
3925         * string/test-memcpy-ifunc.c: Likewise.
3926         * string/test-memmem-ifunc.c: Likewise.
3927         * string/test-memmove-ifunc.c: Likewise.
3928         * string/test-mempcpy-ifunc.c: Likewise.
3929         * string/test-memset-ifunc.c: Likewise.
3930         * string/test-rawmemchr-ifunc.c: Likewise.
3931         * string/test-stpcpy-ifunc.c: Likewise.
3932         * string/test-stpncpy-ifunc.c: Likewise.
3933         * string/test-strcasecmp-ifunc.c: Likewise.
3934         * string/test-strcasestr-ifunc.c: Likewise.
3935         * string/test-strcat-ifunc.c: Likewise.
3936         * string/test-strchr-ifunc.c: Likewise.
3937         * string/test-strchrnul-ifunc.c: Likewise.
3938         * string/test-strcmp-ifunc.c: Likewise.
3939         * string/test-strcpy-ifunc.c: Likewise.
3940         * string/test-strcspn-ifunc.c: Likewise.
3941         * string/test-strlen-ifunc.c: Likewise.
3942         * string/test-strncasecmp-ifunc.c: Likewise.
3943         * string/test-strncat-ifunc.c: Likewise.
3944         * string/test-strncmp-ifunc.c: Likewise.
3945         * string/test-strncpy-ifunc.c: Likewise.
3946         * string/test-strnlen-ifunc.c: Likewise.
3947         * string/test-strpbrk-ifunc.c: Likewise.
3948         * string/test-strrchr-ifunc.c: Likewise.
3949         * string/test-strspn-ifunc.c: Likewise.
3950         * string/test-strstr-ifunc.c: Likewise.
3952         * debug/Makefile (tests-ifunc): New variable.
3953         (tests): Add $(tests-ifunc).
3954         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
3955         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
3956         * debug/test-stpcpy_chk-ifunc.c: New file.
3957         * debug/test-strcpy_chk-ifunc.c: Likewise.
3959 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3961         [BZ #13601]
3962         * elf/dl-load.c (open_verify): Retry read if the entire ELF
3963         header is not read in.
3965 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
3967         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
3968         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
3969         directly.  Pass built executable to script as
3970         $(built-program-cmd).
3971         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
3972         $testprogram without using LD_LIBRARY_PATH and $ldso.
3974         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
3975         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
3976         $(rtld-installed-name).
3977         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
3978         (rtld_installed_name): Likewise.
3979         (library_path): Likewise.
3980         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
3981         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
3982         $(run-program-prefix) to tst-tables.sh.
3983         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
3984         it to run tst-table-from and tst-table-to.
3985         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
3986         Pass it to tst-table.sh.
3987         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
3988         $(run-program-prefix) to tst-gettext.sh.
3989         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
3990         tst-translit.sh.
3991         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
3992         tst-gettext2.sh.
3993         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
3994         to run tst-gettext.
3995         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
3996         to run tst-gettext2.
3997         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
3998         to run tst-translit.
3999         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
4000         $(run-program-prefix) to tst-mtrace.sh.
4001         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
4002         to run tst-mtrace.
4003         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
4004         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
4005         $(rtld-installed-name).
4006         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
4007         (rtld_installed_name): Likewise.
4008         (run_program_prefix): New variable.  Use it to run wordexp-test.
4010         * Makeconfig (ARCH): Remove all definitions.
4011         (machine): Likewise.
4012         [ARCH]: Remove conditional code.
4013         [!objdir]: Give error.
4014         [!objdir] (objpfx): Remove.
4015         [!objdir] (common-objpfx): Likewise.
4016         [!objdir] (common-objdir): Likewise.
4017         * configure.in (config_makefile): Remove.  Hardcode Makefile in
4018         AC_CONFIG_FILES call.
4019         * configure: Regenerated.
4021         [BZ #13888]
4022         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
4023         or TMPDIR.
4024         (testout): Likewise.
4026         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
4027         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
4028         $(rtld-installed-name).
4029         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
4030         (rtld_installed_name): Likwise.
4031         (runit): Remove function.
4032         (run_getconf): New variable,  Use it for running getconf binary.
4034 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
4036         [BZ #14716]
4037         * string/test-memmem.c (check_result): New function.
4038         (do_one_test): Use it.
4039         (check1): New function.
4040         (test_main): Use it.
4042 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
4044         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
4046 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
4048         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
4049         (_G_LSEEK64): Likewise.
4050         (_G_MMAP64): Likewise.
4051         (_G_FSTAT64): Likewise.
4052         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
4053         (_G_LSEEK64): Likewise.
4054         (_G_MMAP64): Likewise.
4055         (_G_FSTAT64): Likewise.
4056         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
4057         unconditional.  Call __mmap64 directly.
4058         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
4059         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
4060         __lseek64 directly.
4061         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
4062         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
4063         __mmap64 directly.
4064         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
4065         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
4066         __lseek64 directly.
4067         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
4068         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
4069         __lseek64 directly.
4070         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
4071         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
4072         __lseek64 directly.
4073         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
4074         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
4075         __fxstat64 directly.
4076         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
4077         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
4078         unconditional.
4079         (freopen64) [!_G_OPEN64]: Remove conditional code.
4080         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
4081         unconditional.
4082         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
4083         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
4084         unconditional.
4085         (ftello64) [!_G_LSEEK64]: Remove conditional code.
4086         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
4087         unconditional.
4088         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4089         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
4090         unconditional.
4091         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
4092         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
4093         unconditional.
4094         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4095         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
4096         unconditional.
4097         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4098         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
4099         unconditional.
4100         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4102 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4104         [BZ #12140]
4105         * manual/memory.texi (Malloc Tunable Parameters): Add note
4106         about free list pointers overwriting some perturb bytes.
4107         Wording suggested by Roland McGrath.
4109 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
4111         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
4112         (lgamma_test): Likewise.
4113         (tgamma_test): Likewise.
4115 2012-10-16  Florian Weimer  <fweimer@redhat.com>
4117         [BZ #14700]
4118         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
4119         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
4121 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
4123         * NEWS: Mention BZ #14716.
4124         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
4125         when removing AVAILABLE1_USES_J macro.
4127 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
4129         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
4130         (__bswap_64): __uint64_t for unsigned 64-bit int.
4132 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
4134         * include/string.h (memmem): Declare libc hidden alias.
4135         * string/memmem.c (memmem): Define libc hidden alias.
4136         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
4137         __read, __close instead of open, read, close.
4139 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
4141         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
4142         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
4143         global and hidden.
4144         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
4145         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
4146         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
4147         Likewise.
4148         (__rawmemchr_sse2): Likewise.
4149         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
4150         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
4151         (__strchr_sse2): Likewise.
4152         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
4153         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
4154         (__strcasecmp_sse2): Likewise.
4155         (__strncasecmp_sse2): Likewise.
4156         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
4157         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
4158         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
4159         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
4160         (__strrchr_sse2): Likewise.
4161         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
4162         ifunc-impl-list.c.
4163         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4164         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4165         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4166         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4167         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4168         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4169         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4170         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4171         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
4172         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
4173         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
4174         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
4175         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
4176         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4177         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4178         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4179         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4180         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4181         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
4182         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
4183         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
4184         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
4185         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
4186         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4187         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
4188         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4189         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4190         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4191         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4192         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4194         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
4195         global and hidden.
4196         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
4197         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
4198         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
4199         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
4200         Likewise.
4201         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
4202         Likewise.
4203         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
4204         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
4205         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
4206         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
4207         ifunc-impl-list.c.
4208         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4209         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4210         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4211         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4212         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4213         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4214         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4215         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4216         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4217         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4218         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4219         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4220         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4221         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
4222         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
4223         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4224         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
4225         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
4226         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4227         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4228         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4229         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4230         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4231         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4232         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4233         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
4234         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
4235         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
4236         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
4237         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4238         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
4239         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4240         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4241         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
4242         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4243         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4244         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4245         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4246         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4247         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4248         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
4250         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
4251         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
4252         * include/ifunc-impl-list.h: New file.
4253         * misc/ifunc-impl-list.c: Likewise.
4254         * misc/Makefile (routines): Add ifunc-impl-list.
4255         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
4256         * string/test-string.h: Include <ifunc-impl-list.h>.
4257         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
4258         impl_array): New variables.
4259         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
4260         are defined.
4261         (test_init): Call __libc_ifunc_impl_list to initialize
4262         func_list if TEST_IFUNC and TEST_NAME are defined.
4264         * string/Makefile (strop-tests): Add bcopy and bzero.
4265         * string/test-bcopy.c: New file.
4266         * string/test-bzero.c: Likewise.
4267         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
4268         defined.
4269         * string/test-memset.c: Support bzero test if TEST_BZERO is
4270         defined.
4271         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
4272         __libc_memmove.
4273         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
4274         __libc_memset.
4275         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
4276         of memset.
4278 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
4280         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
4281         * configure: Regenerated.
4283         * Makeconfig (+link-static-before-libc): Don't include
4284         $(link-static-libc).
4286         * libio/libio.h (_IO_pos_t): Remove.
4288 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
4290         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
4291         McGrath.
4293 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
4295         * crypt/crypt-entry.c: Include fips-private.h.
4296         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
4297         * crypt/md5c-test.c (main): Tolerate disabled MD5.
4298         * sysdeps/unix/sysv/linux/fips-private.h: New file.
4299         * sysdeps/generic/fips-private.h: New file, dummy fallback.
4301 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
4303         * crypt/crypt-private.h: Include stdbool.h.
4304         (_ufc_setup_salt_r): Return bool.
4305         * crypt/crypt-entry.c: Include errno.h.
4306         (__crypt_r): Return NULL with EINVAL for bad salt.
4307         * crypt/crypt_util.c (bad_for_salt): New.
4308         (_ufc_setup_salt_r): Check that salt is long enough and within
4309         the specified alphabet.
4310         * crypt/badsalttest.c: New file.
4311         * crypt/Makefile (tests): Add it.
4312         ($(objpfx)badsalttest): New.
4314 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
4316         * NEWS: Add entry for BZ #14602.
4318 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
4320         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
4321         type-generic.
4322         * math/libm-test.inc: Update comment listing what functions and
4323         macros are tested.
4324         (isgreater_test): New function.
4325         (isgreaterequal_test): Likewise.
4326         (isless_test): Likewise.
4327         (islessequal_test): Likewise.
4328         (islessgreater_test): Likewise.
4329         (isunordered_test): Likewise.
4330         (main): Call the new functions.
4332 2012-10-09  Roland McGrath  <roland@hack.frob.com>
4334         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
4335         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
4336         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
4337         * sysdeps/i386/configure: Regenerated.
4338         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
4339         * sysdeps/mach/configure: Regenerated.
4340         * sysdeps/mach/hurd/configure: Regenerated.
4341         * sysdeps/powerpc/configure: Regenerated.
4342         * sysdeps/powerpc/powerpc32/configure: Regenerated.
4343         * sysdeps/powerpc/powerpc64/configure: Regenerated.
4344         * sysdeps/s390/s390-32/configure: Regenerated.
4345         * sysdeps/s390/s390-64/configure: Regenerated.
4346         * sysdeps/sh/configure: Regenerated.
4347         * sysdeps/sparc/configure: Regenerated.
4348         * sysdeps/unix/sysv/linux/configure: Regenerated.
4349         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4350         * sysdeps/x86_64/configure: Regenerated.
4352         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
4353         defined.  Don't check if MAP is NULL.
4355 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
4357         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
4358         (_G_stat64): Likewise.
4359         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
4360         (_G_stat64): Likewise.
4361         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
4362         instead of struct _G_stat64.
4363         * libio/fileops.c (mmap_remap_check): Likewise.
4364         (decide_maybe_mmap): Likewise.
4365         (_IO_new_file_seekoff): Likewise.
4366         (_IO_file_stat): Likewise.
4367         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
4368         _G_off64_t.
4369         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
4370         instead of struct _G_stat64.
4371         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4373 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
4375         [BZ #14602]
4376         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4377         Replace with ...
4378         (CHECK_EOL): New macro.
4379         (two_way_short_needle): Check beginning of haystack for EOL.  Use
4380         CHECK_EOL.
4381         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4382         Replace with CHECK_EOL.
4383         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4384         Replace with CHECK_EOL.
4386 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
4388         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
4389         type-generic.
4390         * math/libm-test.inc: Update comment listing what functions and
4391         macros are tested.
4392         (finite_test): New function.
4393         (isinf_test): Likewise.
4394         (isnan_test): Likewise.
4395         (fpclassify_test): Test subnormal input.
4396         (isfinite_test): Likewise.
4397         (isnormal_test): Likewise.
4398         (main): Call the new functions.
4400 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
4402         [BZ #14660]
4403         * Makerules (%.dynsym): Force C locale when running
4404         $(OBJDUMP) --dynamic-syms.
4406 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
4408         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
4409         <stdint.h>.
4411 2012-10-06  David S. Miller  <davem@davemloft.net>
4413         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
4414         upper 32-bits of the length value in %o2 since we use branch-on-register
4415         tests which consider the entire 64-bit register.
4417 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
4419         * string/test-strstr.c (check2): Add a test for page boundary.
4421 2012-10-05  David S. Miller  <davem@davemloft.net>
4423         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
4424         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
4425         file.
4426         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4427         sysdep_routines.
4428         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4429         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
4430         and bzero when HWCAP_SPARC_CRYPTO is present.
4432 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
4434         [BZ #14602]
4435         * string/test-strstr.c (check2): New function.
4436         (test_main): Call check2.
4438         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
4439         and bug-strchr1.
4440         * string/bug-strcasestr1.c (do_test): Moved to ...
4441         * string/test-strcasestr.c (check1): Here.  New function.
4442         (do_one_test): Break out result checking code into ...
4443         (check_result): This.  New function.
4444         (do_one_test): Call check_result.
4445         (test_main): Call check1.
4446         * string/bug-strchr1.c (do_test): Moved to ...
4447         * string/test-strchr.c (check1): Here.  New function.
4448         (do_one_test): Break out result checking code into ...
4449         (check_result): This.  New function.
4450         (do_one_test): Call check_result.
4451         (test_main): Call check1.
4452         * string/bug-strstr1.c (main): Moved to ...
4453         * string/test-strchr.c (check1): Here.  New function.
4454         (do_one_test): Break out result checking code into ...
4455         (check_result): This.  New function.
4456         (do_one_test): Call check_result.
4457         (test_main): Call check1.
4458         * string/bug-strcasestr1.c: Removed.
4459         * string/bug-strchr1.c: Likewise.
4460         * string/bug-strstr1.c: Likewise.
4462         * elf/Makefile (dl-routines): Add hwcaps.
4463         * elf/dl-support.c (_dl_important_hwcaps): Removed.
4464         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
4465         (_dl_important_hwcaps): Moved to ...
4466         * elf/dl-hwcaps.c: Here.  New file.
4467         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
4469         [BZ #14557]
4470         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
4471         if IS_IN_rtld isn't defined.
4473         * elf/dl-support.c (_dl_sysinfo_map): New.
4474         Include "get-dynamic-info.h" and "setup-vdso.h".
4475         (_dl_non_dynamic_init): Call setup_vdso.
4476         * elf/dynamic-link.h: Don't include <assert.h>.
4477         (elf_get_dynamic_info): Moved to ...
4478         * elf/get-dynamic-info.h: Here.  New file.
4479         * elf/dynamic-link.h: Include "get-dynamic-info.h".
4480         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
4481         * elf/setup-vdso.h: Here.  New file.
4482         * elf/rtld.c: Include "setup-vdso.h".
4483         (dl_main): Call setup_vdso.
4485 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
4487         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
4488         creal in comment listing functions tested.  List finite, isinf,
4489         isnan, isless, islessequal, isgreater, isgreaterequal,
4490         islessgreater, isunordered, lgamma_r and pow10 as functions and
4491         macros not tested.  Mention which functions not tested are aliases
4492         for other functions.  Fix typo.  Note that signs of NaNs are not
4493         tested.
4495         * scripts/config.guess: Update from config.git.
4496         * scripts/config.sub: Likewise.
4498 2012-10-04  Roland McGrath  <roland@hack.frob.com>
4500         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
4501         * misc/madvise.c (madvise): Renamed to __madvise.
4502         Make madvise a weak alias.
4503         * include/sys/mman.h: Declare __madvise.
4504         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
4505         * sysdeps/unix/syscalls.list
4506         (madvise): Make __madvise the strong name, and madvise a weak alias.
4507         * sysdeps/unix/sysv/linux/syscalls.list
4508         (madvise, mmap): Remove redundant entries.
4509         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
4510         * malloc/malloc.c (mtrim): Likewise.
4511         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
4513 2012-10-03  Roland McGrath  <roland@hack.frob.com>
4515         * sysdeps/mach/hurd/dl-cache.c: File removed.
4516         * config.h.in (USE_LDCONFIG): New #undef.
4517         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
4518         * configure: Regenerated.
4519         * elf/Makefile (dl-routines): Add dl-cache only under
4520         [$(use-ldconfig) = yes].
4521         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
4522         cache on [USE_LDCONFIG].
4523         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
4524         [USE_LDCONFIG].
4525         * elf/rtld.c (dl_main): Likewise.
4527 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
4529         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
4530         _SC_LEVEL4_CACHE_LINESIZE.
4532 2012-10-03  Roland McGrath  <roland@hack.frob.com>
4534         * sysdeps/unix/bsd/confstr.h: File removed.
4536 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
4538         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
4539         sys/sdt-config.h.
4541 2012-10-02  Roland McGrath  <roland@hack.frob.com>
4543         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
4544         Make 'mapoff' field ElfW(Off) rather than off_t.
4546 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
4548         * nscd/Makefile: Remove nscd-cflags and all its users.
4549         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
4550         (CFLAGS-nonlib): Add compiler flags for nscd modules.
4552         [BZ #10631]
4553         * malloc.c (malloc_printerr): Clarify error message.
4555 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
4557         [BZ #14648]
4558         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4559         Set bit_FMA_Usable if FMA is supported.
4560         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
4561         macro.
4562         (bit_FMA4_Usable): Updated.
4563         (index_FMA_Usable): New macro.
4564         (CPUID_FMA): Likewise
4565         (HAS_FMA): Defined with bit_FMA_Usable.
4567 2012-10-01  Roland McGrath  <roland@hack.frob.com>
4569         * bits/types.h (__swblk_t): Type removed.
4570         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
4571         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
4572         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4573         (__SWBLK_T_TYPE): Likewise.
4574         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4575         (__SWBLK_T_TYPE): Likewise.
4576         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4577         (__SWBLK_T_TYPE): Likewise.
4578         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4579         (__SWBLK_T_TYPE): Likewise.
4581 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
4582             Honza Horak <hhorak@redhat.com>
4584         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
4585         (xdr_mapname): Use YPMAXMAP as maxsize.
4586         (xdr_peername): Use YPMAXPEER as maxsize.
4587         (xdr_keydat): Use YPAXRECORD as maxsize.
4588         (xdr_valdat): Use YPMAXRECORD as maxsize.
4590 2012-10-01  Roland McGrath  <roland@hack.frob.com>
4592         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
4594         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
4595         * csu/init-first.c: ... here.
4596         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
4597         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4598         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4599         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4600         * sysdeps/i386/init-first.c: File removed.
4601         * sysdeps/sh/init-first.c: File removed.
4603 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
4605         [BZ #14645]
4606         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
4607         if x * y might underflow to zero and z is zero.
4608         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4609         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4610         * math/libm-test.inc (min_subnorm_value): New variable.
4611         (fma_test): Add more tests.
4612         (fma_test_towardzero): Likewise.
4613         (fma_test_downward): Likewise
4614         (fma_test_upward): Likewise.
4615         (initialize): Set min_subnorm_value.
4617 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
4619         [BZ #14638]
4620         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
4621         0 + 0.
4622         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
4623         mode for addition resulting in exact zero.
4624         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
4625         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
4626         exact 0 + 0.
4627         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4628         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4629         * math/libm-test.inc (fma_test): Add more tests.
4630         (fma_test_towardzero): New function.
4631         (fma_test_downward): Likewise.
4632         (fma_test_upward): Likewise.
4633         (main): Call the new functions.
4635 2012-09-28  David S. Miller  <davem@davemloft.net>
4637         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
4639 2012-09-28  Roland McGrath  <roland@hack.frob.com>
4641         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
4642         instead of SIGALRM.
4644         * sysdeps/gnu/_G_config.h: Moved to ...
4645         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
4646         * sysdeps/mach/hurd/_G_config.h: Moved to ...
4647         * sysdeps/generic/_G_config.h: ... here.
4649         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
4651         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
4653         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
4654         Conditionalize target on [libnss_test1.so-version].
4656         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
4658         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
4659         (elfobjdir): Move out of conditionals.
4661         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
4662         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
4663         (__nss_lookup_function): Conditionalize label remove_from_tree on
4664         [!DO_STATIC_NSS || SHARED], matching its only use.
4666 2012-09-28  David S. Miller  <davem@davemloft.net>
4668         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
4669         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
4670         file.
4671         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4672         sysdep_routines.
4673         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4674         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
4675         when HWCAP_SPARC_CRYPTO is present.
4677 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
4679         * io/tst-mknodat.c: Create a FIFO instead of a socket.
4681 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
4683         [BZ #6530]
4684         * stdio-common/vfprintf.c (process_string_arg): Revert
4685         2000-07-22 change.
4687 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
4689         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
4690         for testcase.
4691         * stdio-common/tst-sprintf.c: Include <locale.h>
4692         (main): Test sprintf's handling of incomplete multibyte
4693         characters.
4695 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
4697         * elf/dl-runtime.c (VERSYMIDX): Removed.
4698         * elf/dl-version.c (VERSYMIDX): Likewise.
4699         * elf/do-rel.h (VERSYMIDX): Likewise.
4700         (VALIDX): Likewise.
4701         * elf/dynamic-link.h (VERSYMIDX): Likewise.
4702         * elf/rtld.c (VALIDX): Likewise.
4703         (ADDRIDX): Likewise.
4704         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
4705         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
4706         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
4707         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
4708         (VALIDX): Likewise.
4709         (ADDRIDX): Likewise.
4711 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
4713         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
4715 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
4717         [BZ #11438]
4718         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
4719         to global scope.
4720         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
4721         addresses are in the same scope as 192.0.2/24.
4722         * posix/gai.conf: Document new scope table defaults.
4724 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4726         [BZ #5298]
4727         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
4728         for ftell.  Compute offsets from write pointers instead.
4729         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4731 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4733         [BZ #14543]
4734         * libio/Makefile (tests): New test case tst-fseek.
4735         * libio/tst-fseek.c: New test case to verify that fseek/ftell
4736         combination works in wide mode.
4737         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
4738         state when the external buffer state changes.
4740 2012-09-27  David S. Miller  <davem@davemloft.net>
4742         [BZ #14376]
4743         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
4744         pass reloc->r_addend in as the 'high' argument to
4745         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
4747         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4749 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
4751         * rt/tst-aio2.c: Include <pthread.h>.
4752         * rt/tst-aio3.c: Likewise.
4754 2012-09-27  Steve Ellcey  <sellcey@mips.com>
4756         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
4758 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
4760         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
4761         contents on [SHARED].
4763 2012-09-26  Marek Polacek  <polacek@redhat.com>
4765         [BZ #14530]
4766         [BZ #13741]
4767         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
4768         for C++ and GCC <4.3 as well as for non GCC compilers.
4770 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
4772         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4774 2012-09-25  Roland McGrath  <roland@hack.frob.com>
4776         * Makefile.in (all, install): Declare with .PHONY.
4777         Reported by Michael Hope <michael.hope@linaro.org>.
4779 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4781         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
4782         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
4783         system header.
4784         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
4785         Likewise.
4786         (sydep_routines): Add the new and the internal functions.
4787         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
4788         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
4789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
4790         (GLIBC_2.17): Add the new function.
4791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4792         (GLIBC_2.17): Likewise.
4793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4794         (GLIBC_2.17): Likewise.
4795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
4796         (GLIBC_2.17): Likewise.
4797         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
4799 2012-09-25  Alan Modra  <amodra@gmail.com>
4801         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
4802         Add release barrier before setting once_control to say
4803         initialisation is done.  Add hints on lwarx.  Use macro in
4804         place of isync.
4805         (clear_once_control): Add release barrier.
4807 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
4809         [BZ #13629]
4810         * math/s_clog.c (__clog): Handle more values close to |z| = 1
4811         specially.
4812         * math/s_clog10.c (__clog10): Likewise.
4813         * math/s_clog10f.c (__clog10f): Likewise.
4814         * math/s_clog10l.c (__clog10l): Likewise.
4815         * math/s_clogf.c (__clogf): Likewise.
4816         * math/s_clogl.c (__clogl): Likewise.
4817         * math/Makefile (libm-calls): Add x2y2m1.
4818         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
4819         (__x2y2m1): Likewise.
4820         (__x2y2m1l): Likewise.
4821         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
4822         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
4823         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4824         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4825         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4826         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
4827         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
4828         * sysdeps/i386/fpu/libm-test-ulps: Update.
4829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4831         [BZ #14621]
4832         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
4833         int as type of variable DEPTH.
4834         (glob): Use size_t instead of int as type of variables NEWCOUNT
4835         and OLD_PATHC.
4837 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4839         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4840         Add s_sincosf-sse2.
4841         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
4842         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
4843         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
4844         macros for using routine as __sincosf_ia32.
4845         Use macro for function declaration and weak_alias.
4846         * sysdeps/i386/fpu/libm-test-ulps: Update.
4848         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
4849         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4851         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
4852         subnormal argument.
4853         * math/s_cexpf.c (__cexpf): Likewise.
4854         * math/s_csinf.c (__csinf): Likewise.
4855         * math/s_csinhf.c (__csinhf): Likewise.
4856         * math/s_ctanf.c (__ctanf): Likewise.
4857         * math/s_ctanhf.c (__ctanhf): Likewise.
4858         * math/s_ccosh.c (__ccoshf): Likewise.
4859         * math/s_cexp.c (__cexpl): Likewise.
4860         * math/s_csin.c (__csin): Likewise.
4861         * math/s_csinh.c (__csinh): Likewise.
4862         * math/s_ctan.c (__ctan): Likewise.
4863         * math/s_ctanh.c (ctanh): Likewise.
4864         * math/s_ccoshl.c (__ccoshl): Likewise.
4865         * math/s_cexpl.c (__cexpl): Likewise.
4866         * math/s_csinl.c (__csinl): Likewise.
4867         * math/s_csinhl.c (__csinhl): Likewise.
4868         * math/s_ctanl.c (__ctanl): Likewise.
4869         * math/s_ctanhl.c (__ctanhl): Likewise.
4871 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
4873         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
4874         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
4875         (_IO_off_t): Define to __off_t, not _G_off_t.
4876         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
4877         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
4878         (_IO_wint_t): Define to wint_t, not _G_wint_t.
4879         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
4880         type of __dummy and __dummy2 fields.
4881         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
4882         (_G_ssize_t): Likewise.
4883         (_G_off_t): Likewise.
4884         (_G_pid_t): Likewise.
4885         (_G_uid_t): Likewise.
4886         (_G_wchar_t): Likewise.
4887         (_G_wint_t): Likewise.
4888         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
4889         (_G_ssize_t): Likewise.
4890         (_G_off_t): Likewise.
4891         (_G_pid_t): Likewise.
4892         (_G_uid_t): Likewise.
4893         (_G_wchar_t): Likewise.
4894         (_G_wint_t): Likewise.
4895         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
4896         (_G_ssize_t): Likewise.
4897         (_G_off_t): Likewise.
4898         (_G_pid_t): Likewise.
4899         (_G_uid_t): Likewise.
4900         (_G_wchar_t): Likewise.
4901         (_G_wint_t): Likewise.
4903 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4905         * malloc/arena.c: Include malloc-sysdep.h.
4906         (shrink_heap): Use check_may_shrink_heap to decide if madvise
4907         is sufficient to shrink the heap or an unmap is needed.
4908         * sysdeps/generic/malloc-sysdep.h: New file.  Define
4909         new function check_may_shrink_heap.
4910         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
4911         new function check_may_shrink_heap.
4913 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4915         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
4916         comments.
4918 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
4920         * catgets/test-gencat.sh: Add "set -e".
4921         * elf/tst-pathopt.sh: Likewise.
4922         * grp/tst_fgetgrent.sh: Likewise.
4923         * iconvdata/run-iconv-test.sh: Likewise.
4924         * intl/tst-gettext.sh: Likewise.
4925         * intl/tst-gettext2.sh: Likewise.
4926         * intl/tst-gettext4.sh: Likewise.
4927         * intl/tst-gettext6.sh: Likewise.
4928         * intl/tst-translit.sh: Likewise.
4929         * io/ftwtest-sh: Likewise.
4930         * libio/test-freopen.sh: Likewise.
4931         * malloc/tst-mtrace.sh: Likewise.
4932         * posix/globtest.sh: Likewise.
4933         * posix/tst-getconf.sh: Likewise.
4934         * posix/wordexp-tst.sh: Likewise.
4935         * stdio-common/tst-printf.sh: Likewise.
4936         * stdio-common/tst-unbputc.sh: Likewise.
4937         * stdlib/tst-fmtmsg.sh: Likewise.
4938         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4939         * catgets/Makefile: Do not specify -e option when running
4940         testsuite shell scripts.
4941         * elf/Makefile: Likewise.
4942         * grp/Makefile: Likewise.
4943         * iconvdata/Makefile: Likewise.
4944         * intl/Makefile: Likewise.
4945         * io/Makefile: Likewise.
4946         * libio/Makefile: Likewise.
4947         * malloc/Makefile: Likewise.
4948         * posix/Makefile: Likewise.
4949         * stdio-common/Makefile: Likewise.
4950         * stdlib/Makefile: Likewise.
4951         * sysdeps/x86_64/Makefile: Likewise.
4953         * io/ftwtest-sh: Add copyright header.
4954         * posix/globtest.sh: Likewise.
4955         * posix/tst-getconf.sh: Likewise.
4956         * posix/wordexp-tst.sh: Likewise.
4957         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4959 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
4961         [BZ #13679]
4962         * Makeconfig (+link): Defined as $(+link-static) if
4963         $(build-shared) isn't yes.
4964         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
4965         isn't yes.
4966         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
4968         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
4970         [BZ #14562]
4971         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
4972         new chunk size with MALLOC_ALIGN_MASK.
4974 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
4976         [BZ #5044]
4977         * stdio-common/printf_fphex.c: Include <stdbool.h> and
4978         <rounding-mode.h>.
4979         (__printf_fphex): Determine rounding using get_rounding_mode and
4980         round_away.
4981         * stdio-common/tst-printf-round.c (struct hex_test): New
4982         structure.
4983         (hex_tests): New variable.
4984         (test_hex_in_one_mode): New function.
4985         (do_test): Also run tests for hex float output.
4987 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
4989         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4990         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4991         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
4992         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4993         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4994         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
4995         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4996         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4998 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
5000         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
5001         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
5002         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
5003         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
5005 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
5007         [BZ #14579]
5008         * elf/rtld.c (dl_main): Limit the check for self loading to normal
5009         mode only.
5010         * elf/tst-rtld-load-self.sh: New test.
5011         * elf/Makefile: Run it.
5013 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
5015         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
5016         (tst-writev-ENV): Remove.
5017         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
5019 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
5021         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
5023 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
5025         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
5026         unconditional.
5027         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
5028         Likewise.
5029         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
5030         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
5031         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
5032         Likewise.
5034 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
5036         [BZ #14587]
5037         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
5038         * config.make.in (have-cpp-asm-debuginfo): Removed.
5039         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
5040         * configure: Regenerated.
5042 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
5044         [BZ #5044]
5045         * stdio-common/printf_fp.c: Include <stdbool.h> and
5046         <rounding-mode.h>.
5047         (___printf_fp): Determine rounding using get_rounding_mode and
5048         round_away.
5049         * stdio-common/tst-printf-round.c: New file.
5050         * stdio-common/Makefile (tests): Add tst-printf-round.
5051         (link-libm): New variable.
5052         ($(objpfx)tst-printf-round): Depend in $(link-libm).
5054 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
5056         [BZ #14576]
5057         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
5058         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
5059         Likewise.
5060         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
5061         Likewise.
5063 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
5065         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
5066         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5067         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5068         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5070 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
5072         [BZ #14518]
5073         * include/rounding-mode.h: New file.
5074         * sysdeps/generic/get-rounding-mode.h: Likewise.
5075         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
5076         * stdlib/strtod_l.c: Include <rounding-mode.h>.
5077         (MAX_VALUE): New macro.
5078         (MIN_VALUE): Likewise.
5079         (overflow_value): New function.
5080         (underflow_value): Likewise.
5081         (round_and_return): Use overflow_value and underflow_value to
5082         determine return values in overflow and underflow cases.  Use
5083         round_away to determine rounding depending on rounding mode.
5084         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
5085         determine return values in overflow and underflow cases.
5086         * stdlib/tst-strtod-round.c: Include <fenv.h>.
5087         (struct test_results): New structure.
5088         (struct test): Use struct test_results to store expected results
5089         for all rounding modes.
5090         (TEST): Include expected results for all rounding modes.
5091         (test_in_one_mode): New function.
5092         (do_test): Use test_in_one_mode to compute and check results.
5093         Check results for all rounding modes.
5094         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
5095         $(link-libm).
5097 2012-12-09  Allan McRae  <allan@archlinux.org>
5099         * sysdeps/i386/fpu/libm-test-ulps: Update
5101 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
5103         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
5104         (_G_int32_t): Likewise.
5105         (_G_uint16_t): Likewise.
5106         (_G_uint32_t): Likewise.
5107         (_G_HAVE_BOOL): Likewise.
5108         (_G_HAVE_ATEXIT): Likewise.
5109         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5110         (_G_HAVE_IO_FILE_OPEN): Likewise.
5111         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
5112         (_G_int32_t): Likewise.
5113         (_G_uint16_t): Likewise.
5114         (_G_uint32_t): Likewise.
5115         (_G_HAVE_BOOL): Likewise.
5116         (_G_HAVE_ATEXIT): Likewise.
5117         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5118         (_G_HAVE_IO_FILE_OPEN): Likewise.
5119         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
5120         (_G_int32_t): Likewise.
5121         (_G_uint16_t): Likewise.
5122         (_G_uint32_t): Likewise.
5123         (_G_HAVE_BOOL): Likewise.
5124         (_G_HAVE_ATEXIT): Likewise.
5125         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5126         (_G_HAVE_IO_FILE_OPEN): Likewise.
5128 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
5130         * csu/libc-tls.c: Update copyright years.
5132 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
5134         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
5135         [!_G_USING_THUNKS]: Remove conditional code.
5136         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
5137         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
5139         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
5140         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
5141         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5142         (_G_VTABLE_LABEL_PREFIX): Likewise.
5143         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5144         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5145         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5146         (_G_VTABLE_LABEL_PREFIX): Likewise.
5147         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5148         * sysdeps/mach/hurd/_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.
5153 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
5155         * libio/Makefile: Include ../Makeconfig before tests.
5156         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
5157         only if $(build-shared) is yes.
5159         * iconv/gconv_db.c: Update copyright years.
5161 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5163         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
5164         unwind info if defined PIC. Fix special cases description.
5165         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
5167         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
5168         DP_HI_MASK entry.
5169         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
5171 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
5173         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
5175         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
5176         is NULL.
5178         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
5179         (LDLIBS-tst-chk4): This.
5180         (LDFLAGS-tst-chk5): Renamed to ...
5181         (LDLIBS-tst-chk5): This.
5182         (LDFLAGS-tst-chk6): Renamed to ...
5183         (LDLIBS-tst-chk6): This.
5184         (LDFLAGS-tst-lfschk4): Renamed to ...
5185         (LDLIBS-tst-lfschk4): This.
5186         (LDFLAGS-tst-lfschk5): Renamed to ...
5187         (LDLIBS-tst-lfschk5): This.
5188         (LDFLAGS-tst-lfschk6): Renamed to ...
5189         (LDLIBS-tst-lfschk6): This.
5191         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
5192         on $(common-objpfx)soversions.mk.
5194 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
5196         [BZ #10014]
5197         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
5198         example host name.
5200 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
5202         * malloc/arena.c (arena_get_retry): New function that gets
5203         another arena for the caller to try its request on.
5204         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
5205         current arena cannot fulfill the request.
5206         (__libc_memalign): Likewise.
5207         (__libc_memalign): Likewise.
5208         (__libc_pvalloc): Likewise.
5209         (__libc_calloc): Likewise.
5211 2012-09-05  John Tobey  <john.tobey@gmail.com>
5213         [BZ #13542]
5214         * manual/arith.texi (Operations on Complex): Fix description
5215         of carg branch cut.
5217 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
5219         [BZ #10014]
5220         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
5221         host name.
5223         [BZ #10038]
5224         * manual/memory.texi (Memory): Make order of menu items match
5225         order of sections.
5227 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
5229         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
5230         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
5231         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
5233 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
5235         * csu/libc-tls.c (static_dtv): Renamed to ...
5236         (_dl_static_dtv): This.  Make it global.
5237         (_dl_initial_dtv): Removed.
5238         (__libc_setup_tls): Updated.
5239         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
5240         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
5241         DL_INITIAL_DTV.
5243 2012-09-06  Petr Machata  <pmachata@redhat.com>
5245         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
5246         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
5247         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
5248         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
5250 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
5252         [BZ #14545]
5253         * csu/libc-tls.c (_dl_initial_dtv): New variable.
5254         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
5255         freeing dtv[-1].
5257 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
5259         [BZ #14544]
5260         * Makeconfig (link-static-before-libc): Replace $(+prector)
5261         with $(+prectorT).
5262         (link-static-after-libc): Replace $(+postctor) with
5263         $(+postctorT).
5264         (link-bounded): Replace $(+prector)/$(+postctor) with
5265         $(+prectorT)/$(+postctorT).
5266         (+prectorT): New macro.
5267         (+postctorT): Likewise.
5269 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
5271         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
5272         (round_str): Handle values above the maximum for IBM long double
5273         as inexact.
5274         * stdlib/tst-strtod-round.c (tests): Regenerated.
5276 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5278         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
5279         assembler flag.
5280         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
5281         zarch_nohighgprs around the zarch optimized routines.
5282         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5283         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5284         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
5285         for zarch.
5287 2012-09-05  David S. Miller  <davem@davemloft.net>
5289         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5291         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
5292         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
5293         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
5294         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5295         entries.
5297 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
5299         * malloc/arena.c: Fold copyright years.
5300         * malloc/mcheck.c, malloc/memusage.c: Likewise.
5302 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
5304         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
5306 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
5308         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
5310 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
5312         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
5313         change internal state upon failure.
5315 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
5317         * malloc/mcheck.c (mcheck_check_all): Fix typo.
5318         * malloc/memusage.c (mmap): Likewise.
5319         (mmap64, mremap): Likewise.  Adjust name in comment.
5321 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5323         * libio/fileops.c: Fix typos in comments.
5324         * libio/oldfileops.c: Likewise.
5325         * libio/wfileops.c: Likewise.
5327 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5329         [BZ #1349]
5330         * malloc/Makefile (tests): Add tst-malloc-usable test case.
5331         (tst-malloc-usable-ENV): Set environment for test case.
5332         * malloc/hooks.c (malloc_check_get_size): New function to get
5333         requested size.
5334         * malloc/malloc.c (musable): Use malloc_check_get_size.
5335         * malloc/tst-malloc-usable.c: New test case.
5337 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
5339         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
5341 2012-09-05  Allan McRae  <allan@archlinux.org>
5343         [BZ #13966]
5344         * configure.in (CXX_SYSINCLUDES): Use compiler output to
5345         determine header location.
5346         * configure: Regenerated.
5348 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
5350         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
5351         float format.
5352         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
5353         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
5354         format.
5355         (test): Regenerate.
5357 2012-09-04  David S. Miller  <davem@davemloft.net>
5359         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
5360         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
5361         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
5363 2012-09-04  Florian Weimer  <fweimer@redhat.com>
5365         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
5366         failures.
5368         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
5370 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
5372         [BZ #9914]
5373         * libio/iogetdelim.c: Include <limits.h>.
5374         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
5375         + len + 1 would overflow.
5377 2012-09-03  Andreas Jaeger  <aj@suse.de>
5379         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5380         * sysdeps/i386/fpu/libm-test-ulps: Update.
5382 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5384         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5385         Add s_sinf-sse2, s_conf-sse2.
5387         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
5388         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
5389         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
5390         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
5392         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
5393         for using routine as __sinf_ia32.
5394         Use macro for function declaration and weak_alias.
5395         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
5396         for using routine as __cosf_ia32.
5397         Use macro for function declaration and weak_alias.
5399         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
5400         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
5402         * sysdeps/x86_64/fpu/s_sinf.S: New file.
5403         * sysdeps/x86_64/fpu/s_cosf.S: New file.
5404         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5406         * math/libm-test.inc (cos_test): Add more test cases.
5407         (sin_test): Likewise.
5408         (sincos_test): Likewise.
5410 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5412         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5413         (IFUNC_RESOLVE): Make pointers to the specialized implementations
5414         hidden.
5415         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5417 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
5419         [BZ #14538]
5420         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
5421         first element of the GOT.
5422         (elf_machine_load_address): Return the difference between
5423         the runtime address of _DYNAMIC and elf_machine_dynamic ().
5425 2012-09-01  Allan McRae  <allan@archlinux.org>
5427         [BZ #13412]
5428         * configure.in (AWK): Require gawk version 3.0 or later.
5429         * configure: Regenerated.
5431 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
5433         * sysdeps/unix/sysv/linux/kernel-features.h
5434         (__ASSUME_POSIX_CPU_TIMERS): Remove.
5435         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5436         [__NR_clock_getres]: Make code unconditional.
5437         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
5438         (clock_getcpuclockid): Remove code left unreachable by removal of
5439         conditionals.
5440         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
5441         code unconditional.
5442         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5443         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5444         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
5445         Make code unconditional.
5446         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5447         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5448         * sysdeps/unix/sysv/linux/clock_settime.c
5449         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
5450         conditional code.
5451         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
5452         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5454 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
5456         [BZ #14476]
5457         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
5458         scripts/test-installation.pl.
5460         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
5461         and $ld_so_version if it is set.
5463 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5465         [BZ #14516]
5466         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
5467         failure if reading from procfs failed.
5468         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
5470 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
5472         * sysdeps/unix/sysv/linux/kernel-features.h
5473         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
5474         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5475         Remove conditional code.
5476         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5477         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
5478         Remove conditional code.
5479         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5480         * sysdeps/unix/sysv/linux/i386/fxstat.c
5481         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5482         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5483         * sysdeps/unix/sysv/linux/i386/fxstatat.c
5484         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5485         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5486         * sysdeps/unix/sysv/linux/i386/lxstat.c
5487         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5488         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5489         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
5490         Remove conditional code.
5491         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5492         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5493         Remove conditional code.
5494         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5495         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
5496         <kernel-features.h>.
5497         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
5498         Remove.
5499         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
5500         Remove conditional code.
5501         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5502         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
5503         Remove conditional.
5505 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
5507         [BZ #5400]
5508         * NEWS: Add fixed bug number.
5510 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
5512         [BZ #14519]
5513         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
5514         underflowing exponent in case of negative sign.
5515         * stdlib/tst-strtod-round-data: Add more tests.
5516         * stdlib/tst-strtod-round.c (tests): Regenerated.
5518         [BZ #3479]
5519         * stdlib/strtod_l.c (NDIG): Remove.
5520         (HEXNDIG): Likewise.
5521         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
5522         smallest representable value.
5523         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
5524         lie within an exact representation of 1/2 ulp of the result.
5525         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
5526         unconditionally.
5527         (TENS_P9_IDX): Define unconditionally.
5528         (TENS_P9_SIZE): Likewise.
5529         (TENS_P10_IDX): Likewise.
5530         (TENS_P10_SIZE): Likewise.
5531         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
5532         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
5533         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
5534         entries for 10^2^13 and 10^2^14.
5535         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
5536         (TENS_P13_IDX): Define.
5537         (TENS_P13_SIZE): Likewise.
5538         (TENS_P14_IDX): Likewise.
5539         (TENS_P14_SIZE): Likewise.
5540         (_fpioconst_pow10): Change array size to
5541         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
5542         unconditional.
5543         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
5544         1024]: Add entries for 10^2^13 and 10^2^14.
5545         [LAST_POW10 > _LAST_POW10]: Remove #error.
5546         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
5547         (_fpioconst_pow10): Change array size to
5548         FPIOCONST_POW10_ARRAY_SIZE.
5549         * stdlib/gen-fpioconst.c: New file.
5550         * stdlib/gen-tst-strtod-round.c: Likewise.
5551         * stdlib/tst-strtod-round-data: Likewise.
5552         * stdlib/tst-strtod-round.c: Likewise.
5553         * stdlib/Makefile (tests): Add tst-strtod-round.
5555         [BZ #14459]
5556         * stdlib/strtod_l.c: Include <stdint.h>.
5557         (NDEBUG): Do not define.
5558         (round_and_return): Change EXPONENT parameter to type intmax_t.
5559         Rearrange calculations to avoid internal overflow possibilities.
5560         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
5561         Rearrange calculations to avoid internal overflow possibilities.
5562         Assert that number fits inside MPNSIZE limbs.
5563         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
5564         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
5565         calculations and add assertions to avoid internal overflow
5566         possibilities.  Add casts to avoid signed/unsigned operations.
5567         * stdlib/tst-strtod-overflow.c: New file.
5568         * stdlib/Makefile (tests): Add tst-strtod-overflow.
5570 2012-08-25  Marek Polacek  <polacek@redhat.com>
5572         * time/time.h: Fix some typos in comments.
5574 2012-08-23  Roland McGrath  <roland@hack.frob.com>
5576         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
5577         * posix/tst-rfc3484-2.c: Likewise.
5578         * posix/tst-rfc3484-3.c: Likewise.
5580 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
5582         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
5583         (EF_ARM_ABI_FLOAT_HARD): Likewise.
5585 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
5587         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
5588         #include of fxstatat64.c.
5590 2012-08-22  Roland McGrath  <roland@hack.frob.com>
5592         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
5593         * shadow/getspent_r.c: Likewise.
5594         * shadow/getspnam.c: Likewise.
5595         * shadow/getspnam_r.c: Likewise.
5596         * gshadow/getsgent.c: Likewise.
5597         * gshadow/getsgent_r.c: Likewise.
5598         * gshadow/getsgnam.c: Likewise.
5599         * gshadow/getsgnam_r.c: Likewise.
5600         * inet/getnetbyad.c: Likewise.
5601         * inet/getnetbyad_r.c: Likewise.
5602         * inet/getnetbynm.c: Likewise.
5603         * inet/getnetbynm_r.c: Likewise.
5604         * inet/getnetent.c: Likewise.
5605         * inet/getnetent_r.c: Likewise.
5606         * inet/getproto.c: Likewise.
5607         * inet/getproto_r.c: Likewise.
5608         * inet/getprtent.c: Likewise.
5609         * inet/getprtent_r.c: Likewise.
5610         * inet/getprtname.c: Likewise.
5611         * inet/getprtname_r.c: Likewise.
5612         * inet/getrpcbyname.c: Likewise.
5613         * inet/getrpcbyname_r.c: Likewise.
5614         * inet/getrpcbynumber.c: Likewise.
5615         * inet/getrpcbynumber_r.c: Likewise.
5616         * inet/getrpcent.c: Likewise.
5617         * inet/getrpcent_r.c: Likewise.
5618         * inet/getaliasent.c: Likewise.
5619         * inet/getaliasent_r.c: Likewise.
5620         * inet/getaliasname.c: Likewise.
5621         * inet/getaliasname_r.c: Likewise.
5622         * nscd/getgrgid_r.c: Likewise.
5623         * nscd/getgrnam_r.c: Likewise.
5624         * nscd/gethstbyad_r.c: Likewise.
5625         * nscd/gethstbynm3_r.c: Likewise.
5626         * nscd/getpwnam_r.c: Likewise.
5627         * nscd/getpwuid_r.c: Likewise.
5628         * nscd/getsrvbynm_r.c: Likewise.
5629         * nscd/getsrvbypt_r.c: Likewise.
5630         * nscd/gai.c: Likewise.
5632         * configure.in (build_nscd): New substituted variable, set
5633         by --disable-build-nscd and defaults to $use_nscd.
5634         * configure: Regenerated.
5635         * config.make.in (build-nscd): New substituted variable.
5636         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
5637         Change conditional to require [$(build-nscd) = yes] as well.
5638         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
5640         [BZ# 13696]
5641         * configure.in (use_nscd): New substituted variable, set by
5642         --disable-nscd.  If enabled, define USE_NSCD.
5643         * configure: Regenerated.
5644         * config.h.in: Add USE_NSCD.
5645         * config.make.in (use-nscd): New substituted variable.
5646         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
5647         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
5648         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
5649         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
5650         (CFLAGS-getgrnam_r.c): Likewise.
5651         (CFLAGS-initgroups.c): Likewise.
5652         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
5653         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
5654         Variables removed.
5655         * inet/getnetgrent_r.c
5656         (nscd_setnetgrent): New function, broken out of ...
5657         (setnetgrent): ... here.  Call it.
5658         (innetgr): Conditionalize nscd bits on [USE_NSCD].
5659         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
5660         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
5661         * nscd/Makefile (routines, aux): Move definitions after include of
5662         Makeconfig.  Conditionalize on [$(use-nscd) != no].
5663         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
5664         Conditionalize on [USE_NSCD].
5665         (is_nscd, nscd_init_cb): Likewise.
5666         (nss_load_library): Conditionalize init callback on [USE_NSCD].
5667         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
5668         * nss/nss_db/db-init.c: Likewise.
5669         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
5670         [USE_NSCD].
5671         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
5672         (make_request): Use it.
5673         (cache_valid_p): New function.
5674         (__check_pf): Use it.
5675         * NEWS: Add item for --disable-nscd.
5677 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
5679         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
5680         to support sed >= 4.2.1-20-ga9bf076.
5681         * configure: Regenerated.
5683 2012-08-22  Roland McGrath  <roland@hack.frob.com>
5685         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
5686         Conditionalize whole body on [IREL].
5688 2012-08-22  Jeff Law <law@redhat.com>
5690         [BZ #14505]
5691         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
5692         if the family is PF_UNSPEC.
5694 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
5696         * Makerules (lib-version): Rename from V.
5697         (install-lib-nosubdir): Change V to lib-version.
5699 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
5701         [BZ #14252]
5702         * powerpc32/power6/wcschr.c: New file.
5703         * powerpc32/power6/wcscpy.c: New file.
5704         * powerpc32/power6/wcsrchr.c: New file.
5705         * powerpc64/power6/wcschr.c: New file.
5706         * powerpc64/power6/wcscpy.c: New file.
5707         * powerpc64/power6/wcsrchr.c: New file.
5709 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
5711         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
5712         (two_way_short_needle): Use it.
5713         * string/strstr.c (AVAILABLE1_USES_J): Define.
5714         * string/strcasestr.c: Likewise.
5716         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
5717         array references.
5718         * string/strcasestr.c (TOLOWER): Make side-effect safe.
5720         [BZ #11607]
5721         * NEWS: Add an entry.
5722         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
5723         define their defaults.
5724         (two_way_short_needle): Detect end-of-string on-the-fly.
5725         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
5726         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
5727         * string/bug-strcasestr1.c: New test.
5728         * string/Makefile: Run it.
5730 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
5732         [BZ #11607]
5733         * string/str-two-way.h (two_way_short_needle): Optimize matching of
5734         the first character.
5736 2012-08-21  Roland McGrath  <roland@hack.frob.com>
5738         * csu/elf-init.c (__libc_csu_irel): Function removed.
5739         * csu/libc-start.c (apply_irel): New function.
5740         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
5742 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
5744         * sysdeps/unix/sysv/linux/kernel-features.h
5745         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
5746         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5747         <kernel-features.h>.
5748         [__NR_fadvise64_64]: Make code unconditional.
5749         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
5750         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5751         !__NR_fadvise64_64)]: Likewise.
5752         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5753         !__NR_fadvise64_64))]: Likewise.
5754         [__NR_fadvise64]: Make code unconditional.
5755         [!__NR_fadvise64]: Remove conditional code.
5756         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
5757         <kernel-features.h>.
5758         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5759         unconditional.
5760         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5761         conditional code.
5762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
5763         not include <kernel-features.h>.
5764         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5765         unconditional.
5766         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5767         conditional code.
5768         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
5769         include <kernel-features.h>.
5770         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5771         unconditional.
5772         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5773         conditional code.
5775 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
5777         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
5778         slight instruction rearrangements per scrollpipe analysis.
5779         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5781 2012-08-20  Roland McGrath  <roland@hack.frob.com>
5783         * manual/syslog.texi (syslog; vsyslog, closelog):
5784         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
5785         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
5787         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
5788         DSOCAPS to match condition on defining it.
5790 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
5792         * sysdeps/unix/sysv/linux/kernel-features.h
5793         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
5794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
5795         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5796         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
5798         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5799         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
5801         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5802         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5804         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
5805         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
5807         * sysdeps/unix/sysv/linux/kernel-features.h
5808         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
5809         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
5810         unconditional.
5811         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5812         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
5813         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5814         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5815         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
5816         Make code unconditional.
5817         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5818         (__mmap64) [!__NR_mmap2]: Likewise.
5819         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
5820         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5821         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5822         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
5823         [__NR_mmap2]: Make code unconditional.
5824         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5825         (__mmap64) [!__NR_mmap2]: Likewise.
5827 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5829         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
5831 2012-08-18  Andreas Jaeger  <aj@suse.de>
5833         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
5835 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
5837         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
5838         * include/unistd.h (__have_sock_cloexec): Likewise.
5839         (__have_pipe2): Likewise.
5840         (__have_dup3): Likewise.
5842 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
5844         [BZ #9685]
5845         * include/unistd.h (__have_pipe2): Change define into an extern int.
5846         (__have_dup3): Likewise.
5847         * socket/have_sock_cloexec.c: Include fcntl.h.
5848         (__have_pipe2): New variable.
5849         (__have_dup3): Likewise.
5851 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
5853         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
5855 2012-08-17  Marek Polacek  <polacek@redhat.com>
5857         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
5858         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
5860 2012-08-17  Roland McGrath  <roland@hack.frob.com>
5862         * configure.in: Add AC_SUBST for sysheaders.
5863         * configure: Regenerated.
5864         * config.make.in (sysheaders): New substituted variable.
5866         * sysdeps/unix/mkfifo.c: Moved ...
5867         * sysdeps/posix/mkfifo.c: ... here.
5868         * sysdeps/unix/mkfifoat.c: Moved ...
5869         * sysdeps/posix/mkfifoat.c: ... here.
5871         * sysdeps/unix/utime.c: Moved ...
5872         * sysdeps/posix/utime.c: ... here.
5874         * sysdeps/unix/time.c: Moved ...
5875         * sysdeps/posix/time.c: ... here.
5876         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
5877         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
5879         * sysdeps/unix/nice.c: Moved ...
5880         * sysdeps/posix/nice.c: ... here.
5882         * sysdeps/unix/alarm.c: Moved ...
5883         * sysdeps/posix/alarm.c: ... here.
5885         * intl/Makefile ($(codeset_mo)): Depend on the input file.
5887 2012-08-17  Jeff Law <law@redhat.com>
5889         * intl/Makefile (codeset_mo): New variable.
5890         ($(codeset_mo)): New target.
5891         (tst-codeset.out): Depend on that.  Remove explicit rule.
5892         (tst-gettext3.out, tst-gettext5.out): Likewise.
5893         (LOCPATH-ENV, tst-codeset-ENV): New variables.
5894         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
5895         * intl/tst-codeset.sh: Remove.
5896         * intl/tst-gettext3.sh: Likewise.
5897         * intl/tst-gettext5.sh: Likewise.
5899 2012-08-17  Roland McGrath  <roland@hack.frob.com>
5901         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
5902         * sysdeps/unix/syscalls.list: ... here.
5904         * sysdeps/posix/getaddrinfo.c
5905         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
5906         (gaiconf_init, gaiconf_reload): Use them.
5907         [!_STATBUF_ST_NSEC]
5908         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
5909         Define using time_t rather than struct timespec.
5911         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
5912         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
5913         Macros removed.
5914         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
5915         [!NO_THREADS].
5916         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
5917         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
5918         Likewise.
5920         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
5921         __libc_cleanup_push argument.
5923         * bits/param.h: New file.
5924         * misc/sys/param.h: New file.
5925         * include/sys/param.h: New file.
5926         * misc/Makefile (headers): Add bits/param.h.
5927         * sysdeps/generic/sys/param.h: File removed.
5928         * sysdeps/unix/sysv/linux/bits/param.h: New file.
5929         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
5930         * sysdeps/mach/hurd/bits/param.h: New file.
5931         * sysdeps/mach/hurd/sys/param.h: File removed.
5933         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
5934         last change.
5936         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
5937         [_IO_MTSAFE_IO].
5938         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
5939         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
5940         New macros.
5942         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
5943         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
5944         rather than -D_IO_MTSAFE_IO conditionally.
5945         * stdio-common/Makefile (CPPFLAGS): Likewise.
5946         * wcsmbs/Makefile (CPPFLAGS): Likewise.
5947         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
5948         Use $(libio-mtsafe).
5949         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
5950         of -D_IO_MTSAFE_IO.
5951         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
5952         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
5953         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
5954         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
5955         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
5956         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
5957         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
5958         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
5959         (CFLAGS-fread_u_chk.c): Likewise.
5960         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
5961         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
5962         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
5963         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
5964         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
5965         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
5966         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
5967         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
5968         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
5970         * libio/Makefile: Test [$(libc-reentrant) = yes]
5971         instead of [$(filter %REENTRANT, $(defines)) nonempty].
5973         * Makeconfig
5974         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
5975         * sysdeps/pthread/configure: File removed.
5976         * sysdeps/pthread/Makeconfig: New file.
5977         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
5978         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
5980 2012-08-16  Gary Benson  <gbenson@redhat.com>
5982         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
5983         unmapping the first object in a namespace.
5985 2012-08-16  Roland McGrath  <roland@hack.frob.com>
5987         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
5988         (__internal_setnetgrent): ... this.  Add internal_function to
5989         definition.  Add libc_hidden_def.
5990         (setnetgrent): Update caller.
5991         (internal_endnetgrent): Renamed to ...
5992         (__internal_endnetgrent): ... this.  Add internal_function to
5993         definition.  Add libc_hidden_def.
5994         (endnetgrent): Update caller.
5995         (internal_getnetgrent_r): Renamed to ...
5996         (__internal_getnetgrent_r): ... this.  Add internal_function to
5997         definition.  Add libc_hidden_def.
5998         (__getnetgrent_r): Update caller.
5999         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
6001 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
6003         * stdlib/longlong.h: Update from GCC.
6005 2012-08-16  Roland McGrath  <roland@hack.frob.com>
6007         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
6008         on _QL, which is set by umul_ppmm but never used.
6009         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
6010         variables, which are set by GMP macros but never used.
6011         * stdio-common/_itowa.c (_itowa): Likewise.
6012         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
6013         * stdlib/mod_1.c (mpn_mod_1): Likewise.
6015 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
6017         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
6018         struct La_sh_regs is not constant.
6019         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
6020         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
6021         and struct La_sparc64_regs are not constant.
6023 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
6025         * sysdeps/unix/sysv/linux/kernel-features.h
6026         (__ASSUME_POSIX_TIMERS): Remove.
6027         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6028         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6029         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
6030         Make code unconditional.
6031         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6032         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
6033         Make code unconditional.
6034         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6035         * sysdeps/unix/sysv/linux/clock_nanosleep.c
6036         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
6037         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6038         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
6039         Make code unconditional.
6040         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6041         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
6042         (__libc_missing_posix_timers): Remove.
6044 2012-08-15  Roland McGrath  <roland@hack.frob.com>
6046         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
6047         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
6049         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
6051         * elf/dl-sym.c: Include <stdlib.h>.
6053         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
6054         constants, which avoids warnings in 32-bit builds.
6056         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
6057         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
6059         * misc/lseek.c: File moved to ...
6060         * io/lseek.c: ... here.
6062         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
6064         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
6065         shifting LEN more than 31 bits at once.
6067 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6069         [BZ #14195]
6070         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
6071         segmentation fault for a case of two empty input strings.
6072         * string/test-strncasecmp.c (check1): Renamed to...
6073         (bz12205): ...this.
6074         (bz14195): Add new testcase for two empty input strings and N > 0.
6075         (test_main): Call new testcase, adapt for renamed function.
6077 2012-08-15  Andreas Jaeger  <aj@suse.de>
6079         [BZ #14090]
6080         * crypt/md5test2.c: New test, based on test supplied by Serge
6081         Belyshev <belyshev@depni.sinp.msu.ru>.
6082         * crypt/Makefile (xtests): Add md5test-giant..
6083         * crypt/Makefile ($(objpfx)md5test-giant): Add.
6085 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
6087         [BZ #14090]
6088         * crypt/md5.c (md5_process_block): Don't assume the buffer
6089         length is less than 2**32.
6090         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
6091         length is less than 2**64.
6093 2012-08-15  Roland McGrath  <roland@hack.frob.com>
6095         * string/str-two-way.h: Include <sys/param.h>.
6096         (MAX): Macro removed.
6098         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
6099         Move #define and #undef of memmove to just before and after
6100         including <string.h>.
6102         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
6103         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
6104         and after including <string.h>.  Move declarations of
6105         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
6106         to before #include "string/memmove.c".
6108         * include/dirent.h: Declare __getdirentries.
6110         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
6111         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
6113 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
6115         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
6116         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
6117         * sysdeps/i386/configure: Regenerated.
6118         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
6119         STABS_CURRENT_FILE, and STABS_FUN.
6120         (END): Remove call to STABS_FUN_END.
6121         (STABS_CURRENT_FILE1): Delete.
6122         (STABS_CURRENT_FILE): Likewise.
6123         (STABS_FUN): Likewise.
6124         (STABS_FUN_END): Likewise.
6125         (STABS_FUN2): Likewise.
6126         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
6127         * sysdeps/x86_64/configure: Regenerated.
6129 2012-08-14  Roland McGrath  <roland@hack.frob.com>
6131         * elf/dl-open.c: Include <atomic.h>.
6132         * elf/dl-lookup.c: Likewise.
6134 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
6136         * sysdeps/unix/sysv/linux/kernel-features.h
6137         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
6138         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
6139         unconditionally.
6140         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
6141         unconditionally.
6142         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
6143         condition on __ASSUME_CLONE_THREAD_FLAGS.
6145 2012-08-14  Andreas Jaeger  <aj@suse.de>
6147         * sysdeps/i386/fpu/libm-test-ulps: Update.
6149 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
6151         * include/atomic.h (atomic_exchange_and_add): Split into ...
6152         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
6153         New atomic macros.
6155 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
6157         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6159 2012-08-13  Jeff Law <law@redhat.com>
6161         * manual/stdio.texi (snprintf): Clarify handling of the trailing
6162         null byte in the output string.
6164 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
6166         * sysdeps/unix/sysv/linux/kernel-features.h
6167         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
6168         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
6169         (__ASSUME_ARG_MAX_STACK_BASED): Define.
6170         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6171         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
6172         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
6173         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
6175 2012-08-09  Jeff Law <law@redhat.com>
6177         [BZ #13939]
6178         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
6179         When avoid_arena is set, don't retry in the that arena.  Pick the
6180         next one, whatever it might be.
6181         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
6182         (arena_lock): Pass in new parameter to arena_get2.
6183         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
6184         arena_get2.
6185         (__libc_malloc): Unify retrying after main arena failure with
6186         __libc_memalign version.
6187         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
6189 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
6191         [BZ #14166]
6192         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
6193         to __redirect_strstr.
6194         (__strstr_sse42): Use typeof __redirect_strstr.
6195         (__strstr_ia32): Likewise.
6196         (__libc_strstr): New prototype.
6197         (strstr): Renamed to ...
6198         (__libc_strstr): This.
6199         (strstr): New strong alias of __libc_strstr.
6200         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6201         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
6202         __redirect_time.
6203         Include <time.h>.
6204         (__libc_time): New prototype.
6205         (time_ifunc): Replace time with __libc_time.
6206         (time): New strong alias and hidden definition of __libc_time.
6207         (__GI_time): Remove strong alias.
6208         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
6209         Include <stddef.h>.
6210         (memmove): Redefined to __redirect_memmove.
6211         (__memmove_sse2): Use typeof __redirect_memmove.
6212         (__memmove_ssse3): Likewise.
6213         (__memmove_ssse3_back): Likewise.
6214         (__libc_memmove): New prototype.
6215         (memmove): Renamed to ...
6216         (__libc_memmove): This.
6217         (memmove): New strong alias of __libc_memmove.
6219 2012-08-08  Mark Salter  <msalter@redhat.com>
6221         * elf/elf.h
6222         (R_MN10300_TLS_GD): Define.
6223         (R_MN10300_TLS_LD): Likewise.
6224         (R_MN10300_TLS_LDO): Likewise.
6225         (R_MN10300_TLS_GOTIE): Likewise.
6226         (R_MN10300_TLS_IE): Likewise.
6227         (R_MN10300_TLS_LE): Likewise.
6228         (R_MN10300_TLS_DTPMOD): Likewise.
6229         (R_MN10300_TLS_DTPOFF): Likewise.
6230         (R_MN10300_TLS_TPOFF): Likewise.
6231         (R_MN10300_SYM_DIFF): Likewise.
6232         (R_MN10300_ALIGN): Likewise.
6233         (R_MN10300_NUM): Update.
6235 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
6237         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
6238         Remove.
6240 2012-08-08  Roland McGrath  <roland@hack.frob.com>
6242         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
6244         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
6245         sysdeps/unix -> sysdeps/posix move.
6246         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6248 2012-08-07      Allan McRae     <allan@archlinux.org>
6250         [BZ #14303]
6251         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
6252         (SUNOS_CPP): Likewise.
6253         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
6254         not found.
6255         (open_input): Call CPP using execvp.
6257 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
6259         * sysdeps/unix/sysv/linux/kernel-features.h
6260         (__ASSUME_PROT_GROWSUPDOWN): Remove.
6261         (__ASSUME_NO_CLONE_DETACHED): Likewise.
6262         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6263         (__ASSUME_WAITID_SYSCALL): Likewise.
6264         * sysdeps/unix/sysv/linux/dl-execstack.c
6265         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
6266         code unconditional.
6267         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
6268         conditional code.
6269         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
6270         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
6271         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
6272         code.
6273         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
6274         unconditional.
6275         [__ASSUME_WAITID_SYSCALL]: Likewise.
6276         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
6278 2012-08-07  Roland McGrath  <roland@hack.frob.com>
6280         * sysdeps/unix/closedir.c: Renamed to ...
6281         * sysdeps/posix/closedir.c: ... here.
6282         * sysdeps/unix/dirfd.c: Renamed to ...
6283         * sysdeps/posix/dirfd.c: ... here.
6284         * sysdeps/unix/dirstream.h: Renamed to ...
6285         * sysdeps/posix/dirstream.h: ... here.
6286         * sysdeps/unix/fdopendir.c: Renamed to ...
6287         * sysdeps/posix/fdopendir.c: ... here.
6288         * sysdeps/unix/opendir.c: Renamed to ...
6289         * sysdeps/posix/opendir.c: ... here.
6290         * sysdeps/unix/readdir.c: Renamed to ...
6291         * sysdeps/posix/readdir.c: ... here.
6292         * sysdeps/unix/readdir_r.c: Renamed to ...
6293         * sysdeps/posix/readdir_r.c: ... here.
6294         * sysdeps/unix/rewinddir.c: Renamed to ...
6295         * sysdeps/posix/rewinddir.c: ... here.
6296         * sysdeps/unix/seekdir.c: Renamed to ...
6297         * sysdeps/posix/seekdir.c: ... here.
6298         * sysdeps/unix/telldir.c: Renamed to ...
6299         * sysdeps/posix/telldir.c: ... here.
6300         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
6301         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6302         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
6303         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
6305         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
6306         * bits/fcntl.h: ... here.
6308         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
6309         not 0.
6310         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
6311         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
6312         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
6313         (struct flock): Move l_start, l_len to the beginning.
6314         Use __pid_t for l_pid.
6315         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
6316         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
6317         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
6318         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
6319         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
6320         [__USE_LARGEFILE64] (struct flock64): New type.
6321         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
6323         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
6324         * bits/dirent.h: ... here.
6326         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
6327         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
6329 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
6331         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6332         Change from 2.6.0 to 2.6.16.
6333         * sysdeps/unix/sysv/linux/configure: Regenerated.
6334         * sysdeps/unix/sysv/linux/kernel-features.h
6335         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
6336         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
6337         version.
6338         (__ASSUME_UTIMES): Likewise.
6339         (__ASSUME_CLONE_STOPPED): Remove.
6340         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
6341         architectures, not kernel version.
6342         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
6343         (__ASSUME_NO_CLONE_DETACHED): Likewise.
6344         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6345         (__ASSUME_WAITID_SYSCALL): Likewise.
6346         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
6347         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
6348         * README: State 2.6.16 as minimum Linux kernel version.  Do not
6349         refer to older versions.
6351 2012-08-06  Roland McGrath  <roland@hack.frob.com>
6353         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
6354         Define alphasort64 as an alias.
6355         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
6356         Define versionsort64 as an alias.
6357         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
6358         Define scandir64 as an alias.
6359         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
6360         Define scandirat64 as an alias.
6361         * dirent/alphasort64.c (alphasort64):
6362         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
6363         * dirent/versionsort64.c: Likewise.
6364         * dirent/scandir64.c: Likewise.
6365         * dirent/scandirat64.c: Likewise.
6366         * sysdeps/wordsize-64/alphasort.c: File removed.
6367         * sysdeps/wordsize-64/alphasort64.c: File removed.
6368         * sysdeps/wordsize-64/scandir.c: File removed.
6369         * sysdeps/wordsize-64/scandir64.c: File removed.
6370         * sysdeps/wordsize-64/scandirat.c: File removed.
6371         * sysdeps/wordsize-64/scandirat64.c: File removed.
6372         * sysdeps/wordsize-64/versionsort.c: File removed.
6373         * sysdeps/wordsize-64/versionsort64.c: File removed.
6374         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
6375         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
6376         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
6377         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
6378         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
6379         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
6380         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
6381         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
6383         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
6384         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6385         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
6386         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6387         [defined __arch64__ || defined __sparcv9]
6388         (__INO_T_MATCHES_INO64_T): New macro.
6389         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6390         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
6391         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
6392         * sysdeps/unix/sysv/linux/bits/dirent.h
6393         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
6394         (_DIRENT_MATCHES_DIRENT64): New macro.
6396         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
6397         Define lockf64 as an alias.
6398         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
6399         Define fseeko64 as an alias.
6400         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
6401         Define ftello64 as an alias.
6402         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
6403         Define _IO_fgetpos64 and fgetpos64 as aliases.
6404         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
6405         Define _IO_fsetpos64 and fsetpos64 as aliases.
6406         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
6407         Conditionalize body on this.
6408         * libio/fseeko64.c: Likewise.
6409         * libio/ftello64.c: Likewise.
6410         * libio/iofgetpos64.c: Likewise.
6411         * libio/iofsetpos64.c: Likewise.
6412         * sysdeps/wordsize-64/lockf.c: File removed.
6413         * sysdeps/wordsize-64/lockf64.c: File removed.
6414         * sysdeps/wordsize-64/fseeko.c: File removed.
6415         * sysdeps/wordsize-64/fseeko64.c: File removed.
6416         * sysdeps/wordsize-64/ftello.c: File removed.
6417         * sysdeps/wordsize-64/ftello64.c: File removed.
6418         * sysdeps/wordsize-64/iofgetpos.c: File removed.
6419         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
6420         * sysdeps/wordsize-64/iofsetpos.c: File removed.
6421         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
6422         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
6423         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
6424         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
6425         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
6426         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
6427         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
6428         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
6429         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
6430         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
6431         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
6433         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6434         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6435         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
6436         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6437         [defined __arch64__ || defined __sparcv9]
6438         (__OFF_T_MATCHES_OFF64_T): New macro.
6439         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6440         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6441         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6442         (__OFF_T_MATCHES_OFF64_T): New macro.
6444 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
6446         * stdlib/secure-getenv.c (__secure_getenv): Replace
6447         GLIBC_2_16 with GLIBC_2_17.
6449 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
6451         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
6452         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6454 2012-08-03  David S. Miller  <davem@davemloft.net>
6456         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6458 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
6460         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
6461         Remove.
6462         (__ASSUME_CORRECT_SI_PID): Likewise.
6463         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
6464         (__ASSUME_TMPFS_NAME): Likewise.
6465         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
6466         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
6467         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
6468         (HAVE_AUX_SECURE): Make definition unconditional.
6469         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
6470         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
6472 2012-08-03  Roland McGrath  <roland@hack.frob.com>
6474         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
6475         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
6476         * sysdeps/mach/hurd/eloop-threshold.h: New file.
6477         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6478         __eloop_threshold instead of SYMLOOP_MAX.
6480         * sysdeps/generic/eloop-threshold.h: New file.
6481         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
6482         of MAXSYMLINKS.
6483         * elf/chroot_canon.c (chroot_canon): Likewise.
6485 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
6487         [BZ #13717]
6488         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6489         Change to 2.6.0 everywhere.
6490         * sysdeps/unix/sysv/linux/configure: Regenerated.
6491         * sysdeps/unix/sysv/linux/kernel-features.h
6492         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
6493         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
6494         kernel versions.
6495         (__ASSUME_POSIX_TIMERS): Define unconditionally.
6496         (__ASSUME_FUTEX_REQUEUE): Remove.
6497         (__ASSUME_STATFS64): Define unconditionally.
6498         (__ASSUME_AT_SECURE): Likewise.
6499         (__ASSUME_CORRECT_SI_PID): Likewise.
6500         (__ASSUME_TGKILL): Define without depending on kernel version for
6501         i386.
6502         (__ASSUME_UTIMES): Likewise.
6503         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
6504         kernel version.
6505         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
6506         (__ASSUME_TMPFS_NAME): Likewise.
6507         * README: Update reference to Linux kernel versions.
6509 2012-08-02  Marek Polacek  <polacek@redhat.com>
6511         [BZ# 14150]
6512         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
6513         libc_cv_asm_type_prefix with %.
6514         * configure: Regenerated.
6515         * include/libc-symbols.h: Remove comment about
6516         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6517         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
6518         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
6519         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
6520         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
6521         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6522         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
6523         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
6524         * elf/tst-unique2mod1.c: Likewise.
6525         * elf/tst-unique1mod2.c: Likewise.
6526         * elf/tst-unique1mod1.c: Likewise.
6527         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
6528         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
6529         Replace ASM_TYPE_DIRECTIVE with .type.
6530         * sysdeps/s390/s390-64/sysdep.h: Likewise.
6531         * sysdeps/i386/sysdep.h: Likewise.
6532         * sysdeps/x86_64/sysdep.h: Likewise.
6533         * sysdeps/sh/sysdep.h: Likewise.
6534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6535         Do not define ASM_TYPE_DIRECTIVE.
6536         * sysdeps/powerpc/sysdep.h: Likewise.
6537         * sysdeps/powerpc/powerpc32/sysdep.h:
6538         Replace ASM_TYPE_DIRECTIVE with .type.
6539         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6540         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6541         * sysdeps/i386/fpu/e_powf.S: Likewise.
6542         * sysdeps/i386/fpu/e_expl.S: Likewise.
6543         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6544         * sysdeps/i386/fpu/e_acosh.S: Likewise.
6545         * sysdeps/i386/fpu/e_pow.S: Likewise.
6546         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6547         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6548         * sysdeps/i386/fpu/s_expm1.S: Likewise.
6549         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6550         * sysdeps/i386/fpu/e_log2.S: Likewise.
6551         * sysdeps/i386/fpu/e_log2l.S: Likewise.
6552         * sysdeps/i386/fpu/e_scalb.S: Likewise.
6553         * sysdeps/i386/fpu/e_powl.S: Likewise.
6554         * sysdeps/i386/fpu/e_log10f.S: Likewise.
6555         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6556         * sysdeps/i386/fpu/e_logl.S: Likewise.
6557         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6558         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6559         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6560         * sysdeps/i386/fpu/e_log2f.S: Likewise.
6561         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6562         * sysdeps/i386/fpu/e_log.S: Likewise.
6563         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6564         * sysdeps/i386/fpu/e_logf.S: Likewise.
6565         * sysdeps/i386/fpu/e_log10l.S: Likewise.
6566         * sysdeps/i386/fpu/e_atanh.S: Likewise.
6567         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6568         * sysdeps/i386/fpu/e_log10.S: Likewise.
6569         * sysdeps/i386/fpu/s_frexp.S: Likewise.
6570         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6571         * sysdeps/i386/fpu/s_asinh.S: Likewise.
6572         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6573         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6574         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
6575         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6576         * sysdeps/i386/i686/strtok.S: Likewise.
6577         * sysdeps/i386/i386-mcount.S: Likewise.
6578         * sysdeps/i386/strtok.S: Likewise.
6579         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
6580         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6581         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6582         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6583         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6584         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6585         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6586         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6587         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6588         * sysdeps/x86_64/_mcount.S: Likewise.
6589         * sysdeps/x86_64/strtok.S: Likewise.
6590         * sysdeps/sh/_mcount.S: Likewise.
6592 2012-08-01  Roland McGrath  <roland@hack.frob.com>
6594         * libio/iofopen.c: Include <fcntl.h>.
6595         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
6596         (_IO_fopen64, fopen64): Define as aliases.
6597         * libio/iofopen64.c: Include <fcntl.h>.
6598         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
6599         Conditionalize body on this.
6600         * sysdeps/wordsize-64/iofopen.c: File removed.
6601         * sysdeps/wordsize-64/iofopen64.c: File removed.
6603 2012-08-01  Marek Polacek  <polacek@redhat.com>
6605         * libc/Makeconfig: Use elf in place of binfmt-subdir.
6606         Use dlfcn directly instead of a variable.
6607         (binfmt-subdir): Do not define.
6608         (dlfcn): Likewise.
6610 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
6612         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
6613         Remove all definitions.
6614         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
6615         <kernel-features.h>.
6616         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6617         (miss_F_GETOWN_EX): Remove all definitions.
6618         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
6619         macro definition.
6620         [!__ASSUME_FCNTL64]: Remove conditional code.
6621         [__ASSUME_FCNTL64]: Make code unconditional.
6622         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
6623         <kernel-features.h>.
6624         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6625         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
6626         (lockf64) [__NR_fcntl64]: Make code unconditional.
6627         (lockf64) [__ASSUME_FCNTL64]: Likewise.
6629         * sysdeps/unix/sysv/linux/kernel-features.h
6630         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
6631         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
6632         Make code unconditional.
6633         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6634         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
6636         [__NR_vfork]: Make code unconditional.
6637         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6638         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
6640         [__NR_vfork]: Make code unconditional.
6641         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6642         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6644 2012-08-01  Roland McGrath  <roland@hack.frob.com>
6646         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
6647         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
6649         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6650         Define mkstemp64 as an alias.
6651         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6652         Define mkstemps64 as an alias.
6653         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6654         Define mkostemp64 as an alias.
6655         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6656         Define mkostemps64 as an alias.
6657         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
6658         Conditionalize body on this.
6659         * misc/mkostemp64.c: Likewise.
6660         * misc/mkostemps64.c: Likewise.
6661         * misc/mkstemps64.c: Likewise.
6662         * sysdeps/wordsize-64/mkstemp64.c: File removed.
6663         * sysdeps/wordsize-64/mkostemp64.c: File removed.
6664         * sysdeps/wordsize-64/mkostemp.c: File removed.
6665         * sysdeps/wordsize-64/mkstemp.c: File removed.
6666         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
6667         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
6668         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
6669         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
6671         [BZ #14138]
6672         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
6673         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
6674         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
6675         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
6677         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
6678         compat_symbol macros from <shlib-compat.h> rather than the underlying
6679         default_symbol_version and symbol_version macros, so that DEFAULT
6680         lines in shlib-versions are respected.
6681         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
6683 2012-08-01  Florian Weimer  <fweimer@redhat.com>
6685         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
6686         Declare with warn_unused_result.
6687         (setgid, setregid, setegid, setresgid): Likewise.
6688         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
6689         Likewise.
6690         * WUR-REPORT: Remove set*id functions.
6692 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
6694         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
6696 2012-07-31  Roland McGrath  <roland@hack.frob.com>
6698         * include/sys/socket.h (__libc_accept, __libc_accept4):
6699         Add attribute_hidden.
6700         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
6702         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
6703         use of PTR_MANGLE.
6704         * inet/getnetgrent_r.c (setup): Likewise.
6706         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
6708 2012-07-31  David S. Miller  <davem@davemloft.net>
6710         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6712 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
6714         [BZ #13629]
6715         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
6716         value between 1.0 and 2.0 and smaller part has absolute value less
6717         than 1.0.
6718         * math/s_clog10.c (__clog10): Likewise.
6719         * math/s_clog10f.c (__clog10f): Likewise.
6720         * math/s_clog10l.c (__clog10l): Likewise.
6721         * math/s_clogf.c (__clogf): Likewise.
6722         * math/s_clogl.c (__clogl): Likewise.
6723         * math/libm-test.inc (clog_test): Add more tests.
6724         (clog10_test): Likewise.
6725         * sysdeps/i386/fpu/libm-test-ulps: Update.
6726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6728 2012-07-31  Florian Weimer  <fweimer@redhat.com>
6730         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
6731         Exit with zero in case no suitable GID is found, and write a
6732         message to standard error.
6734 2012-07-30  Roland McGrath  <roland@hack.frob.com>
6736         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
6737         rather than to 1.
6738         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
6739         (MAXPATHLEN): Removed.
6740         (NOGROUP, NODEV): New macros.
6741         (setbit, clrbit, isset, isclr): New macros.
6742         (howmany, roundup, powerof2): New macros.
6743         (DEV_BSIZE): New macro.
6745         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
6746         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
6748         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
6749         definition on [!__NO_LONG_DOUBLE_MATH].
6751         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
6752         PTR_MANGLE and PTR_DEMANGLE.
6754         * socket/accept4.c (accept4): Rename to __libc_accept4.
6755         Define accept4 as a weak alias.
6757         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
6758         on [_DIRENT_HAVE_D_TYPE].
6759         * io/ftw.c (ftw_dir): Likewise.
6761         * io/xmknod.c (__xmknod): Don't check PATH for being null.
6763         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
6765         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
6766         Use the BSD numbers rather than the arbitrary ones we had.
6767         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
6768         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
6769         (SIGXCPU, SIGXFSZ): New macros.
6770         (_NSIG): Now 32.
6772         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
6773         initializer on [_LIBC_REENTRANT].
6775         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
6776         definitions inside [_POSIX_MAPPED_FILES].
6778         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
6780         * dirent/opendir.c: Include <fcntl.h>.
6782         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
6783         (__libc_getspecific): Likewise.
6784         (__libc_key_create): Likewise.
6786         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
6787         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
6788         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
6789         (tmpfile64): Define as alias.
6790         * sysdeps/wordsize-64/tmpfile.c: File removed.
6791         * sysdeps/wordsize-64/tmpfile64.c: File removed.
6792         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
6793         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
6795         * stdio-common/vfscanf.c: Include <stdbool.h>.
6796         * nss/makedb.c: Likewise.
6797         * stdio-common/_i18n_number.h: Likewise.
6798         * argp/argp-help.c: Likewise.
6799         * posix/wordexp.c: Likewise.
6800         * sysdeps/posix/spawni.c: Likewise.
6801         * nss/nss_files/files-initgroups.c: Likewise.
6802         * stdio-common/reg-modifier.c: Include <stdlib.h>.
6803         * nss/nss_files/files-initgroups.c: Likewise.
6804         * nss/nss_db/db-netgrp.c: Likewise.
6805         * nss/nss_db/db-initgroups.c: Likewise.
6806         * io/fchmodat.c: Include <sys/stat.h>.
6808         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
6809         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
6811         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
6812         [HAVE_MMAP].
6814         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
6815         Add multiple inclusion protection.
6817 2012-07-27  David S. Miller  <davem@davemloft.net>
6819         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6821 2012-07-27  Gary Benson  <gbenson@redhat.com>
6823         [BZ #14298]
6824         * elf/rtld.c: Include <stap-probe.h>.
6825         (dl_main): Added static probes "init_start" and "init_complete".
6826         * elf/dl-load.c: Include <stap-probe.h>.
6827         (lose): Take new parameter "nsid".
6828         Added static probe "map_failed".
6829         (_dl_map_object_from_fd): Pass namespace id to lose.
6830         Added static probe "map_start".
6831         (open_verify): Pass namespace id to lose.
6832         * elf/dl-open.c: Include <stap-probe.h>.
6833         (dl_open_worker) Added static probes "map_complete", "reloc_start"
6834         and "reloc_complete".
6835         * elf/dl-close.c: Include <stap-probe.h>.
6836         (_dl_close_worker): Added static probes "unmap_start" and
6837         "unmap_complete".
6838         * elf/rtld-debugger-interface.txt: New file documenting the above.
6840 2012-07-26  Roland McGrath  <roland@hack.frob.com>
6842         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
6843         rather than a string variable.
6844         * sunrpc/rpc_main.c (h_output): Likewise.
6845         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
6847 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
6849         * inet/check_native.c: New file.
6851 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
6853         [BZ #13629]
6854         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
6855         if larger part has absolute value 1.0.
6856         * math/s_clog10.c (__clog10): Likewise.
6857         * math/s_clog10f.c (__clog10f): Likewise.
6858         * math/s_clog10l.c (__clog10l): Likewise.
6859         * math/s_clogf.c (__clogf): Likewise.
6860         * math/s_clogl.c (__clogl): Likewise.
6861         * math/libm-test.inc (clog_test): Add more tests.
6862         (clog10_test): Likewise.
6863         * sysdeps/i386/fpu/libm-test-ulps: Update.
6864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6866         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
6867         (pltexit): Likewise.
6868         (La_regs): Likewise.
6869         (La_retval): Likewise.
6870         (int_retval): Likewise.
6871         Update #error for removed macros to refer only to definitions in
6872         tst-audit.h.
6873         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
6874         macro.
6875         (pltexit): Likewise.
6876         (La_regs): Likewise.
6877         (La_retval): Likewise.
6878         (int_retval): Likewise.
6879         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
6880         macro.
6881         (pltexit): Likewise.
6882         (La_regs): Likewise.
6883         (La_retval): Likewise.
6884         (int_retval): Likewise.
6885         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
6886         macro.
6887         (pltexit): Likewise.
6888         (La_regs): Likewise.
6889         (La_retval): Likewise.
6890         (int_retval): Likewise.
6891         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
6892         macro.
6893         (pltexit): Likewise.
6894         (La_regs): Likewise.
6895         (La_retval): Likewise.
6896         (int_retval): Likewise.
6897         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
6898         macro.
6899         (pltexit): Likewise.
6900         (La_regs): Likewise.
6901         (La_retval): Likewise.
6902         (int_retval): Likewise.
6903         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
6904         macro.
6905         (pltexit): Likewise.
6906         (La_regs): Likewise.
6907         (La_retval): Likewise.
6908         (int_retval): Likewise.
6909         * sysdeps/generic/tst-audit.h: Update comment to refer only to
6910         macro definitions in tst-audit.h.
6911         * sysdeps/i386/tst-audit.h: New file.
6912         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
6913         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
6914         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
6915         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
6916         * sysdeps/sh/tst-audit.h: Likewise.
6917         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
6918         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
6919         * sysdeps/x86_64/tst-audit.h: Likewise.
6921 2012-07-26  Andreas Jaeger  <aj@suse.de>
6923         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
6924         ptrace.
6926         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
6927         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
6928         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
6929         PTRACE_O_MASK.
6930         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
6931         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
6932         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
6934         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
6935         value.
6937         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
6938         _sigsys.
6939         (si_call_addr, si_syscall, si_arch): Define new macro.
6940         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
6941         _sigsys.
6942         (si_call_addr, si_syscall, si_arch): Define new marcro.
6943         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
6944         _sigsys.
6945         (si_call_addr, si_syscall, si_arch): Define new macro.
6946         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
6947         _sigsys.
6948         (si_call_addr, si_syscall, si_arch): Define new macro.
6950 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
6952         [BZ #13717]
6953         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6954         Change to 2.4.21 where previously 2.4.1.
6955         * sysdeps/unix/sysv/linux/configure: Regenerated.
6956         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
6957         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
6958         Linux kernel version.
6959         (__ASSUME_STD_AUXV): Remove.
6960         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
6961         kernel version.
6962         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
6963         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
6964         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
6965         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
6966         (__ASSUME_NETLINK_SUPPORT): Likewise.
6967         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
6968         (__no_netlink_support): Remove conditional definition.
6969         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
6970         Remove.
6971         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6972         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
6973         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
6974         (if_nameindex_ioctl): Remove.
6975         (if_nameindex_netlink): Do not handle __no_netlink_support.
6976         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6977         code.
6978         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
6979         Remove conditional code.
6980         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6981         code.
6982         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
6983         unconditional.
6984         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6985         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
6986         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
6987         Remove.
6988         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
6989         [!__ASSUME_STD_AUXV]: Remove conditional code.
6990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
6991         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
6992         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
6993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
6994         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
6995         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6996         code.
6997         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6999         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
7000         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7001         conditional code.
7002         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7004         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7005         code.
7006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7007         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7008         conditional code.
7009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
7010         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7011         code unconditional.
7012         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7013         conditional code.
7014         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7015         unconditional.
7016         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7017         conditional code.
7018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7019         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7020         unconditional.
7021         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7022         conditional code.
7023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
7024         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7025         code unconditional.
7026         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7027         conditional code.
7028         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7029         unconditional.
7030         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7031         conditional code.
7032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
7033         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7034         code unconditional.
7035         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7036         conditional code.
7037         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7038         unconditional.
7039         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7040         conditional code.
7042 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
7044         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
7045         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
7046         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7047         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
7048         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
7049         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7050         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7051         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
7052         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
7053         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7054         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
7055         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7056         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
7057         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7058         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7059         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
7060         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
7061         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
7062         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
7063         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
7064         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
7065         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7066         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7068 2012-07-25  Florian Weimer  <fweimer@redhat.com>
7070         * Versions.def: Add GLIBC_2.17.
7071         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
7072         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
7073         Introduce __libc_secure_getenv.
7074         * stdlib/Versions (2.17): Add secure_getenv
7075         (GLIBC_PRIVATE): Add __libc_secure_getenv.
7076         * stdlib/secure-getenv.c: Rename __secure_getenv to
7077         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
7078         symbol __secure_getenv for GLIBC_2.0.
7079         * stdlib/tst-secure-getenv.c: New.
7080         * stdlib/Makefile (tests): Add testcase.
7081         * manual/startup.texi (Environment Access): Document
7082         secure_getenv.
7083         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
7084         __libc_secure_getenv.
7085         * inet/ruserpass.c (ruserpass): Likewise.
7086         * malloc/mtrace.c (mtrace): Likewise.
7087         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
7088         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
7089         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
7090         * sysdeps/posix/tempname.c: Likewise.  Evaluate
7091         HAVE_SECURE_GETENV.
7092         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
7093         __secure_getenv to __libc_secure_getenv.
7094         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
7095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7096         Likewise.
7097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7098         Likewise.
7099         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7100         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7101         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7102         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7103         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7104         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7105         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7107 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
7109         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
7110         (struct La_i86_retval): Likewise.
7111         (struct La_x86_64_regs): Likewise.
7112         (struct La_x86_64_retval): Likewise.
7113         (struct La_x32_regs): Likewise.
7114         (struct La_x32_retval): Likewise.
7115         (struct La_ppc32_regs): Likewise.
7116         (struct La_ppc32_retval): Likewise.
7117         (struct La_ppc64_regs): Likewise.
7118         (struct La_ppc64_retval): Likewise.
7119         (struct La_sh_regs): Likewise.
7120         (struct La_sh_retval): Likewise.
7121         (struct La_s390_32_regs): Likewise.
7122         (struct La_s390_32_retval): Likewise.
7123         (struct La_s390_64_regs): Likewise.
7124         (struct La_s390_64_retval): Likewise.
7125         (struct La_sparc32_regs): Likewise.
7126         (struct La_sparc32_retval): Likewise.
7127         (struct La_sparc64_regs): Likewise.
7128         (struct La_sparc64_retval): Likewise.
7129         (struct audit_ifaces): Remove architecture-specific pltenter and
7130         pltexit members.
7131         * sysdeps/i386/ldsodefs.h: New file.
7132         * sysdeps/powerpc/ldsodefs.h: Likewise.
7133         * sysdeps/s390/ldsodefs.h: Likewise.
7134         * sysdeps/sh/ldsodefs.h: Likewise.
7135         * sysdeps/sparc/ldsodefs.h: Likewise.
7136         * sysdeps/x86_64/ldsodefs.h: Likewise.
7138 2012-07-25  Marek Polacek  <polacek@redhat.com>
7140         [BZ #6808]
7141         * math/libm-test.inc (yn_test): Add another test.
7142         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
7143         to ERANGE when the result is +-Inf.
7144         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7145         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7146         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
7147         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
7149 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
7151         * conform/data/time.h-data (NULL): Use macro-constant.  Require
7152         equal to 0.
7153         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
7154         clock_t.
7155         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
7157 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
7159         * configure.in <sysdeps resolving>: Correct printing
7160         Implies_before.
7161         * configure: Regenerate.
7163 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
7165         * math/w_ilogb.c: Include <limits.h>.
7166         * math/w_ilogbl.c: Likewise.
7168 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
7170         * manual/lang.texi (__va_copy): Document primarily as ISO C99
7171         va_copy.  Document allowing for unavailable va_copy only as
7172         pre-C99 compatibility.
7173         * manual/string.texi (Copying and Concatenation): Use va_copy
7174         instead of __va_copy in concat example.
7176 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
7178         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
7179         (__sendto): Use create_address_port.  Initialize APORT and deallocate
7180         it if not null.
7182         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
7183         with O_NOLINK passed to __file_name_lookup.
7185         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
7186         with O_NOLINK passed to __file_name_lookup.
7188         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
7189         negative N or less than NGIDS.
7191         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
7192         type to string_t.  Set ERANGE as errno and return it if NAME is not big
7193         enough.  Use memcpy instead of strncpy.
7195 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
7197         * elf/Makefile (check-data): Remove.
7198         (localplt.data): New vpath directive.
7199         ($(objpfx)check-localplt.out): Use localplt.data from vpath
7200         instead of $(check-data).
7201         * scripts/data/localplt-generic.data: Move to ...
7202         * sysdeps/generic/localplt.data: ... here.
7203         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
7204         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
7205         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
7206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7207         ... here.
7208         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
7209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7210         ... here.
7211         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
7212         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
7213         ... here.
7214         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
7215         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7216         ... here.
7217         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
7218         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
7219         ... here.
7220         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
7221         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
7222         ... here.
7224 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7226         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
7227         PPC32 and PPC64 files.
7228         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
7229         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
7231 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7233         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
7234         __makecontext_ret to ...
7235         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
7236         ... here and call exit if uc_link is NULL.  New file.
7237         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
7238         __makecontext_ret.S.
7239         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
7240         __makecontext_ret to ...
7241         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
7242         ... here and call exit if uc_link is NULL.  New file.
7243         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
7244         __makecontext_ret.S.
7246 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7248         * elf/elf.h (R_390_IRELATIVE): New definition.
7249         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
7250         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
7251         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
7252         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7253         (elf_machine_lazy_rel): Likewise.
7254         * sysdeps/s390/dl-irel.h: New file.
7255         * sysdeps/s390/s390-64/memcpy.S: New asm code.
7256         * sysdeps/s390/s390-64/memset.S: New asm code.
7257         * sysdeps/s390/s390-64/memcmp.S: New asm code.
7258         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
7259         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
7260         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
7261         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
7262         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
7263         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
7264         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
7265         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
7266         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
7267         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
7268         * sysdeps/s390/s390-32/memcpy.S: New asm code.
7269         * sysdeps/s390/s390-32/memset.S: New asm code.
7270         * sysdeps/s390/s390-32/memcmp.S: New asm code.
7272 2012-07-17  Marek Polacek  <polacek@redhat.com>
7274         [BZ #14349]
7275         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
7276         * sysdeps/s390/s390-64/configure.in: Likewise.
7277         * sysdeps/sparc/configure.in: Likewise.
7278         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
7279         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
7280         * sysdeps/i386/configure.in: Likewise.
7281         * sysdeps/x86_64/configure.in: Likewise.
7282         * sysdeps/sh/configure.in: Likewise.
7283         * sysdeps/s390/s390-32/configure: Regenerated.
7284         * sysdeps/s390/s390-64/configure: Likewise.
7285         * sysdeps/x86_64/configure: Likewise.
7286         * sysdeps/sh/configure: Likewise.
7287         * sysdeps/powerpc/powerpc64/configure: Likewise.
7288         * sysdeps/powerpc/powerpc32/configure: Likewise.
7289         * sysdeps/sparc/configure: Likwise.
7290         * sysdeps/i386/configure: Likewise.
7292         * elf/dl-open.c: Comment fixes.
7294 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
7296         * Makefile [CXX] (check-data): Remove.
7297         [CXX] (c++-types.data): New vpath directive.
7298         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
7299         vpath.  Do not allow for C++ type data being missing.
7300         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
7301         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
7302         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
7303         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
7304         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
7305         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
7306         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
7307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7308         ... here.
7309         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
7310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7311         ... here.
7312         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
7313         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
7314         ... here.
7315         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
7316         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
7317         ... here.
7318         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
7319         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
7320         ... here.
7321         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
7322         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
7323         ... here.
7324         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
7325         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
7326         ... here.
7327         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
7328         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
7330         * elf/tls-macros.h (TLS_LE): Move architecture-specific
7331         definitions to architecture-specific files.
7332         (TLS_IE): Likewise.
7333         (TLS_LD): Likewise.
7334         (TLS_GD): Likewise.
7335         * sysdeps/i386/tls-macros.h: New file.
7336         * sysdeps/powerpc/tls-macros.h: Likewise.
7337         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7338         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7339         * sysdeps/sh/tls-macros.h: Likewise.
7340         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
7341         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
7342         * sysdeps/x86_64/tls-macros.h: Likewise.
7344 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
7346         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
7347         zero value for regular exit case.
7349         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7350         (__start_context): Preserve zero value for regular exit case.
7352 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
7353             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7355         * manual/setjmp.texi (setcontext): Clarify normal process
7356         termination when uc_link is the null pointer.
7357         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
7358         exit call.
7360 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
7362         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
7363         preprocessor.  Test for each exception mask separately.
7365 2012-07-16  Andreas Jaeger  <aj@suse.de>
7367         * po/ru.po: Update from translation team.
7369 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
7371         * conform/data/string.h-data (NULL): Use macro-constant.  Require
7372         equal to 0.
7373         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7374         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7375         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
7376         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
7377         [ISO || ISO99 || ISO11] (*_t): Do not allow.
7379 2012-07-13  Andreas Jaeger  <aj@suse.de>
7381         * po/fr.po: Update from translation team.
7383 2012-07-12  Marek Polacek  <polacek@redhat.com>
7385         [BZ #14173]
7386         * math/libm-test.inc (yn_test): Add test for BZ #14173.
7387         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
7388         loop condition.
7390 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
7392         [BZ #13717]
7393         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7394         Change to 2.4.1 where previously 2.4.0.
7395         * sysdeps/unix/sysv/linux/configure: Regenerated.
7396         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
7397         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
7398         version.
7399         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
7400         (__ASSUME_AT_CLKTCK): Remove.
7401         (__ASSUME_AT_PAGESIZE): Likewise.
7402         (__ASSUME_AT_XID): Likewise.
7403         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
7404         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
7405         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
7406         unconditionally.
7407         (HAVE_AUX_PAGESIZE): Likewise.
7408         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
7409         [__ASSUME_AT_CLKTCK]: Make code unconditional.
7410         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
7412 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
7414         [BZ #14307]
7415         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
7416         the temporary buffer used to invoke __gethostbyname2_r,
7417         __gethostbyaddr_r and gethostbyname4_r to make room for struct
7418         host_data / struct gaih_addrtuple.
7419         * resolv/nss_dns/dns-host.c (global scope): Move definition of
7420         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
7421         header file nss/nsswitch.h.
7422         * nss/nsswitch.h (global scope): Add definition of implementation
7423         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
7424         resolv/nss_dns/dns-host.c).
7426 2012-07-11  Andreas Jaeger  <aj@suse.de>
7428         * po/fr.po: Update from translation team.
7430         * po/sv.po: Update from translation team
7431         * po/fr.po: Another update from translation team.
7433 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7435         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
7436         for subnormals or multiply small sinh result by itself.
7437         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7438         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7440 2012-07-11  David S. Miller  <davem@davemloft.net>
7442         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7444 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
7446         [BZ #14347]
7447         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
7448         (INTERNAL_MARK): Shift it here.
7450 2012-07-10  Marek Polacek  <polacek@redhat.com>
7452         [BZ #14151]
7453         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
7454         libc_cv_asm_global_directive with .globl.
7455         * configure: Regenerated.
7456         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
7457         with .globl.
7458         * sysdeps/i386/configure: Regenerated.
7459         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
7460         with .globl.
7461         * sysdeps/x86_64/configure: Regenerated.
7462         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
7463         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
7464         * elf/tst-unique2mod2.c: Likewise.
7465         * elf/tst-unique2mod1.c: Likewise.
7466         * elf/tst-unique1mod2.c: Likewise.
7467         * elf/tst-unique1mod1.c: Likewise.
7468         * sysdeps/s390/s390-32/sysdep.h: Likewise.
7469         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7470         * sysdeps/s390/s390-64/sysdep.h: Likewise.
7471         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7472         * sysdeps/mach/sysdep.h: Likewise.
7473         * sysdeps/i386/sysdep.h: Likewise.
7474         * sysdeps/i386/i386-mcount.S: Likewise.
7475         * sysdeps/x86_64/_mcount.S: Likewise.
7476         * sysdeps/x86_64/sysdep.h: Likewise.
7477         * sysdeps/sh/_mcount.S: Likewise.
7478         * sysdeps/sh/sysdep.h: Likewise.
7479         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
7480         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
7481         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
7482         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7483         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
7484         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
7485         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
7486         * locale/localeinfo.h: Likewise.
7487         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
7488         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
7490 2012-07-09  Roland McGrath  <roland@hack.frob.com>
7492         [BZ #14336]
7493         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
7494         system".
7495         * manual/message.texi (The Uniforum approach): Likewise.
7496         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
7497         (glibc iconv Implementation): Likewise.
7499 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
7501         [BZ #14337]
7502         * math/s_clog.c (__clog): Avoid scaling a value down where that
7503         could result in underflow.
7504         * math/s_clog10.c (__clog10): Likewise.
7505         * math/s_clog10f.c (__clog10f): Likewise.
7506         * math/s_clog10l.c (__clog10l): Likewise.
7507         * math/s_clogf.c (__clogf): Likewise.
7508         * math/s_clogl.c (__clogl): Likewise.
7509         * math/libm-test.inc (clog_test): Add more tests.
7510         (clog10_test): Likewise.
7511         * sysdeps/i386/fpu/libm-test-ulps: Update.
7512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7514 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
7516         [BZ #14283]
7517         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
7518         by 7 not 8 to examine high bit of fractional part.
7520         [BZ #14042]
7521         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
7522         for call to __mcount_internal.
7523         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
7524         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
7525         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
7527 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
7529         [BZ #14154]
7530         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
7531         approximation for values within 0x1p-13f of an odd multiple of
7532         pi/4.
7533         * math/libm-test.inc (tan_test): Do not allow spurious underflow
7534         exception.  Add more tests.
7535         * sysdeps/i386/fpu/libm-test-ulps: Update.
7537         [BZ #6778]
7538         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
7539         inputs and return -1 for them.  Do not check for +Inf in case not
7540         reachable for +Inf.
7541         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7542         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
7543         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7544         and return -1 for them.  Do not check for +Inf in case not
7545         reachable for +Inf.
7546         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
7547         define.
7548         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7549         and return -1 for them.  Do not check for +Inf in case not
7550         reachable for +Inf.
7551         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
7552         spurious underflow.
7553         * sysdeps/i386/fpu/libm-test-ulps: Update.
7554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7556 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
7558         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
7560 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
7562         [BZ #14157]
7563         [BZ #14331]
7564         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
7565         could result in spurious underflow.  Scale down values above
7566         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
7567         * math/s_csqrtf.c (__csqrtf): Likewise.
7568         * math/s_csqrtl.c (__csqrtl): Likewise.
7569         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
7570         spurious underflow.
7571         * sysdeps/i386/fpu/libm-test-ulps: Update.
7572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7574 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
7576         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
7577         xopen-msg.sed.
7578         * catgets/xopen-msg.awk: New file.
7579         * catgets/xopen-msg.sed: Removed.
7581         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
7582         po2text.sed.
7583         * intl/po2test.awk: New file.
7584         * intl/po2test.sed: Removed.
7586 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
7588         [BZ #14328]
7589         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
7590         or multiply small sinh result by itself.
7591         * math/s_ctanf.c (__ctanf): Likewise.
7592         * math/s_ctanh.c (__ctanh): Likewise.
7593         * math/s_ctanhf.c (__ctanhf): Likewise.
7594         * math/s_ctanhl.c (__ctanhl): Likewise.
7595         * math/s_ctanl.c (__ctanl): Likewise.
7596         * math/libm-test.inc (ctan_test_tonearest): New function.
7597         (ctan_test_towardzero): Likewise.
7598         (ctan_test_downward): Likewise.
7599         (ctan_test_upward): Likewise.
7600         (ctanh_test_tonearest): Likewise.
7601         (ctanh_test_towardzero): Likewise.
7602         (ctanh_test_downward): Likewise.
7603         (ctanh_test_upward): Likewise.
7604         (main): Call these new functions.
7605         * sysdeps/i386/fpu/libm-test-ulps: Update.
7606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7608 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
7610         * .gitignore: Delete /ports entry.
7612 2012-07-03  Andreas Jaeger  <aj@suse.de>
7614         * po/bg.po: Update from translation team.
7615         * po/cs.po: Likewise.
7616         * po/de.po: Likewise.
7617         * po/hr.po: Likewise.
7618         * po/nl.pl: Likewise.
7619         * po/pl.po: Likewise.
7620         * po/vi.po: Likewise.
7622 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
7624         * Makeconfig [!+link] (+link-before-libc): New variable.
7625         [!+link] (+link-after-libc): Likewise.
7626         [!+link] (+link-tests): Likewise.
7627         [!+link] (+link): Define in terms of $(+link-before-libc) and
7628         $(+link-after-libc).
7629         [!+link-static] (+link-static-before-libc): New variable.
7630         [!+link-static] (+link-static-after-libc): Likewise.
7631         [!+link-static] (+link-static-tests): Likewise.
7632         [!+link-static] (+link-static): Define in terms of
7633         $(+link-static-before-libc) and $(+link-static-after-libc).
7634         [build-shared] (link-libc-before-gnulib): New variable.
7635         [build-shared] (link-libc-tests): Likewise.
7636         [build-shared] (link-libc): Define in terms of
7637         $(link-libc-before-gnulib).
7638         [!build-shared] (link-libc-tests): New variable.
7639         (link-libc-static-tests): New variable.
7640         [!gnulib] (gnulib-arch): New variable.
7641         [!gnulib] (gnulib-tests): Likewise.
7642         [!gnulib] (static-gnulib-arch): Likewise.
7643         [!gnulib] (static-gnulib-tests): Likewise.
7644         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
7645         Define with "=" instead of ":=".
7646         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
7647         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
7648         * Rules (binaries-all-notests): New variable.
7649         (binaries-all-tests): Likewise.
7650         (binaries-static-notests): Likewise.
7651         (binaries-static-tests): Likewise.
7652         (binaries-all): Define using $(binaries-all-notests) and
7653         $(binaries-all-tests).
7654         (binaries-static): Define using $(binaries-static-notests) and
7655         $(binaries-static-tests).
7656         (binaries-shared-tests): New variable.
7657         (binaries-shared-notests): Likewise.
7658         (binaries-shared): Remove variable.
7659         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
7660         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
7661         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
7662         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
7663         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
7664         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
7665         * elf/Makefile (sln-modules): New variable.
7666         (extra-objs): Add $(sln-modules:=.o).
7667         (ldconfig-modules): Add static-stubs.
7668         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
7669         * elf/static-stubs.c: New file.
7671         [BZ #14283]
7672         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
7673         by 7 not 8 to examine high bit of fractional part.  Use volatile
7674         variables when splitting into final array of floats if
7675         __FLT_EVAL_METHOD__ != 0.
7676         * math/libm-test.inc (cos_test): Add another test.
7677         (sin_test): Likewise.
7678         * sysdeps/i386/fpu/libm-test-ulps: Update.
7680         [BZ #14273]
7681         * math/libm-test.inc (cosh_test): Add more tests.
7683         * version.h (RELEASE): Set to "development".
7684         (VERSION): Set to "2.16.90".
7686 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
7688         * NEWS: Update copyright. Remove last-updated date.
7689         Mention math library bug fixes and timezone data changes.
7690         * README: Mention GNU/Hurd, x32, and HPPA support status.
7692 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
7694         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
7696 2012-06-27  Andreas Jaeger  <aj@suse.de>
7698         * manual/contrib.texi (Contributors): Add Samuel Thibault.
7700 2012-06-25  Andreas Jaeger  <aj@suse.de>
7702         * sysdeps/s390/fpu/libm-test-ulps: Update.
7704 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
7705             Thomas Schwinge  <thomas@codesourcery.com>
7707         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
7708         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
7709         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
7710         fanotify_mark.
7712 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
7714         * sysdeps/mach/start.c: Remove file.
7715         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
7716         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
7717         * sysdeps/sh/init-first.c: Likewise.
7719         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
7720         registers for frame unwinding purposes, add CFI directives.
7721         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7722         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
7723         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
7724         Likewise.
7726         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
7727         __fortify_fail returning.
7728         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7730         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
7731         sysdeps/sh/____longjmp_chk.S.
7732         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
7733         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
7734         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
7735         (gen-as-const-headers): Append sigaltstack-offsets.sym.
7737         * sysdeps/sh/abort-instr.h: New file.
7738         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
7739         process in case exit returns.
7741         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
7742         initialize the GOT register before use.
7744         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
7745         calculation of ARGC > 4.
7747         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
7748         meaningful names to some local labels.
7750 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
7751             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7753         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
7754         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
7755         (__arch_compare_and_exchange_val_16_acq): Likewise.
7756         (__arch_compare_and_exchange_val_32_acq): Likewise.
7757         (atomic_exchange_and_add): Fix gUSA sequence.
7758         (atomic_add): Likewise.
7759         (atomic_add_negative): Likewise.
7760         (atomic_add_zero): Likewise.
7761         (atomic_bit_test_set): Likewise.
7763 2012-06-22  Andreas Schwab  <schwab@redhat.com>
7765         [BZ #13579]
7766         * include/link.h (struct link_map): Add l_free_initfini.
7767         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
7768         l_initfini.
7769         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
7770         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
7771         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
7772         set.
7774 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
7776         * configure.in: Use AC_LANG_SOURCE.
7777         * configure: Regenerate.
7779 2012-06-22  Roland McGrath  <roland@hack.frob.com>
7781         * configure.in (libc_cv_localstatedir): New substituted variable.
7782         * configure: Regenerated.
7783         * config.make.in (localstatedir): New variable, substituted from
7784         libc_cv_localstatedir.
7785         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
7786         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
7787         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
7788         * sysdeps/gnu/configure: Regenerated.
7790 2012-06-21  Jeff Law  <law@redhat.com>
7792         [BZ #14277]
7793         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
7794         free.  Simplify list management for _LIBC case.
7796 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
7798         [BZ #14273]
7799         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7800         Clear sign bit of 64-bit integer value before comparing against
7801         overflow value.
7803         * sysdeps/mach/configure: Regenerated.
7805 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
7807         [BZ #14278]
7808         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
7810 2012-06-21  Jeff Law  <law@redhat.com>
7812         [BZ #13882]
7813         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
7814         uint16_t for elements in the "seen" array to avoid char overflows.
7815         * elf/dl-fini.c (_dl_sort_fini): Likewise.
7816         * elf/dl-open.c (dl_open_worker): Likewise.
7818 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
7820         * scripts/list-sources.sh: Scan PORTS for translations.
7821         * po/libc.pot: Regenerated.
7823 2012-06-21  Andreas Jaeger  <aj@suse.de>
7825         [BZ #12194]
7826         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
7827         warning.
7828         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
7829         * bits/byteswap-16.h (__bswap_16): Likewise.
7830         * bits/byteswap.h (__bswap_constant_16): Likewise.
7832 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
7834         [BZ #14117]
7835         * sysdeps/i386/fpu_control.h: Removed.
7836         * sysdeps/x86_64/fpu_control.h: Moved to ...
7837         * sysdeps/x86/fpu_control.h: Here.
7839         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
7840         (_FPU_SETCW): Likewise.
7842 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
7844         [BZ #14117]
7845         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
7846         * sysdeps/x86/fpu/bits/mathinline.h: This.
7847         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
7849         [BZ #14050]
7850         [BZ #14117]
7851         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
7852         functions if __x86_64__ is defined.
7854 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
7856         * string/endian.h: Add !__ASSEMBLER__ condition for including
7857         conversion interfaces.
7859 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
7861         [BZ #14241]
7862         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
7863         of ABS(x) in calculating zero to negative powers other than odd
7864         integers.
7865         * math/libm-test.inc (pow_test): Add more tests.
7867 2012-06-15  Andreas Jaeger  <aj@suse.de>
7869         * manual/contrib.texi (Contributors): Update entry of Liubov
7870         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
7871         Machado Filho.
7873 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
7875         * string/string.h: Add __wur to GNU version of strerror_r.
7877 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
7879         [BZ #14229]
7880         * string/Makefile (tests): Add tst-strtok_r.
7881         * string/tst-strtok_r.c: New file.
7882         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
7883         RAX_LP/RDX_LP on SAVE_PTR.
7885 2012-06-14  Roland McGrath  <roland@hack.frob.com>
7887         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
7889 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
7891         * libm_test.inc (csqrt_test): Allow more spurious underflow
7892         exceptions.
7893         (j0_test): Likewise.
7894         (j1_test): Likewise.
7895         (y0_test): Likewise.
7896         (y1_test): Likewise.
7898 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
7900         * po/Makefile (libc.pot): Use UTF-8 charset.
7902 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
7904         [BZ #14210]
7905         Suppress sign-conversion warning from FD_SET.
7906         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
7907         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
7908         not unsigned long int.
7909         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
7911 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
7913         [BZ #14050]
7914         [BZ #14117]
7915         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
7916         __extern_always_inline instead of __extern_inline.
7917         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
7918         (__signbit): Likewise.
7919         (__signbitl): Support C++ namespace.
7920         (lrintf): New inline function.
7921         (lrint): Likewise.
7922         (llrintf): Likewise.
7923         (llrint): Likewise.
7924         (fmaxf): Likewise.
7925         (fmax): Likewise.
7926         (fminf): Likewise.
7927         (fmin): Likewise.
7928         (rint): Likewise.
7929         (rintf): Likewise.
7930         (ceil): Likewise.
7931         (ceilf): Likewise.
7932         (floor): Likewise.
7933         (floorf): Likewise.
7934         (nearbyint): Likewise.
7935         (nearbyintf): Likewise.
7937 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
7939         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
7940         non-default versions.
7942 2012-06-11  Roland McGrath  <roland@hack.frob.com>
7944         [BZ #14218]
7945         * manual/argp.texi (Argp): Reword argp_parse description slightly.
7947 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
7949         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
7950         (FE_UPWARD, FE_DOWNWARD): Don't define.
7951         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
7952         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7954         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
7955         reading it.
7956         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7957         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7959 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7961         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7962         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
7963         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
7964         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
7966 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
7968         [BZ #14117]
7969         * sysdeps/i386/fpu/bits/fenv.h: Removed.
7970         * sysdeps/i386/fpu/Implies: New file.
7971         * sysdeps/x86_64/fpu/Implies: Likewise.
7972         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
7973         * sysdeps/x86/fpu/bits/fenv.h: This.
7975         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
7976         __SSE_MATH__.
7978 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
7980         [BZ #14134]
7981         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
7982         character 0xffff that matches the last element of the
7983         conversion table.
7985 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7987         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
7988         fmodl commit.
7990 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7992         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
7993         values higher than 25.6283.
7995 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7997         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
7998         subnormal exponent extraction and add some __builtin_expect.
7999         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
8000         Fix for subnormal mantissa calculation.
8002 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
8004         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
8005         cpu2 is -1 and errno is not ENOSYS.
8007 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
8009         [BZ #14117]
8010         * sysdeps/i386/i486/bits/string.h: Renamed to ...
8011         * sysdeps/x86/bits/string.h: This.
8012         * sysdeps/x86_64/bits/string.h: Removed.
8014         * sysdeps/i386/i486/bits/string.h: Define inline functions only
8015         if not compiling for x86-64, but compiling for >= i486.
8017         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
8018         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
8020         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
8021         New macro from Linux kernel 3.4.0.
8022         (FP_XSTATE_MAGIC2): Likewise.
8023         (FP_XSTATE_MAGIC2_SIZE): Likewise.
8024         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
8025         (struct _fpx_sw_bytes): New struct.
8026         (struct _xsave_hdr): Likewise.
8027         (struct _ymmh_state): Likewise.
8028         (struct _xstate): Likewise.
8030         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
8031         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
8032         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
8033         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
8034         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
8035         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
8037         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
8038         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
8039         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
8040         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
8041         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
8042         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
8044 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8046         [BZ #13743]
8047         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
8048         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
8049         (sysdep_headers): Include sys/platform/ppc.h.
8050         * sysdeps/powerpc/test-gettimebase.c: Test for
8051         __ppc_get_timebase() to catch future ISA opcode/insn changes.
8052         * manual/Makefile (appendices): Include platform.texi.
8053         * manual/contrib.texi (Contributors): Update @node pointers.
8054         * manual/maint.texi (Maintenance): Likewise.
8055         (Platform): New node.
8056         * manual/platform.texi: New file.  Document the new features.
8058 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8059             Jakub Jelinek  <jakub@redhat.com>
8061         [BZ #14188]
8062         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
8063         where __builtin_expect is unavailable.
8065 2012-06-03  David S. Miller  <davem@davemloft.net>
8067         * stdlib/longlong.h: Updated from GCC.
8069 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
8071         [BZ #14042]
8072         * sysdeps/powerpc/powerpc32/mcount.c: New file.
8073         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
8074         __mcount_internal.
8075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8076         (GLIBC_2.16): Likewise.
8078 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
8080         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
8082 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
8084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8085         (default-abi): New variable.
8086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
8087         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
8088         variable.
8089         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
8090         Likewise.
8091         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
8092         Likewise.
8093         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
8094         Likewise.
8096         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
8097         definition.  Document in comment.
8099 2012-06-01  David S. Miller  <davem@davemloft.net>
8101         * stdlib/longlong.h: Updated from GCC.
8103 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
8105         [BZ #14117]
8106         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
8107         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
8108         sys/debugreg.h sys/io.h here.
8109         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
8110         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
8111         sys/io.h.
8112         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
8113         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
8114         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
8115         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
8116         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
8117         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
8119         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
8120         Define only if __x86_64__ is defined.
8122 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
8124         [BZ #14048]
8125         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
8126         Use int64_t for variable i.
8127         * math/libm-test.inc (fmod_test): Add more tests.
8129         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
8130         z computation is not scheduled after fetestexcept.
8131         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
8132         Use math_force_eval instead of asm to ensure calculation scheduled
8133         before exception test.
8134         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
8135         Ensure a1 + u.d computation is not scheduled after fetestexcept.
8137 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
8139         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
8140         computation is not scheduled after fetestexcept.
8142 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
8144         [BZ #14117]
8145         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
8146         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
8148 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8150         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
8151         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8153 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
8155         [BZ #14117]
8156         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
8157         <bits/wordsize.h>.
8158         (__WCHAR_MIN): Support __WORDSIZE == 64.
8159         (__WCHAR_MAX): Likewise.
8161         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
8162         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
8164         [BZ #14183]
8165         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
8166         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
8168         [BZ #14117]
8169         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
8170         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
8172         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
8173         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
8175         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
8176         Defined to 1 if __x86_64__ isn't defined.
8177         (_STAT_VER_LINUX_OLD): New.
8178         (st_atime): Remove duplicate.
8179         (st_mtime): Likewise.
8180         (st_ctime): Likewise.
8182 2012-05-31  David S. Miller  <davem@davemloft.net>
8184         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
8185         entries.
8187 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
8189         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
8190         gen-libm-test.pl.
8192         [BZ #14132]
8193         * elf/dl-reloc.c: Include <_itoa.h>.
8194         (_dl_reloc_bad_type): Remove use of INTUSE.
8195         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
8196         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
8197         * stdio-common/psiginfo.c (psiginfo): Likewise.
8198         * stdio-common/psignal.c (psignal): Likewise.
8199         * string/strsignal.c (strsignal): Likewise.
8200         * include/signal.h (_sys_siglist): Declare hidden proto.
8201         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
8202         INTVARDEF with libc_hidden_data_def.
8203         * stdio-common/itoa-udigits.c: Likewise.
8204         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
8205         (_itoa_lower_digits_internal): Remove declaration.
8206         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
8207         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
8208         (_sys_sigabbrev_internal): Remove aliases.
8209         (_sys_siglist): Define hidden alias.
8211 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
8213         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8214         bits/sysctl.h.
8216 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
8218         [BZ #14117]
8219         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
8220         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
8222         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
8223         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
8224         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
8225         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
8226         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
8227         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
8229         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
8230         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
8231         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
8233         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
8234         with __addr.
8235         (insw): Likewise.
8236         (insl): Likewise.
8237         (outsb): Likewise.
8238         (outsw): Likewise.
8239         (outsl): Likewise.
8241         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
8242         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
8243         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
8245         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
8246         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
8247         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
8248         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
8249         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
8250         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
8252         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
8253         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
8255         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
8256         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
8258         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
8259         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
8260         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
8262         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
8263         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
8264         to ...
8265         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
8267         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
8268         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
8269         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
8271         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
8272         for x86-64.
8273         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
8275 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
8277         * math/math.h (M_El): Use two more decimal places.
8278         (M_LOG2El): Likewise.
8279         (M_LOG10El): Likewise.
8280         (M_LN2l): Likewise.
8281         (M_LN10l): Likewise.
8282         (M_PIl): Likewise.
8283         (M_PI_2l): Likewise.
8284         (M_PI_4l): Likewise.
8285         (M_1_PIl): Likewise.
8286         (M_2_PIl): Likewise.
8287         (M_2_SQRTPIl): Likewise.
8288         (M_SQRT2l): Likewise.
8289         (M_SQRT1_2l): Likewise.
8291 2012-05-31  David S. Miller  <davem@davemloft.net>
8293         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
8294         values between float registers.
8295         * sysdeps/sparc/sparc64/memset.S: Likewise.
8296         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8298 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
8300         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
8301         -D_FORTIFY_SOURCE=1.
8302         (CPPFLAGS-tst-longjmp_chk.c): Define.
8303         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
8304         (CPPFLAGS-tst-longjmp_chk2.c): Define.
8305         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
8306         CFLAGS-tst-wchar-h.c.
8308 2012-05-31  Marek Polacek  <polacek@redhat.com>
8310         [BZ #14132]
8311         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
8312         __endmntent_internal): Remove declaration.
8313         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
8314         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
8315         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
8317 2012-05-30  David S. Miller  <davem@davemloft.net>
8319         * sysdeps/sparc/sparc32/soft-fp/q_util.c
8320         (___Q_simulate_exceptions): Use real FP ops rather than writing
8321         into the %fsr.
8322         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
8323         Likewise.
8325 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
8327         [BZ #14117]
8328         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
8329         * sysdeps/x86/bits/xtitypes.h: This.
8331         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
8332         * sysdeps/x86/bits/wordsize.h: This.
8334         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
8335         * sysdeps/x86/bits/huge_vall.h: This.
8337         * sysdeps/i386/bits/select.h: Removed.
8338         * sysdeps/x86_64/bits/select.h: Renamed to ...
8339         * sysdeps/x86/bits/select.h: This.
8341         * sysdeps/i386/bits/setjmp.h: Removed.
8342         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
8343         * sysdeps/x86/bits/setjmp.h: This.
8345         * sysdeps/i386/bits/mathdef.h: Removed.
8346         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
8347         * sysdeps/x86/bits/mathdef.h: This.
8349 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
8351         [BZ #14132]
8352         * include/sys/socket.h (__connect_internal)
8353         (__libc_sa_len_internal): Remove declaration.
8354         (__connect, __libc_sa_len): Declare hidden_proto.
8355         (SA_LEN): Remove use of INTUSE.
8356         * socket/connect.c: Add libc_hidden_def.
8357         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
8358         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
8359         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
8360         alias.
8361         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8362         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8363         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
8364         of adding _internal alias.
8366 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
8368         [BZ #14117]
8369         * sysdeps/i386/bits/link.h: Removed.
8370         * sysdeps/i386/bits/linkmap.h: Likewise.
8371         * sysdeps/x86_64/bits/link.h: Renamed to ...
8372         * sysdeps/x86/bits/link.h: This.
8373         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
8374         * sysdeps/x86/bits/linkmap.h: This.
8376         * sysdeps/i386/bits/endian.h: Removed.
8377         * sysdeps/x86_64/bits/endian.h: Renamed to ...
8378         * sysdeps/x86/bits/endian.h: This.
8380         * sysdeps/i386/bits/byteswap.h: Removed.
8381         * sysdeps/i386/bits/byteswap-16.h: Likewise.
8382         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
8383         * sysdeps/x86/bits/byteswap.h: This.
8384         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
8385         * sysdeps/x86/bits/byteswap-16.h: This.
8386         * sysdeps/i386/Implies: Add x86.
8387         * sysdeps/x86_64/Implies: Likewise.
8389 2012-05-30  David S. Miller  <davem@davemloft.net>
8391         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
8392         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
8393         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8394         (FP_TRAPPING_EXCEPTIONS): Define.
8395         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8396         (FP_TRAPPING_EXCEPTIONS): Define.
8397         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
8398         subnormals only when inexact has been signalled or underflow
8399         exceptions are enabled.
8400         (_FP_PACK_CANONICAL): Likewise.
8402 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
8404         [BZ #14183]
8405         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
8406         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
8408 2012-05-30  Richard Henderson  <rth@twiddle.net>
8410         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
8411         with #ifndef NOT_IN_libc.
8413         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
8414         marked to avoid plt entry.
8416 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
8418         [BZ #14112]
8419         * Makeconfig (default-abi): New macro.
8420         (abi-includes): Likewise.
8421         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
8422         $(abi-$(default-abi)-lib-soname) for soname if defined.
8423         ($(common-objpfx)gnu/lib-names.stmp): Generate from
8424         abi-variants.
8425         * Makefile (installed-stubs): Likewise.
8426         * include/stubs-biarch.h: Removed.
8427         * scripts/lib-names.awk: Only handle one library at a time.
8428         * scripts/soversions.awk: Remove WORDSIZE support.
8429         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
8430         entries.
8431         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
8432         Removed.
8433         (syscall-list-default-condition): Likewise.
8434         (syscall-list-default-condition): Likewise.
8435         (syscall-list-includes): Likewise.
8436         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
8437         syscall-list-* with abi-*.  Handle undefined abi-variants.
8438         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
8439         * sysdeps/unix/sysv/linux/i386/Implies: New file.
8440         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
8441         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
8442         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
8443         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
8444         Removed.
8445         (syscall-list-32-options): Likewise.
8446         (syscall-list-32-condition): Likewise.
8447         (syscall-list-64-options): Likewise.
8448         (syscall-list-64-condition): Likewise.
8449         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
8450         macro.
8451         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
8452         Renamed to ...
8453         (abi-*): This.
8454         (abi-64-ld-soname): New macro.
8455         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
8456         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
8457         Renamed to ...
8458         (abi-*): This.
8459         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
8460         * sysdeps/x86_64/x32/shlib-versions: Likewise.
8462 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
8464         * sysdeps/unix/sysv/linux/kernel-features.h
8465         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
8466         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
8467         include <kernel-features.h>.
8468         [!__NR_ftruncate64]: Remove conditional code.
8469         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8470         [__NR_ftruncate64]: Make code unconditional.
8471         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8472         * sysdeps/unix/sysv/linux/truncate64.c: Do not
8473         include <kernel-features.h>.
8474         [!__NR_ftruncate64]: Remove conditional code.
8475         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8476         [__NR_ftruncate64]: Make code unconditional.
8477         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
8479         include <kernel-features.h>.
8480         [!__NR_ftruncate64]: Remove conditional code.
8481         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8482         [__NR_ftruncate64]: Make code unconditional.
8483         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8485         include <kernel-features.h>.
8486         [!__NR_ftruncate64]: Remove conditional code.
8487         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8488         [__NR_ftruncate64]: Make code unconditional.
8489         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8491         * configure.in (libc_cv_fpie): Weaken to a compile test using
8492         LIBC_TRY_CC_OPTION.
8493         * configure: Regenerated.
8495 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8497         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
8498         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
8499         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
8500         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8501         Refreshed.
8502         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
8503         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
8504         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
8505         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
8506         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
8507         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8508         Refreshed.
8510 2012-05-27  David S. Miller  <davem@davemloft.net>
8512         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
8513         (___Q_zero): New.
8514         (__Q_simulate_exceptions): Return void.  Change to simulate
8515         exceptions by writing into the %fsr.
8516         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
8517         (__Qp_handle_exceptions): Likewise.
8518         (numbers): Delete.
8519         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
8520         __Qp_handle_exceptions.
8521         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
8522         __Qp_handle_exceptions.
8523         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8524         as unused and give dummy FP_RND_NEAREST initializer.
8525         (FP_INHIBIT_RESULTS): Define.
8526         (___Q_simulate_exceptions): Update declaration.
8527         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
8528         formatting.
8529         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8530         as unused and give dummy FP_RND_NEAREST initializer.
8531         (__Qp_handle_exceptions): Update declaration.
8532         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
8533         formatting.
8535 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
8537         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
8538         the temporary FPU control word.
8539         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8540         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
8541         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8542         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8543         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8544         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8545         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8546         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8547         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8548         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8549         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8551 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8553         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
8554         fields.
8556 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
8558         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
8559         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
8560         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
8561         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
8562         Likewise.
8563         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
8564         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
8565         Likewise.
8567 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
8569         * po/h.po: Update from translation team.
8571 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
8573         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
8575         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
8576         handling of denormals.
8577         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8578         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8579         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8580         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8581         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8582         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
8583         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
8584         Likewise.
8586 2012-05-26  Marek Polacek  <polacek@redhat.com>
8588         [BZ #14152]
8589         * math/libm-test.inc (fma_test): Don't always expect underflow
8590         exception.
8592 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8594         [BZ #12416]
8595         * elf/tst-execstack.c: Include stackinfo.h.
8596         (do_test): Adjust test case to ensure that pthread_getattr_np
8597         behaviour remains the same after marking stack executable.
8599 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
8601         * sysdeps/unix/sysv/linux/kernel-features.h
8602         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
8603         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
8604         kernel-features.h.
8605         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8606         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8607         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
8608         kernel-features.h.
8609         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8610         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8612 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
8614         * configure.in: Define the default includes to being none.
8615         * configure: Regenerated.
8617 2012-05-25  Roland McGrath  <roland@hack.frob.com>
8619         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
8620         * sysdeps/x86_64/setjmp.S: Likewise.
8621         * sysdeps/i386/bsd-setjmp.S: Likewise.
8622         * sysdeps/i386/bsd-_setjmp.S: Likewise.
8623         * sysdeps/i386/setjmp.S: Likewise.
8624         * sysdeps/i386/__longjmp.S: Likewise.
8625         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8626         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
8628         * include/stap-probe.h: New file.
8629         * configure.in: Handle --enable-systemtap.
8630         * configure: Regenerated.
8631         * config.h.in (USE_STAP_PROBE): New #undef.
8632         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
8633         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
8634         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8636 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
8638         [BZ #13717]
8639         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8640         to 2.4.0 where earlier.
8641         * sysdeps/unix/sysv/linux/configure: Regenerated.
8642         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8643         <kernel-features.h>.
8644         [__ASSUME_32BITUIDS]: Make code unconditional.
8645         [!__ASSUME_32BITUIDS]: Remove conditional code.
8646         * sysdeps/unix/sysv/linux/i386/fchown.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/fchownat.c (fchownat)
8651         [__ASSUME_32BITUIDS]: Make code unconditional.
8652         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
8653         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
8654         <kernel-features.h>.
8655         [__ASSUME_32BITUIDS]: Make code unconditional.
8656         [!__ASSUME_32BITUIDS]: Remove conditional code.
8657         * sysdeps/unix/sysv/linux/i386/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
8694         <kernel-features.h>.
8695         [__NR_setresgid] (__setresgid): Do not declare.
8696         [__ASSUME_32BITUIDS]: Make code unconditional.
8697         [!__ASSUME_32BITUIDS]: Remove conditional code.
8698         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
8699         <kernel-features.h>.
8700         [__NR_setresuid] (__setresuid): Do not declare.
8701         [__ASSUME_32BITUIDS]: Make code unconditional.
8702         [!__ASSUME_32BITUIDS]: Remove conditional code.
8703         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
8704         <kernel-features.h>.
8705         [__ASSUME_32BITUIDS]: Make code unconditional.
8706         [!__ASSUME_32BITUIDS]: Remove conditional code.
8707         * sysdeps/unix/sysv/linux/i386/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
8744         (__ASSUME_SETRESUID_SYSCALL): Remove.
8745         (__ASSUME_SETRESGID_SYSCALL): Likewise.
8746         (__ASSUME_32BITUIDS): Likewise.
8747         (__ASSUME_LDT_WORKS): Likewise.
8748         (__ASSUME_O_DIRECTORY): Likewise.
8749         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
8750         architecture but not kernel version.
8751         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8752         (__ASSUME_MMAP2_SYSCALL): Likewise.
8753         (__ASSUME_STAT64_SYSCALL): Likewise.
8754         (__ASSUME_IPC64): Likewise.
8755         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
8756         <kernel-features.h>.
8757         [__ASSUME_32BITUIDS]: Make code unconditional.
8758         [!__ASSUME_32BITUIDS]: Remove conditional code.
8759         * sysdeps/unix/sysv/linux/opendir.c: Do not include
8760         <kernel-features.h>.
8761         [__ASSUME_O_DIRECTORY]: Make code unconditional.
8762         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
8763         132096]: Remove conditional code.
8764         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
8765         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8766         <kernel-features.h>.
8767         [__ASSUME_32BITUIDS]: Make code unconditional.
8768         [!__ASSUME_32BITUIDS]: Remove conditional code.
8769         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.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/setegid.c: Do not include
8774         <kernel-features.h>.
8775         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
8776         unconditional.
8777         (__setresgid): Do not declare.
8778         [__ASSUME_32BITUIDS]: Make code unconditional.
8779         [!__ASSUME_32BITUIDS]: Remove conditional code.
8780         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
8781         <kernel-features.h>.
8782         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
8783         unconditional.
8784         (__setresuid): Do not declare.
8785         [__ASSUME_32BITUIDS]: Make code unconditional.
8786         [!__ASSUME_32BITUIDS]: Remove conditional code.
8787         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8788         <kernel-features.h>.
8789         [__ASSUME_32BITUIDS]: Make code unconditional.
8790         [!__ASSUME_32BITUIDS]: Remove conditional code.
8791         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
8792         <kernel-features.h>.
8793         [__ASSUME_32BITUIDS]: Make code unconditional.
8794         [!__ASSUME_32BITUIDS]: Remove conditional code.
8796 2012-05-25  Richard Henderson  <rth@twiddle.net>
8798         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
8799         dl_hwcap to ifunc resolver.
8800         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
8801         elf_ifunc_invoke.
8802         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
8803         dl_hwcap to ifunc resolver.
8804         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
8806 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
8808         [BZ #14153]
8809         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
8810         for |x| <= 2**-26, not 2**-57.
8811         * math/libm-test.inc (acos_test): Do not allow spurious underflow
8812         exception.
8814 2012-05-24  Jeff Law  <law@redhat.com>
8816         * stdio-common/Makefile (tests): Add bug25.
8817         * stdio-common/bug25.c: New test.
8819 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
8821         [BZ #13576]
8822         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
8823         multiple of MALLOC_ALIGNMENT in size.
8824         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
8826 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
8828         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
8829         Require >= 256.
8830         (FILENAME_MAX): Use macro-int-constant.
8831         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
8832         (_IOFBF): Use macro-int-constant.
8833         (_IOLBF): Likewise.
8834         (_IONBF): Likewise.
8835         (SEEK_CUR): Likewise.
8836         (SEEK_END): Likewise.
8837         (SEEK_SET): Likewise.
8838         (TMP_MAX): Likewise.
8839         (EOF): Use macro-int-constant.  Require < 0.
8840         (NULL): Use macro-constant.  Require == 0.
8841         (stdin): Require type to be FILE *.
8842         (stdout): Likewise.
8843         (stderr): Likewise.
8844         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
8845         macro-int-constant.
8846         (EXIT_SUCCESS): Likewise.
8847         (NULL): Use macro-constant.  Require == 0.
8848         (RAND_MAX): Use macro-int-constant.
8849         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
8850         [C99-based standards] (strtof): Require function.
8851         [C99-based standards] (strtold): Likewise.
8852         [C99-based standards] (strtoll): Likewise.
8853         [C99-based standards] (strtoull): Likewise.
8854         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8855         [ISO || ISO99 || ISO11] (limits.h): Likewise.
8856         [ISO || ISO99 || ISO11] (math.h): Likewise.
8857         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
8858         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8859         [ISO || ISO99 || ISO11] (*_t): Do not allow.
8861 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
8863         [BZ #14132]
8864         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
8865         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
8866         * intl/dgettext.c (DCGETTEXT): Likewise.
8867         * intl/gettext.c (DCGETTEXT): Likewise.
8868         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
8869         * posix/regex_internal.h (gettext): Likewise.
8870         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
8871         Remove declaration.
8872         * include/argz.h (__argz_count_internal)
8873         (__argz_stringify_internal): Remove declaration.
8874         (__argz_count, __argz_stringify): Declare hidden proto.
8875         * intl/dcgettext.c: Remove use of INTDEF.
8876         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
8877         * string/argz-stringify.c: Likewise.
8878         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8879         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8880         Declare hidden proto.
8881         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8882         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8883         Declare hidden proto.
8884         * include/stdio.h (__asprintf_internal): Don't declare.
8885         (__asprintf): Don't define as macro.  Declare hidden proto.
8886         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
8887         (__fsetlocking): Declare hidden proto.
8888         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
8889         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
8890         hidden proto.
8891         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
8892         (_IO_setlinebuf): Remove use of INTUSE.
8893         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
8894         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
8895         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
8896         Remove declaration.
8897         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
8898         (_IO_do_flush): Remove use of INTUSE.
8899         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
8900         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
8901         (_IO_adjust_column, _IO_least_wmarker)
8902         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
8903         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
8904         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
8905         (_IO_default_doallocate, _IO_wdefault_doallocate)
8906         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
8907         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
8908         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
8909         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
8910         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
8911         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
8912         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
8913         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
8914         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
8915         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
8916         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
8917         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
8918         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
8919         proto.
8920         (_IO_flush_all_internal, _IO_adjust_column_internal)
8921         (_IO_default_uflow_internal, _IO_default_finish_internal)
8922         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
8923         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
8924         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
8925         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
8926         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
8927         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
8928         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
8929         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
8930         (_IO_file_close_internal, _IO_file_close_it_internal)
8931         (_IO_file_underflow_internal, _IO_file_overflow_internal)
8932         (_IO_file_init_internal, _IO_file_attach_internal)
8933         (_IO_file_fopen_internal, _IO_file_read_internal)
8934         (_IO_file_sync_internal, _IO_file_seek_internal)
8935         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
8936         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
8937         (_IO_str_underflow_internal, _IO_str_overflow_internal)
8938         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
8939         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
8940         (_IO_list_all_internal, _IO_link_in_internal)
8941         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
8942         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
8943         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
8944         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
8945         (_IO_do_write_internal, _IO_padn_internal)
8946         (_IO_getline_info_internal, _IO_getline_internal)
8947         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
8948         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
8949         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
8950         (_IO_vfscanf_internal, _IO_vfprintf_internal)
8951         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
8952         (_IO_init_internal, _IO_un_link_internal): Don't declare.
8953         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
8954         with libc_hidden_ver, remove use of INTUSE.
8955         * libio/genops.c: Likewise.
8956         * libio/freopen.c: Likewise.
8957         * libio/freopen64.c: Likewise.
8958         * libio/iofclose.c: Likewise.
8959         * libio/iofdopen.c: Likewise.
8960         * libio/iofflush.c: Likewise.
8961         * libio/iofflush_u.c: Likewise.
8962         * libio/iofgets.c: Likewise.
8963         * libio/iofgets_u.c: Likewise.
8964         * libio/iofopen.c: Likewise.
8965         * libio/iofopncook.c: Likewise.
8966         * libio/iofread.c: Likewise.
8967         * libio/iofread_u.c: Likewise.
8968         * libio/ioftell.c: Likewise.
8969         * libio/iofwrite.c: Likewise.
8970         * libio/iogetline.c: Likewise.
8971         * libio/iogets.c: Likewise.
8972         * libio/iogetwline.c: Likewise.
8973         * libio/iopadn.c: Likewise.
8974         * libio/iopopen.c: Likewise.
8975         * libio/ioseekoff.c: Likewise.
8976         * libio/ioseekpos.c: Likewise.
8977         * libio/iosetbuffer.c: Likewise.
8978         * libio/iosetvbuf.c: Likewise.
8979         * libio/ioungetc.c: Likewise.
8980         * libio/ioungetwc.c: Likewise.
8981         * libio/iovdprintf.c: Likewise.
8982         * libio/iovsprintf.c: Likewise.
8983         * libio/iovsscanf.c: Likewise.
8984         * libio/memstream.c: Likewise.
8985         * libio/obprintf.c: Likewise.
8986         * libio/oldfileops.c: Likewise.
8987         * libio/oldiofclose.c: Likewise.
8988         * libio/oldiofdopen.c: Likewise.
8989         * libio/oldiofopen.c: Likewise.
8990         * libio/oldiopopen.c: Likewise.
8991         * libio/oldstdfiles.c: Likewise.
8992         * libio/putc.c: Likewise.
8993         * libio/setbuf.c: Likewise.
8994         * libio/setlinebuf.c: Likewise.
8995         * libio/stdfiles.c: Likewise.
8996         * libio/strops.c: Likewise.
8997         * libio/vasprintf.c: Likewise.
8998         * libio/vscanf.c: Likewise.
8999         * libio/vsnprintf.c: Likewise.
9000         * libio/vswprintf.c: Likewise.
9001         * libio/wfiledoalloc.c: Likewise.
9002         * libio/wfileops.c: Likewise.
9003         * libio/wgenops.c: Likewise.
9004         * libio/wmemstream.c: Likewise.
9005         * libio/wstrops.c: Likewise.
9006         * libio/__fpurge.c: Likewise.
9007         * libio/__fsetlocking.c: Likewise.
9008         * assert/assert.c: Likewise.
9009         * debug/fgets_chk.c: Likewise.
9010         * debug/fgets_u_chk.c: Likewise.
9011         * debug/fread_chk.c: Likewise.
9012         * debug/fread_u_chk.c: Likewise.
9013         * debug/gets_chk.c: Likewise.
9014         * debug/obprintf_chk.c: Likewise.
9015         * debug/vasprintf_chk.c: Likewise.
9016         * debug/vdprintf_chk.c: Likewise.
9017         * debug/vsnprintf_chk.c: Likewise.
9018         * debug/vsprintf_chk.c: Likewise.
9019         * malloc/mtrace.c: Likewise.
9020         * misc/error.c: Likewise.
9021         * misc/syslog.c: Likewise.
9022         * stdio-common/asprintf.c: Likewise.
9023         * stdio-common/fxprintf.c: Likewise.
9024         * stdio-common/getw.c: Likewise.
9025         * stdio-common/isoc99_fscanf.c: Likewise.
9026         * stdio-common/isoc99_scanf.c: Likewise.
9027         * stdio-common/isoc99_vfscanf.c: Likewise.
9028         * stdio-common/isoc99_vscanf.c: Likewise.
9029         * stdio-common/isoc99_vsscanf.c: Likewise.
9030         * stdio-common/printf-prs.c: Likewise.
9031         * stdio-common/printf_fp.c: Likewise.
9032         * stdio-common/printf_fphex.c: Likewise.
9033         * stdio-common/printf_size.c: Likewise.
9034         * stdio-common/putw.c: Likewise.
9035         * stdio-common/scanf.c: Likewise.
9036         * stdio-common/sprintf.c: Likewise.
9037         * stdio-common/tmpfile.c: Likewise.
9038         * stdio-common/vfprintf.c: Likewise.
9039         * stdio-common/vfscanf.c: Likewise.
9040         * stdlib/strfmon_l.c: Likewise.
9041         * sunrpc/openchild.c: Likewise.
9042         * sunrpc/xdr_stdio.c: Likewise.
9043         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
9044         * sysdeps/mach/hurd/tmpfile.c: Likewise.
9046 2012-05-24  Roland McGrath  <roland@hack.frob.com>
9048         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9050         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
9051         in the third column, to generate for the shared library an IFUNC
9052         that uses _dl_vdso_vsym.
9053         * Makerules (COMPILE.c, compile-stdin.c): New variables.
9054         * Makeconfig (object-suffixes-noshared): New variable.
9056         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
9057         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
9058         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
9059         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
9061         [BZ #14132]
9062         * include/sys/time.h (__gettimeofday): Remove macro.
9063         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
9064         * time/gettimeofday.c (__gettimeofday): Remove #undef.
9065         Remove INTDEF.
9066         (__gettimeofday): Add libc_hidden_def.
9067         (gettimeofday): Add libc_hidden_weak.
9068         * sysdeps/mach/gettimeofday.c: Likewise.
9069         * sysdeps/posix/gettimeofday.c: Likewise.
9070         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
9071         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9072         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
9073         (__gettimeofday_internal): Remove strong_alias.
9074         (__gettimeofday): Add libc_hidden_def.
9075         (gettimeofday): Add libc_hidden_weak.
9076         * sysdeps/unix/syscalls.list (gettimeofday):
9077         Remove __gettimeofday_internal alias.
9079 2012-05-24  Daniel Jacobowitz  <drow@false.org>
9080             H.J. Lu  <hongjiu.lu@intel.com>
9082         [BZ #12495]
9083         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
9084         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
9085         (largebin_index_32_big): New.
9086         (largebin_index): Use it for 16-byte alignment.
9087         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
9088         correction with front_misalign.
9090 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
9092         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
9093         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9094         Likewise.
9095         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
9096         Likewise.
9097         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9098         Likewise.
9099         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
9100         Likewise.
9101         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
9102         Likewise.
9103         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
9104         Likewise.
9105         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
9106         Likewise.
9107         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
9108         Likewise.
9109         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
9110         Likewise.
9111         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
9112         Likewise.
9113         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9114         Likewise.
9115         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
9116         Likewise.
9118         * scripts/data/c++-types-x32-linux-gnu.data: New file.
9119         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
9121 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
9123         [BZ #10846]
9124         [BZ #14036]
9125         * math/libm-test.inc (exp_test): Add test from bug 14036.
9126         (pow_test): Add test from bug 10846.
9128         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
9129         and other flags.
9130         (special_function): Do not include flags in test name.
9131         (parse_args): Likewise.
9132         * sysdeps/i386/fpu/libm-test-ulps: Update.
9133         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9134         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9135         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9138         * math/gen-libm-test.pl (%beautify): Add entries for underflow
9139         exceptions.
9140         * math/libm-test.inc ("Philosophy"): Update comment about
9141         exception testing.
9142         (UNDERFLOW_EXCEPTION): New macro.
9143         (UNDERFLOW_EXCEPTION_OK): Likewise.
9144         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9145         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9146         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9147         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9148         (INVALID_EXCEPTION_OK): Update value.
9149         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9150         (OVERFLOW_EXCEPTION_OK): Likewise.
9151         (IGNORE_ZERO_INF_SIGN): Likewise.
9152         (test_exceptions): Handle underflow exceptions.
9153         (acos_test): Update for underflow exception expectations.
9154         (cexp_test): Likewise.
9155         (clog_test): Likewise.
9156         (clog10_test): Likewise.
9157         (csqrt_test): Likewise.
9158         (ctan_test): Likewise.
9159         (ctanh_test): Likewise.
9160         (exp_test): Likewise.
9161         (exp10_test): Likewise.
9162         (exp2_test): Likewise.
9163         (expm1_test): Likewise.
9164         (fma_test): Likewise.
9165         (j0_test): Likewise.
9166         (jn_test): Likewise.
9167         (nexttoward_test): Likewise.
9168         (pow_test): Likewise.
9169         (scalbn_test): Likewise.
9170         (scalbln_test): Likewise.
9171         (tan_test): Likewise.
9172         (y1_test): Likewise.
9173         * sysdeps/i386/fpu/libm-test-ulps: Update.
9174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9176 2012-05-23  David S. Miller  <davem@davemloft.net>
9178         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9179         (__libc_sigaction): Remove unused local variables.
9181 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
9183         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
9185 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
9187         mktime: avoid signed integer overflow
9188         * time/mktime.c (__mktime_internal): Do not mishandle the case
9189         where diff == INT_MIN.
9191         mktime: simplify computation of average
9192         * time/mktime.c (ranged_convert): Use new time_t_avg function
9193         instead of rolling our own (probably-slower) code.
9195         mktime: do not assume signed right shift propagates sign bit
9196         * time/mktime.c (isdst_differ): New static function.
9197         (__mktime_internal): No need to normalize tm_isdst now.
9198         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
9199         tm_isdst values.
9201         mktime: merge another wrapv change from gnulib
9202         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
9203         from some compilers.
9205         mktime: remove incorrect attempt at unusual arithmetics
9206         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
9207         The code didn't really work on such machines anyway.
9208         (TYPE_MINIMUM): Assume two's complement.
9209         (twos_complement_arithmetic): Verify that long_int and time_t
9210         are two's complement (or unsigned, in the latter case).
9212         mktime: check signed shifts on long_int and time_t, too
9213         * time/mktime.c (SHR): Check that shifts work as desired
9214         on the types long_int and time_t too, as SHR is used on
9215         such types.
9217         mktime: do not assume 'long' is wide enough
9218         * time/mktime.c (verify): Move decl up.
9219         (long_int): New type.
9220         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
9221         to remove assumption in the code that 'long' is wide enough to
9222         store year values.  This assumption is not true on x32 and on
9223         some non-glibc platforms.
9225         mktime: merge wrapv change from gnulib
9226         * time/mktime.c (WRAPV): New macro.
9227         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
9228         (guess_time_tm, __mktime_internal): Do not assume that signed
9229         integer overflow wraps around; modern compilers generate code
9230         where this assumption is no longer valid.
9232 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
9234         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9235         Replace "jmp L(pseudo_end)" with "ret".
9236         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
9237         Likewise.
9239 2012-05-23  Andreas Jaeger  <aj@suse.de>
9241         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
9242         * sysdeps/unix/sysv/linux/poll.c: Remove file.
9244 2012-05-23  Andreas Jaeger  <aj@suse.de>
9245             Maximilian Attems  <max@stro.at>
9247         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
9248         New macros.
9250 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
9252         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
9253         code so that pseudo_end is just ret and the stack pointer is
9254         correct also for static library in error case.
9256 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
9258         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
9259         move to syscalls.list.
9260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9265         * manual/install.texi (Running make install): Do not mention Linux
9266         kernel version for which pt_chown is not needed.
9267         (Linux): Do not mention problems with nscd with 2.0 kernels.
9268         * INSTALL: Regenerated.
9270 2012-05-23  Andreas Jaeger  <aj@suse.de>
9272         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
9273         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
9274         macro.
9275         * sysdeps/unix/sysv/linux/s390/bits/mman.h
9276         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9277         * sysdeps/unix/sysv/linux/sh/bits/mman.h
9278         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9279         * sysdeps/unix/sysv/linux/i386/bits/mman.h
9280         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9281         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
9282         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9283         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
9284         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9285         * sysdeps/unix/sysv/linux/bits/in.h
9286         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
9288 2012-05-22  Roland McGrath  <roland@hack.frob.com>
9290         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
9291         (PREPARE_VERSION): Just use assert instead, it will be elided
9292         under [NDEBUG] anyway.
9294 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
9296         * sysdeps/unix/sysv/linux/Makefile: Include
9297         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
9298         (sysdep_routines): Remove sysctl.
9299         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
9300         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
9301         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
9302         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
9303         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
9305 2012-05-22  Andreas Jaeger  <aj@suse.de>
9307         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
9308         that pseudo_end is just ret and the stack pointer is correct also
9309         for static library in error case.
9311 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
9313         [BZ #14122]
9314         * nss/nsswitch.c (defconfig_entries): New variable.
9315         (__nss_database_lookup): Don't leak defconfig entries.
9316         (nss_parse_service_list): Don't leak on error paths.
9317         (free_database_entries): New function.
9318         (free_defconfig): New function.
9319         (free_mem): Move common code to free_database_entries.
9321 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
9323         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
9324         Add arch_prctl.
9325         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
9327         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9328         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
9329         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
9330         New macro.
9331         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9332         (INTERNAL_SYSCALL_TYPES): Likewise.
9333         (LOAD_ARGS_TYPES_[1-6]): Likewise.
9334         (LOAD_REGS_TYPES_[1-6]): Likewise.
9335         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
9336         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
9338 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9340         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
9341         copysignl for GLIBC_2_0.
9342         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
9343         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
9344         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
9345         logbl for GLIBC_2_0.
9346         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9347         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9349 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
9351         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
9352         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
9354         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9355         Use "neg %eax".
9357         * time/mktime.c: Update copyright years.
9359 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
9361         mktime: merge comment-quoting-style change from gnulib
9362         * time/mktime.c: Quote 'like this' in comments.
9363         The GNU coding standards suggest that we no longer quote `like this',
9364         as "`" and "'" are typically rendered asymmetrically nowadays.
9365         The typical gnulib style is to quote 'like this' when quoting
9366         code, and "like this" when quoting English.
9368         * time/mktime.c (compile-command): Add "-I.".
9370         mktime: merge mktime-internal.h change from gnulib
9371         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
9373         mktime: merge time_r change from gnulib
9374         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
9376         mktime: merge DEBUG change from gnulib
9377         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
9378         case system <time.h> has a #define.
9380         mktime: merge <sys/types.h> change from gnulib
9381         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
9382         since <time.t> is now guaranteed to define time_t.
9384         mktime: merge HAVE_CONFIG_H change from gnulib
9385         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
9387 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
9389         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9390         Use "neg %eax".
9392         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
9393         __rlim_t cast.
9394         (struct rusage): Use anonymous union to pad each field to
9395         __syscall_slong_t.
9397 2012-05-21  David S. Miller  <davem@davemloft.net>
9399         * Makefules (o-iterator): Remove .s cases.
9400         (compile-command.s): Delete.
9401         (COMPILE.s): Delete.
9402         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
9404 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
9406         * configure.in (libc_cv_predef_stack_protector): Only consider
9407         "foobar" and "__stack_chk_fail" lines in libc_undefs.
9408         * configure: Regenerated.
9410 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
9412         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9413         New macro.  Use R*LP on int and pointer.
9414         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
9415         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
9416         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
9417         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
9419         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
9420         [__WORDSIZE_TIME64_COMPAT32] instead of
9421         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
9422         (struct utmp): Likewise.
9423         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
9424         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
9425         Renamed to ...
9426         (__WORDSIZE_TIME64_COMPAT32): This.
9427         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
9428         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
9429         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
9430         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
9431         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
9432         (__WORDSIZE_TIME64_COMPAT32): New macro.
9434 2012-05-21  Andreas Jaeger  <aj@suse.de>
9436         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
9437         only if [SHARED]. Add prototype for __wcschr_ia32.
9439 2012-05-21  Roland McGrath  <roland@hack.frob.com>
9441         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
9442         of %rbp unmolested in the jmp_buf while mangling the low bits.
9443         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
9444         unmolested high bits of %rbp while demangling the low bits.
9445         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9447 2012-05-21  Andreas Jaeger  <aj@suse.de>
9449         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
9450         * sunrpc/svc_simple.c: Use it for registerrpc.
9451         * sunrpc/xcrypt.c: Use it for passwd2des.
9453         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
9455 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
9457         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
9458         Don't define if [__SYSCALL_WORDSIZE != 32].
9459         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
9460         New macro.
9462 2012-05-21  Bruno Haible  <bruno@clisp.org>
9463             Andreas Jaeger  <aj@suse.de>
9465         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
9466         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
9467         inptr and inend for must_buffer_ch.
9468         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
9469         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
9470         * stdio-common/Makefile (tests): Remove bug15.
9471         (bug15-ENV): Remove macro.
9472         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
9473         anymore.
9475 2012-05-19  Andreas Jaeger  <aj@suse.de>
9476             Roland McGrath  <roland@hack.frob.com>
9478         * manual/contrib.texi: Completely rewritten. It contains now an
9479         alphabetical list of contributors and their contributions.
9481 2012-05-21  Richard Henderson  <rth@twiddle.net>
9483         * misc/getauxval.c (__getauxval): Use unsigned long int.
9484         * misc/sys/auxv.h: Include <sys/cdefs.h>.
9485         (getauxval): Use unsigned long int.
9487 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
9489         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9491 2012-05-21  Roland McGrath  <roland@hack.frob.com>
9493         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
9494         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
9495         __alignof__ (long double).
9497 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9499         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9501 2012-05-20  Richard Henderson  <rth@twiddle.net>
9503         * misc/getauxval.c: New file.
9504         * misc/sys/auxv.h: New file.
9505         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
9506         (routines): Add getauxval.
9507         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
9508         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
9509         * elf/dl-sysdep.c (_dl_auxv): Remove.
9510         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
9511         * elf/dl-support.c (_dl_auxv): New variable.
9512         (_dl_aux_init): Initialize it.
9513         * manual/startup.texi (Auxiliary Vector): New node.
9514         * sysdeps/generic/bits/hwcap.h: New file.
9515         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
9516         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
9517         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
9518         * sysdeps/sparc/sysdep.h: ... here.  Include it.
9519         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
9520         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
9521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9522         Update.
9523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
9524         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
9525         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
9526         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
9527         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9528         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9529         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
9530         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
9532 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9534         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9536 2012-05-19  David S. Miller  <davem@davemloft.net>
9538         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9540 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
9542         [BZ #14123]
9543         * math/s_ccosh.c: Include <float.h>
9544         (__ccosh): Avoid internal overflow calculating sinh and cosh
9545         values before multiplying by sin and cos values.
9546         * math/s_ccoshf.c: Likewise.
9547         * math/s_ccoshl.c: Likewise.
9548         * math/s_csin.c: Likewise.
9549         * math/s_csinf.c: Likewise.
9550         * math/s_csinl.c: Likewise.
9551         * math/s_csinh.c: Likewise.
9552         * math/s_csinhf.c: Likewise.
9553         * math/s_csinhl.c: Likewise.
9554         * math/libm-test.inc (ccos_test): Add more tests.
9555         (ccosh_test): Likewise.
9556         (csin_test): Likewise.
9557         (csinh_test): Likewise.
9558         * sysdeps/i386/fpu/libm-test-ulps: Update.
9559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9561 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
9563         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
9564         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9566         * sysdeps/x86_64/x32/_itoa.h: Add comment.
9568 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
9570         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
9571         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
9572         * sysdeps/powerpc/soft-fp/Versions: Likewise.
9573         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
9574         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
9575         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
9576         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
9577         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
9578         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
9579         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
9580         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
9581         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
9582         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
9583         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
9584         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
9585         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
9586         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
9587         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
9588         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
9589         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
9590         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
9591         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
9592         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
9593         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
9594         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
9595         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
9596         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
9597         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
9598         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
9599         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
9600         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
9602 2012-05-18  Andreas Jaeger  <aj@suse.de>
9604         * csu/.gitignore: Delete.
9606 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
9608         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
9609         (timex): Use __syscall_slong_t.
9611 2012-05-18  Andreas Jaeger  <aj@suse.de>
9612             Carlos O'Donell  <carlos_odonell@mentor.com>
9614         * manual/install.texi (Configuring and compiling): Update
9615         description about files modified in the source directory.
9616         * INSTALL: Regenerated.
9618 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
9620         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
9621         value.  Use "or" to set return value to -1.
9622         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
9623         negate return value.
9625 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9627         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
9628         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
9629         failure if the compiler has Graphite support disabled.
9630         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
9631         Likewise.
9632         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
9633         CFLAGS-memmove.c): Likewise.
9634         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
9635         Likewise.
9637 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
9639         * sysdeps/x86_64/x32/_itoa.h: New file.
9641         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
9642         getdents system call only if kernel and user dirents have the
9643         same d_ino and d_off.
9645         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9646         LLONG_MAX != LONG_MAX.
9647         (_itoa_word): Use _ITOA_WORD_TYPE on value.
9648         (_fitoa_word): Likewise.
9650         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
9651         years.
9652         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
9653         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
9654         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
9656         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
9657         include <bits/wordsize.h>.  Check __x86_64__ instead of
9658         __WORDSIZE.
9659         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
9660         if __x86_64__ is defined.  Use anonymous union on fpstate.
9662         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
9663         anonymous union.
9665 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
9667         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9668         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
9669         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
9670         Refer to _rtld_local_ro instead of _rtld_global_ro.
9671         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
9672         Likewise.
9673         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
9674         Likewise.
9675         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
9676         Likewise.
9677         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
9678         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
9679         of _rtld_global, and rtld_progname instead of _dl_argv[0].
9681         * sysdeps/powerpc/powerpc32/dl-machine.c
9682         (__elf_machine_runtime_setup) [PROF]: Don't reference
9683         _dl_prof_resolve.
9685 2012-05-18  Andreas Jaeger  <aj@suse.de>
9687         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
9688         function only available for GCCs before 3.4 since GCC 3.4
9689         introduced a builtin.
9690         (lrint): Likewise.
9691         (llrintf): Likewise.
9692         (llrint): Likewise.
9693         (fmaxf): Likewise.
9694         (fmax): Likewise.
9695         (fminf): Likewise.
9696         (fmin): Likewise.
9697         (rint): Likewise.
9698         (rintf): Likewise.
9699         (nearbyint): Likewise.
9700         (nearbyintf): Likewise.
9701         (ceil): Likewise.
9702         (ceilf): Likewise.
9703         (floor): Likewise.
9704         (floorf): Likewise.
9706 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
9708         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
9709         on both fields and cast pointer to __syscall_ulong_t.
9711         * bits/types.h (__fsword_t): New type.
9712         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
9713         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
9714         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9715         (__FSWORD_T_TYPE): Likewise.
9716         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9717         (__FSWORD_T_TYPE): Likewise.
9718         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9719         (__FSWORD_T_TYPE): Likewise.
9720         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
9721         (__FSWORD_T_TYPE): Likewise.
9722         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
9723         __SWORD_TYPE with __fsword_t.
9724         (statfs64): Likewise.
9726 2012-05-17  David S. Miller  <davem@davemloft.net>
9728         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
9730 2012-05-17  Andreas Jaeger  <aj@suse.de>
9732         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
9733         warning.
9735 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
9737         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
9739 2012-05-17  Andreas Jaeger  <aj@suse.de>
9741         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
9742         when it is used.
9744 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
9746         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
9748 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
9750         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
9751         * sysdeps/x86_64/tst-mallocalign1.c: New file.
9753 2012-05-17  Andreas Jaeger  <aj@suse.de>
9754             Carlos O'Donell  <carlos_odonell@mentor.com>
9756         [BZ #14059]
9757         * sysdeps/x86_64/multiarch/init-arch.h
9758         (bit_YMM_Usable): Rename to...
9759         (bit_AVX_Usable): ... this.
9760         (bit_FMA4_Usable): New macro.
9761         (bit_XMM_state): New macro.
9762         (bit_YMM_state): New macro.
9763         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
9764         [__ASSEMBLER__] (index_AVX_Usable): ... this.
9765         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
9766         (CPUID_OSXSAVE): New macro.
9767         (CPUID_AVX): New macro.
9768         (CPUID_FMA4): New macro.
9769         (index_YMM_Usable): Rename to...
9770         (index_AVX_Usable): ... this.
9771         (HAS_AVX): Use HAS_ARCH_FEATURE.
9772         (HAS_FMA4): Likewise.
9773         (HAS_YMM_USABLE): Remove.
9774         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9775         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
9776         are present.
9777         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
9778         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
9779         * sysdeps/x86_64/multiarch/Makefile: Likewise.
9780         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
9781         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
9783 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
9785         * math/libm-test.c: Support platforms without multiple rounding modes.
9786         * math/bug-nextafter.c: Support platforms without FP exceptions.
9787         * math/bug-nexttoward.c: Likewise.
9788         * math/test-fenv.c: Likewise.
9789         * math/test-misc.c: Likewise.
9790         * stdlib/bug-getcontext.c: Likewise.
9792 2012-05-17  Andreas Jaeger  <aj@suse.de>
9794         * manual/examples/search.c (critter_cmp): Change signature to
9795         avoid warnings.
9796         * manual/string.texi (Collation Functions): Likewise.
9798 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9800         * bits/types.h: Fold copyright years.
9801         * bits/typesizes.h: Likewise.
9802         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
9803         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9804         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
9805         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
9806         * time/time.h: Likewise.
9808 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
9810         [BZ #208]
9811         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
9812         in instead of returning them.  Return void.
9813         (__libc_mallinfo): Accumulate over all arenas.
9814         (__malloc_stats): Adjust for change in int_mallinfo interface.
9816 2012-05-16  Roland McGrath  <roland@hack.frob.com>
9818         [BZ #10375]
9819         * configure.in (NM): Add AC_CHECK_TOOL for it.
9820         (libc_extra_cflags): New substituted variable.
9821         Check for -fstack-protector being used implicitly.
9822         * configure: Regenerated.
9823         * config.make.in (config-extra-cflags): New variable,
9824         gets @libc_extra_cflags@.
9825         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
9827         [BZ #10375]
9828         * configure.in: Check for _FORTIFY_SOURCE being predefined.
9829         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
9830         * configure: Regenerated.
9831         * config.make.in (CPPUNDEFS): New substituted variable.
9832         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
9833         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
9834         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
9836 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9838         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
9839         (mq_attr): Use __syscall_slong_t.
9841 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9843         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
9844         Check __x86_64__ instead of __WORDSIZE.
9845         (_STAT_VER_LINUX): Likewise.
9846         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
9847         __syscall_ulong_t and __syscall_slong_t.
9848         (stat64): Likewise.
9850 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9852         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
9854 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9856         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
9858 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9860         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
9861         __syscall_ulong_t.
9863         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
9864         include <bits/wordsize.h>.  Check __x86_64__ instead of
9865         __WORDSIZE.
9866         (greg_t): Use "__extension__ long long int" if __x86_64__ is
9867         defined.
9868         (mcontext_t): Replace "unsigned long" with "unsigned long long".
9870         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
9871         include <bits/wordsize.h>.  Check __x86_64__ instead of
9872         __WORDSIZE.
9873         (user_regs_struct): Use "__extension__ unsigned long long"
9874         instead of "unsigned long" if __x86_64__ is defined.
9875         (user): Likewise.  Pad after pointer field if __ILP32__ is
9876         defined.
9878 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
9880         * configure.in (makeinfo): Require version 4.5 or later.  Allow
9881         versions 5 to 9.
9882         * configure: Regenerated.
9883         * manual/install.texi (texinfo): Increase version requirement to
9884         4.5 or later.
9885         * INSTALL: Regenerated.
9887         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
9889 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9891         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
9893         * sysdeps/x86_64/x32/ffs.c: New file.
9895         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
9896         __syscall_ulong_t.
9897         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
9898         defined.  Use __syscall_ulong_t.
9899         (shminfo): Use __syscall_ulong_t.
9900         (shm_info): Likewise.
9902         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
9903         __syscall_ulong_t.
9905         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
9906         <bits/wordsize.h>.
9907         (msgqnum_t): Use __syscall_ulong_t.
9908         (msglen_t): Likewise.
9909         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
9910         __syscall_ulong_t.
9912         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
9913         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
9915         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
9917         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
9918         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
9920         * sysvipc/sys/msg.h (msgbuf): Replace long int with
9921         __syscall_slong_t.
9923         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
9924         include <bits/wordsize.h>.  Check __x86_64__ instead of
9925         __WORDSIZE.
9927         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
9928         "unsigned long long int" if __x86_64__ is defined.
9929         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
9931         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
9932         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
9933         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
9935         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
9936         <stdint.h>.
9937         (GET_PC): Cast to uintptr_t first.
9938         (GET_FRAME): Likewise.
9939         (GET_STACK): Likewise.
9941         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
9942         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
9943         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
9944         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
9945         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
9946         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
9947         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
9948         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
9949         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
9950         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
9951         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
9952         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
9953         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9954         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
9955         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
9956         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
9957         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
9958         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
9959         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
9960         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
9961         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
9962         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
9963         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
9964         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
9965         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
9966         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
9967         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
9968         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
9969         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
9971 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
9973         * Makerules (+depfiles): Also collect depfiles from .oS in
9974         $(extra-objs).
9975         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
9976         .oS, $(libnldbl-routines)).
9978         * Makerules (native-compile-mkdep-flags): Define.
9979         * sunrpc/Makefile (extra-objs): Add $(addprefix
9980         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
9981         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
9982         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
9983         calling $(make-target-directory).
9985 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9987         * bits/types.h (__snseconds_t): Removed.
9988         * time/time.h (struct timespec): Replace __snseconds_t with
9989         __syscall_slong_t.
9990         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
9991         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
9992         Likewise.
9993         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9994         (__SNSECONDS_T_TYPE): Likewise.
9995         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9996         (__SNSECONDS_T_TYPE): Likewise.
9997         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9998         (__SNSECONDS_T_TYPE): Likewise.
10000 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10002         * sysdeps/mach/hurd/bits/typesizes.h
10003         (__SYSCALL_SLONG_TYPE): New macro.
10004         (__SYSCALL_ULONG_TYPE): Likewise.
10006 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10008         * bits/types.h (__syscall_slong_t): New type.
10009         (__syscall_ulong_t): Likewise.
10011         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
10012         (__SYSCALL_ULONG_TYPE): Likewise.
10013         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10014         (__SYSCALL_SLONG_TYPE): Likewise.
10015         (__SYSCALL_ULONG_TYPE): Likewise.
10016         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10017         (__SYSCALL_SLONG_TYPE): Likewise.
10018         (__SYSCALL_ULONG_TYPE): Likewise.
10019         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10020         (__SYSCALL_SLONG_TYPE): Likewise.
10021         (__SYSCALL_ULONG_TYPE): Likewise.
10023 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10025         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
10026         Add sigaltstack-offsets.sym.
10027         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10028         <sigaltstack-offsets.h>.
10029         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
10030         longjmp_msg pointer.
10031         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
10032         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
10033         signal stack.
10034         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
10036 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
10038         * elf/stackguard-macros.h: Remove file.
10039         * sysdeps/generic/stackguard-macros.h: New file.
10040         * sysdeps/i386/stackguard-macros.h: Likewise.
10041         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10042         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10043         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10044         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10045         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10046         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10047         * sysdeps/x86_64/stackguard-macros.h: Likewise.
10048         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
10049         <elf/stackguard-macros.h>.
10051         [BZ #14109]
10052         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
10053         __aligned__ in attribute.
10054         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
10055         (gregset_t): Likewise.
10057 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10059         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
10060         * sysdeps/x86_64/64/Implies-after: Here.  New file.
10061         * sysdeps/x86_64/x32/Implies-after: New file.
10063 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10065         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
10066         and access return value for _dl_profile_fixup.  Use R10_LP to
10067         load frame size.
10069 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10071         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
10073 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10075         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
10076         * sysdeps/x86_64/x32/sysdep.h: New file.
10078 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10080         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
10081         * sysdeps/x86_64/setjmp.S: Likewise.
10083 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10085         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
10086         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
10087         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
10088         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
10089         remove unused global constant.
10091 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
10093         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
10094         include of <not-cancel.h>.
10096 2012-05-15  Roland McGrath  <roland@hack.frob.com>
10098         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
10100 2012-05-15  Jeff Law  <law@redhat.com>
10101             Andreas Jaeger  <aj@suse.de>
10103         [BZ #13594]
10104         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
10105         out from...
10106         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
10107         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
10108         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
10109         code changing __hst_map_handle.map.
10111 2012-05-15  Roland McGrath  <roland@hack.frob.com>
10113         * configure.in (sysnames): Look for Implies-before and Implies-after
10114         files.
10115         * configure: Regenerated.
10117 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10119         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
10120         8-byte data alignment with LP_SIZE alignment.
10122 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10124         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
10125         into R10_LP.
10127 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10129         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
10131 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10133         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
10134         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
10135         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
10136         Likewise.
10137         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10139 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10141         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
10142         (stackinfo_sub_sp): Likewise.
10144 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10146         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
10147         RAX_LP.
10149 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10151         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
10152         into R*_LP.
10154 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10156         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
10157         sizes into R*_LP.
10159 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10161         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
10163 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10165         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
10166         into R11_LP and load __x86_64_shared_cache_size_half into
10167         R8_LP.
10169 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10171         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
10172         R8_LP.
10174 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10176         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
10177         logb for POWER7.
10178         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
10179         logbf for POWER7.
10180         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
10181         logbl for POWER7.
10182         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
10183         powerpc32/power7/fpu/s_logb.c via #include.
10184         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
10185         powerpc32/power7/fpu/s_logbf.c via #include.
10186         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
10187         powerpc32/power7/fpu/s_logbl.c via #include.
10189 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
10191         * README.libm: Remove file.
10193 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10195         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
10196         count for x32.  Use R*_LP and omit operand-size suffix.
10198 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10200         * shlib-versions: Move x86_64-.*-linux.* entries to ...
10201         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
10202         * sysdeps/x86_64/x32/shlib-versions: New file.
10204 2012-05-14  Roland McGrath  <roland@hack.frob.com>
10206         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
10207         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
10208         Use _dl_fatal_printf instead.
10210 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
10212         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
10213         set if not set by the user.  Do not allow for being unset.
10214         * sysdeps/unix/sysv/linux/configure: Regenerated.
10216 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10218         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
10219         the `q' suffix from lea and replace .quad with ASM_ADDR.
10221 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10223         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
10224         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
10225         instead of $17.
10226         (PTR_DEMANGLE): Likewise.
10228 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10230         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
10231         (LP_OP): Likewise.
10232         (ASM_ADDR): Likewise.
10233         (RAX_LP): Likewise.
10234         (RBP_LP): Likewise.
10235         (RBX_LP): Likewise.
10236         (RCX_LP): Likewise.
10237         (RDI_LP): Likewise.
10238         (RSI_LP): Likewise.
10239         (RSP_LP): Likewise.
10240         (R8_LP): Likewise.
10241         (R9_LP): Likewise.
10242         (R10_LP): Likewise.
10243         (R10_LP): Likewise.
10244         (R11_LP): Likewise.
10245         (R12_LP): Likewise.
10246         (R13_LP): Likewise.
10247         (R14_LP): Likewise.
10248         (R15_LP): Likewise.
10250 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10252         * sysdeps/x86_64/x32/dl-machine.h: New file.
10254 2012-05-14  Andreas Jaeger  <aj@suse.de>
10256         * manual/Makefile (subdir): Remove export of subdir.
10257         (all): Remove target.
10258         (.PHONY): Remove all from list.
10259         (mkinstalldirs): Remove.
10260         (.PHONY): Remove installdirs from list.
10261         ($(inst_infodir)/libc.info): Use make-target-directory.
10262         (installdirs): Remove.
10263         (subdir_%): Remove.
10264         (glibc-targets): Remove.
10265         (lib): Remove.
10266         (stubs): Remove.
10267         ($(objpfx)stubs ../po/manual.pot): Remove.
10268         ($(objpfx)stamp%): Remove.
10269         (make-target-directory): Remove.
10270         (subdir_install): Remove.
10271         (routines): Remove.
10272         (aux): Remove.
10273         (sources): Remove.
10274         (objects): Remove.
10275         (headers): Remove.
10277         [BZ #13750]
10278         * manual/.gitignore: Remove, it's not needed anymore.
10279         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
10280         all files in it.
10281         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
10282         directory.
10283         (texis): Renamed to $(objpfx)texis.
10284         (texis-path): New, contains path to generated files.
10285         (chapters.%): Use texis-path for complete path, add extra argument
10286         libc-texinfo.sh.
10287         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
10288         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
10289         (summary,texi, stamp-summary): Use complete path of
10290         files. Generate files in build dir.
10291         (dir-add.texi): Build in build dir.
10292         (libm-err.texi,stamp-libm-err): Likewise.
10293         (version.texi, stamp-version): Likewise.
10294         (.%c.texi): Likewise.
10295         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
10296         (mostlyclean): Remove target.
10297         (realclean): Remove target.
10298         (generated): Add new variable with contents from mostlyclean and
10299         realclean, remove entries duplicated in common-mostlyclean, add
10300         stamp-libm-err and stamp-version.
10301         (generated-dirs): Add libc directory.
10302         ($(inst_infodir)/libc.info): Install files from build dir.
10304         * manual/install.texi (Configuring and compiling): Adjust since
10305         the info files are not part of the tar ball anymore.
10307 2012-05-14  Andreas Jaeger  <aj@suse.de>
10309         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
10310         variable.
10312 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
10314         [BZ #13717]
10315         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10316         to 2.2.0 where earlier.
10317         * sysdeps/unix/sysv/linux/configure: Regenerated.
10318         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
10319         Remove conditional code.
10320         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
10321         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
10322         Remove conditional code.
10323         [!__NR_lchown]: Likewise.
10324         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10325         [__NR_lchown]: Likewise.
10326         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
10327         comment referencing __ASSUME_LCHOWN_SYSCALL.
10328         * sysdeps/unix/sysv/linux/i386/sigaction.c
10329         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10330         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10331         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
10332         Remove conditional code.
10333         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
10334         (__protocol_available): Remove #if 0 code.
10335         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
10336         conditional code.
10337         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
10338         * sysdeps/unix/sysv/linux/kernel-features.h
10339         (__ASSUME_GETCWD_SYSCALL): Don't define.
10340         (__ASSUME_REALTIME_SIGNALS): Likewise.
10341         (__ASSUME_PREAD_SYSCALL): Likewise.
10342         (__ASSUME_PWRITE_SYSCALL): Likewise.
10343         (__ASSUME_POLL_SYSCALL): Likewise.
10344         (__ASSUME_LCHOWN_SYSCALL): Likewise.
10345         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
10346         non-SPARC.
10347         (__ASSUME_SIOCGIFNAME): Don't define.
10348         (__ASSUME_MSG_NOSIGNAL): Likewise.
10349         (__ASSUME_SENDFILE): Define unconditionally.
10350         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
10351         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
10352         conditional code.
10353         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
10354         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
10355         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10356         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10357         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
10358         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10359         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
10361         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10362         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10364         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10365         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
10367         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10368         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10370         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10371         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
10373         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10374         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
10376         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10377         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
10379         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10380         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
10382         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10383         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10384         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
10385         Remove conditional code.
10386         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10387         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10388         Remove conditional code.
10389         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10390         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
10391         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
10392         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10393         Remove conditional code.
10394         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10395         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
10396         Remove conditional code.
10397         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10398         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
10399         Remove conditional code.
10400         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10401         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10402         Remove conditional code.
10403         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10404         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10405         Remove conditional code.
10406         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10407         * sysdeps/unix/sysv/linux/sh/pwrite64.c
10408         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10409         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10410         * sysdeps/unix/sysv/linux/sigaction.c
10411         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10412         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10413         * sysdeps/unix/sysv/linux/sigpending.c
10414         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10415         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10416         * sysdeps/unix/sysv/linux/sigprocmask.c
10417         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10418         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10419         * sysdeps/unix/sysv/linux/sigsuspend.c
10420         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10421         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10422         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10423         (__libc_missing_rt_sigs): Remove.
10424         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
10425         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
10426         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
10427         Remove conditional code.
10428         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
10429         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
10430         return 1.
10431         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
10432         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
10433         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
10434         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
10436 2012-05-14  Andreas Jaeger  <aj@suse.de>
10438         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
10439         it's not used in glibc.
10440         (__coshm1): Likewise.
10441         (__acosh1p): Likewise.
10442         (__sgn): Likewise.
10444         * manual/string.texi (Copying and Concatenation): Add missing
10445         variable in concat example.
10446         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10448 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10450         [BZ #14103]
10451         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
10452         __builtin_clzl with __builtin_clzll.
10454 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10456         [BZ #14104]
10457         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
10458         libc_freeres_ptr.
10460 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10462         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
10463         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
10464         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
10465         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
10467 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
10469         * NEWS: Update ia64 info.
10471 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
10473         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
10474         used as bcopy.
10476 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
10478         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
10479         * sysdeps/unix/syscalls.list (dup3): Likewise.
10480         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
10481         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
10483 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
10485         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
10486         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
10488 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
10490         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
10491         thread pointer.
10492         (TLS_IE): Use mov/add instead of movq/addq to load thread
10493         pointer.
10494         (TLS_GD_PREFIX): New.
10495         (TLS_GD): Use it.
10497 2012-05-11  David S. Miller  <davem@davemloft.net>
10499         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
10500         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
10501         (_FPU_SETCW): Likewise.
10503 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
10505         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
10506         is 32-byte aligned.
10508 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
10510         [BZ #11837]
10511         * iconvdata/gb18030.c: Update tables.
10512         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
10513         characters specially.
10514         (BODY for TO_LOOP): Add encoding of missing ranges.
10516 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
10518         [BZ #13673]
10519         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
10520         * sysdeps/mach/hurd/dup3.c: Likewise.
10521         * sysdeps/mach/hurd/readlinkat.c: Likewise.
10522         * sysdeps/powerpc/memmove.c:: Likewise.
10524 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
10526         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
10527         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
10529 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
10531         * elf/elf.h (R_X86_64_RELATIVE64): New.
10532         (R_X86_64_NUM): Updated.
10533         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10534         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
10535         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
10536         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
10537         tst-quad1pie tst-quad2pie
10538         (modules-names): Add tst-quadmod1 tst-quadmod2.
10539         ($(objpfx)tst-quad1): New dependency.
10540         ($(objpfx)tst-quad2): Likewise.
10541         ($(objpfx)tst-quad1pie): Likewise.
10542         ($(objpfx)tst-quad2pie): Likewise.
10543         * sysdeps/x86_64/tst-quad1.c: New file.
10544         * sysdeps/x86_64/tst-quad1pie.c: New file.
10545         * sysdeps/x86_64/tst-quad2.c: Likewise.
10546         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
10547         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
10548         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
10549         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
10550         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
10552 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10554         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
10555         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
10556         * streams/stropts.h (t_scalar_t): Define type.
10558         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
10559         (_PATH_PRESERVE): Set to "/var/lib".
10560         (_PATH_RWHODIR): Set to "/var/spool/rwho".
10562         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
10563         instead of int.
10565         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
10566         if __dir_mkfile succeeded.
10568         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
10569         checking for _hurd_dtablesize.  Unlock it right after having
10570         finished _hurd_dtable allocation.
10572 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10574         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
10575         * sysdeps/mach/hurd/configure: Regenerated.
10576         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
10577         special-casing to...
10578         * sysdeps/gnu/configure.in: ... this new file.
10579         * sysdeps/unix/sysv/linux/configure: Regenerated.
10580         * sysdeps/gnu/configure: New generated file.
10582         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
10583         for Linux: use nsec instead of usec, as well as:
10584         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
10585         members of type struct timespec.
10586         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
10587         New macros.
10588         (struct stat64): Likewise.
10589         (_STATBUF_ST_NSEC): New macro.
10590         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
10592         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10593         __strtoul_internal rather than strtoul.
10595 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10597         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
10598         and reject them.
10600 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10602         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
10603         which preserves existing values.
10604         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
10606 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10608         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
10609         TIMEOUT values.  Return EINVAL for NFDS values either negative or
10610         greater than FD_SETSIZE.
10612 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10614         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
10615         allocated, call __vm_protect to finish enabling the existing space, and
10616         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
10617         allocate the remainder.
10619 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10621         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
10622         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
10624 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10626         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
10627         sysdeps/mach/hurd/readlink.c.
10629         * posix/tst-sysconf.c (posix_options): Only use
10630         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
10631         _POSIX_SYNCHRONIZED_IO when they are defined
10632         * sysdeps/mach/hurd/bits/posix_opt.h:
10633         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
10634         (_XOPEN_REALTIME): Undefine macro.
10635         (_XOPEN_REALTIME_THREADS): Undefine macro.
10636         (_XOPEN_SHM): Undefine macro.
10637         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
10638         macro to -1.
10639         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
10640         macro to -1.
10641         (_POSIX_ASYNC_IO): Undefine macro.
10642         (_POSIX_PRIORITIZED_IO): Undefine macro.
10643         (_POSIX_SPIN_LOCKS): Define macro to -1.
10645         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
10646         SA_NODEFER, SA_RESETHAND.
10647         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
10648         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
10649         F_DUPFD_CLOEXEC.
10651 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10653         * elf/Makefile (pldd-modules): Define unconditionally.
10655 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10657         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
10659 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10661         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
10662         Return ENOENT when name is empty.
10663         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
10665 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10667         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
10669         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
10671 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10673         Fix mlock in all cases except non-readable pages.
10674         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
10675         instead of VM_PROT_ALL as parameter to __vm_wire function.
10677         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
10678         (__mkdir): When path is `/', just fail with EEXIST.
10679         * sysdeps/mach/hurd/mkdirat.c: Likewise.
10681 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10683         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
10684         <sys/uio.h> (for writev).
10685         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
10686         and <sys/param.h> (for MIN).
10688 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10690         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
10691         REQUESTED_TIME.  Properly set the remaining time and return EINTR
10692         if interrupted.
10694 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10696         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
10697         Depend on against $(link-rpcuserlibs).
10699 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10701         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
10702         (__libc_stack_end): Do not use attribute_relro.
10703         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
10704         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
10705         to libthread-provided value.
10706         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
10707         attribute_relro.
10709 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10711         [BZ #3748]
10712         * bits/libc-lock.h (__libc_once_get): New macro.
10713         * sysdeps/mach/bits/libc-lock.h: Likewise.
10714         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
10715         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
10716         instead of using implementation details.
10718         * libio/fileops.c: Unconditionally include <kernel-features.h>.
10719         * libio/freopen.c: Likewise.
10720         * libio/freopen64.c: Likewise.
10721         * misc/syslog.c: Likewise.
10722         * nscd/connections.c: Likewise.
10723         * nscd/netgroupcache.c: Likewise.
10724         * sysdeps/posix/getcwd.c: Likewise.
10726 2012-05-10  Roland McGrath  <roland@hack.frob.com>
10728         * math/w_ilogbf.c: Add #include <limits.h>.
10730 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10732         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
10733         path instead of returning without unlocking.
10735         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
10736         immediate-write ioctls.
10737         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
10739 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10741         * sysdeps/mach/hurd/i386/init-first.c (init): Use
10742         __builtin_frame_address instead of making assumptions about the
10743         location of the return address relative to DATA.  Force early load of
10744         the return address.
10745         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
10746         __builtin_frame_address.
10748         dup3 for GNU Hurd.
10749         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
10750         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
10751         implement dup3 and do some further code clean-ups.
10752         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
10753         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
10755 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10757         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
10759         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
10760         HURD_CRITICAL_END around holding _hurd_dtable_lock.
10761         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
10762         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
10763         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
10764         d->port.lock.
10766         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
10767         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
10768         when handler == SIG_ERR, not when handler != SIG_ERR.
10770 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10772         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
10773         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
10774         definitions.
10776         accept4 for GNU Hurd.
10777         * include/sys/socket.h (__libc_accept4): New prototype.
10778         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
10779         to implement __libc_accept4.
10780         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
10781         __libc_accept4.
10782         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
10784         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
10785         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
10786         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
10787         signal-defines.sym.
10789 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10791         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
10793 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10795         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
10796         assertion on O_CLOEXEC flag.
10797         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
10798         * hurd/intern-fd.c: Likewise.
10799         * hurd/port2fd.c: Likewise.
10801 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10803         [BZ #3906]
10804         * bits/in.h (IPV6_PKTINFO): Define new macro.
10805         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
10807 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10809         [BZ #13954]
10810         [BZ #13955]
10811         [BZ #13956]
10812         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
10813         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10814         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
10815         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10816         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10817         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10818         * math/libm-test.inc (logb_test) : Additional logb tests.
10820 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
10821             Andreas Jaeger  <aj@suse.de>
10823         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
10824         * configure: Regenerated.
10825         * config.h.in (LINK_OBSOLETE_RPC): New macro.
10826         * config.make.in (link-obsolete-rpc): New substituted variable.
10827         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
10828         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
10829         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10830         (shared-only-routines): Don't set it under [link-obsolete-rpc],
10831         so that libc.a contains the symbols.
10832         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10833         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
10834         * sunrpc/auth_none.c: Likewise.
10835         * sunrpc/auth_unix.c: Likewise.
10836         * sunrpc/authdes_prot.c: Likewise.
10837         * sunrpc/authuxprot.c: Likewise.
10838         * sunrpc/clnt_gen.c: Likewise.
10839         * sunrpc/clnt_perr.c: Likewise.
10840         * sunrpc/clnt_raw.c: Likewise.
10841         * sunrpc/clnt_simp.c: Likewise.
10842         * sunrpc/clnt_tcp.c: Likewise.
10843         * sunrpc/clnt_udp.c: Likewise.
10844         * sunrpc/clnt_unix.c: Likewise.
10845         * sunrpc/des_crypt.c: Likewise.
10846         * sunrpc/des_soft.c: Likewise.
10847         * sunrpc/get_myaddr.c: Likewise.
10848         * sunrpc/key_call.c: Likewise.
10849         * sunrpc/key_prot.c: Likewise.
10850         * sunrpc/netname.c: Likewise.
10851         * sunrpc/pm_getmaps.c: Likewise.
10852         * sunrpc/pm_getport.c: Likewise.
10853         * sunrpc/pmap_clnt.c: Likewise.
10854         * sunrpc/pmap_prot.c: Likewise.
10855         * sunrpc/pmap_prot2.c: Likewise.
10856         * sunrpc/pmap_rmt.c: Likewise.
10857         * sunrpc/publickey.c: Likewise.
10858         * sunrpc/rpc_cmsg.c: Likewise.
10859         * sunrpc/rpc_common.c: Likewise.
10860         * sunrpc/rpc_dtable.c: Likewise.
10861         * sunrpc/rpc_prot.c: Likewise.
10862         * sunrpc/rpc_thread.c: Likewise.
10863         * sunrpc/rtime.c: Likewise.
10864         * sunrpc/svc.c: Likewise.
10865         * sunrpc/svc_auth.c: Likewise.
10866         * sunrpc/svc_raw.c: Likewise.
10867         * sunrpc/svc_run.c: Likewise.
10868         * sunrpc/svc_tcp.c: Likewise.
10869         * sunrpc/svc_udp.c: Likewise.
10870         * sunrpc/svc_unix.c: Likewise.
10871         * sunrpc/svcauth_des.c: Likewise.
10872         * sunrpc/xcrypt.c: Likewise.
10873         * sunrpc/xdr.c: Likewise.
10874         * sunrpc/xdr_array.c: Likewise.
10875         * sunrpc/xdr_float.c: Likewise.
10876         * sunrpc/xdr_intXX_t.c: Likewise.
10877         * sunrpc/xdr_mem.c: Likewise.
10878         * sunrpc/xdr_rec.c: Likewise.
10879         * sunrpc/xdr_ref.c: Likewise.
10880         * sunrpc/xdr_sizeof.c: Likewise.
10881         * sunrpc/xdr_stdio.c: Likewise.
10883 2012-05-10  Roland McGrath  <roland@hack.frob.com>
10885         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
10886         change.  Update copyright years.
10888 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
10890         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
10892 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
10893             Joseph Myers  <joseph@codesourcery.com>
10894             Paul Pluzhnikov  <ppluzhnikov@google.com>
10896         [BZ #14012]
10897         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
10898         requiring rpcgen.
10899         [cross-compiling] (extra-libs): Likewise.
10900         [cross-compiling] (extra-libs-others): Likewise.
10901         [cross-compiling] (librpcsvc-routines): Likewise.
10902         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
10903         [cross-compiling] (omit-deps): Likewise.
10904         (sunrpc-CPPFLAGS): New variable.
10905         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
10906         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
10907         (cross-rpcgen-objs): New variable.
10908         (extra-objs): Append $(cross-rpcgen-objs).
10909         ($(cross-rpcgen-objs)): New rule.
10910         ($(objpfx)cross-rpcgen): Likewise.
10911         (rpcgen-cmd): Define to use $(built-program-file).  Expand
10912         comment.
10913         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
10914         ($(objpfx)x%.stmp): Likewise.
10915         * sunrpc/proto.h [IS_IN_build] (_): Define.
10916         [IS_IN_build] (_libc_intl_domainname): Likewise.
10918 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
10920         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
10921         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
10922         and R_X86_64_TPOFF64.
10924 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
10926         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
10927         sysdeps/unix/sysv/syscalls.list.
10928         (stime): Likewise.
10929         (utime): Likewise.
10930         * sysdeps/unix/sysv/syscalls.list: Remove file.
10932 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
10934         [BZ #3440]
10935         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
10936         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
10937         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
10938         (__LC_IDENTIFICATION): Make these macros useful in #if
10939         expressions, as required by C99.
10941 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
10943         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
10944         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
10945         after this.
10947 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
10949         * stdlib/longlong.h: Updated from GCC.
10951 2012-05-09  Andreas Jaeger  <aj@suse.de>
10953         * nscd/nscd.c (run_modes): Make named enum, reorder so that
10954         default is first entry.
10955         (run_mode): Set type.
10956         (main): Remove informal message about syslog.
10957         (options): Fix typo.
10959         [BZ #14053]
10960         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
10961         to asm.
10962         (lrint): Likewise.
10963         (llrintf): Likewise.
10964         (llrint): Likewise.
10965         (rint): Likewise.
10966         (rintf): Likewise.
10967         (nearbyint): Likewise.
10968         (nearbyintf): Likewise.
10970 2012-05-09  Andreas Jaeger  <aj@suse.de>
10971             Pedro Alves  <palves@redhat.com>
10973         * nscd/nscd.c (run_mode): Use enum.
10974         (main): Cleanup coding style issue.
10976 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
10977             Andreas Jaeger  <aj@suse.de>
10979         * nscd/nscd.c (go_background): Replaced with...
10980         (run_mode): ... this.
10981         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
10982         (options): Add -F --foreground.
10983         (main): Implement it.
10984         (parse_opt): Parse it.
10986 2012-05-09  Andreas Jaeger  <aj@suse.de>
10988         [BZ #14083]
10989         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
10990         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
10991         -Wconversion warning.
10992         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
10993         Likewise.
10995 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
10997         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
10998         == 0.
10999         (LC_ALL): Use macro-int-constant.
11000         (LC_COLLATE): Likewise.
11001         (LC_CTYPE): Likewise.
11002         (LC_MESSAGES): Likewise.
11003         (LC_MONETARY): Likewise.
11004         (LC_NUMERIC): Likewise.
11005         (LC_TIME): Likewise.
11006         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
11007         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11008         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11009         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
11010         Specify type.
11011         [C99-based standards] (float_t): Expect type.
11012         [C99-based standards] (double_t): Expect type.
11013         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
11014         type.
11015         [C99-based standards] (HUGE_VALL): Likewise.
11016         [C99-based standards] (INFINITY): Likewise.
11017         [C99-based standards] (NAN): Likewise.
11018         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
11019         [C99-based standards] (FP_NAN): Likewise.
11020         [C99-based standards] (FP_NORMAL): Likewise.
11021         [C99-based standards] (FP_SUBNORMAL): Likewise.
11022         [C99-based standards] (FP_ZERO): Likewise.
11023         [C99-based standards] (FP_FAST_FMA): Use
11024         optional-macro-int-constant.  Specify type.  Require == 1.
11025         [C99-based standards] (FP_FAST_FMAF): Likewise.
11026         [C99-based standards] (FP_FAST_FMAL): Likewise.
11027         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
11028         [C99-based standards] (FP_ILOGBNAN): Likewise.
11029         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
11030         Specify type.
11031         [C99-based standards] (MATH_ERREXCEPT): Likewise.
11032         [C99-based standards] (math_errhandling): Specify type.
11033         [ISO99 || ISO11] (signgam): Do not allow.
11034         [non-C99-based standards] (copysignf): Do not allow.
11035         [non-C99-based standards] (exp2f): Likewise.
11036         [non-C99-based standards] (log2f): Likewise.
11037         [non-C99-based standards] (modff): Allow.
11038         [non-C99-based standards] (erff): Do not allow.
11039         [non-C99-based standards] (erfcf): Likewise.
11040         [non-C99-based standards] (gammaf): Likewise.
11041         [non-C99-based standards] (hypotf): Likewise.
11042         [non-C99-based standards] (j0f): Likewise.
11043         [non-C99-based standards] (j1f): Likewise.
11044         [non-C99-based standards] (jnf): Likewise.
11045         [non-C99-based standards] (lgammaf): Likewise.
11046         [non-C99-based standards] (tgammaf): Likewise.
11047         [non-C99-based standards] (y0f): Likewise.
11048         [non-C99-based standards] (y1f): Likewise.
11049         [non-C99-based standards] (ynf): Likewise.
11050         [non-C99-based standards] (isnanf): Likewise.
11051         [non-C99-based standards] (acoshf): Likewise.
11052         [non-C99-based standards] (asinhf): Likewise.
11053         [non-C99-based standards] (atanhf): Likewise.
11054         [non-C99-based standards] (cbrtf): Likewise.
11055         [non-C99-based standards] (expm1f): Likewise.
11056         [non-C99-based standards] (ilogbf): Likewise.
11057         [non-C99-based standards] (log1pf): Likewise.
11058         [non-C99-based standards] (logbf): Likewise.
11059         [non-C99-based standards] (nextafterf): Likewise.
11060         [non-C99-based standards] (remainderf): Likewise.
11061         [non-C99-based standards] (rintf): Likewise.
11062         [non-C99-based standards] (scalbf): Likewise.
11063         [non-C99-based standards] (copysignl): Likewise.
11064         [non-C99-based standards] (exp2l): Likewise.
11065         [non-C99-based standards] (log2l): Likewise.
11066         [non-C99-based standards] (modfl): Allow.
11067         [non-C99-based standards] (erfl): Do not allow.
11068         [non-C99-based standards] (erfcl): Likewise.
11069         [non-C99-based standards] (gammal): Likewise.
11070         [non-C99-based standards] (hypotl): Likewise.
11071         [non-C99-based standards] (j0l): Likewise.
11072         [non-C99-based standards] (j1l): Likewise.
11073         [non-C99-based standards] (jnl): Likewise.
11074         [non-C99-based standards] (lgammal): Likewise.
11075         [non-C99-based standards] (tgammal): Likewise.
11076         [non-C99-based standards] (y0l): Likewise.
11077         [non-C99-based standards] (y1l): Likewise.
11078         [non-C99-based standards] (ynl): Likewise.
11079         [non-C99-based standards] (isnanl): Likewise.
11080         [non-C99-based standards] (acoshl): Likewise.
11081         [non-C99-based standards] (asinhl): Likewise.
11082         [non-C99-based standards] (atanhl): Likewise.
11083         [non-C99-based standards] (cbrtl): Likewise.
11084         [non-C99-based standards] (expm1l): Likewise.
11085         [non-C99-based standards] (ilogbl): Likewise.
11086         [non-C99-based standards] (log1pl): Likewise.
11087         [non-C99-based standards] (logbl): Likewise.
11088         [non-C99-based standards] (nextafterl): Likewise.
11089         [non-C99-based standards] (remainderl): Likewise.
11090         [non-C99-based standards] (rintl): Likewise.
11091         [non-C99-based standards] (scalbl): Likewise.
11092         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11093         [non-C99-based standards] (FP_*): Do not allow.
11094         [C99-based standards] (FP_*): Change to
11095         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11096         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11097         allow.
11098         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
11099         (SIG_ERR): Likewise.
11100         [X/Open-based standards] (SIG_HOLD): Likewise.
11101         (SIG_IGN): Likewise.
11102         (SIGABRT): Use macro-int-constant.  Specify type.  Require
11103         positive value.
11104         (SIGFPE): Likewise.
11105         (SIGILL): Likewise.
11106         (SIGINT): Likewise.
11107         (SIGSEGV): Likewise.
11108         (SIGTER): Likewise.
11109         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
11110         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
11111         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
11112         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
11113         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
11114         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
11115         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
11116         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
11117         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
11118         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
11119         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
11120         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
11121         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
11122         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
11123         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
11124         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
11125         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
11126         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
11127         [X/Open-based standards] (SIGTRAP): Likewise.
11128         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
11129         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
11130         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
11131         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
11132         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11133         allow.
11135 2012-05-08  Ian Wienand  <ianw@vmware.com>
11137         [BZ #14080]
11138         * time/tzset.c (__tzset_parse_tz): Update default rules for
11139         daylight time changes in the Energy Policy Act of 2005.
11141 2012-05-09  Andreas Jaeger  <aj@suse.de>
11143         [BZ #13983]
11144         * elf/ldconfig.c (parse_conf): Change string to make clear that
11145         ldconfig only issued a warning if ld.so.conf does not exist.
11147 2012-05-08  David S. Miller  <davem@davemloft.net>
11149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
11150         movxtod instead of popping the value on the stack.
11152         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11154 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
11156         * config.h.in: Add HAVE_ARM_PCS_VFP.
11158 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
11160         [BZ #13979]
11161         * include/features.h: Warn if user requests __FORTIFY_SOURCE
11162         checking but the checks are disabled for any reason.
11164 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
11166         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
11167         and ELF64_R_TYPE with ELFW(R_TYPE).
11169 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
11171         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
11172         (ulimit): Likewise.
11174         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
11175         (settimeofday): Likewise.
11177 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
11179         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
11180         a struct th_u2 inside the union, and move tu_block/tu_code into
11181         a new th_u3 union of tu_block/tu_code inside of that.  Move
11182         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
11183         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
11184         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
11185         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
11186         (th_stuff): Change to th_u1.tu_stuff.
11187         (th_data): Define.
11188         (th_msg): Change to th_u1.th_u2.tu_data.
11190 2012-05-07  David S. Miller  <davem@davemloft.net>
11192         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11194         [BZ #14074]
11195         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
11196         (SETUP_PIC_REG): Use it.
11197         (SETUP_PIC_REG_LEAF): Use it.
11199 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
11201         [BZ #13885]
11202         [BZ #13923]
11203         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11204         USE_AS_EXPM1L.
11205         (EXPL_FINITE): Likewise.
11206         (FLDLOG): Likewise.
11207         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11208         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11209         e_expl.S.
11210         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11211         USE_AS_EXPM1L.
11212         (EXPL_FINITE): Likewise.
11213         (FLDLOG): Likewise.
11214         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11215         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11216         e_expl.S.
11217         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
11218         test of -max_value argument for long double.
11219         * sysdeps/i386/fpu/libm-test-ulps: Update.
11220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11222 2012-05-06  David S. Miller  <davem@davemloft.net>
11224         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
11225         quad soft-float symbols whose references which are compiler
11226         generated.
11227         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11229 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
11231         [BZ #13884]
11232         [BZ #13914]
11233         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11234         USE_AS_EXP10L.
11235         (EXPL_FINITE): Likewise.
11236         (FLDLOG): Likewise.
11237         (c0): Likewise.
11238         (c1): Likewise.
11239         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
11240         Adjust comments for base varying.
11241         (__expl_finite): Change alias to EXPL_FINITE.
11242         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
11243         e_expl.S.
11244         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
11245         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11246         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11247         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
11248         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11249         USE_AS_EXP10L.
11250         (EXPL_FINITE): Likewise.
11251         (FLDLOG): Likewise.
11252         (c0): Likewise.
11253         (c1): Likewise.
11254         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
11255         Adjust comments for base varying.
11256         (__expl_finite): Change alias to EXPL_FINITE.
11257         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
11258         tests for bugs.
11259         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11261         [BZ #14064]
11262         * math/libm-test.inc (check_float_internal): Correct ulp
11263         calculation for subnormal expected results.
11265 2012-05-06  Andreas Jaeger  <aj@suse.de>
11267         * Makeconfig (+math-flags): New, set to -frounding-math.
11268         (+cflags): Add +math-flags so that all of glibc gets compiled with
11269         it.
11271         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
11273 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
11275         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
11276         Disable one test.
11278         [BZ #13787]
11279         [BZ #13922]
11280         [BZ #14036]
11281         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
11282         (__ieee754_expl): Allow for and saturate large arguments.
11283         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
11284         (u_threshold): Likewise.
11285         (__exp): Call __ieee754_exp before checking for overflow and
11286         underflow.
11287         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
11288         (u_threshold): Likewise.
11289         (__expf): Call __ieee754_expf before checking for overflow and
11290         underflow.
11291         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
11292         (u_threshold): Likewise.
11293         (__expl): Call __ieee754_expl before checking for overflow and
11294         underflow.
11295         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
11296         (__ieee754_expl): Allow for and saturate large arguments.
11297         * math/libm-test.inc (exp_test): Add another test.  Do not allow
11298         missing overflow exception on overflow.
11299         (expm1_test): Do not allow missing overflow exception on overflow.
11301         * sysdeps/i386/fpu/e_expl.c: Move to ...
11302         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
11303         rather than using inline asm.
11304         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
11305         * sysdeps/x86_64/fpu/e_expl.S: Copy from
11306         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
11308         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
11309         (nice): Likewise.
11310         (poll): Likewise.
11311         (signal): Likewise.
11312         (time): Likewise.
11313         (times): Likewise.
11315 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
11317         * sysdeps/unix/syscalls.list (adjtime): Add entry from
11318         sysdeps/unix/common/syscalls.list.
11319         (fchmod): Likewise.
11320         (fchown): Likewise.
11321         (ftruncate): Likewise.
11322         (getrusage): Likewise.
11323         (gettimeofday): Likewise.
11324         (setpgid): Likewise.
11325         (setregid): Likewise.
11326         (setreuid): Likewise.
11327         (sigaction): Likewise.
11328         (truncate): Likewise.
11329         (vhangup): Likewise.
11330         * sysdeps/unix/common/syscalls.list: Remove file.
11331         * sysdeps/unix/bsd/Implies: Don't include unix/common.
11332         * sysdeps/unix/sysv/linux/Implies: Likewise.
11334 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
11336         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
11337         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
11338         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
11339         Moved to ...
11340         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11341         Here.
11342         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
11343         to ...
11344         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
11345         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
11346         to ...
11347         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
11348         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
11349         to ...
11350         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
11351         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
11352         to ...
11353         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
11354         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
11355         to ...
11356         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
11357         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
11358         to ...
11359         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
11360         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
11361         to ...
11362         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11363         Here.
11364         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
11365         to ...
11366         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
11367         Here.
11368         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
11369         to ...
11370         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
11371         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
11372         Moved to ...
11373         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
11374         Here.
11375         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
11376         to ...
11377         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
11379 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
11381         * sysdeps/unix/common/bits/dirent.h: Remove file.
11382         * sysdeps/unix/common/bits/fcntl.h: Likewise.
11384         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
11385         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
11386         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
11387         * sysdeps/unix/bsd/isatty.c: Likewise.
11388         * sysdeps/unix/bsd/tcdrain.c: Likewise.
11389         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
11390         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
11392 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11394         [BZ #13563]
11395         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
11396         long double comparison inaccuracies.
11397         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11398         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11400 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
11402         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
11403         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
11405 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
11407         [BZ #14049]
11408         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
11409         nonzero digits before rounding a hex value.
11410         * stdlib/tst-strtod.c (tests): Add another test.
11412 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11414         * sysdeps/s390/fpu/libm-test-ulps: Update.
11416 2012-05-03  Andreas Jaeger  <aj@suse.de>
11418         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
11419         does not get optimized out.
11420         (malloc_opt_barrier): New.
11422 2012-05-03  Andreas Jaeger  <aj@suse.de>
11423             Roland McGrath  <roland@hack.frob.com>
11425         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
11426         intermediate file deletion.
11427         (generated): Add .symlist files.
11429 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
11431         [BZ #13775]
11432         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
11433         Redirect under this condition.
11434         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11435         [__USE_GNU] (__dprintf_chk): Not under this condition.
11436         [__USE_GNU] (__vdprintf_chk): Likewise.
11437         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
11438         under this condition.
11439         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11440         [__USE_XOPEN2K8] (dprintf): Define under this condition.
11441         [__USE_XOPEN2K8] (vdprintf): Likewise.
11442         [__USE_GNU] (__dprintf_chk): Not under this condition.
11443         [__USE_GNU] (__vdprintf_chk): Likewise.
11444         [__USE_GNU] (dprintf): Likewise.
11445         [__USE_GNU] (vdprintf): Likewise.
11447 2012-05-03  Roland McGrath  <roland@hack.frob.com>
11449         * elf/Makefile (common-generated): Set this instead of generated for
11450         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
11451         $(all-built-dso)-derived lists.
11453 2012-05-03  Andreas Jaeger  <aj@suse.de>
11455         * sysdeps/i386/fpu/libm-test-ulps: Update.
11457         * FAQ: Removed.
11458         * FAQ.in: Likewise.
11459         * scripts/gen-FAQ.pl: Likewise.
11460         * manual/install.texi (Installation): Point to online location of
11461         FAQ.
11462         * Makefile (files-for-dist): Remove FAQ.
11463         (FAQ): Remove.
11465 2012-05-02  Allan McRae  <allan@archlinux.org>
11467         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
11468         (LDFLAGS-reldepmod5.so): Likewise.
11469         (LDFLAGS-reldep6mod1.so): Likewise.
11470         (LDFLAGS-reldep6mod4.so): Likewise.
11471         (LDFLAGS-reldep8mod3.so): Likewise.
11472         (LDFLAGS-unload4mod1.so): Likewise.
11473         (LDFLAGS-unload4mod2.so): Likewise.
11474         (LDFLAGS-tst-initorder): Likewise.
11475         (LDFLAGS-tst-initordera2.so): Likewise.
11476         (LDFLAGS-tst-initordera3.so): Likewise.
11477         (LDFLAGS-tst-initordera4.so): Likewise.
11478         (LDFLAGS-tst-initorderb2.so): Likewise.
11479         (LDFLAGS-noload): Likewise.
11480         (LDFLAGS-next): Likewise.
11481         (LDFLAGS-order2mod1.so): Likewise.
11482         (LDFLAGS-order2mod2.so): Likewise.
11483         (LDFLAGS-tst-initorder2): Likewise.
11484         (LDFLAGS-tst-initorder2a.so): Likewise.
11485         (LDFLAGS-tst-initorder2b.so): Likewise.
11486         (LDFLAGS-tst-initorder2c.so): Likewise.
11487         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
11489 2012-05-02  David S. Miller  <davem@davemloft.net>
11491         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11493 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
11495         [BZ #14055]
11496         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
11498 2012-05-02  Andreas Jaeger  <aj@suse.de>
11500         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
11501         since we manipulate rounding mode.
11502         (CPPFLAGS-test-idouble.c): Likewise.
11503         (CPPFLAGS-test-ifloat.c): Likewise.
11504         (CFLAGS-test-ldouble.c): Likewise.
11505         (CFLAGS-test-double.c): Likewise.
11506         (CFLAGS-test-float.c): Likewise.
11507         (CFLAGS-test-misc.c): Likewise.
11508         (CFLAGS-test-test-fenv.c): Likewise.
11510 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11512         [BZ #2550]
11513         [BZ #2570]
11514         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
11515         comparisons to determine direction to adjust input.
11517 2012-05-01  Roland McGrath  <roland@hack.frob.com>
11519         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
11520         output to the target.
11522         * scripts/localplt.awk: New file.
11523         * elf/Makefile ($(objpfx)check-localplt): Target removed.
11524         (check-localplt-CFLAGS): Variable removed.
11525         ($(all-built-dso:=.jmprel)): New static pattern rule.
11526         (generated): Add those targets.
11527         (localplt-built-dso): New variable.
11528         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
11530         * elf/check-localplt.c: File removed.
11532         * scripts/check-execstack.awk: New file.
11533         * elf/Makefile ($(objpfx)check-execstack): Target removed.
11534         (check-execstack-CFLAGS): Variable removed.
11535         ($(objpfx)check-execstack.h): Target removed.
11536         ($(objpfx)execstack-default): New target.
11537         (generated): Add that instead of check-execstack.h.
11538         ($(all-built-dso:=.phdr)): New static pattern rule.
11539         (generated): Add those targets.
11540         * elf/check-execstack.c: File removed.
11542         * scripts/check-textrel.awk: New file.
11543         * elf/Makefile ($(objpfx)check-textrel): Target removed.
11544         (check-textrel-CFLAGS): Variable removed.
11545         (all-built-dso): Use := to define.o
11546         ($(all-built-dso:=.dyn)): New static pattern rule.
11547         (generated): Add those targets.
11548         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
11549         * config.make.in (READELF): New substituted variable.
11550         * elf/check-textrel.c: File removed.
11552 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
11554         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11555         allow.
11556         * conform/data/ctype.h-data [C99-based standards] (isblank):
11557         Expect function.
11558         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
11559         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
11560         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11561         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
11562         Specify type.  Require positive value.
11563         (EILSEQ): Likewise.
11564         (ERANGE): Likewise.
11565         [ISO || POSIX] (EILSEQ): Do not expect.
11566         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
11567         Specify type.  Require positive value.
11568         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
11569         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
11570         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
11571         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
11572         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
11573         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
11574         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
11575         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
11576         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
11577         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
11578         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
11579         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
11580         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
11581         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
11582         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
11583         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
11584         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
11585         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
11586         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
11587         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
11588         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
11589         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
11590         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
11591         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
11592         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
11593         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
11594         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
11595         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
11596         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
11597         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
11598         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
11599         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
11600         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
11601         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
11602         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
11603         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
11604         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
11605         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
11606         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
11607         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
11608         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
11609         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
11610         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
11611         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
11612         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
11613         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
11614         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
11615         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
11616         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
11617         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
11618         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
11619         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
11620         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
11621         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
11622         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
11623         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
11624         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
11625         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
11626         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
11627         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
11628         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
11629         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
11630         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
11631         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
11632         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
11633         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
11634         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
11635         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
11636         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
11637         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
11638         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
11639         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
11640         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
11641         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
11642         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
11643         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
11644         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
11645         Require >= 2.
11646         (FLT_ROUNDS): Expect as macro, not constant.
11647         (FLT_MANT_DIG): Use macro-int-constant.
11648         (DBL_MANT_DIG): Likewise.
11649         (LDBL_MANT_DIG): Likewise.
11650         (FLT_DIG): Likewise.
11651         (DBL_DIG): Likewise.
11652         (LDBL_DIG): Likewise.
11653         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
11654         (DBL_MIN_EXP): Likewise.
11655         (LDBL_MIN_EXP): Likewise.
11656         (FLT_MAX_EXP): Use macro-int-constant.
11657         (DBL_MAX_EXP): Likewise.
11658         (LDBL_MAX_EXP): Likewise.
11659         (FLT_MAX_10_EXP): Likewise.
11660         (DBL_MAX_10_EXP): Likewise.
11661         (LDBL_MAX_10_EXP): Likewise.
11662         (FLT_MAX): Use macro-constant.
11663         (DBL_MAX): Likewise.
11664         (LDBL_MAX): Likewise.
11665         (FLT_EPSILON): Use macro-constant.  Give upper bound.
11666         (DBL_EPSILON): Likewise.
11667         (LDBL_EPSILON): Likewise.
11668         (FLT_MIN): Likewise.
11669         (DBL_MIN): Likewise.
11670         (LDBL_MIN): Likewise.
11671         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
11672         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
11673         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
11674         [ISO11] (FLT_HAS_SUBNORM): Likewise.
11675         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
11676         [ISO11] (DBL_DECIMAL_DIG): Likewise.
11677         [ISO11] (FLT_DECIMAL_DIG): Likewise.
11678         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
11679         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
11680         [ISO11] (FLT_TRUE_MIN): Likewise.
11681         [ISO11] (LDBL_TRUE_MIN): Likewise.
11682         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11683         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
11684         (SCHAR_MIN): Use macro-int-constant.  Specify type.
11685         (SCHAR_MAX): Likewise.
11686         (UCHAR_MAX): Likewise.
11687         (CHAR_MIN): Likewise.
11688         (CHAR_MAX): Likewise.
11689         (MB_LEN_MAX): Use macro-int-constant.
11690         (SHRT_MIN): Use macro-int-constant.  Specify type.
11691         (SHRT_MAX): Likewise.
11692         (USHRT_MAX): Likewise.
11693         (INT_MAX): Likewise.
11694         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
11695         bound negative.
11696         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
11697         bound with "U".
11698         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
11699         bound with "L".
11700         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
11701         bound negative.  Suffix upper bound with "L".
11702         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
11703         bound with "UL".
11704         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
11705         Specify type.
11706         [C99-based standards] (LLONG_MAX): Likewise.
11707         [C99-based standards] (ULLONG_MAX): Likewise.
11708         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
11709         == 0.
11710         [ISO11] (max_align_t): Require type.
11711         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11713         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
11714         from $CFLAGS, without defining away __attribute__ calls.
11715         (checknamespace): Use $CFLAGS_namespace.
11717         * conform/conformtest.pl (@keywords): Only include C99 keywords
11718         for standards based on C99 or C11.
11720         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
11721         Disable tests.
11722         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
11723         UNIX98]: Likewise.
11725         * conform/conformtest.pl: Handle "macro-int-constant" and test for
11726         usability of symbols in #if.
11728         * conform/conformtest.pl: If macro or constant types start
11729         "promoted:", expect the symbol to be of the following type
11730         promoted by the integer promotions.
11732         * conform/conformtest.pl: Parse all "constant" and "macro" lines
11733         in one place.  Also handle "macro-constant".
11735         * conform/conformtest.pl: Only accept expected macro values with
11736         "==".  Parse all "macro" lines in one place.
11737         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
11739         * conform/conformtest.pl: Handle braced types on "constant" lines
11740         instead of handling "typed-constant".
11741         * conform/data/signal.h-data: Use "constant" instead of
11742         "typed-constant".
11744         * conform/conformtest.pl: Handle "optional-" at start of lines in
11745         one place rather than duplicating several cases.  Handle each
11746         format of "macro" line with initial "optional-".
11748         * conform/conformtest.pl: Only accept expected constant or
11749         optional-constant values with "==".  Parse all "constant" lines in
11750         one place.  Parse all "optional-constant" lines in one place.
11751         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
11752         * conform/data/fmtmsg.h-data: Likewise.
11753         * conform/data/netinet/in.h-data: Likewise.
11754         * conform/data/tar.h-data: Likewise.
11755         * conform/data/limits.h-data: Use "==" form on "constant" and
11756         "optional-constant" lines.
11758         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
11759         Use -std=c99 for XOPEN2K.
11760         (@knownproblems): Remove.
11761         (newtoken): Don't check %isknown.
11763         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
11764         Do not expect macro.
11765         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
11766         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
11767         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
11768         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
11769         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
11770         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
11771         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
11772         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
11773         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
11774         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
11775         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
11776         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
11777         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
11778         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
11779         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
11780         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
11781         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
11782         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
11783         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
11784         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
11785         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
11786         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
11787         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
11788         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
11789         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
11790         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
11791         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
11792         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
11793         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
11794         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
11795         [XPG3] (acosh): Likewise.
11796         [XPG3] (asinh): Likewise.
11797         [XPG3] (atanh): Likewise.
11798         [XPG3] (cbrt): Likewise.
11799         [XPG3] (expm1): Likewise.
11800         [XPG3] (ilogb): Likewise.
11801         [XPG3] (log1p): Likewise.
11802         [XPG3] (logb): Likewise.
11803         [XPG3] (nextafter): Likewise.
11804         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
11805         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
11806         [XPG3] (remainder): Likewise.
11807         [XPG3] (rint): Likewise.
11808         [XPG3 || XPG4 || UNIX98] (round): Likewise.
11809         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
11810         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
11811         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
11812         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
11813         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
11814         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
11815         [UNIX98 || XOPEN2K] (scalb): Expect.
11816         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
11817         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
11818         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
11819         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
11820         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
11821         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
11822         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
11823         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
11824         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
11825         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
11826         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
11827         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
11828         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
11829         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
11830         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
11831         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
11832         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
11833         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
11834         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
11835         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
11836         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
11837         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
11838         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
11839         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
11840         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
11841         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
11842         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
11843         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
11844         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
11845         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
11846         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
11847         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
11848         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
11849         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
11850         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
11851         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
11852         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
11853         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
11854         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
11855         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
11856         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
11857         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
11858         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
11859         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
11860         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
11861         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
11862         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
11863         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
11864         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
11865         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
11866         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
11867         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
11868         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
11869         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
11870         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
11871         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
11872         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
11873         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
11874         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
11875         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
11876         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
11877         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
11878         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
11879         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
11880         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
11881         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
11882         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
11883         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
11884         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
11885         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
11886         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
11887         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
11888         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
11889         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
11890         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
11891         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
11892         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
11893         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
11894         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
11895         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
11896         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
11897         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
11898         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
11899         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
11900         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
11901         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
11902         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
11903         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
11904         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
11905         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
11906         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
11907         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
11908         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
11909         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
11910         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
11911         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
11912         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
11913         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
11914         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
11915         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
11916         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
11917         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
11918         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
11919         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
11920         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
11921         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
11922         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
11923         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
11924         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
11925         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
11926         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
11927         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
11928         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
11929         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
11930         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
11931         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
11932         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
11933         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
11934         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
11935         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
11936         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
11937         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
11938         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
11939         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
11940         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
11941         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
11942         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
11943         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
11944         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
11945         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
11946         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
11947         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
11948         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
11949         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
11950         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
11951         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
11952         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
11954         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
11955         _XOPEN_SOURCE_EXTENDED for XPG4.
11957         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
11959         * Makeconfig (localtime): Remove variable.
11960         (inst_localtime-file): Likewise.
11962 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11965         Update.
11966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11967         Update.
11968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11969         Update.
11970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11971         Update.
11972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11973         Update.
11974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
11975         Update.
11976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11977         Update.
11978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
11979         Update.
11980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11981         Update.
11983 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
11985         [BZ #2550]
11986         [BZ #2570]
11987         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
11988         comparisons to determine direction to adjust input.
11989         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11990         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
11991         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11992         Likewise.
11993         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11994         Likewise.
11995         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11996         Likewise.
11997         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11998         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11999         Likewise.
12000         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12001         Likewise.
12002         * math/libm-test.inc (nexttoward_test): Add more tests.
12004 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
12006         [BZ #14040]
12007         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
12008         in version GLIBC_2.1, not GLIBC_2.0.
12009         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
12010         Likewise.
12012 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
12014         [BZ #13942]
12015         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
12016         (1 - x) * (1 + x).
12017         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12018         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
12019         * math/libm-test.inc (acos_test): Add more tests.
12020         (asin_test): Likewise.
12021         * sysdeps/i386/fpu/libm-test-ulps: Update.
12022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12024         [BZ #14034]
12025         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
12026         of square root.
12027         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
12028         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12029         * math/libm-test.inc (acos_test_tonearest): New function.
12030         (acos_test_towardzero): Likewise.
12031         (acos_test_downward): Likewise.
12032         (acos_test_upward): Likewise.
12033         (asin_test_tonearest): Likewise.
12034         (asin_test_towardzero): Likewise.
12035         (asin_test_downward): Likewise.
12036         (asin_test_upward): Likewise.
12037         (main): Call the new functions.
12038         * sysdeps/i386/fpu/libm-test-ulps: Update.
12039         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12041         [BZ #13884]
12042         [BZ #13924]
12043         * math/e_exp10.c: Include <float.h>.
12044         (__ieee754_exp10): Handle underflow here rather than multiplying
12045         large negative argument by M_LN10.
12046         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
12047         of __ieee754_expf.
12048         * math/e_exp10l.c: Include <float.h>.
12049         (__ieee754_exp10l): Handle underflow here rather than multiplying
12050         large negative argument by M_LN10l.
12051         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
12052         spurious overflow exception on underflow.
12054 2012-04-29  Marek Polacek  <polacek@redhat.com>
12056         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
12057         (__fortify_function): New macro.
12058         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
12059         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
12060         __extern_always_inline.
12061         * libio/bits/stdio2.h: Likewise.
12062         * libio/bits/stdio.h: Likewise.
12063         * string/string.h: Likewise.
12064         * string/bits/string3.h: Likewise.
12065         * include/stdio.h: Likewise.
12066         * stdlib/bits/stdlib.h: Likewise.
12067         * stdlib/stdlib.h: Likewise.
12068         * rt/bits/mqueue2.h: Likewise.
12069         * rt/mqueue.h: Likewise.
12070         * posix/bits/unistd.h: Likewise.
12071         * posix/unistd.h: Likewise.
12072         * io/bits/poll2.h: Likewise.
12073         * io/bits/fcntl2.h: Likewise.
12074         * io/fcntl.h: Likewise.
12075         * io/sys/poll.h: Likewise.
12076         * misc/bits/syslog.h: Likewise.
12077         * misc/bits/syslog-ldbl.h: Likewise.
12078         * misc/sys/syslog.h: Likewise.
12079         * socket/bits/socket2.h: Likewise.
12080         * socket/sys/socket.h: Likewise.
12081         * debug/tst-chk1.c: Likewise.
12082         * wcsmbs/bits/wchar2.h: Likewise.
12083         * wcsmbs/bits/wchar-ldbl.h: Likewise.
12084         * wcsmbs/wchar.h: Likewise.
12086 2012-04-29  Andreas Jaeger  <aj@suse.de>
12088         * Makerules (tests): Remove enable-check-abi protection.
12089         (check-abi-warn): Remove.
12090         (check-abi-%): Remove check-abi-warn usage.
12092         * configure.in: Remove check-abi configure option.
12093         * configure: Regenerated.
12094         * config.make.in (enable-check-abi): Remove.
12096 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
12098         [BZ #14033]
12099         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
12100         double functions to double *_finite functions.
12102         [BZ #13941]
12103         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
12104         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
12105         LDBL_MIN_EXP.
12106         * stdio-common/Makefile (tests): Add tst-sprintf3.
12107         * stdio-common/tst-sprintf3.c: New file.
12109         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
12110         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
12112 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
12114         * conform/conformtest.pl: Remove duplicate typed-constant
12115         handling.
12117 2012-04-28  David S. Miller  <davem@davemloft.net>
12119         * Makerules (%.abilist): Add vpath on sysdep_dirs.
12120         (check-abi-%): Remove AWK script prerequisite and explicit
12121         abilist directory.
12122         (check-abi): Rewrite to just diff the symlist with the abilist.
12123         (config-tls, config-abi-config): Delete, no longer used.
12124         (update-abi-%): Remove AWK script and explicit abilist directory.
12125         (update-abi): Rewrite to simply compare and conditionally copy the
12126         symlist and the sysdep abilist file.  Remove update-abi-config
12127         checks.
12128         * abilist/ld.abilist: Remove.
12129         * abilist/libBrokenLocale.abilist: Remove.
12130         * abilist/libanl.abilist: Remove.
12131         * abilist/libcrypt.abilist: Remove.
12132         * abilist/libdl.abilist: Remove.
12133         * abilist/librt.abilist: Remove.
12134         * abilist/libthread_db.abilist: Remove.
12135         * abilist/libutil.abilist: Remove.
12136         * scripts/extract-abilist.awk: Remove.
12137         * scripts/merge-abilist.awk: Remove.
12138         * sysdeps/generic/libcidn.abilist: New file.
12139         * sysdeps/generic/libnss_compat.abilist: New file.
12140         * sysdeps/generic/libnss_db.abilist: New file.
12141         * sysdeps/generic/libnss_dns.abilist: New file.
12142         * sysdeps/generic/libnss_files.abilist: New file.
12143         * sysdeps/generic/libnss_hesiod.abilist: New file.
12144         * sysdeps/generic/libnss_nis.abilist: New file.
12145         * sysdeps/generic/libnss_nisplus.abilist: New file.
12146         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
12147         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
12148         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
12149         file.
12150         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
12151         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
12152         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
12153         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
12154         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
12155         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
12156         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
12157         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
12158         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
12159         file.
12160         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
12161         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
12162         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
12163         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
12164         file.
12165         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
12166         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
12167         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
12168         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
12169         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
12170         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
12171         file.
12172         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
12173         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
12174         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
12175         file.
12176         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
12177         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
12178         New file.
12179         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
12180         New file.
12181         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
12182         New file.
12183         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
12184         New file.
12185         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
12186         New file.
12187         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
12188         New file.
12189         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
12190         New file.
12191         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
12192         New file.
12193         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
12194         New file.
12195         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
12196         New file.
12197         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
12198         New file.
12199         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
12200         New file.
12201         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
12202         New file.
12203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
12204         file.
12205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
12206         New file.
12207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12208         New file.
12209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
12210         file.
12211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12212         New file.
12213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12214         New file.
12215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
12216         file.
12217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12218         New file.
12219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12220         New file.
12221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12222         New file.
12223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12224         New file.
12225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12226         New file.
12227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12228         New file.
12229         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
12230         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
12231         file.
12232         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12233         New file.
12234         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
12235         file.
12236         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
12237         file.
12238         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
12239         file.
12240         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
12241         file.
12242         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
12243         file.
12244         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12245         New file.
12246         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
12247         file.
12248         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
12249         file.
12250         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12251         New file.
12252         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
12253         file.
12254         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
12255         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
12256         file.
12257         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12258         New file.
12259         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
12260         file.
12261         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
12262         file.
12263         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
12264         file.
12265         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
12266         file.
12267         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
12268         file.
12269         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12270         New file.
12271         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
12272         file.
12273         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
12274         file.
12275         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12276         New file.
12277         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
12278         file.
12279         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12280         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
12281         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
12282         file.
12283         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
12284         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
12285         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
12286         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
12287         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
12288         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
12289         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
12290         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
12291         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
12292         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
12293         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
12294         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
12295         file.
12296         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12297         New file.
12298         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
12299         file.
12300         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
12301         file.
12302         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
12303         file.
12304         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
12305         file.
12306         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
12307         file.
12308         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12309         New file.
12310         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12311         New file.
12312         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
12313         file.
12314         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12315         New file.
12316         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
12317         file.
12318         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
12319         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
12320         file.
12321         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12322         New file.
12323         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
12324         file.
12325         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
12326         file.
12327         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
12328         file.
12329         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
12330         file.
12331         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
12332         file.
12333         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12334         New file.
12335         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12336         New file.
12337         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
12338         file.
12339         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12340         New file.
12341         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
12342         file.
12344 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
12346         * conform/conformtest.pl: Fix typo in handling typed-constant from
12347         allow-header.
12349 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
12351         * README: Cut down references to pre-2.6 Linux kernels and
12352         Linuxthreads.  Update lists of configurations in libc and ports
12353         and sort alphabetically.  Say "or newer" with Linux kernel version
12354         requirements.
12356         * config.h.in [IS_IN_build]: Allow compiling without optimization.
12358 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12360         [BZ #887]
12361         * math/libm-test.inc (logb_test_downward): New test to expose
12362         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
12363         rounding mode.
12365 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
12367         [BZ #14027]
12368         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
12369         to be done.
12370         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
12371         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
12373 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
12375         * sysdeps/unix/i386/brk.S: Remove file.
12376         * sysdeps/unix/i386/dl-brk.S: Likewise.
12377         * sysdeps/unix/i386/pipe.S: Likewise.
12378         * sysdeps/unix/i386/sigreturn.S: Likewise.
12379         * sysdeps/unix/i386/syscall.S: Likewise.
12380         * sysdeps/unix/i386/vfork.S: Likewise.
12381         * sysdeps/unix/i386/wait.S: Likewise.
12383         * sysdeps/unix/common/tcsendbrk.c: Move to ...
12384         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
12386         * configure.in (arm*-none*): Do not allow without
12387         --enable-hacker-mode.
12388         (netbsd*): Remove case setting base_os.
12389         (386bsd*): Likewise.
12390         (freebsd*): Likewise.
12391         (bsdi*): Likewise.
12392         (osf*): Likewise.
12393         (sunos*): Likewise.
12394         (ultrix*): Likewise.
12395         (newsos*): Likewise.
12396         (dynix*): Likewise.
12397         (*bsd*): Likewise.
12398         (sysv*): Likewise.
12399         (isc*): Likewise.
12400         (esix*): Likewise.
12401         (sco*): Likewise.
12402         (minix*): Likewise.
12403         (irix4*): Likewise.
12404         (irix6*): Likewise.
12405         (solaris[2-9]*): Likewise.
12406         (none): Likewise.
12407         * configure: Regenerated.
12409 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12411         [BZ #11521]
12412         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
12413         overflow or cancellation in calculating denominator.
12414         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
12415         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
12416         down expression to avoid unexpected rounding in newer GCCs.
12417         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
12419 2012-04-26  David S. Miller  <davem@davemloft.net>
12421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
12422         long-double compat symbols.
12423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
12427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12428         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12429         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12430         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
12431         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
12432         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12433         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
12434         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
12435         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12437 2012-04-25  David S. Miller  <davem@davemloft.net>
12439         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
12440         HWCAP_* values only after the memory barriers have been defined.
12441         (atomic_full_barrier): Define.
12442         (atomic_read_barrier): Define.
12443         (atomic_write_barrier): Define.
12445 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12447         * shlib-versions: Add libgcc_s version information.
12448         * sysdeps/generic/libgcc_s.h: Remove.
12449         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
12450         libgcc_s.h.
12451         * sysdeps/gnu/unwind-resume.c: Likewise.
12452         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
12454 2012-04-25  David S. Miller  <davem@davemloft.net>
12456         * sysdeps/unix/sparc/brk.S: Delete.
12457         * sysdeps/unix/sparc/dl-brk.S: Delete.
12458         * sysdeps/unix/sparc/pipe.S: Delete.
12459         * sysdeps/unix/sparc/sysdep.S: Delete.
12460         * sysdeps/unix/sparc/sysdep.h: Delete.
12461         * sysdeps/unix/sparc/vfork.S: Delete.
12462         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
12463         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
12464         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
12465         ret_ERRVAL, r0, r1, MOVE): Define.
12466         (JUMPTARGET): Remove.
12467         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
12468         sysdeps/unix/sparc/sysdep.h
12469         (ENTRY, END): Remove.
12470         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12472 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
12474         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
12475         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
12476         -DIS_IN_build.
12478         * timezone/README: Update upstream location and email address for
12479         tzcode and tzdata.
12480         * timezone/zdump.c: Update from tzcode 2012b.
12481         * timezone/zic.c: Likewise.
12483         * configure.in (libc_cv_as_needed): Remove test.
12484         * configure: Regenerated.
12485         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
12486         conditional definition.
12487         [$(have-as-needed) != yes] (no-as-needed): Likewise.
12488         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
12489         * config.make.in (have-as-needed): Remove variable.
12491 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12492             Paul Pluzhnikov  <ppluzhnikov@google.com>
12494         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
12495         strings correctly.
12497 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
12499         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
12500         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
12501         * sysdeps/sh/strlen.S: Likewise.
12503 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
12505         * sysdeps/unix/fork.S: Remove file.
12506         * sysdeps/unix/i386/fork.S: Likewise.
12507         * sysdeps/unix/sparc/fork.S: Likewise.
12509         * sysdeps/unix/system.c: Remove file.
12510         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
12512         * sysdeps/unix/getegid.S: Remove file.
12513         * sysdeps/unix/geteuid.S: Likewise.
12515 2012-04-24  Roland McGrath  <roland@hack.frob.com>
12517         * scripts/check-localplt.awk: New file.
12518         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
12519         of diff.
12520         * scripts/data/localplt-generic.data: Add a comment.
12522         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
12523         NODE when __dir_mkfile failed.
12524         * sysdeps/mach/hurd/symlinkat.c: Likewise.
12525         Reported by Ludovic Courtès <ludo@gnu.org>.
12527 2012-04-24  Andreas Jaeger  <aj@suse.de>
12529         * Makerules (common-clean): Also remove gen-as-const-headers
12530         files.
12532 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
12534         * Makerules (native-compile): Do not change working directory for
12535         build.  Use $(OUTPUT_OPTION) in command.
12536         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
12538 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12540         [BZ #13886]
12541         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
12542         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
12543         * math/libm-test.inc (floor_test): Add more tests.
12544         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
12546 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
12548         * sysdeps/unix/getdents.c: Remove file.
12549         * sysdeps/unix/sysv/getdents.c: Likewise.
12550         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
12552         * sysdeps/unix/syscalls.list (madvise): Add syscall from
12553         sysdeps/unix/mman/syscalls.list.
12554         (mmap): Likewise.
12555         (mprotect): Likewise.
12556         (msync): Likewise.
12557         (munmap): Likewise.
12558         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
12559         * sysdeps/unix/mman/syscalls.list: Remove.
12560         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
12562         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
12563         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
12564         * configure: Regenerated.
12565         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
12566         $(libgcc_s_suffix).
12567         * config.make.in (libgcc_s_suffix): Remove variable.
12569 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
12571         * sysdeps/unix/sysv/gethostname.c: Move to ...
12572         * sysdeps/posix/gethostname.c: ... here.
12574         * sysdeps/unix/execve.S: Remove file.
12576         * sysdeps/unix/_exit.S: Remove file.
12578 2012-04-23  Andreas Jaeger  <aj@suse.de>
12580         [BZ #13739]
12581         * manual/Makefile: Remove make dist support, there's no
12582         need for a stand-alone documentation tar ball.
12583         (TEXI2DVI): Define always, it's not in Makeconfig.
12584         (dist): Removed.
12585         (tar-it): Removed.
12586         (edition): Removed.
12587         (glibc-doc-$(edition).tar): Removed
12588         (%.Z): Removed.
12589         (%.gz): Removed.
12590         (%.uu): Removed.
12591         (ETAGS): Remove, it's in Makeconfig.
12592         (move-if-change): Remove, it's in Makeconfig.
12594 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
12596         [BZ #13970]
12597         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
12598         (strtod, strtof, strtold, strtol, strtoul, strtoq)
12599         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
12600         (strtod_l, strtof_l, strtold_l): Remove __wur.
12601         It is not necessarily an error to ignore strtol's return value.
12602         One can reliably look at the stored endptr to decide whether
12603         the number had valid syntax.
12605 2012-04-21  Andreas Jaeger  <aj@suse.de>
12607         [BZ #13739]
12608         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
12610 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
12612         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
12613         * sysdeps/unix/sysv/Versions: Remove file.
12615 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
12617         [BZ #13927]
12618         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12620 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
12622         [BZ #7064]
12623         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
12624         version from __vm86.
12626 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
12628         * sysdeps/unix/common/lxstat.c: Remove file.
12629         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
12631         * sysdeps/unix/sysv/Makefile: Remove file.
12633         * sysdeps/unix/sysv/direct.h: Remove file.
12635         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
12636         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
12637         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
12638         * sysdeps/unix/sysv/bits/signum.h: Likewise.
12639         * sysdeps/unix/sysv/bits/stat.h: Likewise.
12640         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
12641         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
12643         * sysdeps/unix/sysv/setrlimit.c: Remove file.
12645         * sysdeps/unix/xmknod.c: Remove file.
12646         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
12648         * sysdeps/unix/sysv/settimeofday.c: Remove file.
12650         * sysdeps/unix/sysv/i386/time.S: Remove file.
12652         * sysdeps/unix/fxstat.c: Remove file.
12653         * sysdeps/unix/xstat.c: Likewise.
12654         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
12656         * sysdeps/unix/sysv/sigaction.c: Remove file.
12658         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
12659         (sysdep_headers): Remove variable.
12660         [termio.h not in sysdep_headers] (generated): Likewise.
12661         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
12662         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
12663         * sysdeps/unix/sysv/tcdrain.c: Likewise.
12664         * sysdeps/unix/sysv/tcflow.c: Likewise.
12665         * sysdeps/unix/sysv/tcflush.c: Likewise.
12666         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
12667         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
12668         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
12669         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
12670         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
12672         * sysdeps/unix/siglist.c: Remove file.
12674         * sysdeps/unix/getppid.S: Remove file.
12676         * sysdeps/unix/mkdir.c: Remove file.
12677         * sysdeps/unix/rmdir.c: Likewise.
12679 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
12681         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
12682         ERR_MAX value.
12683         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
12684         errlist-compat value.
12686 2012-04-18  David S. Miller  <davem@davemloft.net>
12688         * sysdeps/generic/memcopy.h (reg_char): Delete.
12689         * debug/strcat_chk.c: Use char, not reg_char.
12690         * debug/strcpy_chk.c: Likewise.
12691         * debug/strncat_chk.c: Likewise.
12692         * debug/strncpy_chk.c: Likewise.
12693         * string/memchr.c: Likewise.
12694         * string/memrchr.c: Likewise.
12695         * string/rawmemchr.c: Likewise.
12696         * string/strcat.c: Likewise.
12697         * string/strchr.c: Likewise.
12698         * string/strchrnul.c: Likewise.
12699         * string/strcmp.c: Likewise.
12700         * string/strcpy.c: Likewise.
12701         * string/strncat.c: Likewise.
12702         * string/strncmp.c: Likewise.
12703         * string/strncpy.c: Likewise.
12705 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
12707         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
12708         __builtin_memcopy is called when src and dest ranges are known to not
12709         overlap.
12711 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
12713         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
12714         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
12715         fwd_align_merge macro call.
12716         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
12717         bwd_align_merge macro call.
12718         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12720 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
12722         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
12723         bwd_align_merge macros.
12724         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
12725         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
12726         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12728 2012-04-18  David S. Miller  <davem@davemloft.net>
12730         * sysdeps/sparc/sparc64/memcopy.h: Delete.
12732 2012-04-18  Andreas Jaeger  <aj@suse.de>
12734         [BZ# 6794]
12735         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
12736         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
12737         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12739         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
12740         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
12741         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12743         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
12744         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
12745         Adjust for changed ldbl-128 files.
12747         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
12748         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
12749         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12751 2012-04-17  David S. Miller  <davem@davemloft.net>
12753         * sysdeps/sparc/sparc32/memcopy.h: Delete.
12755 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
12757         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
12758         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
12759         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
12760         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
12761         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12762         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
12764 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12766         [BZ #6794]
12767         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
12768         * math/libm-test.inc: Add ilogb errno and exception tests.
12769         * math/w_ilogb.c: New file: ilogb wrapper.
12770         * math/w_ilogbf.c: New file: ilogbf wrapper.
12771         * math/w_ilogbl.c: New file: ilogbl wrapper.
12772         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
12773         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
12774         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
12775         exception being thrown with 0.0 as argument.
12776         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
12777         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
12778         exception being thrown with 0.0 as argument.
12779         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
12780         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12781         exception being thrown with 0.0 as argument.
12782         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
12783         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12784         exception being thrown with 0.0 as argument.
12785         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
12786         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
12787         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
12788         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
12789         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
12790         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
12791         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
12792         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
12793         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
12795 2012-04-17  Petr Baudis  <pasky@ucw.cz>
12797         * include/sys/uio.h: Change __vector to __iovec to avoid clash
12798         with altivec.
12800 2012-04-16  Marek Polacek  <polacek@redhat.com>
12802         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
12804 2012-04-16  Marek Polacek  <polacek@redhat.com>
12806         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
12807         operands of fdivp instruction.
12809 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
12811         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
12812         * elf/tst-auditmod3b.c: Likewise.
12813         * elf/tst-auditmod4b.c: Likewise.
12814         * elf/tst-auditmod5b.c: Likewise.
12815         * elf/tst-auditmod6b.c: Likewise.
12816         * elf/tst-auditmod6c.c: Likewise.
12817         * elf/tst-auditmod7b.c: Likewise.
12818         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
12819         * sysdeps/x86_64/preconfigure.in: Likewise.
12820         * sysdeps/x86_64/preconfigure: Regenerated.
12822 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
12824         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
12825         __ILP32__.
12827 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
12829         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12830         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
12832 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
12834         [BZ #13973]
12835         * locale/iso-639.def: Fix gl language name. Spotted by
12836         Yaron Shahrabani.
12838 2012-04-12  Roland McGrath  <roland@hack.frob.com>
12840         [BZ #2074]
12841         * libio/libio.h (__io_write_fn): Update comment.
12843 2012-04-12  Petr Baudis  <pasky@ucw.cz>
12845         [BZ #2074]
12846         * stdio.texi (Hook Functions): The user provided writer function
12847         is not allowed to return -1.
12849 2012-04-11  David S. Miller  <davem@davemloft.net>
12851         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12853 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
12855         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
12856         Add a leading slash to rtkaio.
12858 2012-04-11  Jim Meyering  <meyering@redhat.com>
12860         [BZ #11959]
12861         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
12862         It is not necessarily an error to ignore fwrite's return
12863         value.  One can reliably use ferror to test for errors after
12864         the fact.
12866 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
12868         * bits/types.h (__snseconds_t): New type.
12869         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
12871         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
12872         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12873         (__SNSECONDS_T_TYPE): Likewise.
12874         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12875         (__SNSECONDS_T_TYPE): Likewise.
12876         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12877         (__SNSECONDS_T_TYPE): Likewise.
12879 2012-04-10  Andreas Jaeger  <aj@suse.de>
12881         [BZ #2636]
12882         * manual/time.texi (Processor Time): Return type of times is
12883         elapsed real time since an arbitrary point in the past.
12884         (CPU Time): Move CLK_TCK from here...
12885         (Processor Time): ...to here.  Correct description.
12886         * manual/conf.texi (Constants for Sysconf): Correct description of
12887         _SC_CLK_TCK.
12889 2012-04-10  David S. Miller  <davem@davemloft.net>
12891         [BZ #13967]
12892         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
12893         where the is a gap between DT_REL(A) and DT_JMPREL.
12895 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
12897         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
12898         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12899         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12901 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12903         * elf/dl-support.c (_dl_inhibit_cache): New variable.
12904         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
12905         (dl_main): Handle --inhibit-cache.
12906         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
12907         _dl_inhibit_cache.
12908         * elf/dl-load.c (_dl_map_object): Use it.
12909         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
12911 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
12913         [BZ #13872]
12914         * sysdeps/i386/fpu/e_powl.S (p78): New object.
12915         (__ieee754_powl): Saturate large exponents rather than testing for
12916         overflow of y*log2(x).
12917         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12918         * math/libm-test.inc (pow_test): Do not permit spurious overflow
12919         exceptions.
12921         [BZ #11521]
12922         * math/s_ctan.c: Include <float.h>.
12923         (__ctan): Avoid internal overflow or cancellation in calculating
12924         denominator.
12925         * math/s_ctanf.c: Likewise.
12926         * math/s_ctanl.c: Likewise.
12927         * math/s_ctanh.c: Likewise.
12928         * math/s_ctanhf.c: Likewise.
12929         * math/s_ctanhl.c: Likewise.
12930         * math/libm-test.inc (ctan_test): Add more tests.
12931         (ctanh_test): Likewise.
12932         * sysdeps/i386/fpu/libm-test-ulps: Update.
12933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12935 2012-04-09  Andreas Jaeger  <aj@suse.de>
12937         [BZ #6894]
12938         * manual/filesys.texi (Directory Entries): Mention that d_namlen
12939         is an optional BSD extension.
12941         [BZ #10254]
12942         * manual/stdio.texi (Opening Streams): Document additional fopen
12943         parameters.
12945 2012-04-09  Roland McGrath  <roland@hack.frob.com>
12947         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
12948         %eax without telling the compiler.
12950 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
12952         [BZ # 13963]
12953         * manual/install.texi: Use sourceware.org.
12955 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
12957         [BZ #13873]
12958         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
12959         (__ieee754_pow): Generate overflow and underflow using huge*huge
12960         and tiny*tiny rather than just returning constant infinity or zero
12961         for large exponents.
12962         * math/libm-test.inc (pow_test): Require overflow exceptions for
12963         applicable cases of large exponents.
12965         [BZ #706]
12966         * sysdeps/i386/fpu/e_pow.S (p10): New object.
12967         (__ieee754_pow): Use iterative multiplication algorithm only for
12968         integer exponents with absolute value below 1024.  Check for odd
12969         integer exponents when using algorithm for real exponents.
12970         * math/libm-test.inc (pow_test): Add more tests.
12971         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12973 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
12975         [BZ #13705]
12976         * math/libm-test.inc (exp_test): Do not allow overflow exception
12977         on underflow test.
12979 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
12981         [BZ #13705]
12982         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
12983         instead of __kernel_standard_f.
12985 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
12987         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
12988         * sysdeps/x86_64/memset_chk.S: Likewise.
12990 2012-04-08  Andreas Jaeger  <aj@suse.de>
12992         [BZ #10153]
12993         * manual/startup.texi (Environment Access): Describe return value
12994         for putenv and setenv.
12996         [BZ #6895]
12997         * manual/filesys.texi (Directory Entries): Add description for
12998         DT_LNK.
13000         [BZ #6890]
13001         * manual/filesys.texi (Directory Entries): Clarify that it's file
13002         system not operating system in the description of DT_UNKNOWN.
13004         [BZ #6578]
13005         * manual/syslog.texi (closelog): Fix reference, it's openlog.
13007 2012-04-08  Stephen Compall  <s11@member.fsf.org>
13009         [BZ #6649]
13010         * manual/llio.texi (Opening and Closing Files): Add cross
13011         reference to explain mode argument.
13013 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
13015         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
13016         * sysdeps/x86_64/memset_chk.S: Likewise.
13018 2012-04-07  David S. Miller  <davem@davemloft.net>
13020         * elf/elf.h (R_SPARC_WDISP10): Define.
13021         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
13022         R_SPARC_SIZE32.
13023         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
13024         R_SPARC_SIZE64 and R_SPARC_H34.
13026 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
13028         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
13029         conditions and remove no longer applicable assertion.
13031 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
13033         * bits/byteswap.h: Include <features.h>.
13034         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13035         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13037 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
13039         * bits/byteswap.h (__bswap_16): Removed.
13040         Include <bits/byteswap-16.h> to get __bswap_16.
13041         * sysdeps/i386/bits/byteswap.h: Likewise.
13042         * sysdeps/s390/bits/byteswap.h: Likewise.
13043         * sysdeps/x86_64/bits/byteswap.h: Likewise.
13044         * bits/byteswap-16.h: New file.
13045         * sysdeps/i386/bits/byteswap-16.h: Likewise.
13046         * sysdeps/s390/bits/byteswap-16.h: Likewise.
13047         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
13048         * string/Makefile (headers): Add bits/byteswap-16.h.
13050 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
13052         [BZ #13895]
13053         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
13054         extra indirection.
13055         * nss/Makefile (tests-static, tests): Add tst-nss-static.
13056         * nss/tst-nss-static.c: New.
13058 2012-04-06  Robert Millan  <rmh@gnu.org>
13060         [BZ #6486]
13061         * manual/llio.texi (File Position Primitive): lseek
13062         refers to WHENCE when it really means OFFSET.
13064 2012-04-06  Andreas Jaeger  <aj@suse.de>
13066         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
13067         strncmp declarations.
13069         * abilist/libc.abilist: Add __poll and __ppoll.
13071 2012-04-05  David S. Miller  <davem@davemloft.net>
13073         * scripts/check-local-headers.sh: Accept a host triplet in the
13074         path matched by the exclude regexp.
13076         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
13077         definition.
13078         * sysdeps/powerpc/powerpc32/dl-machine.h
13079         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
13080         * sysdeps/s390/s390-32/dl-machine.h
13081         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13082         * sysdeps/sparc/sparc32/dl-machine.h
13083         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13084         * sysdeps/sparc/sparc64/dl-machine.h
13085         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13087         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
13088         lazy binding.
13089         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
13090         undefined symbol errors.
13092         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
13093         DT_NEEDED entries.
13095 2012-04-05  Michael Matz  <matz@suse.de>
13097         [BZ #13592]
13098         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
13100 2012-04-05  Andreas Jaeger  <aj@suse.de>
13102         [BZ #13908]
13103         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
13104         comment.
13106 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
13108         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
13109         which ROUND is no valid rounding mode.
13111 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
13113         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
13114         read again.
13115         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
13117 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
13119         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
13120         an exception using FPU order intentionally.
13122 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
13124         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
13125         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
13126         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
13127         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
13129 2012-04-05  Simon Josefsson  <simon@josefsson.org>
13131         [BZ #12340]
13132         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
13133         EINVAL when BUFLEN is too smal.
13135 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
13137         [BZ #13553]
13138         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
13139         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
13141 2012-04-03  Andreas Jaeger  <aj@suse.de>
13143         [BZ #13938]
13144         * manual/setjmp.texi (System V contexts): Fix sentence.
13146         [BZ #13926]
13147         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
13148         New macro for this case.
13149         [!__GNUC__] (__bswap_64): New inline function for this case.
13150         * sysdeps/x86_64/bits/byteswap.h: Likewise.
13151         * bits/byteswap.h: Likewise.
13152         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
13153         ull, guard with __GLIBC_HAVE_LONG_LONG.
13155         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
13156         __GLIBC_HAVE_LONG_LONG.
13158         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
13159         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
13161 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13163         [BZ #13691]
13164         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
13165         inptr and inend, rather than using last_ch.
13167 2012-04-02  David S. Miller  <davem@davemloft.net>
13169         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
13170         * stdio-common/printf-parse.h (read_int): Change return type to
13171         'int', return -1 on INT_MAX overflow.
13172         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
13173         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
13174         overflows INT_MAX.  Check for overflow of in-format-string precision
13175         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
13176         SIZE_MAX not INT_MAX for integer overflow test.
13177         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
13178         skip the construct in the format string but do not record anything.
13179         * stdio-common/bug22.c: Adjust to test both width/prevision
13180         INT_MAX overflow as well as total length INT_MAX overflow.  Check
13181         explicitly for proper errno values.
13183 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
13185         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
13186         CHAR_MAX.
13187         * string/test-strcmp.c [! WIDE]: Likewise.
13188         * time/tst-mktime2.c: Likewise for INT_MAX.
13189         * string/test-string.h: #include <sys/param.h> for MIN.
13191         * csu/init-first.c (__libc_init_first): Call __ctype_init.
13192         * sysdeps/i386/init-first.c (init): Likewise.
13193         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
13194         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
13195         * sysdeps/sh/init-first.c (init): Likewise.
13197 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
13199         * po/ru.po: Update from translation team.
13200         * po/vi.po: Likewise.
13202 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
13204         * resolv/nss_dns/dns-host.c: Merge copyright years.
13206 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13208         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13209         Optimize memcpy with prefetch if
13210         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
13211         src, dst pointers have unequal 16 byte alignments.
13213 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13215         [BZ #13928]
13216         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
13217         from a CNAME entry and return the minimum ttl for the query.
13218         (gaih_getanswer_slice): Likewise.
13220 2012-03-30  Jeff Law  <law@redhat.com>
13222         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
13223         due to long keys.
13224         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13225         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13227         * resolv/nss_dns/dns-host.c: Update copyright year.
13229 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
13231         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
13232         requests to save a system call.  Fix check that all bytes are sent.
13234         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
13235         comments for sendmmsg.
13237 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13239         [BZ #13691]
13240         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
13241         with only 1 character between 0x0041 and 0x01b0.
13242         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
13243         * wcsmbs/tst-mbsnrtowcs.c: New file.
13245 2012-03-29  David S. Miller  <davem@davemloft.net>
13247         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
13248         small copies by hand.
13250 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13252         [BZ #13761]
13253         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
13254         _nss_compat_initgroups_dyn): Fall back to malloc/free
13255         for large group memberships.
13257 2012-03-28  David S. Miller  <davem@davemloft.net>
13259         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
13260         that branches into memcpy.
13261         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13262         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13263         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13264         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13265         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
13266         bits.
13267         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
13268         implementation too.
13269         * sysdeps/sparc/mempcpy.S: New file.
13271         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
13272         the IFUNC routine in the libc case.
13273         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13275         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
13276         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
13277         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
13278         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
13279         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
13280         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
13281         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
13282         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
13284         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
13285         loop to 256 bytes instead of 64 bytes and fix test signedness.
13287         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
13288         * sysdeps/sparc/sparc32/Makefile: rather than here...
13289         * sysdeps/sparc/sparc64/Makefile: and here.
13291 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
13293         * malloc/mallocbug.c: Avoid warnings about unused variables.
13295 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
13297         [BZ #13760]
13298         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
13299         in the right place. Discard and retry query if response is
13300         larger than input buffer size.
13302 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
13304         [BZ #369]
13305         [BZ #2678]
13306         [BZ #3866]
13307         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
13308         x for large integer exponent.
13309         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13310         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
13311         sign of result as needed afterwards.
13312         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13313         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
13314         result for underflowing pow the same as for overflow.
13315         (__kernel_standard_l): Handle powl overflow and underflow here
13316         rather than calling __kernel_standard.
13317         * math/libm-test.inc (pow_test): Add more tests.
13319         [BZ #3868]
13320         [BZ #13879]
13321         [BZ #13910]
13322         [BZ #13911]
13323         [BZ #13912]
13324         [BZ #13913]
13325         [BZ #13915]
13326         [BZ #13916]
13327         [BZ #13917]
13328         [BZ #13918]
13329         [BZ #13919]
13330         [BZ #13920]
13331         [BZ #13921]
13332         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
13333         * sysdeps/ieee754/k_standard.c: Include <float.h>.
13334         (__kernel_standard_l): New function.
13335         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
13336         __kernel_standard.
13337         * math/w_acosl.c (__acosl): Likewise.
13338         * math/w_asinl.c (__asinl): Likewise.
13339         * math/w_atan2l.c (__atan2l): Likewise.
13340         * math/w_atanhl.c (__atanhl): Likewise.
13341         * math/w_coshl.c (__coshl): Likewise.
13342         * math/w_exp10l.c (__exp10l): Likewise.
13343         * math/w_exp2l.c (__exp2l): Likewise.
13344         * math/w_fmodl.c (__fmodl): Likewise.
13345         * math/w_hypotl.c (__hypotl): Likewise.
13346         * math/w_j0l.c (__j0l, __y0l): Likewise.
13347         * math/w_j1l.c (__j1l, __y1l): Likewise.
13348         * math/w_jnl.c (__jnl, __ynl): Likewise.
13349         * math/w_lgammal.c (__lgammal): Likewise.
13350         * math/w_log10l.c (__log10l): Likewise.
13351         * math/w_log2l.c (__log2l): Likewise.
13352         * math/w_logl.c (__logl): Likewise.
13353         * math/w_powl.c (__powl): Likewise.
13354         * math/w_remainderl.c (__remainderl): Likewise.
13355         * math/w_scalbl.c (sysv_scalbl): Likewise.
13356         * math/w_sinhl.c (__sinhl): Likewise.
13357         * math/w_sqrtl.c (__sqrtl): Likewise.
13358         * math/w_tgammal.c (__tgammal): Likewise.
13359         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
13360         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
13361         * math/libm-test.inc (acos_test): Add more tests.
13362         (acosh_test): Likewise.
13363         (asin_test): Likewise.
13364         (atanh_test): Likewise.
13365         (exp_test): Likewise.
13366         (exp10_test): Likewise.
13367         (exp2_test): Likewise.
13368         (expm1_test): Likewise.
13369         (lgamma_test): Likewise.
13370         (log_test): Likewise.
13371         (log10_test): Likewise.
13372         (log1p_test): Likewise.
13373         (log2_test): Likewise.
13374         (pow_test): Do not allow some spurious overflow exceptions.
13375         (sqrt_test): Add more tests.
13376         (tgamma_test): Likewise.
13377         (y0_test): Likewise.
13378         (y1_test): Likewise.
13379         (yn_test): Likewise.
13381 2012-03-27  Anton Blanchard  <anton@samba.org>
13383         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
13384         MAP_HUGETLB.
13385         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13386         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13387         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13389 2012-03-27  David S. Miller  <davem@davemloft.net>
13391         * conform/Makefile: Run run-conformtest.sh using $(BASH).
13393         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
13394         have-as-vis3 check.
13396 2012-03-27  Andreas Jaeger  <aj@suse.de>
13398         * sysdeps/x86_64/elf/configure.in: Moved to ...
13399         * sysdeps/x86_64/configure.in: ... here.
13400         * sysdeps/x86_64/elf/start.S: Moved to ...
13401         * sysdeps/x86_64/start.S: ... here.
13402         * sysdeps/x86_64/elf/configure: Delete.
13404         * sysdeps/x86_64/configure.in: Merge contents from
13405         sysdeps/i386/configure.in (without i686 check).
13407         * sysdeps/i386/elf/Versions: Merge into ...
13408         * sysdeps/i386/Versions: ... this.
13409         * sysdeps/i386/elf/Versions: Delete file.
13410         * sysdeps/i386/elf/start.S: Moved to ...
13411         * sysdeps/i386/start.S: ...here.
13412         * sysdeps/i386/elf/configure.in: Merge into...
13413         * sysdeps/i386/configure.in: ...here.
13414         * sysdeps/i386/elf/configure.in: Delete file.
13415         * sysdeps/i386/elf/configure: Delete file.
13417         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
13418         * debug/backtracesyms.c: ... here.
13419         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
13420         * debug/backtracesymsfd.c: ... here.
13421         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
13422         * sysdeps/generic/ifunc-sel.h: ... here.
13424         * sysdeps/unix/i386/start.c: Delete file.
13425         * sysdeps/unix/sparc/start.c: Delete file.
13426         * sysdeps/unix/start.c: Delete file.
13428         * sysdeps/sh/elf/configure.in: Moved to ...
13429         * sysdeps/sh/configure.in: ... here.
13430         * sysdeps/sh/elf/start.S: Moved to ...
13431         * sysdeps/sh/start.S: ... here.
13432         * sysdeps/sh/elf/configure: Delete file.
13434         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
13435         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
13436         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
13437         * sysdeps/powerpc/powerpc64/entry.h: ... here.
13438         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
13439         * sysdeps/powerpc/powerpc64/start.S: here.
13440         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
13441         * sysdeps/powerpc/powerpc64/Makefile: ... this.
13442         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
13443         * sysdeps/powerpc/powerpc64/configure.in: ... this.
13444         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
13446         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
13447         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
13448         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
13449         * sysdeps/powerpc/powerpc32/start.S: ... here.
13450         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
13451         * sysdeps/powerpc/powerpc32/configure.in: ... this.
13452         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
13454         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
13455         * sysdeps/powerpc/ifunc-sel.h: ... here.
13456         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
13457         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
13459         * sysdeps/sparc/elf/configure.in: Moved to ...
13460         * sysdeps/sparc/configure.in: ... here.
13461         * sysdeps/sparc/elf/configure: Delete file.
13462         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
13463         * sysdeps/sparc/sparc32/start.S: ... here.
13464         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
13465         * sysdeps/sparc/sparc64/start.S: ... here.
13466         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
13467         * sysdeps/sparc/sparc32/Makefile: ... this.
13468         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
13469         * sysdeps/sparc/sparc64/Makefile: ... this.
13471         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
13472         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
13473         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
13474         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
13475         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
13476         * sysdeps/s390/s390-32/setjmp.S: ... here.
13477         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
13478         * sysdeps/s390/s390-32/configure.in: ... here.
13479         * sysdeps/s390/s390-32/elf/configure: Delete file.
13480         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
13481         * sysdeps/s390/s390-32/start.S: ... here.
13483         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
13484         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
13485         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
13486         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
13487         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
13488         * sysdeps/s390/s390-64/setjmp.S: ... here.
13489         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
13490         * sysdeps/s390/s390-64/configure.in: ... here
13491         * sysdeps/s390/s390-64/elf/configure: Delete file.
13492         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
13493         * sysdeps/s390/s390-64/start.S: ... here.
13494         * sysdeps/s390/s390-64/elf/configure: Delete.
13496         * configure.in: Remove support for elf directories in sysdeps.
13498         * configure: Regenerated.
13499         * sysdeps/i386/configure: Regenerated.
13500         * sysdeps/powerpc/powerpc32/configure: Regenerated.
13501         * sysdeps/powerpc/powerpc64/configure: Regenerated.
13502         * sysdeps/s390/s390-32/configure: Regenerated.
13503         * sysdeps/s390/s390-64/configure: Regenerated.
13504         * sysdeps/sh/configure: Regenerated.
13505         * sysdeps/sparc/configure: Regenerated.
13506         * sysdeps/x86_64/configure: Regenerated.
13508 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
13510         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13512         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
13513         denormal result into account.
13515 2012-03-25  Roland McGrath  <roland@hack.frob.com>
13517         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
13518         Reported by Allan McRae <allan@archlinux.org>.
13520 2012-03-23  Jeff Law  <law@redhat.com>
13522         * nss/getnssent.c (__nss_getent): Fix typo.
13524 2012-03-23  David S. Miller  <davem@davemloft.net>
13526         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13528 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
13530         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
13531         to pad to uint64_t for each field.
13532         (dl_tls_index): Replace unsigned long with uint64_t.
13534 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
13535         Paul Pluzhnikov  <ppluzhnikov@google.com>
13537         [BZ #6528]
13538         * grp/Makefile (otherlibs): Don't set it.
13539         * inet/Makefile (otherlibs): Likewise.
13540         * login/Makefile (otherlibs): Likewise.
13541         * nscd/Makefile (otherlibs): Likewise.
13542         * posix/Makefile (otherlibs): Likewise.
13543         * pwd/Makefile (otherlibs): Likewise.
13544         * rt/Makefile (otherlibs): Likewise.
13545         * sunrpc/Makefile (otherlibs): Likewise.
13546         * nss/Makefile (otherlibs): Likewise.
13547         Add libnss_files to routines and static-only-routines.
13548         ($(objpfx)getent): Remove rule.
13549         * resolv/Makefile: Add libnss_dns and libresolv to routines and
13550         static-only-routines.
13552 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
13554         [BZ #13892]
13555         * math/s_cexp.c: Include <float.h>.
13556         (__cexp): Handle exp result overflowing not necessarily
13557         overflowing both real and imaginary parts of result.
13558         * math/s_cexpf.c: Likewise.
13559         * math/s_cexpl.c: Likewise.
13560         * math/libm-test.inc (cexp_test): Add more tests.
13561         * sysdeps/i386/fpu/libm-test-ulps: Update.
13562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13564 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
13566         * include/link.h (ELFW): New macro.
13567         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
13568         Replace ELF64_R_TYPE with ELFW(R_TYPE).
13570 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
13572         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
13573         with uint64_t.
13575 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
13577         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
13578         declaration.
13579         (struct La_x32_retval): Likewise.
13581 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
13583         * sysdeps/x86_64/preconfigure.in: New file.
13584         * sysdeps/x86_64/preconfigure: New generated file.
13586 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
13588         [BZ #13824]
13589         * math/e_exp2l.c: Include <float.h>.
13590         (__ieee754_exp2l): Handle overflow and underflow cases
13591         separately.  Only pass fractional part of argument to
13592         __ieee754_expl.
13593         * math/libm-test.inc (exp2_test): Add more tests.
13595         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
13596         negating x to take absolute value.
13597         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13598         Likewise.
13599         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13600         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13601         Likewise.
13602         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
13603         computing low part if x was negated.
13604         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13606 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
13608         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
13609         la_x32_gnu_pltexit.
13610         (pltexit): Cast int_retval to ptrdiff_t.
13611         * elf/tst-auditmod3b.c: Likewise.
13612         * elf/tst-auditmod4b.c: Likewise.
13613         * elf/tst-auditmod5b.c: Likewise.
13614         * elf/tst-auditmod6b.c: Likewise.
13615         * elf/tst-auditmod6c.c: Likewise.
13616         * elf/tst-auditmod7b.c: Likewise.
13618         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
13619         and x32_gnu_pltexit.
13621         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
13622         __ELF_NATIVE_CLASS.
13623         (La_x32_regs): New macro.
13624         (La_x32_retval): Likewise.
13625         (la_x32_gnu_pltenter): New function prototype.
13626         (la_x32_gnu_pltexit): Likewise.
13628 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
13630         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
13631         exponent.
13633         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13635         * configure.in (libc_cv_cc_nofma): Check for option to disable
13636         generation of FMA instructions.
13637         * configure: Regenerate.
13638         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
13639         * sysdeps/ieee754/dbl-64/Makefile: New file.
13640         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13641         Remove brandred-fma4.
13642         (CFLAGS-brandred-fma4.c): Remove.
13643         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
13644         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
13645         define.
13646         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
13647         define.
13649 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
13651         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13652         LLONG_MAX != LONG_MAX.
13653         (_itoa_word): Use _ITOA_WORD_TYPE on value.
13654         (_fitoa_word): Likewise.
13655         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
13656         LLONG_MAX != LONG_MAX.
13657         * stdio-common/_itowa.h: Include <_itoa.h>.
13658         (_itowa_word): Use _ITOA_WORD_TYPE on value.
13659         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
13660         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
13661         only if not defined.
13662         (_ITOA_WORD_TYPE): Likewise.
13663         (_itoa_word): Use _ITOA_WORD_TYPE on value.
13664         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
13666 2012-03-21  David S. Miller  <davem@davemloft.net>
13668         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13670 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
13672         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
13673         of x86_64 when setting libc_cv_slibdir, libdir and
13674         libc_cv_localedir.
13675         * sysdeps/unix/sysv/linux/configure: Regenerated.
13677 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
13679         * manual/lang.texi (Old Varargs): Remove section.
13680         (How Variadic): Update menu.
13681         (va_start): Do not mention varargs.h.
13683 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
13684             Joseph Myers  <joseph@codesourcery.com>
13686         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
13687         link test.
13688         * configure: Regenerated.
13690 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
13692         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
13693         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
13694         conformtest.pl
13696 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
13698         * NOTES: Remove.
13699         * Makefile (files-for-dist): Remove NOTES.
13700         (NOTES): Remove rule.
13701         * README: Don't refer to NOTES.
13702         * manual/creature.texi: Don't include macros.texi.
13703         * manual/intro.texi (creature.texi): Remove comment referring to
13704         NOTES.
13706         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
13707         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
13708         * configure: Regenerated.
13709         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
13710         LIBC_TRY_CC_OPTION.
13711         (libc_cv_as_i686): Likewise.
13712         (libc_cv_cc_avx): Likewise.
13713         (libc_cv_cc_sse2avx): Likewise.
13714         (libc_cv_cc_fma4): Likewise.
13715         (libc_cv_cc_novzeroupper): Likewise.
13716         * sysdeps/i386/configure: Regenerated.
13718         [BZ #13883]
13719         * sysdeps/i386/fpu/s_cexp.S: Remove.
13720         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13721         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13722         * math/libm-test.inc (cexp_test): Add more tests.
13723         * sysdeps/i386/fpu/libm-test-ulps: Update.
13724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13726 2012-03-21  Allan McRae  <allan@archlinux.org>
13728         * timezone/Makefile: Do not install iso3166.tab and zone.tab
13730 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
13732         [BZ #13871]
13733         * math/w_exp2.c: Do not include <float.h>.
13734         (o_threshold, u_threshold): Remove.
13735         (__exp2): Calculate result before checking finiteness and calling
13736         __kernel_standard.
13737         * math/w_exp2f.c: Likewise.
13738         * math/w_exp2l.c: Likewise.
13739         * math/libm-test.inc (exp2_test): Require overflow exception for
13740         1e6 input.
13742         [BZ #3866]
13743         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
13744         range of signed 64-bit integers before using fistpll.  Remove
13745         checks for whether integers fit in mantissa bits.
13746         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
13747         the range of signed 32-bit integers before using fistpl.  Remove
13748         checks for whether integers fit in mantissa bits.
13749         * sysdeps/i386/fpu/e_powl.S (p64): New object.
13750         (__ieee754_powl): Test for y outside the range of signed 64-bit
13751         integers before using fistpll.  Reduce 64-bit values to 63-bit
13752         ones as needed.
13753         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
13754         divide-by-zero is raised for zero to large negative powers.
13755         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
13756         (__ieee754_powl): Test for y outside the range of signed 64-bit
13757         integers before using fistpll.  Reduce 64-bit values to 63-bit
13758         ones as needed.
13759         * math/libm-test.inc (pow_test): Add more tests.
13761 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
13763         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
13764         <stdio-common/_itoa.h>.
13765         * debug/segfault.c: Likewise.
13766         * elf/dl-cache.c: Likewise.
13767         * elf/dl-minimal.c: Likewise.
13768         * elf/dl-misc.c: Likewise.
13769         * elf/dl-sysdep.c: Likewise.
13770         * elf/dl-version.c: Likewise.
13771         * elf/rtld.c: Likewise.
13772         * hurd/hurdsock.c: Likewise.
13773         * hurd/lookup-retry.c: Likewise.
13774         * malloc/malloc.c: Likewise.
13775         * malloc/mtrace.c: Likewise.
13776         * nscd/nscd_getgr_r.c: Likewise.
13777         * nscd/nscd_getpw_r.c: Likewise.
13778         * nscd/nscd_getserv_r.c: Likewise.
13779         * posix/getopt_init.c: Likewise.
13780         * posix/wordexp.c: Likewise.
13781         * stdio-common/_itoa.c: Likewise.
13782         * stdio-common/printf_fphex.c: Likewise.
13783         * stdio-common/vfprintf.c: Likewise.
13784         * string/_strerror.c: Likewise.
13785         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
13786         * sysdeps/i386/i686/hp-timing.h: Likewise.
13787         * sysdeps/mach/_strerror.c: Likewise.
13788         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
13789         * sysdeps/mach/hurd/sethostid.c: Likewise.
13790         * sysdeps/mach/hurd/xmknodat.c: Likewise.
13791         * sysdeps/mach/xpg-strerror.c: Likewise.
13792         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13793         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13794         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
13795         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
13796         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13797         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
13798         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13799         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13800         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
13801         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
13802         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
13803         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13804         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
13805         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13806         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13807         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
13808         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
13809         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
13810         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13811         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13812         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
13814         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
13816         * stdio-common/_itoa.h: Moved to ...
13817         * sysdeps/generic/_itoa.h: Here.
13819         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
13821         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
13822         instead of "_itoa.h" and "_itowa.h".
13823         * stdio-common/vfprintf.: Likewise.
13825 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
13827         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
13828         <bits/wordsize.h>.
13829         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
13830         (__signbit): Likwise.
13831         (llrintf): Likwise.
13832         (llrint): Likwise.
13834 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
13836         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
13837         __WORDSIZE != 64.
13839 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
13841         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
13842         OVERFLOW_EXCEPTION_OK.
13843         * math/libm-test.inc ("Philosophy"): Update comment about
13844         exception testing.
13845         (OVERFLOW_EXCEPTION): Define.
13846         (OVERFLOW_EXCEPTION_OK): Likewise.
13847         (INVALID_EXCEPTION_OK): Renumber.
13848         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13849         (IGNORE_ZERO_INF_SIGN): Likewise.
13850         (test_exceptions): Handle FE_OVERFLOW.
13851         (exp10_test): Expect overflow exceptions.
13852         (exp2_test): Likewise.
13853         (expm1_test): Likewise.
13854         (nextafter_test): Likewise.
13855         (pow_test): Likewise.
13856         (scalbn_test): Likewise.
13857         (scalbln_test): Likewise.
13859 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13861         * sysdeps/x86_64/bits/atomic.h
13862         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
13863         64bit integer.
13864         (atomic_exchange_acq): Likewise.
13865         (__arch_exchange_and_add_body): Likewise.
13866         (__arch_add_body): Likewise.
13867         (atomic_add_negative): Likewise.
13868         (atomic_add_zero): Likewise.
13870 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13872         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
13873         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
13875 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13877         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
13878         Check __x86_64__ instead of __WORDSIZE.
13880 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13882         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
13884 2012-03-19  David S. Miller  <davem@davemloft.net>
13886         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13888         * sysdeps/sparc/fpu/fenv_private.h: New file.
13889         * sysdeps/sparc/fpu/math_private.h: Use it.
13890         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
13891         Remove.
13892         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
13893         (libc_feholdexcept_setroundl): Remove.
13894         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
13895         Remove.
13896         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
13897         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
13899 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13901         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
13902         int64_t instead of long int.
13903         (INSERT_WORDS64): Likwise.
13905 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13907         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
13908         _Unwind_GetCFA return to _Unwind_Ptr first.
13910 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
13912         [BZ #13629]
13913         * math/s_clog.c: Include <float.h>.
13914         (__clog): Scale large or subnormal inputs.
13915         * math/s_clogf.c: Likewise.
13916         * math/s_clogl.c: Likewise.
13917         * math/s_clog10.c: Include <float.h>.
13918         (M_LOG10_2): Define.
13919         (__clog10): Scale large or subnormal inputs.
13920         * math/s_clog10f.c: Likewise.
13921         * math/s_clog10l.c: Likewise.
13922         * math/libm-test.inc (clog_test): Add more tests.
13923         (clog10_test): Likewise.
13924         * sysdeps/i386/fpu/libm-test-ulps: Update.
13925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13927         [BZ #11451]
13928         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
13929         x and y.
13930         * math/libm-test.inc (atan2_test): Add another test.
13932         * Makerules (common-objdir-compile): Remove.
13933         * sysdeps/unix/Makefile (config-generated): Do not add
13934         $(unix-generated) to variable.
13935         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
13936         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
13937         Remove rule.
13938         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
13939         Likewise.
13940         [generic bits/local_lim.h] (before-compile): Do not append to
13941         variable.
13942         [generic bits/local_lim.h] (common-generated): Likewise.
13943         [generic sys/param.h] (before-compile): Do not append to variable.
13944         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
13945         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
13946         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
13947         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
13948         include.
13949         [generic sys/param.h] (sys/param.h-includes): Remove variable.
13950         [generic sys/param.h] (sys/param.h-includes): Remove rule.
13951         [generic sys/param.h] ($(addprefix
13952         $(common-objpfx),$(sys/param.h-includes))): Likewise.
13953         [generic sys/param.h] (common-generated): Do not append to
13954         variable.
13955         [generic sys/param.h] (sysdep_headers): Likewise.
13956         [generic bits/errno.h] (before-compile): Do not append to
13957         variable.
13958         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
13959         rule.
13960         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
13961         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
13962         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
13963         [generic bits/errno.h] (common-generated): Do not append to
13964         variable.
13965         [generic bits/ioctls.h] (before-compile): Do not append to
13966         variable.
13967         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
13968         rule.
13969         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
13970         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
13971         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
13972         rule.
13973         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
13974         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
13975         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
13976         [generic bits/ioctls.h] (common-generated): Do not append to
13977         variable.
13978         [generic sys/syscall.h] (syscall.h): Remove variable.
13979         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
13980         rule.
13981         [generic sys/syscall.h] (before-compile): Do not append to
13982         variable.
13983         [generic sys/syscall.h] (common-generated): Likewise.
13984         * sysdeps/unix/errnos-tmpl.c: Remove file.
13985         * sysdeps/unix/errnos.awk: Likewise.
13986         * sysdeps/unix/ioctls-tmpl.c: Likewise.
13987         * sysdeps/unix/ioctls.awk: Likewise.
13988         * sysdeps/unix/mk-local_lim.c: Likewise.
13989         * sysdeps/unix/snarf-ioctls: Likewise.
13991 2012-03-19  Richard Henderson  <rth@twiddle.net>
13993         * sysdeps/i386/fpu/fenv_private.h: New file.
13994         * sysdeps/i386/fpu/math_private.h: Use it.
13995         (math_opt_barrier, math_force_eval): Remove.
13996         (libc_feholdexcept_setround_53bit): Remove.
13997         (libc_feupdateenv_53bit): Remove.
13998         * sysdeps/x86_64/fpu/math_private.h: Likewise.
13999         (math_opt_barrier, math_force_eval): Remove.
14000         (libc_feholdexcept): Remove.
14001         (libc_feholdexcept_setround): Remove.
14002         (libc_fetestexcept, libc_fesetenv): Remove.
14003         (libc_feupdateenv_test): Remove.
14004         (libc_feupdateenv, libc_feholdsetround): Remove.
14005         (libc_feresetround): Remove.
14007         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
14008         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14010         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
14011         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
14012         (libc_feupdateenv_testl): New.
14013         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
14014         (libc_feupdateenv_testf): New.
14015         (libc_feupdateenv): Use libc_feupdateenv_test.
14016         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
14017         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
14019         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
14020         (libc_feholdsetroundf, libc_feholdsetroundl): New.
14021         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
14022         (libc_feresetround_noex): New.
14023         (libc_feresetround_noexf): New.
14024         (libc_feresetround_noexl): New.
14025         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
14026         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
14027         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
14028         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
14029         SET_RESTORE_ROUND.
14030         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14031         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
14032         (__cos): Likewise.
14033         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
14034         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14035         SET_RESTORE_ROUND_NOEX.
14036         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
14037         SET_RESTORE_ROUND_NOEXF.
14038         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
14039         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
14040         (libc_feholdsetroundf): New.
14041         (libc_feresetround, libc_feresetroundf): New.
14043         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
14044         (libc_feholdexcept_setround_53bit): Convert from macro to function.
14045         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
14047         * sysdeps/generic/math_private.h: Include <fenv.h>.
14048         (default_libc_feholdexcept): New.
14049         (default_libc_feholdexcept_setround): New.
14050         (default_libc_fesetenv, default_libc_feupdateenv): New.
14051         (libc_feholdexcept): Only define if undefined.
14052         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
14053         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
14054         (libc_feholdexcept_setroundl): Likewise.
14055         (libc_feholdexcept_setround_53bit): Likewise.
14056         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
14057         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
14058         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
14059         (libc_feupdateenv_53bit): Likewise.
14060         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
14061         (libc_feholdexcept): Convert from macro to inline function.
14062         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
14063         (libc_fesetenv, libc_feupdateenv): Likewise.
14065         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
14066         not previously defined.
14067         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
14068         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
14069         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
14070         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
14071         * sysdeps/ieee754/flt-32/math_private.h: New file.
14072         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
14073         math_private.h below SET_FLOAT_WORD.
14074         (__isnan, __isinf_ns, __finite): Remove.
14075         (__isnanf, __isinf_nsf, __finitef): Remove.
14077 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
14079         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14081 2012-03-17  David S. Miller  <davem@davemloft.net>
14083         [BZ #6471]
14084         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
14085         for 2.16.
14087 2012-03-16  David S. Miller  <davem@davemloft.net>
14089         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
14090         warnings.
14092         [BZ #6471]
14093         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
14094         properly.
14095         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
14096         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
14097         sysdep_routines when subdir is sysvipc.
14098         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
14099         __getshmlba helper.
14101         * sysdeps/sparc/fpu/libm-test/ulps: Update.
14103 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14105         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
14106         [__LP64__].
14108 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14110         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
14111         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
14112         (__lround): Renamed to ...
14113         (__llround): This.  Replace long int with long long int.
14114         Define lround functions as aliases of llround functions.
14115         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
14117 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14119         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
14120         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
14121         adresses to uintptr_t.  Replace "long int" and "unsigned long
14122         int" with "greg_t" on va_arg.
14124 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14126         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
14127         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
14129         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
14130         Move e_machine check before EI_CLASS check.  Handle x32
14131         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
14132         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
14133         SKIP_EM_IA_64 and include
14134         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
14136         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
14137         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
14138         (add_system_dir): New macro.
14140         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
14141         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
14143 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
14145         [BZ #2551]
14146         [BZ #2552]
14147         [BZ #2553]
14148         [BZ #2554]
14149         [BZ #2562]
14150         [BZ #2563]
14151         [BZ #2565]
14152         [BZ #2566]
14153         [BZ #2576]
14154         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
14155         (y0): Likewise.
14156         * math/w_j0f.c (j0f): Likewise.
14157         (y0f): Likewise.
14158         * math/w_j0l.c (__j0l): Likewise.
14159         (__y0l): Likewise.
14160         * math/w_j1.c (j1): Likewise.
14161         (y1): Likewise.
14162         * math/w_j1f.c (j1f): Likewise.
14163         (y1f): Likewise.
14164         * math/w_j1l.c (__j1l): Likewise.
14165         (__y1l): Likewise.
14166         * math/w_jn.c (jn): Likewise.
14167         (yn): Likewise.
14168         * math/w_jnf.c (jnf): Likewise.
14169         (ynf): Likewise.
14170         * math/w_jnl.c (__jnl): Likewise.
14171         (__ynl): Likewise.
14172         * math/libm-test.inc (j0_test): Add more tests.
14173         (j1_test): Likewise.
14174         (jn_test): Likewise.  Add trailing semicolon to existing test.
14175         (y0_test): Likewise.
14176         (y1_test): Likewise.
14177         * sysdeps/i386/fpu/libm-test-ulps: Update.
14178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14180         [BZ #13851]
14181         [BZ #13854]
14182         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14183         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
14184         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
14185         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
14186         (__tanl): Set errno for infinite argument.
14187         * sysdeps/i386/fpu/mptan.c: Remove.
14188         * sysdeps/i386/fpu/s_tan.S: Likewise.
14189         * sysdeps/i386/fpu/s_tanl.S: Likewise.
14190         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
14191         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
14192         * math/libm-test.inc (tan_test): Add more tests and enable more
14193         tests for double and long double.
14194         * sysdeps/i386/fpu/libm-test-ulps: Update.
14195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14197 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
14199         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
14200         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
14202 2012-03-16  Roland McGrath  <roland@hack.frob.com>
14204         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
14205         * configure.in: Use it for both main tree and add-ons.
14206         * configure: Regenerated.
14208 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14210         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
14212 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
14214         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
14215         in comment.
14217         [BZ #13851]
14218         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
14219         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
14220         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14221         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
14222         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
14223         infinite argument.
14224         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
14225         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
14226         != 0 for prec == 2.
14227         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
14228         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
14229         * sysdeps/i386/fpu/s_cosl.S: Likewise.
14230         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
14231         * sysdeps/i386/fpu/s_sinl.S: Likewise.
14232         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
14233         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
14234         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
14235         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
14236         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
14237         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
14238         * math/libm-test.inc (cos_test): Add more tests and enable more
14239         tests for long double.
14240         (sin_test): Likewise.
14241         (sincos_test): Likewise.
14242         * sysdeps/i386/fpu/libm-test-ulps: Update.
14243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14245 2012-03-16  David S. Miller  <davem@davemloft.net>
14247         * sysdeps/sparc/fpu/math_private.h: New file.
14249 2012-03-15  David S. Miller  <davem@davemloft.net>
14251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
14252         file.
14253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
14254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
14255         file.
14256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
14257         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
14258         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
14259         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
14260         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
14261         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
14262         sysdep routines.
14263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14265         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
14266         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
14268         * sysdeps/sparc/sparc-ifunc.h: New file.
14269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
14270         sparc-ifunc.h
14271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
14273         Likewise.
14274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
14275         Likewise.
14276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
14277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
14278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14280         Likewise.
14281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
14283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
14285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
14286         Likewise.
14287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
14288         Likewise.
14289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
14291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
14292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
14293         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14294         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14295         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
14296         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
14297         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14298         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14299         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
14300         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
14301         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
14302         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
14303         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
14304         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
14305         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
14306         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
14307         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
14308         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
14309         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
14310         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
14311         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
14312         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
14314 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
14316         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
14317         scaling.
14318         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14320 2012-03-15  Andreas Jaeger  <aj@suse.de>
14322         [BZ #13852]
14323         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
14324         ieee754/flt-32 implementation for sin, cos and sincos.
14325         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
14326         * sysdeps/i386/fpu/s_cosf.S: Likewise.
14327         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
14328         * sysdeps/i386/fpu/s_sinf.S: Likewise.
14329         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
14330         ieee754/flt-32 implementation for tan.
14332         * math/libm-test.inc (cos_test): Enable some large input tests for
14333         float as well
14334         (sin_test): Likewise.
14335         (sincos_test): Likewise.
14336         (tan_test): Add tests for large input.
14338         * sysdeps/i386/fpu/libm-test-ulps: Update.
14340 2012-03-15  Andreas Jaeger  <aj@suse.de>
14342         [BZ #13658]
14343         * math/libm-test.inc (cos_test): Add more test cases.
14344         (sin_test): Likewise.
14345         (sincos_test): Likewise.
14347 2012-03-15  Andreas Jaeger  <aj@suse.de>
14349         [BZ #13837]
14350         * math/libm-test.inc (cos_test): Add a test case for large input
14351         value.
14352         (sin_test): Likewise.
14353         (sincos_test): Likewise.
14355 2012-03-15  Andreas Jaeger  <aj@suse.de>,
14356         Joseph Myers  <joseph@codesourcery.com>
14358         [BZ #13658]
14359         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
14360         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
14361         * sysdeps/i386/fpu/branred.c: Likewise.
14362         * sysdeps/i386/fpu/dosincos.c: Likewise.
14363         * sysdeps/i386/fpu/mpa.c: Likewise.
14364         * sysdeps/i386/fpu/s_cos.S: Likewise.
14365         * sysdeps/i386/fpu/s_sin.S: Likewise.
14366         * sysdeps/i386/fpu/s_sincos.S: Likewise.
14367         * sysdeps/i386/fpu/sincos32.c: Likewise.
14369         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
14370         Define.
14371         (libc_feupdateenv_53bit): Define.
14372         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
14373         Define.
14374         (libc_feupdateenv_53bit): Define.
14376         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
14377         53 bit (without extend i386 double precision).
14379         * math/libm-test.inc (sincos_test): Add tests for large input.
14380         (sin): Likewise.
14381         (cos): Likewise.
14383         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14385 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
14387         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14389 2012-03-15  David S. Miller  <davem@davemloft.net>
14391         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
14392         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
14393         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
14394         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
14395         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
14396         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
14397         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
14398         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
14399         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
14400         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
14401         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
14402         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
14403         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
14404         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
14405         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
14406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
14407         file.
14408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
14409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
14410         file.
14411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
14412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
14413         file.
14414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
14415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
14416         file.
14417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
14418         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
14419         fmin/fmax sysdep routines.
14420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14422 2012-03-14  David S. Miller  <davem@davemloft.net>
14424         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
14425         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
14426         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
14427         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
14428         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
14429         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
14430         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
14431         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
14432         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
14433         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
14434         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
14435         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
14436         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
14437         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
14438         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
14439         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
14440         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
14441         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
14442         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
14443         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
14444         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
14445         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
14446         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
14447         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
14448         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
14449         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
14450         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
14451         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
14452         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
14453         routines.
14454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
14455         file.
14456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
14457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
14458         file.
14459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
14460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
14461         file.
14462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
14463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
14464         file.
14465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
14466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
14467         file.
14468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
14469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
14470         file.
14471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
14472         file.
14473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
14474         file.
14475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
14476         file.
14477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
14478         New file.
14479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
14480         file.
14481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
14482         file.
14483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
14484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
14485         file.
14486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
14487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
14488         file.
14489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
14490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
14491         file.
14492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
14493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
14494         VIS3 routines.
14496         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14497         New file.
14499         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14501         * sysdeps/sparc/configure.in: New file.
14502         * sysdeps/sparc/configure: Generate.
14503         * configure.in (libc_cv_sparc_as_vis3): Substitute.
14504         * configure: Regenerate.
14505         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
14506         * config.make.in (have-as-vis3): New.
14507         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
14508         available use -Av9d instead of -Av9a.
14509         * sysdeps/sparc/sparc64/Makefile: Likewise.
14510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
14511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
14512         New file.
14513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
14514         file.
14515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
14516         New file.
14517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
14518         file.
14519         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
14520         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
14521         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
14522         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
14523         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
14525         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
14526         fzeros/fnegs to load 0x80000000 into a float register instead of
14527         using the stack.
14528         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
14530 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
14532         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14533         bits/syscall.h.
14534         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
14535         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
14536         ($(inst_includedir)/bits/syscall.h): Remove rule.
14537         ($(objpfx)bits/syscall.d): Include instead of
14538         $(objpfx)syscall-list.d.
14539         (generated): Change syscall-list.h and syscall-list.d to
14540         bits/syscall.h and bits/syscall.d.
14542 2012-03-14  Roland McGrath  <roland@hack.frob.com>
14544         [BZ #13846]
14545         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
14547 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
14549         [BZ #13841]
14550         * math/s_csqrt.c: Include <float.h>.
14551         (__csqrt): Scale large or subnormal inputs.
14552         * math/s_csqrtf.c: Likewise.
14553         * math/s_csqrtl.c: Likewise.
14554         * math/libm-test.inc (csqrt_test): Add more tests.
14555         * sysdeps/i386/fpu/libm-test-ulps: Update.
14556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14558         [BZ #13840]
14559         * math/libm-test.inc (hypot_test): Add more tests.
14561 2012-03-13  David S. Miller  <davem@davemloft.net>
14563         [BZ #13840]
14564         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
14565         double-precision for the calculation instead of scaling.
14567 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
14569         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
14570         manipulate bits before adding and subtracting TWO52[sx].
14571         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
14572         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
14573         Likewise.
14574         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
14576 2012-03-13  David S. Miller  <davem@davemloft.net>
14578         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
14579         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
14580         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
14581         rtld-global-offsets.h
14582         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14584         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
14585         large parameters.
14587         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
14589         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
14590         'err' in the ifdef scope in which it is actually used.
14592         * nss/nss_db/db-init.c: Include string.h
14594 2012-03-12  David S. Miller  <davem@davemloft.net>
14596         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14597         masking out of the most significant byte of random value used.
14598         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14599         Fix coding style in previous change.
14601         * sysdeps/unix/sysv/linux/kernel-features.h
14602         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
14603         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
14604         expression.
14605         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
14606         later.
14608 2012-03-11  David S. Miller  <davem@davemloft.net>
14610         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14611         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
14612         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
14613         for 'resultvar' otherwise things get truncated on 64-bit.
14615         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14616         Fix masking out of the most significant byte of random value used.
14618         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14620 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
14622         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14624 2012-03-09  David S. Miller  <davem@davemloft.net>
14626         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
14627         variables with appropriate CPP guards.
14628         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
14629         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
14630         on resulting framesize and the management of the outregs buffer for pltexit.
14631         Preserve floating point return values across _dl_call_pltexit call.
14632         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
14633         framesize and the management of the outregs buffer for pltexit.
14634         Preserve floating point return values across _dl_call_pltexit
14635         call.
14636         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
14637         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
14638         (print_exit): Fix format string for return register value.
14640 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
14642         * sunrpc/Makefile (others): Add rpcgen.
14643         ($(objpfx)rpcgen): Remove special build rule and dependency on
14644         libc.
14645         * sunrpc/rpcgen.c: New file.
14647 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
14649         [BZ #13673]
14650         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
14651         * stdio-common/bug-vfprintf-nargs.c: Likewise.
14652         * sysdeps/i386/crti.S: Likewise.
14653         * sysdeps/i386/crtn.S: Likewise.
14654         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
14655         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
14656         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
14657         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
14658         * sysdeps/sh/crti.S: Likewise.
14659         * sysdeps/sh/crtn.S: Likewise.
14660         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14662         [BZ #13673]
14663         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
14664         with URL.
14665         * locale/programs/locfile-kw.gperf: Likewise.
14666         * locale/programs/charmap-kw.h: Regenerated.
14667         * locale/programs/locfile-kw.h: Likewise.
14669         [BZ #13673]
14670         * intl/plural.y: Replace FSF snail mail address with URL.
14671         * intl/plural.c: Regenerated.
14673 2012-03-09  Richard Henderson  <rth@twiddle.net>
14675         * include/math_private.h: Remove file.
14676         * math/math_private.h: Move file ...
14677         * sysdeps/generic/math_private.h: ... here.
14679         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
14680         * sysdeps/powerpc/fpu/math_private.h: Likewise.
14681         * sysdeps/x86_64/fpu/math_private.h: Likewise.
14683         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
14684         and <math_private.h>.
14685         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14686         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14687         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14688         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14689         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14690         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
14691         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14692         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14693         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14694         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14695         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14696         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14697         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14698         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14699         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14700         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14701         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14702         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14703         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14704         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14705         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14706         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14707         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14708         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14709         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14710         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14711         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14712         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14713         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14714         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14715         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14716         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14717         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14718         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14719         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14720         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14721         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14722         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14723         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14724         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14725         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
14726         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14727         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14728         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14729         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14730         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14731         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14732         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14733         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14734         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14735         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14736         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
14737         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14738         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14739         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14740         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14741         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14742         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14743         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14744         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
14745         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14746         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14747         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14748         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14749         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
14750         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14751         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14752         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14753         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
14754         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
14755         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14756         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14757         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14758         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14759         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
14760         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14761         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
14762         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14763         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
14764         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
14765         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14766         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14767         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14768         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14769         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14770         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14771         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
14772         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14773         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14774         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14775         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14776         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14777         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14778         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14779         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14780         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14781         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14782         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14783         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14784         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14785         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14786         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14787         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14788         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14789         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14790         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14791         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14792         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14793         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14794         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14795         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14796         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14797         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14798         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14799         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
14800         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14801         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14802         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14803         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14804         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14805         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14806         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14807         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14808         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
14809         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14810         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14811         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14812         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
14813         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14814         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14815         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
14816         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14817         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14818         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14819         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
14820         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14821         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14822         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14823         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
14824         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14825         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14826         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14827         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14828         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
14829         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
14830         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14831         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14832         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14833         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14834         * sysdeps/ieee754/k_standard.c: Likewise.
14835         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14836         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14837         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14838         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14839         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14840         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14841         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14842         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14843         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14844         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14845         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14846         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14847         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14848         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14849         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14850         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14851         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14852         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14853         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14854         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14855         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14856         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14857         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14858         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14859         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14860         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14861         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14862         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14863         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14864         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14865         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14866         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14867         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14868         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14869         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14870         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14871         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14872         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
14873         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14874         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14875         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14876         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14877         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14878         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14879         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14880         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14881         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14882         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14883         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14884         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14885         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14886         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14887         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14888         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14889         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14890         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14891         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
14892         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14893         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14894         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14895         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14896         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14897         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14898         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14899         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14900         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14901         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14902         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14903         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14904         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14905         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14906         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14907         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14908         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14909         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14910         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14911         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
14912         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14913         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14914         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14915         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14916         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14917         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14918         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14919         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14920         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14921         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14922         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14923         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14924         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14925         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
14926         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14927         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
14928         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14929         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14930         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14931         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
14932         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
14933         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
14934         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
14935         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14936         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14937         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14938         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14939         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
14940         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14941         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14942         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
14943         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
14944         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14945         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14946         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14947         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14948         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14949         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14950         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14951         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14952         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14953         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14954         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14955         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14956         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14957         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14958         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14959         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14960         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
14961         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14962         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14963         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14964         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14965         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14966         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14967         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14968         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14969         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14970         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14971         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
14972         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14973         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14974         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
14975         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
14976         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14977         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
14978         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
14979         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14980         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14981         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14982         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14983         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14984         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
14985         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14986         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14987         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14988         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14989         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
14990         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
14991         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14992         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14993         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14994         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14995         * sysdeps/ieee754/s_lib_version.c: Likewise.
14996         * sysdeps/ieee754/s_matherr.c: Likewise.
14997         * sysdeps/ieee754/s_signgam.c: Likewise.
14998         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14999         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15000         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
15001         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
15002         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
15003         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15004         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
15005         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
15006         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
15007         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
15008         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15009         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
15010         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15011         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15012         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
15013         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15014         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15015         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15016         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15017         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15018         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15020 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
15022         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
15023         * sunrpc/rpc_main.c: Likewise.
15024         * sunrpc/rpc_svcout.c: Likewise.
15026 2012-03-09  David S. Miller  <davem@davemloft.net>
15028         * include/math_private.h: New file.
15030 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
15032         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
15033         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
15034         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
15035         from <bits/socket_type.h>.
15036         (enum __socket_type): Don't define here.
15037         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
15038         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15039         bits/socket_type.h.
15041         [BZ #13566]
15042         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
15043         checking __USE_GNU.
15045         * Makerules ($(inst_includedir)/%.h): New rule.
15046         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
15047         (install-others): Remove variable setting.
15048         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
15050 2012-03-08  Richard Henderson  <rth@twiddle.net>
15052         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
15053         from macro to inline function; merge with the
15054         !__LIBC_INTERNAL_MATH_INLINES version.
15055         (__ieee754_sqrtf): Likewise.
15057         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
15058         to inline function.
15059         (__rintf, __floor, __floorf): Likewise.
15061         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
15062         macro to inline function.
15063         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
15065         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
15066         not <math/math_private.h>.
15068 2012-03-08  David S. Miller  <davem@davemloft.net>
15070         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
15071         copyright year.
15072         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
15074 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
15076         * resolv/gai_misc.c (handle_requests): Fix struct timespec
15077         normalization.
15078         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
15079         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
15081 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
15083         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
15084         be defined individually, they must be defined as a block.  Define
15085         S for printing a string instead of hidint the different by using a
15086         macro for adding the 'l'.
15087         * stdio-common/tst-fphex-wide.c: Adjust.
15089 2012-03-07  Marek Polacek  <polacek@redhat.com>
15091         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
15093 2012-03-08  Marek Polacek  <polacek@redhat.com>
15095         [BZ #13806]
15096         * stdio-common/Makefile (tests): Add tst-fphex-wide.
15097         * stdio-common/tst-fphex.c: Define a few macros to make the
15098         test reusable.  Use them.
15099         * stdio-common/tst-fphex-wide.c: New file.
15101 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
15103         [BZ #6911]
15104         * manual/macros.texi (gnusystems): New macro.
15105         (nongnusystems): Likewise.
15106         (gnulinuxhurdsystems): Likewise.
15107         (gnuhurdsystems): Likewise..
15108         (gnulinuxsystems): Likewise.
15109         * manual/charset.texi: Use new macros or @theglibc{} to refer to
15110         variants of the GNU system, not "GNU system".
15111         * manual/conf.texi: Likewise.
15112         * manual/errno.texi: Likewise.  Update example of errno macro
15113         expansion.
15114         * manual/filesys.texi: Likewise.
15115         (getumask): Document as specific to GNU/Hurd.
15116         * manual/install.texi: Likewise.  Reword some references to
15117         GNU/Linux.
15118         * manual/intro.texi: Likewise.
15119         * manual/io.texi: Likewise.
15120         (File Name Portability): Detail which constraints are inapplicable
15121         to all GNU systems and which are only inapplicable to GNU/Hurd.
15122         * manual/job.texi: Likewise.
15123         * manual/llio.texi: Likewise.
15124         (O_NOCTTY): Document as present on GNU/Linux.
15125         * manual/maint.texi: Likewise.
15126         * manual/memory.texi: Likewise.
15127         * manual/pattern.texi: Likewise.
15128         * manual/pipe.texi: Likewise.
15129         * manual/process.texi: Likewise.
15130         * manual/resource.texi: Likewise.
15131         (RUSAGE_CHILDREN): Remove statement about specifying a particular
15132         child on GNU/Hurd.
15133         * manual/setjmp.texi: Likewise.
15134         * manual/signal.texi: Likewise.
15135         * manual/startup.texi: Likewise.
15136         * manual/stdio.texi: Likewise.
15137         * manual/terminal.texi: Likewise.
15138         (ONLCR): Document as POSIX.
15139         (OXTABS): Document availability on GNU/Linux as XTABS.
15140         (ONOEOT): Document availability separately from other bits.
15141         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
15142         * manual/time.texi: Likewise.
15143         * manual/users.texi: Likewise.
15144         * INSTALL: Regenerated.
15145         * sysdeps/gnu/errlist.c: Regenerated.
15147         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
15148         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
15149         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
15150         puts.
15151         * configure: Regenerated.
15153 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
15155         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
15156         default includes instead of AC_HEADER_CHECK.
15157         * sysdeps/i386/configure: Regenerated.
15159         [BZ #10716]
15160         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
15161         * math/s_cacoshf.c (__cacoshf): Likewise.
15162         * math/s_cacoshl.c (__cacoshl): Likewise.
15163         * math/s_casinh.c (__casinh): Set signs of result from argument.
15164         * math/s_casinhf.c (__casinhf): Likewise.
15165         * math/s_casinhl.c (__casinhl): Likewise.
15166         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
15167         (casinh_test): Add more tests.
15168         * sysdeps/i386/fpu/libm-test-ulps: Update.
15169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15171 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
15173         * po/zh_TW.po: Update from translation team.
15175         * login/Makefile (distribute): Remove variable.
15176         * catgets/Makefile: Likewise.
15177         * mach/Makefile: Likewise.
15178         * malloc/Makefile: Likewise.
15179         * misc/Makefile: Likewise.
15180         * iconv/Makefile: Likewise.
15181         * nscd/Makefile: Likewise.
15182         * hurd/Makefile: Likewise.
15183         * manual/Makefile: Likewise.
15184         * locale/Makefile: Likewise.
15185         * intl/Makefile: Likewise.
15186         * conform/Makefile: Likewise.
15187         * nss/Makefile: Likewise.
15188         * time/Makefile: Likewise.
15189         * soft-fp/Makefile: Likewise.
15190         * dirent/Makefile: Likewise.
15191         * gmon/Makefile: Likewise.
15192         * po/Makefile: Likewise.
15193         * rt/Makefile: Likewise.
15194         * socket/Makefile: Likewise.
15195         * math/Makefile: Likewise.
15196         * signal/Makefile: Likewise.
15197         * debug/Makefile: Likewise.
15198         * elf/Makefile: Likewise.
15199         * timezone/Makefile: Likewise.
15200         * stdlib/Makefile: Likewise.
15201         * iconvdata/Makefile: Likewise.
15202         * sunrpc/Makefile: Likewise.
15203         * io/Makefile: Likewise.
15204         * argp/Makefile: Likewise.
15205         * inet/Makefile: Likewise.
15206         * hesiod/Makefile: Likewise.
15207         * grp/Makefile: Likewise.
15208         * csu/Makefile: Likewise.
15209         * wctype/Makefile: Likewise.
15210         * crypt/Makefile: Likewise.
15211         * libio/Makefile: Likewise.
15212         * string/Makefile: Likewise.
15213         * nis/Makefile: Likewise.
15214         * resolv/Makefile: Likewise.
15215         * stdio-common/Makefile: Likewise.
15216         * wcsmbs/Makefile: Likewise.
15217         * dlfcn/Makefile: Likewise.
15218         * posix/Makefile: Likewise.
15220         [BZ #6959]
15221         * timezone/Makefile: Don't install timezone files, just the programs
15222         and scripts.
15224 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
15226         * nss/databases.def: Add missing gshadow entry.
15228         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
15230 2012-03-06  Marek Polacek  <polacek@redhat.com>
15232         [BZ #13726]
15233         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
15234         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15235         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
15236         * stdio-common/tst-long-dbl-fphex.c: New file.
15238 2012-03-06  David S. Miller  <davem@davemloft.net>
15240         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15241         (set_obp_int): New function.
15242         (get_obp_int): New function.
15243         (__get_clockfreq_via_dev_openprom): Likewise.
15244         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
15245         Avoid unused variable warnings on 'val' and use builtin_expect.
15246         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
15247         __builtin_expect.
15248         (INLINE_CLONE_SYSCALL): Likewise.
15250 2012-03-05  David S. Miller  <davem@davemloft.net>
15252         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15254 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
15256         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15258         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
15259         only for |x| >= 40.
15260         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15262 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
15264         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
15265         Replace gettimeofday with __vdso_gettimeofday.
15267         * sysdeps/unix/sysv/linux/x86_64/init-first.c
15268         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
15269         __vdso_clock_gettime and __vdso_getcpu.
15271         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
15272         time with __vdso_time.
15274 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
15276         * manual/lang.texi (size_t): Note types to which size_t may be
15277         equivalent with the GNU C Library, but do not describe when
15278         differences between them are significant.
15280 2012-03-05  Andreas Jaeger  <aj@suse.de>
15282         * sysdeps/i386/fpu/libm-test-ulps: Update.
15284 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
15286         [BZ #3976]
15287         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
15288         (__ieee754_pow): Save and restore rounding mode and use
15289         round-to-nearest for main computations.
15290         * math/libm-test.inc (pow_test_tonearest): New function.
15291         (pow_test_towardzero): Likewise.
15292         (pow_test_downward): Likewise.
15293         (pow_test_upward): Likewise.
15294         (main): Call the new functions.
15295         * sysdeps/i386/fpu/libm-test-ulps: Update.
15296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15298         [BZ #3976]
15299         * math/libm-test.inc (cosh_test_tonearest): New function.
15300         (cosh_test_towardzero): Likewise.
15301         (cosh_test_downward): Likewise.
15302         (cosh_test_upward): Likewise.
15303         (sinh_test_tonearest): Likewise.
15304         (sinh_test_towardzero): Likewise.
15305         (sinh_test_downward): Likewise.
15306         (sinh_test_upward): Likewise.
15307         (main): Call the new functions.
15308         * sysdeps/i386/fpu/libm-test-ulps: Update.
15309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15311 2012-03-05  Tom de Vries  <tom@codesourcery.com>
15313         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
15314         default stack guard is set in last bytes.
15315         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
15317 2012-03-05  Kees Cook  <keescook@chromium.org>
15319         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
15321         [BZ #13656]
15322         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
15323         possibly allocate from heap instead of stack.
15324         * stdio-common/bug-vfprintf-nargs.c: New file.
15325         * stdio-common/Makefile (tests): Add nargs overflow test.
15327 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
15329         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15331 2012-03-03  Marek Polacek  <polacek@redhat.com>
15333         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
15334         * math/math_private.h: Likewise.
15335         * stdlib/tst-strtod.c: Likewise.
15336         * sysdeps/i386/i486/bits/atomic.h: Likewise.
15337         * sysdeps/x86_64/bits/atomic.h: Likewise.
15339 2012-03-02  David S. Miller  <davem@davemloft.net>
15341         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
15342         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
15343         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
15344         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
15345         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
15346         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
15347         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
15348         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
15350 2012-03-02  Roland McGrath  <roland@hack.frob.com>
15352         [BZ #13792]
15353         * manual/examples/README: New file, says the example source files
15354         can be used under GPL>=2.
15355         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
15356         line containing just "*/".
15357         * manual/examples/add.c: Add copyright header (GPL>=2).
15358         * manual/examples/argp-ex1.c: Likewise.
15359         * manual/examples/argp-ex2.c: Likewise.
15360         * manual/examples/argp-ex3.c: Likewise.
15361         * manual/examples/argp-ex4.c: Likewise.
15362         * manual/examples/atexit.c: Likewise.
15363         * manual/examples/db.c: Likewise.
15364         * manual/examples/dir.c: Likewise.
15365         * manual/examples/dir2.c: Likewise.
15366         * manual/examples/execinfo.c: Likewise.
15367         * manual/examples/filecli.c: Likewise.
15368         * manual/examples/filesrv.c: Likewise.
15369         * manual/examples/fmtmsgexpl.c: Likewise.
15370         * manual/examples/genpass.c: Likewise.
15371         * manual/examples/inetcli.c: Likewise.
15372         * manual/examples/inetsrv.c: Likewise.
15373         * manual/examples/isockad.c: Likewise.
15374         * manual/examples/longopt.c: Likewise.
15375         * manual/examples/memopen.c: Likewise.
15376         * manual/examples/memstrm.c: Likewise.
15377         * manual/examples/mkfsock.c: Likewise.
15378         * manual/examples/mkisock.c: Likewise.
15379         * manual/examples/mygetpass.c: Likewise.
15380         * manual/examples/pipe.c: Likewise.
15381         * manual/examples/popen.c: Likewise.
15382         * manual/examples/rprintf.c: Likewise.
15383         * manual/examples/search.c: Likewise.
15384         * manual/examples/select.c: Likewise.
15385         * manual/examples/setjmp.c: Likewise.
15386         * manual/examples/sigh1.c: Likewise.
15387         * manual/examples/sigusr.c: Likewise.
15388         * manual/examples/stpcpy.c: Likewise.
15389         * manual/examples/strdupa.c: Likewise.
15390         * manual/examples/strftim.c: Likewise.
15391         * manual/examples/strncat.c: Likewise.
15392         * manual/examples/subopt.c: Likewise.
15393         * manual/examples/swapcontext.c: Likewise.
15394         * manual/examples/termios.c: Likewise.
15395         * manual/examples/testopt.c: Likewise.
15396         * manual/examples/testpass.c: Likewise.
15397         * manual/examples/timeval_subtract.c: Likewise.
15399         [BZ #13792]
15400         * manual/time.texi (Elapsed Time): Move timeval_subtract example
15401         function to ...
15402         * manual/timeval_subtract.c.texi: ... here, new file.
15404 2012-03-02  David S. Miller  <davem@davemloft.net>
15406         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
15408 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
15410         [BZ #3976]
15411         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
15412         (__sin): Save and restore rounding mode and use round-to-nearest
15413         for all computations.
15414         (__cos): Save and restore rounding mode and use round-to-nearest
15415         for all computations.
15416         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
15417         <fenv.h>.
15418         (tan): Save and restore rounding mode and use round-to-nearest for
15419         all computations.
15420         * math/libm-test.inc (cos_test_tonearest): New function.
15421         (cos_test_towardzero): Likewise.
15422         (cos_test_downward): Likewise.
15423         (cos_test_upward): Likewise.
15424         (sin_test_tonearest): Likewise.
15425         (sin_test_towardzero): Likewise.
15426         (sin_test_downward): Likewise.
15427         (sin_test_upward): Likewise.
15428         (tan_test_tonearest): Likewise.
15429         (tan_test_towardzero): Likewise.
15430         (tan_test_downward): Likewise.
15431         (tan_test_upward): Likewise.
15432         (main): Call the new functions.
15433         * sysdeps/i386/fpu/libm-test-ulps: Update.
15434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15436         [BZ #10135]
15437         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
15438         small n, then large n, before computing and testing k+n.
15439         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15440         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
15441         Likewise.
15442         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
15443         Likewise.
15444         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
15445         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
15446         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
15447         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
15448         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15449         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15450         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
15451         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
15452         * math/libm-test.inc (scalbn_test): Add more tests.
15453         (scalbln_test): Likewise.
15455         * manual/filesys.texi (mode_t): Describe constraints on size and
15456         signedness, not exact equivalence to a particular type.
15457         (ino_t): Likewise.
15458         (ino64_t): Likewise.
15459         (dev_t): Likewise.
15460         (nlink_t): Likewise.
15461         (blkcnt_t): Likewise.
15462         (blkcnt64_t): Likewise.
15463         * manual/llio.texi (off_t): Likewise.
15465         [BZ #3976]
15466         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
15467         (__ieee754_exp): Save and restore rounding mode and use
15468         round-to-nearest for all computations.
15469         * math/libm-test.inc (exp_test_tonearest): New function.
15470         (exp_test_towardzero): Likewise.
15471         (exp_test_downward): Likewise.
15472         (exp_test_upward): Likewise.
15473         (main): Call the new functions.
15474         * sysdeps/i386/fpu/libm-test-ulps: Update.
15475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15477 2012-03-01  Chris Demetriou  <cgd@google.com>
15479         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
15480         have predictable order.
15482 2012-03-01  David S. Miller  <davem@davemloft.net>
15484         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
15486         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
15487         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
15488         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
15489         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
15491         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
15492         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
15493         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
15494         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
15495         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
15496         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
15497         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
15498         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
15499         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
15501         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15503         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
15504         * sysdeps/sparc/fpu/libm-test-ulps: to here.
15505         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
15507         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
15508         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15509         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15510         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
15511         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
15512         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
15513         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
15514         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15515         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15516         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
15517         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
15518         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15519         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15520         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15521         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15522         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15523         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
15524         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
15525         * sysdeps/sparc/elf/configure: Regenerated.
15527 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
15529         * configure.in (AS, LD): Require binutils 2.20 or later.
15530         * configure: Regenerated.
15531         * manual/install.texi (Tools for Compilation): Give binutils 2.20
15532         as required minimum version.
15533         * INSTALL: Regenerated.
15535         [BZ #2541]
15536         [BZ #4108]
15537         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
15538         before squaring exponent.
15539         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
15540         bottom long double and 27 bits of top long double before squaring
15541         exponent.
15542         * math/libm-test.inc (erfc_test): Add more tests.
15543         * sysdeps/i386/fpu/libm-test-ulps: Update.
15544         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15547 2012-03-01  Kai Tietz  <ktietz@redhat.com>
15549         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
15550         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
15551         containing bit-fields.
15552         * soft-fp/extended.h (_FP_UNION_E): Likewise.
15553         * soft-fp/single.h (_FP_UNION_S): Likewise.
15554         * soft-fp/double.h (_FP_UNION_D): Likewise.
15556 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
15558         [BZ #13786]
15559         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
15560         not include ../strcmp.S.
15561         [USE_AS_STRNCASECMP_L]: Likewise.
15562         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
15563         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
15564         * sysdeps/i386/i686/multiarch/strncase_l-c.c
15565         (__strncasecmp_l_ia32): Define as alias to
15566         __strncasecmp_l_nonascii.
15568         [BZ #5794]
15569         * math/libm-test.inc (expm1_test): Add test for bug 5794.
15570         * sysdeps/i386/fpu/libm-test-ulps: Update.
15571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15573         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
15574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15576 2012-02-29  Jeff Law  <law@redhat.com>
15578         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
15579         out of bounds read.
15581 2012-02-29  Marek Polacek  <polacek@redhat.com>
15583         [BZ #13706]
15584         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
15585         * elf/Makefile: Add rules to run tst-unused-dep.out.
15587 2012-02-28  David S. Miller  <davem@davemloft.net>
15589         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
15590         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
15591         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
15592         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
15593         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
15594         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
15596 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
15598         * math/libm-test.inc (llround_test): Move one test from
15599         lround_test.  Use TEST_f_L in moved test.
15600         (lround_test): Move misplaced test to llround_test.  Add testcase
15601         from bug 2561.
15603 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
15605         * sysdeps/x86_64/fpu/e_expf.S: New file.
15606         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
15608 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
15610         [BZ #13637]
15611         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
15612         of remain_len that may cause incomplete multi-byte character and
15613         false match.
15614         * posix/bug-regex33.c: New file.
15615         * posix/Makefile (tests): Add bug-regex33.
15617 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
15619         * manual/macros.texi: New file.
15620         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
15621         * manual/libc.texinfo: Include macros.texi.
15622         * manual/creatute.texi: Likewise.
15623         * manual/install.texi: Likewise.
15624         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
15625         @glibcadj{} in references to the GNU C Library.
15626         * manual/charset.texi: Likewise.
15627         * manual/conf.texi: Likewise.
15628         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
15629         when not using those macros.
15630         * manual/creature.texi: Likewise.
15631         * manual/crypt.texi: Likewise.
15632         * manual/errno.texi: Likewise.
15633         * manual/filesys.texi: Likewise.
15634         * manual/header.texi: Likewise.
15635         * manual/install.texi: Likewise.
15636         * manual/intro.texi: Likewise.
15637         * manual/io.texi: Likewise.
15638         * manual/job.texi: Likewise.
15639         * manual/lang.texi: Likewise.
15640         * manual/libc.texiinfo: Likewise.
15641         * manual/llio.texi: Likewise.
15642         * manual/locale.texi: Likewise.
15643         * manual/maint.texi: Likewise.
15644         * manual/math.texi: Likewise.
15645         * manual/memory.texi: Likewise.
15646         * manual/message.texi: Likewise.
15647         * manual/nss.texi: Likewise.
15648         * manual/pattern.texi: Likewise.
15649         * manual/process.texi: Likewise.
15650         * manual/resource.texi: Likewise.
15651         * manual/search.texi: Likewise.
15652         * manual/setjmp.texi: Likewise.
15653         * manual/signal.texi: Likewise.
15654         * manual/socket.texi: Likewise.
15655         * manual/startup.texi: Likewise.
15656         * manual/stdio.texi: Likewise.
15657         * manual/string.texi: Likewise.
15658         * manual/sysinfo.texi: Likewise.
15659         * manual/syslog.texi: Likewise.
15660         * manual/terminal.texi: Likewise.
15661         * manual/time.texi: Likewise.
15662         * manual/users.texi: Likewise.
15663         * INSTALL: Regenerated.
15664         * NOTES: Regenerated.
15665         * sysdeps/gnu/errlist.c: Regenerated.
15667 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
15669         * include/dirent.h: Include <dirstream.h> before
15670         <dirent/dirent.h>.
15672 2012-02-28  David S. Miller  <davem@davemloft.net>
15674         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
15675         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
15676         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
15677         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
15679 2012-02-27  David S. Miller  <davem@davemloft.net>
15681         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
15682         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
15683         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
15684         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
15686         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
15687         frame pointer instead of stack pointer relative arg slot.
15688         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15689         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15690         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15692 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
15694         [BZ #3992]
15695         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
15697 2012-02-27  David S. Miller  <davem@davemloft.net>
15699         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
15700         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15701         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15702         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
15703         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15704         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15705         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
15706         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
15708 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
15710         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
15711         later.  Allow versions 5-9.
15712         * configure: Regenerated.
15713         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
15714         required minimum version and 4.6 as recommended version.  Do not
15715         mention bugs in GCC 2.7 and 2.8.
15716         * INSTALL: Regenerated.
15718 2012-02-27  David S. Miller  <davem@davemloft.net>
15720         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
15721         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
15722         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
15723         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
15724         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
15725         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
15726         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
15727         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
15729         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
15730         manipulate bits before adding and subtracting TWO112[sx].
15731         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15733 2012-02-27  Roland McGrath  <roland@hack.frob.com>
15735         [BZ #13775]
15736         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
15737         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
15738         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
15739         being in POSIX, because they are in 1003.1-2008.
15741         * rt/tst-aio.c: Include <fcntl.h>.
15742         * rt/tst-aio7.c: Likewise.
15743         * rt/tst-aio64.c: Likewise.
15745         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
15747 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
15749         * manual/install.texi (--with-headers): Describe headers as
15750         interface headers, not private headers.
15751         (Specific advice for GNU/Linux systems): Describe use of headers
15752         from "make headers_install", not private headers from older
15753         kernels.
15754         * INSTALL: Regenerated.
15755         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
15756         Change to 2.6.19.
15757         * sysdeps/unix/sysv/linux/configure: Regenerated.
15759         * manual/llio.texi (fclean): Remove documentation.
15761         * manual/Makefile (libc-texi-generated): New variable.  Include
15762         version.texi.
15763         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
15764         $(libc-texi-generated), not duplicated list of files.
15765         (version.texi, stamp-version): New rules.
15766         (realclean): Remove $(libc-texi-generated), not individual files
15767         from that list.  Do not remove dir-add.texinfo.
15768         * manual/libc.texinfo: Comment out uses of edition numbers and
15769         references to printed manual.  Remove last-updated dates.
15770         (EDITION): Comment out.
15771         (ISBN): Likewise.
15772         (VERSION, UPDATED): Remove.
15773         (version.texi): Include.
15775 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
15777         * sysdeps/posix/spawni.c: Include <signal.h>.
15778         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
15779         * sysdeps/pthread/aio_fsync.c: Likewise.
15781 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
15783         * conform/Makefile (tests): Run only when not cross-compiling and
15784         when fast-check is not defined.
15786         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
15787         * conform/data/limits.h-data: Fixes for POSIX2008.
15788         * conform/run-conformtest.sh: Run all tests.
15789         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
15790         headers.
15791         * include/bits/dlfcn.h: Likewise.
15792         * include/langinfo.h: Likewise.
15793         * include/monetary.h: Likewise.
15794         * include/sys/poll.h: Likewise.
15796         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
15797         for __USE_GNU.
15798         * posix/spawn.h: Define __need_sigset_t.
15799         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
15800         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
15801         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
15802         to get sigevent_t only.
15803         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
15804         only for __USE_GNU.
15805         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15806         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15807         process_vm_writev only for __USE_GNU.
15808         * termios/termios.h: Declare tcgetsid also for POSIX2008.
15810         * conform/Makefile: For now ignore errors from run-conformtest.
15811         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
15812         POSIX to avoid namespace pollution.  Don't prepend headers.
15813         * conform/data/aio.h-data: Fixes for POSIX testing.
15814         * conform/data/fcntl.h-data: Likewise.
15815         * conform/data/glob.h-data: Likewise.
15816         * conform/data/grp.h-data: Likewise.
15817         * conform/data/pthread.h-data: Likewise.
15818         * conform/data/pwd.h-data: Likewise.
15819         * conform/data/signal.h-data: Likewise.
15820         * conform/data/spawn.h-data: Likewise.
15821         * conform/data/stdio.h-data: Likewise.
15822         * conform/data/stdlib.h-data: Likewise.
15823         * conform/data/stropts.h-data: Likewise.
15824         * conform/data/sys/mman.h-data: Likewise.
15825         * conform/data/sys/stat.h-data: Likewise.
15826         * conform/data/sys/types.h-data: Likewise.
15827         * conform/data/sys/wait.h-data: Likewise.
15828         * conform/data/time.h-data: Likewise.
15829         * conform/data/unistd.h-data: Likewise.
15830         * conform/data/utime.h-data: Likewise.
15832         * io/sys/stat.h: fchmod was always in POSIX.
15833         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
15834         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
15835         * rt/aio.h: Define __need_timespec before including <time.h>.
15836         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
15837         struct.  Add forward declaration of pthread_attr_t and use it in
15838         sigevent.
15839         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15840         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15841         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
15842         always remove CLK_TCK definition.
15844 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
15846         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
15848 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
15850         * conform/run-conformtest.sh: New file.
15851         * conform/Makefile: Run run-conformtest for tests.
15852         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
15853         support.
15855         * conform/data/uchar.h-data: New file.
15856         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
15857         * conform/data/arpa/inet.h-data: Likewise.
15858         * conform/data/assert.h-data: Likewise.
15859         * conform/data/complex.h-data: Likewise.
15860         * conform/data/cpio.h-data: Likewise.
15861         * conform/data/ctype.h-data: Likewise.
15862         * conform/data/dirent.h-data: Likewise.
15863         * conform/data/dlfcn.h-data: Likewise.
15864         * conform/data/errno.h-data: Likewise.
15865         * conform/data/fcntl.h-data: Likewise.
15866         * conform/data/float.h-data: Likewise.
15867         * conform/data/fmtmsg.h-data: Likewise.
15868         * conform/data/fnmatch.h-data: Likewise.
15869         * conform/data/ftw.h-data: Likewise.
15870         * conform/data/glob.h-data: Likewise.
15871         * conform/data/grp.h-data: Likewise.
15872         * conform/data/iconv.h-data: Likewise.
15873         * conform/data/inttypes.h-data: Likewise.
15874         * conform/data/langinfo.h-data: Likewise.
15875         * conform/data/libgen.h-data: Likewise.
15876         * conform/data/limits.h-data: Likewise.
15877         * conform/data/locale.h-data: Likewise.
15878         * conform/data/math.h-data: Likewise.
15879         * conform/data/monetary.h-data: Likewise.
15880         * conform/data/mqueue.h-data: Likewise.
15881         * conform/data/ndbm.h-data: Likewise.
15882         * conform/data/net/if.h-data: Likewise.
15883         * conform/data/netdb.h-data: Likewise.
15884         * conform/data/netinet/in.h-data: Likewise.
15885         * conform/data/nl_types.h-data: Likewise.
15886         * conform/data/poll.h-data: Likewise.
15887         * conform/data/pthread.h-data: Likewise.
15888         * conform/data/pwd.h-data: Likewise.
15889         * conform/data/regex.h-data: Likewise.
15890         * conform/data/sched.h-data: Likewise.
15891         * conform/data/search.h-data: Likewise.
15892         * conform/data/semaphore.h-data: Likewise.
15893         * conform/data/setjmp.h-data: Likewise.
15894         * conform/data/signal.h-data: Likewise.
15895         * conform/data/spawn.h-data: Likewise.
15896         * conform/data/stdarg.h-data: Likewise.
15897         * conform/data/stdio.h-data: Likewise.
15898         * conform/data/stdlib.h-data: Likewise.
15899         * conform/data/string.h-data: Likewise.
15900         * conform/data/strings.h-data: Likewise.
15901         * conform/data/stropts.h-data: Likewise.
15902         * conform/data/sys/ipc.h-data: Likewise.
15903         * conform/data/sys/mman.h-data: Likewise.
15904         * conform/data/sys/msg.h-data: Likewise.
15905         * conform/data/sys/resource.h-data: Likewise.
15906         * conform/data/sys/select.h-data: Likewise.
15907         * conform/data/sys/sem.h-data: Likewise.
15908         * conform/data/sys/shm.h-data: Likewise.
15909         * conform/data/sys/socket.h-data: Likewise.
15910         * conform/data/sys/stat.h-data: Likewise.
15911         * conform/data/sys/statvfs.h-data: Likewise.
15912         * conform/data/sys/time.h-data: Likewise.
15913         * conform/data/sys/timeb.h-data: Likewise.
15914         * conform/data/sys/times.h-data: Likewise.
15915         * conform/data/sys/types.h-data: Likewise.
15916         * conform/data/sys/uio.h-data: Likewise.
15917         * conform/data/sys/un.h-data: Likewise.
15918         * conform/data/sys/utsname.h-data: Likewise.
15919         * conform/data/sys/wait.h-data: Likewise.
15920         * conform/data/syslog.h-data: Likewise.
15921         * conform/data/tar.h-data: Likewise.
15922         * conform/data/termios.h-data: Likewise.
15923         * conform/data/utime.h-data: Likewise.
15924         * conform/data/utmpx.h-data: Likewise.
15925         * conform/data/varargs.h-data: Likewise.
15926         * conform/data/wchar.h-data: Likewise.
15927         * conform/data/wctype.h-data: Likewise.
15928         * conform/data/wordexp.h-data: Likewise.
15930         * include/stropts.h: New file.
15931         * include/uchar.h: New file.
15932         * include/aio.h: Changes to allow conformtest.pl to use the headers.
15933         * include/assert.h: Likewise.
15934         * include/ctype.h: Likewise.
15935         * include/dirent.h: Likewise.
15936         * include/dlfcn.h: Likewise.
15937         * include/fcntl.h: Likewise.
15938         * include/fnmatch.h: Likewise.
15939         * include/glob.h: Likewise.
15940         * include/grp.h: Likewise.
15941         * include/libio.h: Likewise.
15942         * include/locale.h: Likewise.
15943         * include/math.h: Likewise.
15944         * include/net/if.h: Likewise.
15945         * include/netdb.h: Likewise.
15946         * include/netinet/in.h: Likewise.
15947         * include/pthread.h: Likewise.
15948         * include/pwd.h: Likewise.
15949         * include/regex.h: Likewise.
15950         * include/sched.h: Likewise.
15951         * include/search.h: Likewise.
15952         * include/setjmp.h: Likewise.
15953         * include/signal.h: Likewise.
15954         * include/stdio.h: Likewise.
15955         * include/stdlib.h: Likewise.
15956         * include/string.h: Likewise.
15957         * include/sys/cdefs.h: Likewise.
15958         * include/sys/mman.h: Likewise.
15959         * include/sys/msg.h: Likewise.
15960         * include/sys/resource.h: Likewise.
15961         * include/sys/select.h: Likewise.
15962         * include/sys/socket.h: Likewise.
15963         * include/sys/stat.h: Likewise.
15964         * include/sys/statvfs.h: Likewise.
15965         * include/sys/time.h: Likewise.
15966         * include/sys/times.h: Likewise.
15967         * include/sys/uio.h: Likewise.
15968         * include/sys/utsname.h: Likewise.
15969         * include/sys/wait.h: Likewise.
15970         * include/termios.h: Likewise.
15971         * include/time.h: Likewise.
15972         * include/ulimit.h: Likewise.
15973         * include/unistd.h: Likewise.
15974         * include/utime.h: Likewise.
15975         * include/wchar.h: Likewise.
15976         * include/wctype.h: Likewise.
15977         * include/wordexp.h: Likewise.
15979         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
15981         * time/time.h: TIME_UTC must be a macro.
15982         Make timespec_get available for ISO C11 only as well.
15984 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
15986         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
15987         Reported by Peng Haitao <penght@cn.fujitsu.com>.
15989 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
15991         * configure.in: Use -o not -a in test for unsupported multi-arch.
15993 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
15995         * manual/texinfo.tex: Update to version 2012-01-19.16.
15997 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
15999         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
16001 2012-02-24  Roland McGrath  <roland@hack.frob.com>
16003         [BZ #13738]
16004         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
16005         * manual/fdl-1.3.texi: New file.
16006         * manual/fdl-1.1.texi: File removed.
16008         [BZ #13738]
16009         * manual/libc.texinfo (FDL_VERSION): New @set.
16010         Use it for mention of FDL in cover text.
16011         (Documentation License): Use it in @include file name.
16013 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
16014             Roland McGrath  <roland@hack.frob.com>
16016         [BZ #5461]
16017         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
16018         not LONG_LONG_MAX and LONG_LONG_MIN.
16019         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
16020         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
16021         name.
16022         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
16024 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
16026         [BZ #2547]
16027         [BZ #11365]
16028         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
16029         manipulate bits before adding and subtracting TWO23[sx].
16030         * math/libm-test.inc (nearbyint_test): Add more tests.
16032 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
16034         [BZ #2548]
16035         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
16036         bits before adding and subtracting TWO23[sx].
16037         * math/libm-test.inc (rint_test): Add more tests.
16038         (rint_test_tonearest): Likewise.
16039         (rint_test_towardzero): Likewise.
16040         (rint_test_downward): Likewise.
16041         (rint_test_upward: Likewise.
16043 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
16045         [BZ #10110]
16046         * include/stdc-predef.h: New file.  Extracted from features.h.
16047         * include/features.h: Include stdc-predef.h.
16048         * Makefile (headers): Add stdc-predef.h.
16049         * CONFORMANCE (Compiler limitations): Update.
16051 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
16053         * manual/libc.texinfo (VERSION, UPDATED): Revert.
16055 2012-02-21  David S. Miller  <davem@davemloft.net>
16057         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
16058         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16060 2012-02-20  David S. Miller  <davem@davemloft.net>
16062         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
16063         using a normal save/restore sequence, rather than allocating a
16064         dummy stack frame just to store a frame pointer and restore.
16065         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16067 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
16069         * manual/install.texi: Fix stray word in line-wrapped comment.
16071 2012-02-20  David S. Miller  <davem@davemloft.net>
16073         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
16074         both binutils and gcc support GOTDATA.
16076         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
16077         "rd %pc" in the PIC register setup sequences.
16079         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
16080         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
16081         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16082         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
16083         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16084         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16085         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16086         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16087         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
16088         (SYSCALL_ERROR_HANDLER): Likewise.
16089         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16090         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16091         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
16092         (SYSCALL_ERROR_HANDLER): Likewise.
16094         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
16095         (HAVE_GCC_GOTDATA): New.
16096         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
16097         relocation support in both binutils and gcc.
16098         * sysdeps/sparc/elf/configure: Regenerate.
16100         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
16101         * sysdeps/sparc/sparc32/elf/configure: Delete.
16102         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
16103         * sysdeps/sparc/sparc64/elf/configure: Delete.
16104         * sysdeps/sparc/elf/configure.in: New file.
16105         * sysdeps/sparc/elf/configure: Generate.
16107         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
16108         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
16109         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16110         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
16111         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
16113 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
16115         * manual/install.texi: Do not mention specific glibc version
16116         numbers.
16117         * manual/libc.texinfo (VERSION, UPDATED): Update.
16118         (@copying): Use @copyright{} and range of years.
16120 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
16122         [BZ #13695]
16123         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
16124         [crti.S not in sysdirs] (generated): Do not append.
16125         [crti.S not in sysdirs] (omit-deps): Likewise.
16126         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
16127         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
16128         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
16129         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
16130         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
16131         Likewise.
16132         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
16133         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
16134         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
16135         * csu/defs.awk: Remove file.
16136         * sysdeps/generic/initfini.c: Likewise.
16137         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
16138         variable.
16139         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
16140         Likewise.
16142 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
16144         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
16145         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
16146         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
16147         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
16148         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16149         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
16150         <bits/epoll.h>.
16151         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
16152         (__EPOLL_PACKED): Define to empty if not defined by
16153         <bits/epoll.h>.
16154         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
16155         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16156         bits/epoll.h.
16158 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
16160         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
16161         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
16162         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
16163         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
16164         <bits/timerfd.h>.
16165         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
16166         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16167         bits/timerfd.h.
16169 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
16171         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
16172         in C locale.
16173         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16174         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16175         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
16176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16178 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
16180         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16181         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16183 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
16185         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
16186         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
16187         defined.
16188         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
16189         Likewise.
16190         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
16191         entry for 2.16.
16193 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
16195         * math/w_acos.c: Use non-signaling floating-point comparisons.
16196         * math/w_acosf.c: Likewise.
16197         * math/w_acosh.c: Likewise.
16198         * math/w_acoshf.c: Likewise.
16199         * math/w_acoshl.c: Likewise.
16200         * math/w_acosl.c: Likewise.
16201         * math/w_asin.c: Likewise.
16202         * math/w_asinf.c: Likewise.
16203         * math/w_asinl.c: Likewise.
16204         * math/w_atanh.c: Likewise.
16205         * math/w_atanhf.c: Likewise.
16206         * math/w_atanhl.c: Likewise.
16207         * math/w_exp2.c: Likewise.
16208         * math/w_exp2f.c: Likewise.
16209         * math/w_exp2l.c: Likewise.
16210         * math/w_j0.c: Likewise.
16211         * math/w_j0f.c: Likewise.
16212         * math/w_j0l.c: Likewise.
16213         * math/w_j1.c: Likewise.
16214         * math/w_j1f.c: Likewise.
16215         * math/w_j1l.c: Likewise.
16216         * math/w_jn.c: Likewise.
16217         * math/w_jnf.c: Likewise.
16218         * math/w_log.c: Likewise.
16219         * math/w_log10.c: Likewise.
16220         * math/w_log10f.c: Likewise.
16221         * math/w_log10l.c: Likewise.
16222         * math/w_log2.c: Likewise.
16223         * math/w_log2f.c: Likewise.
16224         * math/w_log2l.c: Likewise.
16225         * math/w_logf.c: Likewise.
16226         * math/w_logl.c: Likewise.
16227         * math/w_sqrt.c: Likewise.
16228         * math/w_sqrtf.c: Likewise.
16229         * math/w_sqrtl.c: Likewise.
16230         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16231         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16232         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16233         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16234         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16236 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
16238         [BZ #9739]
16239         * manual/string.texi (strnlen): Use correct parameter name in
16240         equivalent expression.
16242 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
16244         [BZ #11174]
16245         * manual/users.texi (seteuid): Consistently use neweuid for
16246         argument name.
16248 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
16250         [BZ #13704]
16251         * manual/nss.texi (Services in the NSS configuration): Correct
16252         list of services in example configuration file.
16254 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
16256         [BZ #11322]
16257         * manual/arith.texi: Remove statements about negative zero
16258         behaving identically to zero.
16260 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
16262         [BZ #5993]
16263         * manual/install.texi: Do not document upgrading from libc5.
16265 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
16267         [BZ #4596]
16268         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
16270 2012-02-18  David S. Miller  <davem@davemloft.net>
16272         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
16273         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
16274         %o7 across the call.
16275         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
16276         instead.
16277         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
16278         SETUP_PIC_REG_LEAF.
16279         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16280         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
16281         * sysdeps/sparc/crtn.S: Likewise.
16283 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
16285         * aout/Makefile: Remove.
16287 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
16289         [BZ #13058]
16290         * manual/examples/argp-ex1.c (main): Format definition in GNU
16291         style.
16292         * manual/examples/argp-ex2.c (main): Likewise.
16293         * manual/examples/argp-ex3.c (main): Likewise.
16294         * manual/examples/argp-ex4.c (main): Likewise.
16295         * manual/examples/longopt.c (main): Use new-style prototype
16296         definition.
16297         * manual/examples/strncat.c (main): Specify return type and use
16298         (void) for arguments.
16299         * manual/examples/subopt.c (main): Use char **argv argument.
16301 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
16303         [BZ #5077]
16304         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
16305         rounding modes.
16307 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
16309         [BZ #6907]
16310         * manual/string.texi (strchr): Change when strchrnul is
16311         recommended.
16313 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
16315         [BZ #174]
16316         * manual/locale.texi (setlocale): Document LOCPATH.
16318 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
16320         [BZ #10210]
16321         * manual/process.texi (execle): Move @dots{} before last argument.
16323 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
16325         [BZ #12047]
16326         * manual/charset.texi (Generic Charset Conversion): Fix typo
16327         (LC_TYPE -> LC_CTYPE).
16329 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
16331         [BZ #5805]
16332         * manual/arith.texi (scalbn): Use @var{} on parameter names.
16333         (scalbnf): Likewise.
16334         (scalbnl): Likewise.
16335         (scalbln): Likewise.
16336         (scalblnf): Likewise.
16337         (scalblnl): Likewise.
16338         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
16339         (vwarnx): Likewise.
16340         (verr): Likewise.
16341         (verrx): Likewise.
16342         * manual/filesys.texi (telldir): Use braces around return type.
16343         * manual/llio.texi (mmap): Add space after comma.
16344         (mmap64): Likewise.
16345         * manual/math.texi (jn): Use @var{} on parameter names.
16346         (jnf): Likewise.
16347         (jnl): Likewise.
16348         (yn): Likewise.
16349         (ynf): Likewise.
16350         (ynl): Likewise.
16351         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
16352         line.
16353         * manual/resource.texi (ulimit): Use @dots{} instead of literal
16354         "...".
16355         (sched_get_priority_min): Remove semicolon on @deftypefun line.
16356         (sched_get_priority_max): Likewise.
16357         * manual/signal.texi (sigvec): Add space after comma.
16358         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
16359         names.
16360         (if_indextoname): Likewise.
16361         (if_freenameindex): Likewise.
16362         (sendto): Use ',' instead of '.' in prototype.
16363         * manual/startup.texi (syscall): Use @dots{} instead of literal
16364         "...".
16365         * manual/stdio.texi (__fpending): Separate initial words of
16366         paragraph from @deftypefun line.
16367         * manual/syslog.texi (syslog): Use @dots{} instead of literal
16368         "...".
16369         (vsyslog): Use @var{} on parameter names.
16370         * manual/terminal.texi (stty): Use @var{} on parameter names.
16371         * manual/users.texi (getutmp): Use @var{} on parameter names.
16372         (getutmpx): Likewise.
16374 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
16376         [BZ #6884]
16377         * manual/stdio.texi (fopen): Fix typos in description of
16378         ",ccs=STRING".
16380 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
16382         [BZ #4026]
16383         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
16384         get clock_id definition.
16386 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
16388         [BZ #4822]
16389         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
16390         (madvise): Cast every argument to void on its own.
16392 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
16394         [BZ #9902]
16395         * manual/startup.texi (Exit Status): Fix typo.
16397 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
16399         [BZ #10140]
16400         * manual/examples/argp-ex1.c: Include <stdlib.h>.
16401         * manual/examples/argp-ex2.c: Likewise.
16402         * manual/examples/argp-ex3.c: Likewise.
16404 2012-02-16  Richard Henderson  <rth@redhat.com>
16406         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
16407         * sysdeps/s390/s390-32/initfini.c: Remove.
16408         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
16409         * sysdeps/s390/s390-64/initfini.c: Remove.
16411 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16413         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
16414         compiler output for sysdeps/generic/initfini.c.
16415         * sysdeps/sh/elf/initfini.c: Remove file.
16417 2012-02-16  David S. Miller  <davem@davemloft.net>
16419         [BZ #11494]
16420         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
16422         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
16423         * sysdeps/sparc/crti.S: New file.
16424         * sysdeps/sparc/crtn.S: New file.
16425         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
16426         * sysdeps/sparc/sparc64/Makefile: Likewise.
16428 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
16430         [BZ #3335]
16431         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
16433 2012-02-15  Roland McGrath  <roland@hack.frob.com>
16435         [BZ #4822]
16436         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
16438         * mach/devstream.c (cookie_io_functions_t): Macro removed.
16439         (write, read, close): Likewise.
16440         Patch by Aurelien Jarno <aurelien@aurel32.net>.
16442 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
16444         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
16445         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
16446         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
16447         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
16448         <bits/signalfd.h>.
16449         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
16450         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16451         bits/signalfd.h.
16453 2012-02-14  Marek Polacek  <polacek@redhat.com>
16455         * sysdeps/x86_64/crti.S: New file.
16456         * sysdeps/x86_64/crtn.S: New file.
16457         * sysdeps/x86_64/elf/initfini.c: Remove file.
16459 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
16461         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
16462         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
16463         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
16464         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
16465         <bits/inotify.h>.
16466         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
16467         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16468         bits/inotify.h.
16470 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
16472         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
16473         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
16474         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
16475         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
16476         <bits/eventfd.h>.
16477         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
16478         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16479         bits/eventfd.h.
16481 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
16483         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
16484         __feraiseexcept instead of feraiseexcept.
16486         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
16487         nanosleep invocations.
16488         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
16489         strings, and add error checking for a nanosleep invocations.
16491 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
16493         Replace FSF snail mail address with URLs, as per GNU coding standards.
16494         Most of the snail mail addresses were wrong anyway, and omitting
16495         them makes the source code easier to maintain.  Almost all of the
16496         changes are to license notices and to locale LC_IDENTIFICATION
16497         addresses, except for this one:
16498         * manual/libc.texinfo: In "Published by", give the FSF's URL,
16499         not its snail mail address.
16501 2012-02-09  Richard Henderson  <rth@twiddle.net>
16503         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
16504         of kernel-features.h.
16506         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
16508 2012-02-08  Marek Polacek  <polacek@redhat.com>
16510         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
16511         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
16512         * sysdeps/gnu/_G_config.h: Likewise.
16513         * sysdeps/generic/_G_config.h: Likewise.
16515 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
16517         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
16518         tests.
16519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16521         * sysdeps/powerpc/powerpc32/crti.S: New file.
16522         * sysdeps/powerpc/powerpc32/crtn.S: New file.
16523         * sysdeps/powerpc/powerpc64/crti.S: New file.
16524         * sysdeps/powerpc/powerpc64/crtn.S: New file.
16526         * Makeconfig (have-initfini): Don't set.
16527         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
16528         * configure.in (nopic_initfini): Don't substitute.
16529         * config.h.in (HAVE_INITFINI): Don't #undef.
16530         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
16531         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
16533 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
16535         Support crti.S and crtn.S provided directly by architectures.
16536         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
16537         [crti.S in sysdirs] (omit-deps): Likewise.
16538         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
16539         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
16540         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
16541         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
16542         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
16543         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
16544         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
16545         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
16546         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
16547         compiler output for sysdeps/generic/initfini.c.
16548         * sysdeps/i386/elf/Makefile: Remove file.
16549         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
16551 2012-02-07  Marek Polacek  <polacek@redhat.com>
16553         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
16554         * sysdeps/gnu/_G_config.h: Likewise.
16555         * sysdeps/mach/hurd/_G_config.h: Likewise.
16557 2012-02-07  Marek Polacek  <polacek@redhat.com>
16559         * math/Makefile (tests): Add tst-CMPLX2.
16560         * math/tst-CMPLX2.c: New file.
16562 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
16564         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16566         * math/libm-test.inc (jn_test): Add missing L suffix.
16568 2012-02-06  Marek Polacek  <polacek@redhat.com>
16570         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
16571         * sysdeps/i386/fpu/e_powf.S: Likewise.
16572         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16573         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16574         * sysdeps/i386/fpu/e_acosh.S: Likewise.
16575         * sysdeps/i386/fpu/e_pow.S: Likewise.
16576         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16577         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16578         * sysdeps/i386/fpu/s_expm1.S: Likewise.
16579         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16580         * sysdeps/i386/fpu/e_log2.S: Likewise.
16581         * sysdeps/i386/fpu/e_log2l.S: Likewise.
16582         * sysdeps/i386/fpu/e_scalb.S: Likewise.
16583         * sysdeps/i386/fpu/e_powl.S: Likewise.
16584         * sysdeps/i386/fpu/s_log1p.S: Likewise.
16585         * sysdeps/i386/fpu/e_log10f.S: Likewise.
16586         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16587         * sysdeps/i386/fpu/e_logl.S: Likewise.
16588         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16589         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
16590         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16591         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16592         * sysdeps/i386/fpu/e_log2f.S: Likewise.
16593         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16594         * sysdeps/i386/fpu/e_log.S: Likewise.
16595         * sysdeps/i386/fpu/s_cexp.S: Likewise.
16596         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16597         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
16598         * sysdeps/i386/fpu/e_logf.S: Likewise.
16599         * sysdeps/i386/fpu/e_log10l.S: Likewise.
16600         * sysdeps/i386/fpu/e_atanh.S: Likewise.
16601         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
16602         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16603         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16604         * sysdeps/i386/fpu/e_log10.S: Likewise.
16605         * sysdeps/i386/fpu/s_frexp.S: Likewise.
16606         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16607         * sysdeps/i386/fpu/s_asinh.S: Likewise.
16608         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16609         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16610         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16611         * sysdeps/i386/asm-syntax.h: Likewise.
16612         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16613         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16614         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16615         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
16616         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
16617         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16618         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16619         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16620         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16621         * sysdeps/powerpc/sysdep.h: Likewise.
16622         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
16623         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16625 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
16627         [BZ #411]
16628         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
16630 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
16632         * sysdeps/i386/sysdep.h: Include <features.h>.
16633         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
16634         version.
16636 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
16638         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
16639         Define.
16640         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
16641         LOAD_PIC_REG_STR.
16643 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
16645         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
16646         (SETUP_PIC_REG): Use GET_PC_THUNK.
16647         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
16648         macro.
16650 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
16652         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
16653         for non-PIC compilation.
16654         (SETUP_PIC_REG): Add .p2align directive.
16655         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
16656         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
16657         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16658         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16659         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16660         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16661         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16662         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16663         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16664         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16665         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16666         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16667         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16668         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16669         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16670         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16671         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16672         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16673         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16674         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16675         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16676         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16677         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16678         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16679         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16680         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16681         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16682         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16683         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16684         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16685         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16686         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16687         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16688         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16689         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16690         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16691         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16692         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16693         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16694         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16695         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16697 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
16699         * math/tst-CMPLX.c: Include <stdio.h>.
16701 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
16703         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
16704         float.
16705         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16706         * sysdeps/sparc/bits/mathdef.h: Likewise.
16708 2012-01-31  Marek Polacek  <polacek@redhat.com>
16710         * libio/libio.h: Don't define _PARAMS.
16711         * locale/programs/config.h: Don't define PARAMS.
16712         * stdlib/strtol_l.c: Likewise.
16713         (__strtol_l): Remove PARAMS from the prototype.
16715 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
16717         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
16718         names.  Just use the correct names.  Remove unnecessary wrapper
16719         functions.
16720         * malloc/arena.c: Likewise.
16721         * malloc/hooks.c: Likewise.
16723         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
16724         ARENA_TEST says not to.  Simplify test for creation of a new arena.
16725         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
16727 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
16729         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
16730         into tail calls.
16731         (update_get_addr): New function.
16732         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
16733         GET_ADDR_MODULE parameter.
16735 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
16737         * crypt/cert.c: Remove __STDC__ conditionals.
16738         * crypt/crypt-entry.c: Likewise.
16739         * crypt/crypt_util.c: Likewise.
16740         * libio/filedoalloc.c: Likewise.
16741         * libio/fileops.c: Likewise.
16742         * libio/genops.c: Likewise.
16743         * libio/iofclose.c: Likewise.
16744         * libio/iofdopen.c: Likewise.
16745         * libio/iofopen.c: Likewise.
16746         * libio/iofopen64.c: Likewise.
16747         * libio/iogetdelim.c: Likewise.
16748         * libio/iopopen.c: Likewise.
16749         * libio/obprintf.c: Likewise.
16750         * libio/oldfileops.c: Likewise.
16751         * libio/oldiofclose.c: Likewise.
16752         * libio/oldiofdopen.c: Likewise.
16753         * libio/oldiofopen.c: Likewise.
16754         * libio/oldiopopen.c: Likewise.
16755         * libio/wfiledoalloc.c: Likewise.
16756         * libio/wgenops.c: Likewise.
16757         * locale/programs/xmalloc.c: Likewise.
16758         * misc/syslog.c: Likewise.
16759         * stdio-common/xbug.c: Likewise.
16760         * string/memchr.c: Likewise.
16761         * string/memcmp.c: Likewise.
16762         * string/memrchr.c: Likewise.
16763         * string/rawmemchr.c: Likewise.
16764         * sysdeps/posix/getcwd.c: Likewise.
16765         * time/strftime_l.c: Likewise.
16767 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
16769         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
16770         * config.make.in (config-cflags-sse2avx): Define.
16771         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
16772         Fix typo.
16774 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
16776         * scripts/config.guess: Update from upstream config git repository.
16777         * scripts/config.sub: Likewise.
16779 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
16781         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
16782         (EM_NUM): Update.
16783         (R_TILEPRO_*, R_TILEGX_*): New macros.
16785         * scripts/firstversions.awk: Fix bug in version range handling.
16787         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
16789         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
16791         * include/sys/epoll.h: New file.
16792         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
16793         libc_hidden_def.
16795 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
16797         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
16798         Avoid unnecessary __WORDSIZE == 64 test.
16799         (fmaxf): Use VEX format if possible.
16800         (fmax): Likewise.
16801         (fminf): Likewise.
16802         (fmin): Likewise.
16804         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
16805         * math/math_private.h: Remove libc_fegetround* and
16806         libc_fesetround*.
16807         * sysdeps/i386/configure.in: Check for -msse2avx.
16808         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
16809         also if SSE2AVX is defined.
16810         Remove libc_fegetround* and libc_fesetround*.
16811         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
16812         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
16813         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
16814         of HAS_YMM_USABLE.
16815         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16816         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16817         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16818         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16819         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16821         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
16823 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16825         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
16826         size is not set.
16827         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16829 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
16831         [BZ #13618]
16832         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
16833         relocation.
16834         * Makeconfig (libm): Define.
16835         * elf/Makefile: Add rules to build and run tst-relsort1.
16836         * elf/tst-relsort1.c: New file.
16837         * elf/tst-relsort1mod1.c: New file.
16838         * elf/tst-relsort1mod2.c: New file.
16840 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
16842         * math/s_ldexp.c: Remove __STDC__ conditionals.
16843         * math/s_ldexpf.c: Likewise.
16844         * math/s_ldexpl.c: Likewise.
16845         * math/s_nextafter.c: Likewise.
16846         * math/s_nexttowardf.c: Likewise.
16847         * math/s_significand.c: Likewise.
16848         * math/s_significandf.c: Likewise.
16849         * math/s_significandl.c: Likewise.
16850         * math/w_jnl.c: Likewise.
16851         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16852         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16853         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16854         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16855         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16856         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16857         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
16858         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16859         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16860         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16861         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16862         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16863         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16864         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16865         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16866         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16867         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16868         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16869         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16870         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16871         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16872         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16873         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16874         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16875         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16876         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16877         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16878         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16879         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16880         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16881         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16882         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16883         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16884         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16885         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16886         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16887         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16888         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16889         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16890         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16891         * sysdeps/ieee754/k_standard.c: Likewise.
16892         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16893         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16894         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16895         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16896         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16897         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16898         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16899         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16900         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16901         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16902         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16903         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16904         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16905         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16906         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16907         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16908         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16909         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16910         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16911         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16912         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16913         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16914         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16915         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16916         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16917         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16918         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16919         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16920         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16921         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16922         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16923         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
16924         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16925         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16926         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16927         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16928         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
16929         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16930         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16931         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
16932         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
16933         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16934         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16935         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
16936         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16937         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16938         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16939         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16940         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16941         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16942         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
16943         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16944         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16945         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16946         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16947         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16948         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
16949         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16950         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16951         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16952         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16953         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16954         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16955         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16956         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16957         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16958         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16959         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16960         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16961         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16962         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16963         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16964         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16965         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16966         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16967         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16968         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16969         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16970         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16971         * sysdeps/ieee754/s_matherr.c: Likewise.
16972         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16973         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16974         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16975         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16977 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
16979         * crypt/md5.h: Remove __STDC__ conditionals.
16980         * libio/libioP.h: Likewise.
16981         * locale/programs/config.h: Likewise.
16982         * sysdeps/generic/sysdep.h: Likewise.
16983         * sysdeps/i386/asm-syntax.h: Likewise.
16984         * sysdeps/s390/asm-syntax.h: Likewise.
16985         * sysdeps/unix/sysdep.h: Likewise.
16986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16989 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
16991         * libio/libio.h: Remove __STDC__ conditionals.
16992         * malloc/obstack.h: Likewise.
16993         * math/complex.h: Likewise.
16994         * math/math.h: Likewise.
16995         * sysdeps/generic/_G_config.h: Likewise.
16996         * sysdeps/gnu/_G_config.h: Likewise.
16997         * sysdeps/mach/hurd/_G_config.h: Likewise.
16998         * sysdeps/powerpc/bits/mathdef.h: Likewise.
16999         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17000         * sysdeps/sparc/bits/mathdef.h: Likewise.
17002 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
17004         [BZ #13583]
17005         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
17006         Clean up HAS_* macros.
17007         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
17008         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
17009         possible.
17010         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
17011         HAS_AVX.
17012         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17013         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17014         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17015         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17016         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17018 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
17020         * elf/tst-unique3.cc (gets): Remove declaration.
17021         * elf/tst-unique3lib.cc (gets): Likewise.
17022         * elf/tst-unique3lib2.cc (gets): Likewise.
17023         * elf/tst-unique4.cc (gets): Likewise.
17025 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
17027         * include/stdio.h: Add C++ protection.  Add gets declarations and
17028         definitions.
17029         * debug/tst-chk1.c: Don't declare gets here.
17030         * stdio-common/tst-gets.c: Likewise.
17032 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
17034         * posix/glob: Remove directory.
17036 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
17038         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
17040 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
17042         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
17043         of the non-standard EPFNOSUPPORT.
17045 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17047         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
17048         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
17049         ANYWHERE set to 1 only on KERN_NO_SPACE error.
17051 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
17053         * wcsmbs/uchar.h: Test __STDC_VERSION__.
17055 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
17057         * nscd/aicache.c (addhstaiX): Do not cache negative results of
17058         transient errors.
17059         * nscd/grpcache.c (cache_addgr): Likewise.
17060         * nscd/hstcache.c (cache_addhst): Likewise.
17061         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17062         * nscd/pwdcache.c (cache_addpw): Likewise.
17063         * nscd/servicescache.c (cache_addserv): Likewise.
17065 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
17067         * malloc/malloc.c: Various cleanups.
17068         * malloc/hooks.c: Likewise.
17070         * stdlib/Makefile (tests): Add bug-fmtmsg1.
17071         * stdlib/bug-fmtmsg1.c: New file.
17073         * stdlib/fmtmsg.c (init): Add missing unlock.
17074         Patch by Peng Haitao <penght@cn.fujitsu.com>.
17076 2012-01-12  Marek Polacek  <polacek@redhat.com>
17078         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
17079         and _GNU_SOURCE.
17081 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
17083         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
17084         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
17085         macro to ensure uniqueness of label name.
17086         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17087         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17089 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
17091         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
17093         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
17094         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17095         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17096         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
17098 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
17100         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
17102         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
17103         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17104         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17106         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
17108         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
17109         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17110         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17111         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
17113         * math/bits/math-finite.h: Add ldexp support.
17115 2012-01-10  Marek Polacek  <polacek@redhat.com>
17117         * locale/programs/localedef.h (show_archive_content): Add noreturn
17118         attribute.
17120 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
17122         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
17124 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
17126         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
17128         * io/Makefile (headers): Add bits/poll2.h.
17130 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
17132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
17133         typo #include statement.
17135 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
17137         * include/sys/cdefs.h: Define __attribute_alloc_size.
17138         * catgets/gencat.c: Add alloc_size attribute and apply consistently
17139         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
17140         * elf/pldd.c: Likewise.
17141         * iconv/iconv_charmap.c: Likewise.
17142         * iconv/iconvconfig.c: Likewise.
17143         * iconv/strtab.c: Likewise.
17144         * locale/programs/locale.c: Likewise.
17145         * locale/programs/localedef.h: Likewise.
17146         * locale/programs/simple-hash.c: Likewise.
17147         * nscd/nscd.h: Likewise.
17148         * nss/makedb.c: Likewise.
17149         * sysdeps/generic/ldconfig.h: Likewise.
17150         * locale/programs/localedef.c: Remove xmalloc prototype.
17151         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
17153 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17155         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
17156         appropriate.
17158 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
17160         * math/Makefile (tests): Add tst-CMPLX.
17161         * math/tst-CMPLX.c: New file.
17163         * math/complex.h (CMPLXL): Fix typo.
17165         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
17166         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
17167         GLIBC_2.16.
17168         * debug/tst-chk1.c: Add poll and ppoll tests.
17169         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
17170         * include/sys/poll.h: Add hidden proto for ppoll.
17171         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
17172         * sysdeps/mach/hurd/ppoll.c: Likewise.
17173         * io/ppoll.c: Likewise.
17174         * debug/poll_chk.c: New file.
17175         * debug/ppoll_chk.c: New file.
17176         * include/bits/poll2.h: New file.
17177         * io/bits/poll2.h: New file.
17179         [BZ #1350]
17180         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
17182         * configure.in: static is always set to yes.  Remove.
17183         * config.make.in: Don't set build-static.
17184         * Makeconfig: Remove use of build-static.
17185         * dlfcn/Makefile: Likewise.
17186         * elf/Makefile: Likewise.
17187         * math/Makefile: Likewise.
17188         * misc/Makefile: Likewise.
17189         * nptl/Makefile: Likewise.
17190         * sysdeps/mach/hurd/Makefile: Likewise.
17192         * configure.in: PWD_P is not used anymore.
17193         * config.make.in: Remove PWD_P entry.
17195         * configure.in: Remove last remnants of RANLIB.
17196         No need to check for signed size_t anymore.
17197         Don't set libc_commonpagesize and libc_relro_required here for Alpha
17198         and IA-64.
17199         Remove __builtin_expect test because we require at least gcc 3.4.
17200         * aclocal.m4: Likewise.
17202         * wcsmbs/mbrtoc16.c: Implement using towc function.
17203         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
17204         * wcsmbs/wcsmbsload.c: Likewise.
17205         * iconv/gconv_simple.c: Likewise.
17206         * iconv/gconv_int.h: Likewise.
17207         * iconv/gconv_builtin.h: Likewise.
17208         * iconv/iconv_prog.c: Remove CHAR16 handling.
17210         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
17212         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
17214         * configure.in: Remove --with-elf and --enable-bounded options.
17215         Dont set base_machine for ia64.  More non-ELF conditions removed.
17216         Remove testing and setting of leading underscore information.
17217         * config.make.in (build-bounded): Set to no.
17218         * config.h.in: Remove NO_UNDERSCORES entry.
17219         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
17220         them.
17221         * csu/start.c: Remove !NO_UNDERSCORE code.
17222         * locale/localeinfo.h: Likewise.
17223         * sysdeps/generic/machine-gmon.h: Likewise.
17224         * sysdeps/generic/sysdep.h: Likewise.
17225         * sysdeps/i386/sysdep.h: Likewise.
17226         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17227         * sysdeps/mach/sysdep.h: Likewise.
17228         * sysdeps/s390/s390-32/sysdep.h: Likewise.
17229         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17230         * sysdeps/sh/sysdep.h: Likewise.
17231         * sysdeps/sparc/sparc32/alloca.S: Likewise.
17232         * sysdeps/unix/i386/sysdep.S: Likewise.
17233         * sysdeps/unix/sparc/start.c: Likewise.
17234         * sysdeps/unix/sparc/sysdep.S: Likewise.
17235         * sysdeps/unix/sparc/sysdep.h: Likewise.
17236         * sysdeps/unix/start.c: Likewise.
17237         * sysdeps/unix/x86_64/sysdep.S: Likewise.
17238         * sysdeps/x86_64/sysdep.h: Likewise.
17240 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
17242         [BZ #13553]
17243         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
17244         for non-gcc.
17245         * argp/argp-fmtstream.h: Use const instead __const.
17246         * argp/argp.h: Likewise.
17247         * assert/assert.h: Likewise.
17248         * bits/fenv.h: Likewise.
17249         * bits/sched.h: Likewise.
17250         * bits/sigset.h: Likewise.
17251         * bits/sigthread.h: Likewise.
17252         * catgets/nl_types.h: Likewise.
17253         * conform/data/pthread.h-data: Likewise.
17254         * crypt/crypt-private.h: Likewise.
17255         * crypt/crypt.h: Likewise.
17256         * crypt/crypt_util.c: Likewise.
17257         * ctype/ctype.h: Likewise.
17258         * debug/execinfo.h: Likewise.
17259         * debug/mbsnrtowcs_chk.c: Likewise.
17260         * debug/mbsrtowcs_chk.c: Likewise.
17261         * debug/wcsnrtombs_chk.c: Likewise.
17262         * debug/wcsrtombs_chk.c: Likewise.
17263         * debug/wcstombs_chk.c: Likewise.
17264         * dirent/dirent.h: Likewise.
17265         * dlfcn/dlfcn.h: Likewise.
17266         * elf/neededtest4.c: Likewise.
17267         * grp/grp.h: Likewise.
17268         * gshadow/gshadow.h: Likewise.
17269         * iconv/gconv.h: Likewise.
17270         * iconv/gconv_int.h: Likewise.
17271         * iconv/gconv_simple.c: Likewise.
17272         * iconv/iconv.h: Likewise.
17273         * iconv/loop.c: Likewise.
17274         * iconv/skeleton.c: Likewise.
17275         * include/aio.h: Likewise.
17276         * include/aliases.h: Likewise.
17277         * include/argz.h: Likewise.
17278         * include/arpa/inet.h: Likewise.
17279         * include/assert.h: Likewise.
17280         * include/dirent.h: Likewise.
17281         * include/dlfcn.h: Likewise.
17282         * include/execinfo.h: Likewise.
17283         * include/fcntl.h: Likewise.
17284         * include/fenv.h: Likewise.
17285         * include/glob.h: Likewise.
17286         * include/grp.h: Likewise.
17287         * include/libintl.h: Likewise.
17288         * include/mntent.h: Likewise.
17289         * include/netdb.h: Likewise.
17290         * include/pwd.h: Likewise.
17291         * include/rpc/netdb.h: Likewise.
17292         * include/sched.h: Likewise.
17293         * include/search.h: Likewise.
17294         * include/shadow.h: Likewise.
17295         * include/signal.h: Likewise.
17296         * include/stdio.h: Likewise.
17297         * include/stdlib.h: Likewise.
17298         * include/string.h: Likewise.
17299         * include/sys/socket.h: Likewise.
17300         * include/sys/stat.h: Likewise.
17301         * include/sys/statfs.h: Likewise.
17302         * include/sys/statvfs.h: Likewise.
17303         * include/sys/syslog.h: Likewise.
17304         * include/sys/time.h: Likewise.
17305         * include/sys/uio.h: Likewise.
17306         * include/time.h: Likewise.
17307         * include/unistd.h: Likewise.
17308         * include/utmp.h: Likewise.
17309         * include/wchar.h: Likewise.
17310         * include/wctype.h: Likewise.
17311         * inet/aliases.h: Likewise.
17312         * inet/arpa/inet.h: Likewise.
17313         * inet/netinet/ether.h: Likewise.
17314         * inet/netinet/in.h: Likewise.
17315         * intl/libintl.h: Likewise.
17316         * io/bits/fcntl2.h: Likewise.
17317         * io/fcntl.h: Likewise.
17318         * io/ftw.h: Likewise.
17319         * io/sys/poll.h: Likewise.
17320         * io/sys/stat.h: Likewise.
17321         * io/sys/statfs.h: Likewise.
17322         * io/sys/statvfs.h: Likewise.
17323         * io/utime.h: Likewise.
17324         * libio/bits/stdio.h: Likewise.
17325         * libio/bits/stdio2.h: Likewise.
17326         * libio/libio.h: Likewise.
17327         * libio/libioP.h: Likewise.
17328         * libio/stdio.h: Likewise.
17329         * locale/lc-ctype.c: Likewise.
17330         * locale/locale.h: Likewise.
17331         * login/utmp.h: Likewise.
17332         * malloc/arena.c: Likewise.
17333         * malloc/malloc.c: Likewise.
17334         * malloc/malloc.h: Likewise.
17335         * malloc/mcheck.c: Likewise.
17336         * malloc/mtrace.c: Likewise.
17337         * math/bits/mathcalls.h: Likewise.
17338         * math/fenv.h: Likewise.
17339         * math/math_private.h: Likewise.
17340         * misc/bits/error.h: Likewise.
17341         * misc/bits/syslog.h: Likewise.
17342         * misc/err.h: Likewise.
17343         * misc/error.h: Likewise.
17344         * misc/fstab.h: Likewise.
17345         * misc/mntent.h: Likewise.
17346         * misc/regexp.h: Likewise.
17347         * misc/search.h: Likewise.
17348         * misc/sgtty.h: Likewise.
17349         * misc/sys/mman.h: Likewise.
17350         * misc/sys/syslog.h: Likewise.
17351         * misc/sys/uio.h: Likewise.
17352         * misc/sys/xattr.h: Likewise.
17353         * misc/ttyent.h: Likewise.
17354         * nis/rpcsvc/ypclnt.h: Likewise.
17355         * nss/nss.h: Likewise.
17356         * posix/bits/unistd.h: Likewise.
17357         * posix/fnmatch.h: Likewise.
17358         * posix/glob.h: Likewise.
17359         * posix/sched.h: Likewise.
17360         * posix/spawn.h: Likewise.
17361         * posix/sys/wait.h: Likewise.
17362         * posix/unistd.h: Likewise.
17363         * posix/wordexp.h: Likewise.
17364         * pwd/pwd.h: Likewise.
17365         * resolv/netdb.h: Likewise.
17366         * resource/sys/resource.h: Likewise.
17367         * rt/aio.h: Likewise.
17368         * rt/bits/mqueue2.h: Likewise.
17369         * rt/mqueue.h: Likewise.
17370         * shadow/shadow.h: Likewise.
17371         * signal/signal.h: Likewise.
17372         * socket/send.c: Likewise.
17373         * socket/sendto.c: Likewise.
17374         * socket/sys/socket.h: Likewise.
17375         * stdio-common/printf.h: Likewise.
17376         * stdlib/bits/stdlib.h: Likewise.
17377         * stdlib/fmtmsg.h: Likewise.
17378         * stdlib/monetary.h: Likewise.
17379         * stdlib/stdlib.h: Likewise.
17380         * stdlib/ucontext.h: Likewise.
17381         * streams/stropts.h: Likewise.
17382         * string/argz.h: Likewise.
17383         * string/bits/string2.h: Likewise.
17384         * string/string.h: Likewise.
17385         * string/strings.h: Likewise.
17386         * sunrpc/rpc/auth.h: Likewise.
17387         * sunrpc/rpc/auth_des.h: Likewise.
17388         * sunrpc/rpc/clnt.h: Likewise.
17389         * sunrpc/rpc/netdb.h: Likewise.
17390         * sunrpc/rpc/pmap_clnt.h: Likewise.
17391         * sunrpc/rpc/xdr.h: Likewise.
17392         * sysdeps/generic/inttypes.h: Likewise.
17393         * sysdeps/generic/net/if.h: Likewise.
17394         * sysdeps/generic/sys/swap.h: Likewise.
17395         * sysdeps/gnu/net/if.h: Likewise.
17396         * sysdeps/gnu/utmpx.h: Likewise.
17397         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
17398         * sysdeps/i386/i486/bits/string.h: Likewise.
17399         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
17400         * sysdeps/s390/bits/string.h: Likewise.
17401         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
17402         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
17403         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
17404         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
17405         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
17406         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
17407         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
17408         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
17409         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
17410         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
17411         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
17412         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17413         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
17414         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17415         * sysdeps/unix/sysv/linux/readv.c: Likewise.
17416         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
17417         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17418         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17419         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17420         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17421         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17422         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
17423         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
17424         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
17425         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
17426         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
17427         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
17428         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17429         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
17430         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
17431         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
17432         * sysvipc/sys/ipc.h: Likewise.
17433         * sysvipc/sys/msg.h: Likewise.
17434         * sysvipc/sys/sem.h: Likewise.
17435         * sysvipc/sys/shm.h: Likewise.
17436         * termios/termios.h: Likewise.
17437         * time/sys/time.h: Likewise.
17438         * time/time.h: Likewise.
17439         * wcsmbs/bits/wchar2.h: Likewise.
17440         * wcsmbs/uchar.h: Likewise.
17441         * wcsmbs/wchar.h: Likewise.
17442         * wctype/wctype.h: Likewise.
17444         [BZ #13551]
17445         * Makeconfig: Remove all but ELF support including AIX support.
17446         * Makerules: Likewise.
17447         * config.h.in: Likewise.
17448         * config.make.in: Likewise.
17449         * configure: Likewise.
17450         * configure.in: Likewise.
17451         * csu/Makefile: Likewise.
17452         * csu/version.c: Likewise.
17453         * debug/Makefile: Likewise.
17454         * dlfcn/Makefile: Likewise.
17455         * elf/Makefile: Likewise.
17456         * extra-lib.mk: Likewise.
17457         * iconv/Makefile: Likewise.
17458         * include/libc-symbols.h: Likewise.
17459         * include/shlib-compat.h: Likewise.
17460         * resolv/Makefile: Likewise.
17461         * resolv/res_libc.c: Likewise.
17462         * rt/Makefile: Likewise.
17463         * sysdeps/i386/asm-syntax.h: Likewise.
17464         * sysdeps/i386/sysdep.h: Likewise.
17465         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17466         * sysdeps/mach/sysdep.h: Likewise.
17467         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
17468         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
17469         * sysdeps/s390/asm-syntax.h: Likewise.
17470         * sysdeps/s390/s390-32/sysdep.h: Likewise.
17471         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17472         * sysdeps/sh/sysdep.h: Likewise.
17473         * sysdeps/unix/sparc/sysdep.h: Likewise.
17474         * sysdeps/wordsize-32/divdi3.c: Likewise.
17475         * sysdeps/x86_64/sysdep.h: Likewise.
17477         * argp/Versions: Remove _argp_unlock_xxx.
17479         [BZ #13559]
17480         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
17481         * abilist/libBrokenLocale.abilist: Likewise.
17482         * abilist/libanl.abilist: Likewise.
17483         * abilist/libc.abilist: Likewise.
17484         * abilist/libcrypt.abilist: Likewise.
17485         * abilist/libdl.abilist: Likewise.
17486         * abilist/libm.abilist: Likewise.
17487         * abilist/libnsl.abilist: Likewise.
17488         * abilist/libpthread.abilist: Likewise.
17489         * abilist/libresolv.abilist: Likewise.
17490         * abilist/librt.abilist: Likewise.
17491         * abilist/libthread_db.abilist: Likewise.
17492         * abilist/libutil.abilist: Likewise.
17493         * abilist/libnss_db.abilist: New file.
17495         * scripts/abilist.awk: Add support for indirect functions.
17497         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
17499         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
17501         * shlib-versions: Remove entries for ports architectures.
17503         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
17504         files in ports.
17505         * elf/stackguard-macros.h: Remove support for IA-64.
17506         * elf/tst-auditmod1.c: Likewise.
17507         * sysdeps/generic/ldsodefs.h: Likewise.
17509         * sysdeps/unix/sysv/linux/configure.in: Ports should define
17510         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
17511         configure files.
17513         [BZ #13552]
17514         * configure.in: Remove --enable-omitfp support.
17515         * FAQ.in: Adjust.
17516         * config.make.in: Likewise.
17517         * Makeconfig: Likewise.
17518         * manual/install.texi: Likewise.
17520         In case anyone cares, the IA-64 architecture could move to ports.
17521         * sysdeps/ia64/*: Removed.
17522         * sysdeps/unix/sysv/linux/ia64/*: Removed.
17523         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
17525         [BZ #13555]
17526         * configure.in: Remove entries for unsupported architectures.
17528         [BZ #13533]
17529         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
17530         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
17531         routines.
17532         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
17533         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
17534         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
17535         fall back to using wcrtomb.
17536         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
17537         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
17538         renaming.
17539         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
17540         * wcsmbs/tst-c16c32-1.c: New file.
17542         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
17543         local variable.
17545         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
17547         * elf/tst-unique3.cc: Add explicit declaration of gets.
17548         * elf/tst-unique3lib.cc: Likewise.
17549         * elf/tst-unique3lib2.cc: Likewise.
17550         * elf/tst-unique4.cc: Likewise.
17552         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
17554 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
17556         [BZ #13566]
17557         * assert/assert.h (static_assert): Don't define for C++.
17558         * libio/stdio.h (gets): Do declare for C++ <= C++11.
17559         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
17561 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
17563         * iconv/loop.c (single loop): Fix assertion in storing of
17564         remaining bytes.
17566         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
17568 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
17570         * posix/getconf.c: Update copyright year.
17571         * nss/getent.c: Likewise.
17572         * nss/makedb.c: Likewise.
17573         * iconv/iconvconfig.c: Likewise.
17574         * iconv/iconv_prog.c: Likewise.
17575         * elf/ldconfig.c: Likewise.
17576         * elf/pldd.c: Likewise.
17577         * elf/sotruss.ksh: Likewise.
17578         * catgets/gencat.c: Likewise.
17579         * csu/version.c: Likewise.
17580         * elf/ldd.bash.in: Likewise.
17581         * elf/sprof.c (print_version): Likewise.
17582         * locale/programs/locale.c: Likewise.
17583         * locale/programs/localedef.c: Likewise.
17584         * login/programs/pt_chown.c: Likewise.
17585         * nscd/nscd.c (print_version): Likewise.
17586         * debug/xtrace.sh: Likewise.
17587         * malloc/memusage.sh: Likewise.
17588         * malloc/mtrace.pl: Likewise.
17589         * debug/catchsegv.sh: Likewise.
17591 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
17593         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
17594         pure attribute.
17596 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
17598         [BZ #13533]
17599         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
17600         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
17601         transformations.
17602         * iconv/gconv_int.h: Likewise.
17603         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
17604         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
17605         from libc for GLIBC_2.16.
17606         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
17607         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
17608         * wcsmbs/uchar.h: Really define mbstate_t.
17609         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
17610         * wcsmbs/c16rtomb.c: New file.
17611         * wcsmbs/mbrtoc16.c: New file.
17612         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
17613         for C/POSIX locale.
17614         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
17615         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
17617         * wcsmbs/wchar.h: Add missing __restrict.
17619 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
17621         [BZ #13532]
17622         * time/Makefile (routines): Add timespec_get.
17623         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
17624         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
17625         timespec for ISO C11.
17626         * time/timespec_get.c: New file.
17627         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
17628         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
17630         [BZ #13531]
17631         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
17632         * stdlib/stdlib.h: Declare aligned_alloc.
17633         * Versions.def: Add GLIBC_2.16 for libc.
17634         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
17636         [BZ 13527]
17637         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
17638         ISO C11.
17640         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
17641         code.
17643         [BZ #13528]
17644         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
17646         [BZ #13529]
17647         * assert/assert.h (static_assert): Define.
17649         * version.h: Update for 2.16 development version.
17651         [BZ #13526]
17652         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
17653         _ISOC11_SOURCE.
17655         * version.h (RELEASE): Bump for 2.15 release.
17656         * include/features.h (__GLIBC_MINOR__): Bump to 15.
17658         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
17659         Patch by Marek Polacek <mpolacek@redhat.com>.
17661         * bits/byteswap.h: Protect long long constants with __extension__.
17662         * sysdeps/i386/bits/byteswap.h: Likewise.
17663         * sysdeps/ia64/bits/byteswap.h: Likewise.
17664         * sysdeps/s390/bits/byteswap.h: Likewise.
17665         * sysdeps/x86_64/bits/byteswap.h: Likewise.
17667 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17669         [BZ #13540]
17670         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
17671         destination buffer.
17672         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17674 2011-12-23  Marek Polacek  <polacek@redhat.com>
17676         * elf/dl-addr.c (determine_info): Add inline keyword.
17677         * elf/tst-auditmod4b.c (check_avx): Likewise.
17678         * elf/tst-auditmod6b.c (check_avx): Likewise.
17679         * elf/tst-auditmod6c.c (check_avx): Likewise.
17680         * elf/tst-auditmod7b.c (check_avx): Likewise.
17682 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
17684         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
17685         !__SSE_MATH__.
17687 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17689         [BZ #13540]
17690         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
17691         processing for last bytes.
17693 2011-08-06  Bruno Haible  <bruno@clisp.org>
17695         [BZ #13061]
17696         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
17697         U+0385, not to U+1FEE.
17699         [BZ #13062]
17700         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
17701         entry for U+00A5 U+0301.
17703 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
17705         [BZ #13166]
17706         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
17707         buffer for the output is too small.
17709         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
17710         optimization.
17712         [BZ #13185]
17713         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
17714         SSE flags if possible.
17716 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17718         [BZ #13540]
17719         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
17720         processing for last bytes.
17722 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
17724         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
17725         (syscall-list-default-options, syscall-list-default-condition)
17726         (syscall-list-includes): Define.
17727         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
17728         list of ABIs and options and #if conditions for each ABI.  Do not
17729         handle common syscalls between ABIs specially.
17730         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
17731         Remove.
17732         (syscall-list-variants, syscall-list-32bit-options)
17733         (syscall-list-32bit-condition, syscall-list-64bit-options)
17734         (syscall-list-64bit-condition): Define.
17735         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): 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/sparc/Makefile (64bit-predefine):
17740         Remove.
17741         (syscall-list-variants, syscall-list-32bit-options)
17742         (syscall-list-32bit-condition, syscall-list-64bit-options)
17743         (syscall-list-64bit-condition): Define.
17744         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
17745         Remove.
17746         (syscall-list-variants, syscall-list-32bit-options)
17747         (syscall-list-32bit-condition, syscall-list-64bit-options)
17748         (syscall-list-64bit-condition): Define.
17750 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
17752         * locale/iso-639.def: Add brx entry.
17754         [BZ #13328]
17755         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
17756         Proposed by Mariusz_Cukr <marcukr@op.pl>.
17758         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
17759         __feraiseexcept_renamed.
17761 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
17763         [BZ #13538]
17764         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
17765         EPOLLET with unsigned values.
17766         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17767         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17769         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
17770         to large cancellation.
17771         * math/s_cacoshf.c: Likewise.
17772         * math/s_cacoshl.c: Likewise.
17774 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
17776         [BZ #13305]
17777         [BZ #12786]
17778         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
17779         * math/s_cacoshf.c: Likewise.
17780         * math/s_cacoshl.c: Likewise.
17782 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
17784         [BZ #13439]
17785         * iconv/gconv.h: Define __GCONV_SWAP.
17786         * iconvdata/unicode.c: The swap bit must be stored in __flags.
17787         * iconvdata/utf-16.c: Likewise.
17788         * iconvdata/utf-32.c: Likewise.
17790 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
17792         [BZ #13524]
17793         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
17794         numerator after shifting it by one limb.
17796 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
17798         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
17799         under [__USE_EXTERN_INLINES].
17801 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
17803         [BZ #13446]
17804         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
17806 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17808         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
17809         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
17810         optimized code.
17811         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
17812         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
17813         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
17814         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
17815         for strncasecmp/strncasecmp_l compilation.
17816         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
17817         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
17819 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
17821         [BZ #13484]
17822         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
17823         of __asm__.
17825 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
17827         [BZ #13506]
17828         * time/tzfile.c (__tzfile_read): Check values from file header.
17830 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
17832         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
17833         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
17834         * powerpc/powerpc32/dl-start.S: Likewise.
17835         * powerpc/powerpc32/elf/start.S: Likewise.
17836         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17837         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
17838         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
17839         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
17840         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17841         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
17842         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
17843         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17844         * powerpc/powerpc32/fpu/s_round.S: Likewise.
17845         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17846         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17847         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17848         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17849         * powerpc/powerpc32/memset.S: Likewise.
17850         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17851         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17852         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17853         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17854         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17855         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17856         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17857         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17858         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
17859         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
17860         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
17861         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17862         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17864 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17866         * math/libm-test.inc: Added more nearbyint tests.
17867         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
17868         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
17869         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
17870         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
17872 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
17874         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
17875         FD_CLOEXEC.
17877 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17879         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
17880         Add wcscpy-ssse3 wcscpy-c.
17881         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
17882         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
17883         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
17884         * sysdeps/x86_64/wcschr.S: New file.
17885         * sysdeps/x86_64/wcsrchr.S: New file.
17886         * string/test-strcmp.c: Remove checking of wcscmp function for
17887         wrong alignments.
17888         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
17889         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
17890         wcsrchr-sse2 wcsrchr-c.
17891         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
17892         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
17893         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
17894         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
17895         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
17896         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
17897         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
17898         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
17899         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
17900         * wcsmbc/wcschr.c (WCSCHR): New macro.
17902 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17904         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
17905         * wcsmbs/test-wcsrchr.c: New file.
17906         * string/test-strrchr.c: Add wcsrchr support.
17907         (WIDE): New macro.
17908         * wcsmbs/test-wcscpy.c: New file.
17909         * string/test-strcpy.c: Add wcscpy support.
17910         (WIDE): New macro.
17912 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
17914         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
17915         the inner loop.
17917 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
17919         [BZ #13472]
17920         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
17922 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
17924         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
17925         Minor optimizations.
17927         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
17928         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
17929         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17931 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
17933         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
17934         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
17935         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
17936         for gcc to avoid warnings.
17937         * inet/Makefile (tests): Add tst-checks.
17938         * inet/tst-checks.c: New file.
17940         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
17941         warning.
17943         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
17944         __wmemcmp_sse2.
17946         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
17947         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
17949         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
17951 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
17953         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
17954         problem.
17956         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
17958 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
17960         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
17961         conditional on GCC version.
17962         (__arch_compare_and_exchange_val_8_acq)
17963         (__arch_compare_and_exchange_val_16_acq)
17964         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
17965         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
17966         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
17968 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
17970         * sysdeps/sh/backtrace.c: New file.
17972 2011-12-02  Andreas Schwab  <schwab@redhat.com>
17974         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
17975         parenthesis.
17977 2011-12-01  Andreas Schwab  <schwab@redhat.com>
17979         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
17980         falling back to utime.
17982 2011-11-30  Andreas Schwab  <schwab@redhat.com>
17984         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
17985         expectations for float.
17987 2011-11-29  Andreas Schwab  <schwab@redhat.com>
17989         * locale/weight.h (findidx): Add parameter len.
17990         * locale/weightwc.h (findidx): Likewise.
17991         * posix/fnmatch_loop.c (FCT): Adjust caller.
17992         * posix/regcomp.c (build_equiv_class): Likewise.
17993         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
17994         * posix/regexec.c (check_node_accept_bytes): Likewise.
17995         * string/strcoll_l.c (STRCOLL): Likewise.
17996         * string/strxfrm_l.c (STRXFRM): Likewise.
17998 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
18000         * Makefile.in: Remove CVSOPT handling.
18001         * configure.in: Remove use of AC_REVISION.
18002         * iconvdata/Makefile (distribute): No need to filter out CVS.
18003         * scripts/list-sources.sh: Remove CVS, subversion and monotone
18004         handling.
18006 2011-11-16  Andreas Schwab  <schwab@redhat.com>
18008         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
18009         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
18010         [USE_AS_STRNCASECMP_L]: Likewise.
18011         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
18012         NO_TLS_DIRECT_SEG_REFS.
18013         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
18014         Fix argument offsets for non-PIC.
18015         [USE_AS_STRNCASECMP_L]: Likewise.
18016         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
18017         NO_TLS_DIRECT_SEG_REFS.
18019 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
18021         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
18022         O_CLOEXEC.
18023         * locale/loadlocale.c (_nl_load_locale): Likewise.
18025 2011-11-15  Andreas Schwab  <schwab@redhat.com>
18027         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
18028         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
18029         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
18030         (SYSCALL_GETTIME): Set errno on error.
18032         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
18033         count references to noai6ai_cached.
18035 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
18037         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
18039         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
18040         FD_CLOEXEC for /proc/self/maps.
18042         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
18043         FD_CLOEXEC for /proc/meminfo.
18045         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
18046         gai.conf.
18048         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
18049         FD_CLOEXEC for given file.
18051         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
18053         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
18054         FD_CLOEXEC for /etc/hosts.
18055         (_gethtent): Likewise.
18057         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
18059         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
18060         cancellation and set FD_CLOEXEC for /etc/netgroup.
18062         * nss/nss_files/files-key.c (search): Don't allow cancellation when
18063         reading /etc/publickey.
18065         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
18066         allow cancellation when reading /etc/group.
18068         * nss/nss_files/files-alias.c (internal_setent): Don't allow
18069         cancellation.
18070         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
18072         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
18073         when using data file.
18075         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
18077         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
18078         (write_nis_obj): Use "c" and "e" in fopen.
18080         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
18082         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
18084         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
18086         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
18088         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
18089         locale.alias.
18091         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
18093         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
18095         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
18097         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
18098         file parsing and set FD_CLOEXEC.
18100 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
18102         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
18104 2011-11-14  Andreas Schwab  <schwab@redhat.com>
18106         * malloc/arena.c (arena_get2): Don't call reused_arena when
18107         _int_new_arena failed.
18109 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
18111         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
18112         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
18113         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
18114         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18115         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18116         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
18117         to compile strcasecmp and strncasecmp.
18118         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
18119         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
18121         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
18123 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
18125         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
18126         locale-defines.sym to gen-as-const-headers.
18127         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
18128         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
18129         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
18130         to compile strcasecmp and strncasecmp.
18131         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
18132         strcasecmp_l and strncasecmp_l.
18133         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
18134         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
18135         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
18136         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
18137         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
18138         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
18139         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
18140         * sysdeps/i386/i686/multiarch/strncase.S: New file.
18141         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
18142         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
18143         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
18145 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
18147         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
18148         result of SYSDEP_GETTIME_CPU to retval.
18149         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
18150         parameter list to macro.  Remove trailing semicolon.  Adjust users.
18152         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
18153         variable.
18155         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
18156         mantissa words.
18157         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18159         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
18160         from unused variable.
18162         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
18163         DWARF definitions.
18164         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
18165         for assembling.
18167         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
18168         over namespaces.
18170         * sunrpc/rpc_prot.c (rejected): Fix case value.
18172         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
18173         unsigned long long int to avoid warnings in shift.
18175         * posix/regex_internal.c (re_string_reconstruct): Actually use result
18176         of use of trans.
18177         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
18178         variable tmp.
18180         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
18181         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18182         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18184         * nis/nis_table.c (nis_list): Use variable of correct type for
18185         result of __follow_path call.
18187 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18189         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
18190         of math functions ceil, trunc, floor, round, and sqrt, when
18191         avaliable on the platform.
18192         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
18193         name clash.
18194         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18195         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18196         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18198 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
18200         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
18201         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18203 2011-11-11  Roland McGrath  <roland@hack.frob.com>
18205         * include/unistd.h: Fix __readlink return type.
18206         Reported by Chris Metcalf <cmetcalf@tilera.com>.
18208 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
18210         * stdlib/ucontext.h: Undo last change for makecontext.
18212 2011-11-11  Andreas Schwab  <schwab@redhat.com>
18214         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
18216         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
18217         * setjmp/setjmp.h: Mark functions as non-leaf.
18218         * setjmp/bits/setjmp2.h: Likewise.
18219         * stdlib/ucontext.h: Likewise.
18221 2011-11-10  Andreas Schwab  <schwab@redhat.com>
18223         * malloc/arena.c (_int_new_arena): Don't increment narenas.
18224         (reused_arena): Don't check arena limit.
18225         (arena_get2): Atomically check arena limit.
18227 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
18229         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
18230         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
18232         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
18233         instructions.
18235 2011-11-07  Andreas Schwab  <schwab@redhat.com>
18237         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
18238         handler when locking.
18240         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18241         Fix size of allocated buffer.
18243 2011-11-04  Andreas Schwab  <schwab@redhat.com>
18245         [BZ #10103]
18246         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
18247         declarations for long double functions.
18248         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
18250         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
18252 2011-11-03  Andreas Schwab  <schwab@redhat.com>
18254         * nscd/nscd.c (main): Don't start AVC thread until credentials are
18255         installed.
18257         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
18258         is disabled.
18260 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18262         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
18264 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
18266         * include/alloca.h (stackinfo_alloca_round): Define.
18267         (extend_alloca): Use it.
18268         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
18269         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
18270         here.
18272         * scripts/check-local-headers.sh: Ignore libaudit.h.
18274         * nscd/Makefile (extra-objs): Make recursively expanded.
18276 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
18278         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
18279         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18281         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
18282         * posix/tst-rfc3484-2.c: Likewise.
18283         * posix/tst-rfc3484-3.c: Likewise.
18285         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18286         process_vm_writev.
18287         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
18288         process_vm_writev.
18289         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
18290         process_vm_writev from libc using GLIBC_2.15 version.
18292         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
18294 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
18296         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
18297         stack usage.
18299 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
18301         [BZ #13367]
18302         * nss/getent.c (initgroups_keys): Show error message in case no group
18303         names are given.
18305         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
18306         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
18307         __bump_nl_timestamp.
18308         * nscd/connections (nscd_init): When host database is served open
18309         netlink socket and request notification about configuration changes.
18310         (main_loop_poll): Track netlink file descriptor and bump timestamp
18311         in case data becomes available.
18312         (main_loop_epoll): Likewise.
18313         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
18314         (database_pers_head): Add extra_data fileds.
18315         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
18316         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
18317         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
18318         Adjust caller.
18319         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
18320         in6ai data, call __free_in6ai.
18321         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
18322         Add -DHAVE_NETLINK.
18323         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
18324         interface information.  Reuse previous data if netlink timestamp
18325         is not changed.
18326         (__bump_nl_timestamp): New function.
18327         (__free_in6ai): New function.
18329 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
18331         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
18332         close_not_cancel_no_status here.
18333         (__check_pf): Reorganize code a bit to not call close twice if OOM.
18335 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
18337         [BZ #13276]
18338         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
18339         return value.
18341         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
18342         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
18343         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
18345 2011-07-03  Andreas Jaeger  <aj@suse.de>
18347         [BZ #10709]
18348         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
18349         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
18350         * math/libm-test.inc (sin_test): Add test case.
18352 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
18354         [BZ #13337]
18355         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
18356         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18358         * elf/chroot_canon.c (chroot_canon): Cleanups.
18360         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
18362         [BZ #13335]
18363         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
18364         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18366         * string/test-strchr.c: Make usable for strchrnul testing.
18367         * string/test-strchrnul.c: New file.
18368         * string/Makefile (strop-tests): Add strchrnul.
18370         * po/it.po: Update from translation team.
18371         * po/es.po: Likewise.
18373 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
18375         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
18376         the three constants needed as parameters.  Drop the others.
18377         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
18378         __m128i_strloadu_tolower.
18379         Create and initialize variable zero and use it in all the places
18380         where _mm_setzero_si128 was used.
18382         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
18383         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
18384         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
18385         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
18386         anymore.
18387         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
18388         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
18389         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
18390         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
18391         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
18392         __mpranred, __mptan.
18393         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
18394         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
18395         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
18396         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
18397         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
18398         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
18399         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
18400         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
18401         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
18403 2011-10-28  Andreas Schwab  <schwab@redhat.com>
18405         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
18406         redefine if SHARED.
18407         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
18409         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
18410         wide char related routines to wcsmbs subdir.
18412 2011-10-27  Andreas Schwab  <schwab@redhat.com>
18414         [BZ #13344]
18415         * misc/sys/cdefs.h (__THROWNL): Define.
18416         * posix/unistd.h: Use __THREADNL instead of __THREAD
18417         for memory synchronization functions.
18419 2011-10-26  Roland McGrath  <roland@hack.frob.com>
18421         [BZ #13349]
18422         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
18423         doesn't exist.
18424         * manual/stdio.texi (Obstack Streams): Node removed.
18426 2011-10-26  Andreas Schwab  <schwab@redhat.com>
18428         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
18429         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18430         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18432         * math/math_private.h (math_force_eval): Allow non-addressable
18433         arguments.
18434         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
18436 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
18438         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
18439         file is not needed.
18441         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
18442         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18443         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18444         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18445         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18446         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18447         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18448         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
18449         Add AVX variants.
18450         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
18451         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
18452         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
18453         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
18454         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
18455         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
18456         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
18457         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
18458         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
18459         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
18460         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
18461         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
18462         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
18463         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
18464         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
18465         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
18466         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
18467         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
18468         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
18470         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
18471         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
18473         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
18474         place.  Use VEX encoding when compiling for AVX.
18476 2011-10-25  Andreas Schwab  <schwab@redhat.com>
18478         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
18479         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18481         * string/test-strchr.c (do_test): Don't generate NUL bytes.
18483 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
18485         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
18486         useless if() expression.
18487         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18488         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18489         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18490         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18491         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18492         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18493         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18494         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18495         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18496         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18497         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18498         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18499         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18500         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18501         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18502         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18503         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18504         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18505         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18507         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
18509 2011-10-25  Andreas Schwab  <schwab@redhat.com>
18511         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
18512         condition.
18513         * elf/dl-fini.c (_dl_sort_fini): Likewise.
18515 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
18517         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
18518         .text section.  Avoid duplicate constants.
18519         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18520         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18521         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18522         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18523         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18524         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18525         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18526         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18527         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18528         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
18529         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18530         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18531         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18532         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18533         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18534         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18535         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18536         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18537         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18538         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18539         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18540         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18541         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18542         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
18543         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
18544         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
18545         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
18546         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
18547         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
18548         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18549         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
18550         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18551         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18552         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
18553         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
18554         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18555         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18556         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
18557         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
18558         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
18559         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
18560         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
18561         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
18562         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18563         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18565 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
18567         * sysdeps/x86_64/dla.h: Move to ...
18568         * sysdeps/x86_64/fpu/dla.h: ...here.
18569         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
18570         situations.  Use __builtin_fma only for gcc 4.6 and up.
18572         * config.make.in: Add have-mfma4 entry.
18573         * configure.in: Substitute libc_cv_cc_fma4.
18574         * math/Makefile (dbl-only-routines): Add sincostab.
18575         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
18576         Use __sincostab not sincos.
18577         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
18578         name is a macro.
18579         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18580         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18581         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18582         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
18583         using __copysign.
18584         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
18585         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
18586         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
18587         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
18588         and __inv.
18589         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
18590         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
18591         __copysign.
18592         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
18593         define aliases when function name is a macro.
18594         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
18595         sysdeps/ieee754/dbl-64/sincos.tbl.
18596         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
18597         fma4-enabled routines.
18598         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
18599         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
18600         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
18601         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
18602         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
18603         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
18604         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
18605         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
18606         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
18607         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
18608         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
18609         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
18610         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
18611         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
18612         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
18613         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
18614         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
18615         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
18616         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
18617         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
18618         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
18619         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
18620         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
18621         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
18622         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
18623         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
18624         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
18625         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
18626         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
18627         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
18629         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
18630         rename.
18631         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18632         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18633         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18634         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18635         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18636         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18637         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18638         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18640 2011-10-24  Andreas Schwab  <schwab@redhat.com>
18642         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
18644 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
18646         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
18648         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
18649         prediction.
18650         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
18652         * string/strnlen.c: Don't define STRNLEN, reverse logic.
18653         Remove unused variable magic_bits.
18654         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
18656         * string/strnlen.c: Define and use STRNLEN macro.
18657         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
18658         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
18659         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
18660         * wcsmbs/wcslen.c: Define and use WCSLEN.
18661         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
18662         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
18663         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
18664         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
18665         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
18666         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
18667         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18669 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18671         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18672         strnlen-sse2-no-bsf.
18673         Rename strlen-no-bsf to strlen-sse2-no-bsf.
18674         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
18675         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
18676         Add strnlen support.
18677         (USE_AS_STRNLEN): New macro.
18678         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
18679         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
18680         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
18681         * sysdeps/x86_64/wcslen.S: New file.
18683 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
18685         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18686         XMM-moves are used for copying on small sizes.
18688 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18690         * wcsmbs/Makefile (strop-tests): Add wcschr.
18691         * wcsmbs/test-wcschr.c: New file.
18692         * string/test-strchr.c: Update.
18693         Add wcschr support.
18694         (WIDE): New macro.
18696 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18698         * wcsmbs/Makefile (strop-tests): Add wcslen.
18699         * wcsmbs/test-wcslen.c: New file.
18700         * string/test-strlen.c: Update.
18701         Add wcslen support.
18702         (WIDE): New macro.
18704 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
18706         * po/it.po: Update from translation team.
18708 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18710         * sysdeps/x86_64/wcscmp.S: Update.
18711         Fix wrong comparison semantics.
18712         wcscmp shall use signed comparison not unsigned.
18713         Don't use substraction to avoid overflow bug.
18714         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18715         * wcsmbc/wcscmp.c: Likewise.
18716         * string/test-strcmp.c: Likewise.
18717         Add new tests to check cases with negative values.
18719 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
18721         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
18722         * sysdeps/x86_64/dla.h: ...here.  New file.
18723         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
18724         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18725         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18726         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18727         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18728         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18729         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18730         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18731         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18733 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
18735         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
18736         __ynl_finite aliases.
18738 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
18740         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18742         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
18743         define DLA_FMA.
18744         [DLA_FMA] (EMULV): Use DLA_FMA.
18745         [DLA_FMA] (MUL12): Use EMULV.
18746         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
18747         that are not needed.
18748         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18749         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18750         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18751         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18752         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18753         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18754         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18756 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
18758         * math/s_nan.c: Undef __nan.
18759         * math/s_nanf.c: Undef __nanf.
18760         * math/s_nanl.c: Undef __nanl.
18761         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
18762         "math_private.h".
18764 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
18766         * math/s_catan.c: Add branch predictions.
18767         * math/s_catanf.c: Likewise.
18768         * math/s_catanh.c: Likewise.
18769         * math/s_catanhf.c: Likewise.
18770         * math/s_catanhl.c: Likewise.
18771         * math/s_catanl.c: Likewise.
18772         * math/s_cexp.c: Likewise.
18773         * math/s_cexpf.c: Likewise.
18774         * math/s_cexpl.c: Likewise.
18775         * math/s_clog.c: Likewise.
18776         * math/s_clog10.c: Likewise.
18777         * math/s_clog10f.c: Likewise.
18778         * math/s_clog10l.c: Likewise.
18779         * math/s_clogf.c: Likewise.
18780         * math/s_clogl.c: Likewise.
18781         * math/s_csqrt.c: Likewise.
18782         * math/s_csqrtf.c: Likewise.
18783         * math/s_csqrtl.c: Likewise.
18784         * math/s_ctanf.c: Likewise.
18785         * math/s_ctanh.c: Likewise.
18786         * math/s_ctanhf.c: Likewise.
18787         * math/s_ctanhl.c: Likewise.
18788         * math/s_ctanl.c: Likewise.
18790         * math/math_private.h: Define __nan, __nanf, __nanl.
18791         * math/s_cacosh.c: Include <math_private.h>.
18792         * math/s_cacoshl.c: Likewise.
18793         * math/s_casinh.c: Likewise.
18794         * math/s_casinhf.c: Likewise.
18795         * math/s_casinhl.c: Likewise.
18796         * math/s_ccos.c: Rely entire on ccosh.
18797         * math/s_ccosf.c: Rely entire on ccoshf.
18798         * math/s_ccosl.c: Rely entirely on ccoshl.
18799         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
18800         Remove tests for FE_INVALID.
18801         * math/s_ccoshf.c: Likewise.
18802         * math/s_ccoshl.c: Likewise.
18803         * math/s_csin.c: Likewise.
18804         * math/s_csinf.c: Likewise.
18805         * math/s_csinh.c Likewise.
18806         * math/s_csinhf.c: Likewise.
18807         * math/s_csinhl.c: Likewise.
18808         * math/s_csinl.c: Likewise.
18809         * math/s_ctan.c: Likewise.
18810         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
18811         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
18812         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
18814 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
18816         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
18817         compilation problems.
18819         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
18820         __builtin_expect.
18822 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
18824         * sysdeps/i386/configure.in: Test for -mfma4 option.
18825         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
18826         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
18827         COMMON_CPUID_INDEX_80000001.
18828         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
18829         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
18830         use it if FMA3 is not supported.
18831         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18833         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
18834         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18836 2011-10-20  Andreas Schwab  <schwab@redhat.com>
18838         [BZ #12892]
18839         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
18840         it would create a cycle with a link time dependency.
18842 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
18844         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
18845         instruction.
18846         * string/Makefile (strop-tests): Add rawmemchr.
18847         * string/test-rawmemchr.c: New file.
18849         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
18850         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
18851         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
18852         when compiling str{,n}casecmp and when AVX is available.  Hook up
18853         new optimized code in initializers.
18855 2011-10-19  Andreas Schwab  <schwab@redhat.com>
18857         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
18858         __feraiseexcept instead of feraiseexcept.
18860 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
18862         * math/math_private.h: Define defaults for libc_fetestexcept and
18863         libc_feupdateenv.
18864         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
18865         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18866         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18867         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18868         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18869         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18870         libc_fetestexcept and libc_feupdateenv.
18872         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
18873         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
18874         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
18875         * sysdeps/x86_64/fpu/math_private.h: Define special version of
18876         libc_feholdexcept_setround.
18878         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
18879         Add s_nearbyint-c and s_nearbyintf-c.
18880         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
18881         nearbyintf inlines.
18882         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
18883         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
18884         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
18885         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
18887         * math/math_private.h: Define defaults for libc_fegetround,
18888         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
18889         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
18890         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
18891         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
18892         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
18893         standard functions.
18894         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18895         Remove comments and hacks for old compiler versions.
18896         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18897         libc_fegetround, libc_fesetround, libc_feholdexcept, and
18898         libc_feholdexceptl.
18900 2011-10-18  Andreas Schwab  <schwab@redhat.com>
18902         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
18903         (__feraiseexcept_renamed): Add __NTH.
18904         (feraiseexcept): Add __NTH.  Rename local variables to fix
18905         namespace violations.
18907 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
18909         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
18911         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
18913         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
18914         recently added interfaces.
18915         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
18917         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
18918         about macro parameter expansion.
18920         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
18921         __NO_MATH_INLINES is defined.  Cleanups.
18923         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
18924         and __floorf is target has SSE4.1.
18925         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
18926         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
18927         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
18928         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
18930         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
18931         name.
18932         (floorf): Likewise.
18934         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
18936 2011-10-17  Andreas Schwab  <schwab@redhat.com>
18938         * misc/sys/cdefs.h: Fix last change.
18940         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
18941         database lookup.
18943 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
18945         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
18947         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
18948         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18949         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18950         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18951         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18952         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18953         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18954         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18955         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18956         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
18957         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
18958         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
18959         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
18960         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
18961         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
18962         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
18963         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
18964         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
18965         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
18966         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
18967         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
18968         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
18970         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
18971         ceil, ceilf, floor, floorf.
18973         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
18974         Perform IRELATIVE relocations last.
18976         * elf/do-rel.h: Add another parameter nrelative, replacing the
18977         local variable with the same name.  Change name of the function
18978         to end in Rel or Rela (uppercase).
18979         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
18980         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
18981         elf_dynamic_do_##reloc function.
18983 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
18985         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
18986         is sufficient, at least on modern CPUs.
18988         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
18990         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
18991         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
18993         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
18994         __expl_finite.
18995         * math/bits/math-finite.h: Add entries for exp.
18996         * math/e_expl.c: Add __*_finite alias.
18997         * sysdeps/i386/fpu/e_exp.S: Likewise.
18998         * sysdeps/i386/fpu/e_expf.S: Likewise.
18999         * sysdeps/i386/fpu/e_expl.c: Likewise.
19000         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19001         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19002         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19003         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19004         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
19005         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19006         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19008         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
19009         is sufficient, at least on modern CPUs.
19011         * ctype/ctype-info.c (__ctype_init): Define.
19012         * include/ctype.h (__ctype_init): Declare.
19013         (__ctype_b_loc): The variable is always initialized.
19014         (__ctype_toupper_loc): Likewise.
19015         (__ctype_tolower_loc): Likewise.
19016         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
19017         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
19019 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
19021         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
19023         * configure.in: Also look in $cxxmachine/include for C++ system
19024         headers.
19026 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19028         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
19029         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
19030         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
19031         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
19032         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
19033         (USE_AS_WMEMCMP): New macro.
19034         Fixing indents.
19035         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
19036         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
19037         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
19038         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
19039         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19040         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
19041         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
19042         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
19043         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
19044         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
19045         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
19046         (USE_AS_WMEMCMP): New macro.
19047         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
19048         * sysdeps/string/test-memcmp.c: Update.
19049         Fix simple_wmemcmp.
19050         Add new tests.
19051         * wcsmbs/wmemcmp.c: Update.
19052         (WMEMCMP): New macro.
19053         Fix overflow bug.
19055 2011-10-12  Andreas Jaeger  <aj@suse.de>
19057         [BZ #13268]
19058         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
19060 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
19062         * libio/iofwide.c (do_length): Avoid warning.
19064         * ctype/ctype.h (__isctype_f): Add missing __THROW.
19066 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
19068         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
19070         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
19071         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
19072         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
19073         * sysdeps/i386/i686/fpu/e_log.S: New file.
19074         * sysdeps/i386/i686/fpu/e_logf.S: New file.
19075         * sysdeps/i386/i686/fpu/e_logl.S: New file.
19077         * ctype/ctype.h: Add support for inlined isXXX functions when
19078         compiling C++ code.
19080 2011-10-14  Andreas Schwab  <schwab@redhat.com>
19082         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19084         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
19086 2011-10-13  Roland McGrath  <roland@hack.frob.com>
19088         [BZ #13291]
19089         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
19091 2011-10-13  Andreas Schwab  <schwab@redhat.com>
19093         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
19094         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
19095         feraiseexcept.
19097         * sysdeps/x86_64/memrchr.S: Check for zero size.
19099         * string/stratcliff.c: Add memrchr tests.
19101 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19103         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19104         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
19105         rawmemchr-sse2 rawmemchr-sse2-bsf.
19106         * sysdeps/i386/i686/multiarch/memchr.S: New file.
19107         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
19108         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
19109         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
19110         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
19111         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
19112         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
19113         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
19114         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
19115         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
19116         * string/memrchr.c (MEMRCHR): New macro.
19118 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
19120         Add integration with gcc's -ffinite-math-only and optimize wrapper
19121         functions in libm.
19122         * Versions.def: Define GLIBC_2.15 version for libm.
19123         * math/Makefile (headers): Add bits/math-finite.h.
19124         * math/bits/math-finite.h: New file.
19125         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
19126         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
19127         * math/e_acoshl.c: Add __*_finite alias.
19128         * math/e_acosl.c: Likewise.
19129         * math/e_asinl.c: Likewise.
19130         * math/e_atan2l.c: Likewise.
19131         * math/e_atanhl.c: Likewise.
19132         * math/e_coshl.c: Likewise.
19133         * math/e_exp10.c: Likewise.
19134         * math/e_exp10f.c: Likewise.
19135         * math/e_exp10l.c: Likewise.
19136         * math/e_exp2l.c: Likewise.
19137         * math/e_fmodl.c: Likewise.
19138         * math/e_gammal_r.c: Likewise.
19139         * math/e_hypotl.c: Likewise.
19140         * math/e_j0l.c: Likewise.
19141         * math/e_j1l.c: Likewise.
19142         * math/e_jnl.c: Likewise.
19143         * math/e_lgammal_r.c: Likewise.
19144         * math/e_log10l.c: Likewise.
19145         * math/e_log2l.c: Likewise.
19146         * math/e_logl.c: Likewise.
19147         * math/e_powl.c: Likewise.
19148         * math/e_sinhl.c: Likewise.
19149         * math/e_sqrtl.c: Likewise.
19150         * math/e_scalb.c: Completely rewritten and optimized.
19151         * math/e_scalbf.c: Likewise.
19152         * math/e_scalbl.c: Likewise.
19153         * math/w_acos.c: Likewise.
19154         * math/w_acosf.c: Likewise.
19155         * math/w_acosl.c: Likewise.
19156         * math/w_acosh.c: Likewise.
19157         * math/w_acoshf.c: Likewise.
19158         * math/w_acoshl.c: Likewise.
19159         * math/w_asin.c: Likewise.
19160         * math/w_asinf.c: Likewise.
19161         * math/w_asinl.c: Likewise.
19162         * math/w_atan2.c: Likewise.
19163         * math/w_atan2f.c: Likewise.
19164         * math/w_atan2l.c: Likewise.
19165         * math/w_atanh.c: Likewise.
19166         * math/w_atanhf.c: Likewise.
19167         * math/w_atanhl.c: Likewise.
19168         * math/w_exp10.c: Likewise.
19169         * math/w_exp10f.c: Likewise.
19170         * math/w_exp10l.c: Likewise.
19171         * math/w_fmod.c: Likewise.
19172         * math/w_fmodf.c: Likewise.
19173         * math/w_fmodl.c: Likewise.
19174         * math/w_j0.c: Likewise.
19175         * math/w_j0f.c: Likewise.
19176         * math/w_j0l.c: Likewise.
19177         * math/w_j1.c: Likewise.
19178         * math/w_j1f.c: Likewise.
19179         * math/w_j1l.c: Likewise.
19180         * math/w_jn.c: Likewise.
19181         * math/w_jnf.c: Likewise.
19182         * math/w_log.c: Likewise.
19183         * math/w_logf.c: Likewise.
19184         * math/w_logl.c: Likewise.
19185         * math/w_log10.c: Likewise.
19186         * math/w_log10f.c: Likewise.
19187         * math/w_log10l.c: Likewise.
19188         * math/w_log2.c: Likewise.
19189         * math/w_log2f.c: Likewise.
19190         * math/w_log2l.c: Likewise.
19191         * math/w_pow.c: Likewise.
19192         * math/w_powf.c: Likewise.
19193         * math/w_powl.c: Likewise.
19194         * math/w_remainder.c: Likewise.
19195         * math/w_remainderf.c: Likewise.
19196         * math/w_remainderl.c: Likewise.
19197         * math/w_scalb.c: Likewise.
19198         * math/w_scalbf.c: Likewise.
19199         * math/w_scalbl.c: Likewise.
19200         * math/w_sqrt.c: Likewise.
19201         * math/w_sqrtf.c: Likewise.
19202         * math/w_sqrtl.c: Likewise.
19203         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
19204         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
19205         used.
19206         * math/math_private.h: Declare __kernel_standard_f.
19207         * math/w_cosh.c: Remove cruft and optimize a bit.
19208         * math/w_coshf.c: Likewise.
19209         * math/w_coshl.c: Likewise.
19210         * math/w_exp2.c: Likewise.
19211         * math/w_exp2f.c: Likewise.
19212         * math/w_exp2l.c: Likewise.
19213         * math/w_hypot.c: Likewise.
19214         * math/w_hypotf.c: Likewise.
19215         * math/w_hypotl.c: Likewise.
19216         * math/w_lgamma.c: Likewise.
19217         * math/w_lgamma_r.c: Likewise.
19218         * math/w_lgammaf.c: Likewise.
19219         * math/w_lgammaf_r.c: Likewise.
19220         * math/w_lgammal.c: Likewise.
19221         * math/w_lgammal_r.c: Likewise.
19222         * math/w_sinh.c: Likewise.
19223         * math/w_sinhf.c: Likewise.
19224         * math/w_sinhl.c: Likewise.
19225         * math/w_tgamma.c: Likewise.
19226         * math/w_tgammaf.c: Likewise.
19227         * math/w_tgammal.c: Likewise.
19228         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19229         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19230         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
19231         Minor optimizations.  Pretty printing.  Remove cruft.
19232         * sysdeps/i386/fpu/e_acosf.S: Likewise.
19233         * sysdeps/i386/fpu/e_acosh.S: Likewise.
19234         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19235         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19236         * sysdeps/i386/fpu/e_acosl.c: Likewise.
19237         * sysdeps/i386/fpu/e_asin.S: Likewise.
19238         * sysdeps/i386/fpu/e_asinf.S: Likewise.
19239         * sysdeps/i386/fpu/e_atan2.S: Likewise.
19240         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
19241         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
19242         * sysdeps/i386/fpu/e_atanh.S: Likewise.
19243         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19244         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19245         * sysdeps/i386/fpu/e_exp10.S: Likewise.
19246         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
19247         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
19248         * sysdeps/i386/fpu/e_exp2.S: Likewise.
19249         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
19250         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
19251         * sysdeps/i386/fpu/e_fmod.S: Likewise.
19252         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
19253         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
19254         * sysdeps/i386/fpu/e_hypot.S: Likewise.
19255         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
19256         * sysdeps/i386/fpu/e_log.S: Likewise.
19257         * sysdeps/i386/fpu/e_log10.S: Likewise.
19258         * sysdeps/i386/fpu/e_log10f.S: Likewise.
19259         * sysdeps/i386/fpu/e_log10l.S: Likewise.
19260         * sysdeps/i386/fpu/e_log2.S: Likewise.
19261         * sysdeps/i386/fpu/e_log2f.S: Likewise.
19262         * sysdeps/i386/fpu/e_log2l.S: Likewise.
19263         * sysdeps/i386/fpu/e_logf.S: Likewise.
19264         * sysdeps/i386/fpu/e_logl.S: Likewise.
19265         * sysdeps/i386/fpu/e_pow.S: Likewise.
19266         * sysdeps/i386/fpu/e_powf.S: Likewise.
19267         * sysdeps/i386/fpu/e_powl.S: Likewise.
19268         * sysdeps/i386/fpu/e_remainder.S: Likewise.
19269         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
19270         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
19271         * sysdeps/i386/fpu/e_scalb.S: Likewise.
19272         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19273         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19274         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
19275         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
19276         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
19277         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19278         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19279         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19280         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19281         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19282         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19283         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19284         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19285         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19286         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19287         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19288         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19289         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19290         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19291         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19292         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19293         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19294         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19295         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19296         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19297         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19298         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19299         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19300         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19301         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19302         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19303         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19304         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19305         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
19306         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19307         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19308         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19309         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19310         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19311         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19312         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19313         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19314         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19315         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19316         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19317         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19318         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19319         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19320         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19321         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19322         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19323         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19324         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19325         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19326         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
19327         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19328         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19329         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19330         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19331         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19332         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19333         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19334         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19335         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19336         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19337         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19338         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19339         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19340         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19341         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19342         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19343         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19344         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19345         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
19346         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19347         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19348         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19349         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19350         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19351         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19352         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19353         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19354         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19355         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19356         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19357         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19358         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19359         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
19360         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19361         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19362         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19363         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19364         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19365         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19366         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19367         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19368         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19369         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19370         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19371         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19372         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19373         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19374         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
19375         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
19376         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
19377         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
19378         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
19379         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
19380         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
19381         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19382         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19383         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19384         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19385         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
19386         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19387         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
19388         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
19389         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
19390         (__isnanf): Likewise.
19391         (__isinf_ns): Likewise.
19392         (__isinf_nsf): Likewise.
19393         (__finite): Likewise.
19394         (__finitef): Likewise.
19395         (__ieee754_sqrt): Define as macro.
19396         (__ieee754_sqrtf): Define as macro.
19397         (__ieee754_sqrtl): Define as macro.
19398         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
19399         inlined copy.
19400         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
19401         __FINITE_MATH_ONLY__ consistent.
19402         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
19404 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
19406         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
19407         of rawmemchr.
19409         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
19411 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
19413         * po/ja.po: Update from translation team.
19415 2011-10-08  Roland McGrath  <roland@hack.frob.com>
19417         * locale/programs/locarchive.c (prepare_address_space): New function.
19418         (create_archive, enlarge_archive, open_archive): Use it.
19420         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
19421         inside [SHARED], where it is used.
19423         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
19425         * nss/getent.c (netgroup_keys): Remove unused variable.
19426         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19428 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
19430         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
19431         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
19432         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
19433         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
19434         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
19435         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
19436         * math/Makefile (libm-calls): Add s_isinf_ns.
19437         * math/divtc3.c: Use __isinf_nsl instead of isinf.
19438         * math/multc3.c: Likewise.
19439         * math/s_casin.c: Likewise.
19440         * math/s_casinf.c: Likewise.
19441         * math/s_casinl.c: Likewise.
19442         * math/s_ccos.c: Likewise.
19443         * math/s_ccosf.c: Likewise.
19444         * math/s_ccosl.c: Likewise.
19445         * math/s_ctan.c: Likewise.
19446         * math/s_ctanf.c: Likewise.
19447         * math/s_ctanh.c: Likewise.
19448         * math/s_ctanhf.c: Likewise.
19449         * math/s_ctanhl.c: Likewise.
19450         * math/s_ctanl.c: Likewise.
19451         * math/w_fmod.c: Likewise.
19452         * math/w_fmodf.c: Likewise.
19453         * math/w_fmodl.c: Likewise.
19454         * math/w_remainder.c: Likewise.
19455         * math/w_remainderf.c: Likewise.
19456         * math/w_remainderl.c: Likewise.
19457         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
19458         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
19459         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
19460         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
19461         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
19462         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
19463         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
19464         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
19466         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
19467         of the number.
19468         * stdio-common/printf_fphex.c: Likewise.
19469         * stdio-common/printf_size.c: Likewise.
19471         * math/e_exp10.c: Include math_private.h using <...> not "...".
19472         * math/e_exp10f.c: Likewise.
19473         * math/e_exp10l.c: Likewise.
19474         * math/e_exp2l.c: Likewise.
19475         * math/e_j0l.c: Likewise.
19476         * math/e_j1l.c: Likewise.
19477         * math/e_jnl.c: Likewise.
19478         * math/e_lgammal_r.c: Likewise.
19479         * math/e_rem_pio2l.c: Likewise.
19480         * math/e_scalb.c: Likewise.
19481         * math/e_scalbf.c: Likewise.
19482         * math/e_scalbl.c: Likewise.
19483         * math/k_cosl.c: Likewise.
19484         * math/k_sinl.c: Likewise.
19485         * math/k_tanl.c: Likewise.
19486         * math/s_cacoshf.c: Likewise.
19487         * math/s_catan.c: Likewise.
19488         * math/s_catanf.c: Likewise.
19489         * math/s_catanh.c: Likewise.
19490         * math/s_catanhf.c: Likewise.
19491         * math/s_catanhl.c: Likewise.
19492         * math/s_catanl.c: Likewise.
19493         * math/s_ccosh.c: Likewise.
19494         * math/s_ccoshf.c: Likewise.
19495         * math/s_ccoshl.c: Likewise.
19496         * math/s_cexp.c: Likewise.
19497         * math/s_cexpf.c: Likewise.
19498         * math/s_cexpl.c: Likewise.
19499         * math/s_clog.c: Likewise.
19500         * math/s_clog10.c: Likewise.
19501         * math/s_clog10f.c: Likewise.
19502         * math/s_clog10l.c: Likewise.
19503         * math/s_clogf.c: Likewise.
19504         * math/s_clogl.c: Likewise.
19505         * math/s_csin.c: Likewise.
19506         * math/s_csinf.c: Likewise.
19507         * math/s_csinh.c: Likewise.
19508         * math/s_csinhf.c: Likewise.
19509         * math/s_csinhl.c: Likewise.
19510         * math/s_csinl.c: Likewise.
19511         * math/s_csqrt.c: Likewise.
19512         * math/s_csqrtf.c: Likewise.
19513         * math/s_csqrtl.c: Likewise.
19514         * math/s_ctan.c: Likewise.
19515         * math/s_ctanf.c: Likewise.
19516         * math/s_ctanh.c: Likewise.
19517         * math/s_ctanhf.c: Likewise.
19518         * math/s_ctanhl.c: Likewise.
19519         * math/s_ctanl.c: Likewise.
19520         * math/s_ldexp.c: Likewise.
19521         * math/s_ldexpf.c: Likewise.
19522         * math/s_ldexpl.c: Likewise.
19523         * math/s_significand.c: Likewise.
19524         * math/s_significandf.c: Likewise.
19525         * math/s_significandl.c: Likewise.
19526         * math/w_acos.c: Likewise.
19527         * math/w_acosf.c: Likewise.
19528         * math/w_acosh.c: Likewise.
19529         * math/w_acoshf.c: Likewise.
19530         * math/w_acoshl.c: Likewise.
19531         * math/w_acosl.c: Likewise.
19532         * math/w_asin.c: Likewise.
19533         * math/w_asinf.c: Likewise.
19534         * math/w_asinl.c: Likewise.
19535         * math/w_atan2.c: Likewise.
19536         * math/w_atan2f.c: Likewise.
19537         * math/w_atan2l.c: Likewise.
19538         * math/w_atanh.c: Likewise.
19539         * math/w_atanhf.c: Likewise.
19540         * math/w_atanhl.c: Likewise.
19541         * math/w_cosh.c: Likewise.
19542         * math/w_coshf.c: Likewise.
19543         * math/w_coshl.c: Likewise.
19544         * math/w_dremf.c: Likewise.
19545         * math/w_exp10.c: Likewise.
19546         * math/w_exp10f.c: Likewise.
19547         * math/w_exp10l.c: Likewise.
19548         * math/w_exp2.c: Likewise.
19549         * math/w_exp2f.c: Likewise.
19550         * math/w_fmod.c: Likewise.
19551         * math/w_fmodf.c: Likewise.
19552         * math/w_fmodl.c: Likewise.
19553         * math/w_hypot.c: Likewise.
19554         * math/w_hypotf.c: Likewise.
19555         * math/w_hypotl.c: Likewise.
19556         * math/w_j0.c: Likewise.
19557         * math/w_j0f.c: Likewise.
19558         * math/w_j0l.c: Likewise.
19559         * math/w_j1.c: Likewise.
19560         * math/w_j1f.c: Likewise.
19561         * math/w_j1l.c: Likewise.
19562         * math/w_jn.c: Likewise.
19563         * math/w_jnf.c: Likewise.
19564         * math/w_jnl.c: Likewise.
19565         * math/w_lgamma.c: Likewise.
19566         * math/w_lgamma_r.c: Likewise.
19567         * math/w_lgammaf.c: Likewise.
19568         * math/w_lgammaf_r.c: Likewise.
19569         * math/w_lgammal.c: Likewise.
19570         * math/w_lgammal_r.c: Likewise.
19571         * math/w_log.c: Likewise.
19572         * math/w_log10.c: Likewise.
19573         * math/w_log10f.c: Likewise.
19574         * math/w_log10l.c: Likewise.
19575         * math/w_log2.c: Likewise.
19576         * math/w_log2f.c: Likewise.
19577         * math/w_log2l.c: Likewise.
19578         * math/w_logf.c: Likewise.
19579         * math/w_logl.c: Likewise.
19580         * math/w_pow.c: Likewise.
19581         * math/w_powf.c: Likewise.
19582         * math/w_powl.c: Likewise.
19583         * math/w_remainder.c: Likewise.
19584         * math/w_remainderf.c: Likewise.
19585         * math/w_remainderl.c: Likewise.
19586         * math/w_scalb.c: Likewise.
19587         * math/w_scalbf.c: Likewise.
19588         * math/w_scalbl.c: Likewise.
19589         * math/w_sinh.c: Likewise.
19590         * math/w_sinhf.c: Likewise.
19591         * math/w_sinhl.c: Likewise.
19592         * math/w_sqrt.c: Likewise.
19593         * math/w_sqrtf.c: Likewise.
19594         * math/w_sqrtl.c: Likewise.
19595         * math/w_tgamma.c: Likewise.
19596         * math/w_tgammaf.c: Likewise.
19597         * math/w_tgammal.c: Likewise.
19599         * po/ja.po: Update from translation team.
19601 2011-09-29  Andreas Jaeger  <aj@suse.de>
19603         [BZ #13179]
19604         * sunrpc/netname.c (netname2host): Fix logic.
19606         [BZ #6779]
19607         [BZ #6783]
19608         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
19609         correctly.
19610         * math/w_remainder.c (__remainder): Likewise.
19611         * math/w_remainderf.c (__remainderf): Likewise.
19612         * math/libm-test.inc (remainder_test): Add test cases.
19614 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19616         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
19617         sdiv_qrnnd.
19619 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
19621         * string/test-memcmp.c: Avoid unncessary #defines.
19622         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19624 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19626         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
19627         Use new sse2 version for core i3 - i7 as it's faster
19628         than sse42 version.
19629         (bit_Prefer_PMINUB_for_stringop): New.
19630         * sysdeps/x86_64/rawmemchr.S: Update.
19631         Replace with faster SSE2 version.
19632         * sysdeps/x86_64/memrchr.S: New file.
19633         * sysdeps/x86_64/memchr.S: Update.
19634         Replace with faster SSE2 version.
19636 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
19638         * elf/dl-load.c (lose): Add cast to avoid warning.
19640 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
19642         * po/ca.po: Update from translation team.
19644         * inet/getnetgrent_r.c: Hook up nscd.
19645         * nscd/Makefile (routines): Add nscd_netgroup.
19646         (nscd-modules): Add netgroupcache.
19647         (CFLAGS-netgroupcache.c): Define.
19648         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
19649         (cache_search): Add const to second parameter.
19650         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
19651         INNETGR.
19652         (dbs): Add netgrdb entry.
19653         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
19654         (verify_persistent_db): Handle netgrdb.
19655         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
19656         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
19657         GETFDNETGR.
19658         (netgroup_response_header): Define.
19659         (innetgroup_response_header): Define.
19660         (datahead): Add netgroup_response_header and innetgroup_response_header
19661         elements.
19662         * nscd/nscd.conf: Add entries for netgroup cache.
19663         * nscd/nscd.h (dbtype): Add netgrdb.
19664         (_PATH_NSCD_NETGROUP_DB): Define.
19665         (netgroup_iov_disabled): Declare.
19666         (xmalloc, xcalloc, xrealloc): Move declarations here.
19667         (cache_search): Adjust prototype.
19668         Add netgroup-related prototypes.
19669         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
19670         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
19671         (__nscd_innetgr): Declare.
19672         * nscd/selinux.c (perms): Use access_vector_t as element type and
19673         add netgroup-related initializers.
19674         * nscd/netgroupcache.c: New file.
19675         * nscd/nscd_netgroup.c: New file.
19676         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
19677         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
19678         For four parameters use innetgr.
19679         * nss/nss_files/files-init.c: Add definition and callback for netgr.
19680         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
19681         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
19682         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
19684         * nscd/connections.c (register_traced_file): Don't register file
19685         for disabled databases.
19687 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
19689         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
19691         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
19692         from tree and freeing node.
19694 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
19696         * nss/nsswitch.c (__nss_database_lookup): Handle
19697         nss_parse_service_list out of memory case.
19699 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
19701         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
19702         out of memory case.
19704 2011-10-04  Andreas Schwab  <schwab@redhat.com>
19706         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
19707         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
19708         pass it down.
19709         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
19710         elf_machine_rela, elf_machine_lazy_rel.
19711         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
19712         (ELF_DYNAMIC_DO_REL): Likewise.
19713         (ELF_DYNAMIC_DO_RELA): Likewise.
19714         (ELF_DYNAMIC_RELOCATE): Likewise.
19715         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
19716         to ELF_DYNAMIC_DO_REL.
19717         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
19718         (dl_main): In trace mode always set __RTLD_NOIFUNC.
19719         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
19720         elf_machine_rela.
19721         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
19722         skip_ifunc, don't call ifunc function if non-zero.
19723         (elf_machine_rela): Likewise.
19724         (elf_machine_lazy_rel): Likewise.
19725         (elf_machine_lazy_rela): Likewise.
19726         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19727         (elf_machine_lazy_rel): Likewise.
19728         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19729         Likewise.
19730         (elf_machine_lazy_rel): Likewise.
19731         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19732         Likewise.
19733         (elf_machine_lazy_rel): Likewise.
19734         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
19735         (elf_machine_lazy_rel): Likewise.
19736         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
19737         (elf_machine_lazy_rel): Likewise.
19738         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19739         (elf_machine_lazy_rel): Likewise.
19740         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
19741         (elf_machine_lazy_rel): Likewise.
19742         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
19743         (elf_machine_lazy_rel): Likewise.
19744         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19745         (elf_machine_lazy_rel): Likewise.
19747 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
19749         * nss/nss_files/files-init.c (_nss_files_init): Use static
19750         initialization for all the *_traced_file variables.
19752 2011-09-28  Andreas Schwab  <schwab@redhat.com>
19754         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19756 2011-09-27  Roland McGrath  <roland@hack.frob.com>
19758         [BZ #13226]
19759         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
19761 2011-09-27  Andreas Schwab  <schwab@redhat.com>
19763         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19764         Reread the line before reparsing it.
19766 2011-09-26  Andreas Schwab  <schwab@redhat.com>
19768         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
19770 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
19771             Maxim Kuvyrkov  <maxim@codesourcery.com>
19772             Joseph Myers  <joseph@codesourcery.com>
19774         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
19775         if needed for __stack_chk_guard.
19777 2011-09-19  Roland McGrath  <roland@hack.frob.com>
19779         * sysdeps/posix/spawni.c (script_execute): Always define it.
19780         It will be optimized away if unused.
19781         (maybe_script_execute): New function.
19782         (__spawni): Call it.
19784         * Makerules: Don't include tls.make.
19785         (config-tls): Always set to thread.
19786         * tls.make.c: File removed.
19788 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
19790         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
19791         * config.make.in (CPPFLAGS-config): New substituted variable.
19793 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
19795         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
19797         [BZ #13192]
19798         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
19799         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
19801 2011-09-15  Roland McGrath  <roland@hack.frob.com>
19803         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
19804         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
19805         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19806         (CALL_FAIL): Likewise.
19807         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
19808         (CALL_FAIL): Macro removed.
19809         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
19811 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
19813         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
19814         for __FINITE_MATH_ONLY__ == 1.
19816 2011-09-15  Andreas Schwab  <schwab@redhat.com>
19818         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
19819         __ieee754_sqrt instead of sqrt.
19820         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
19821         __ieee754_sqrtf instead of sqrtf.
19822         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
19823         __floorf instead of floorf.
19824         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
19825         __floorf, __truncf instead of floorf, truncf.
19827 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
19829         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
19831         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
19832         __extern_always_inline.
19833         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
19834         32-bit.
19836 2011-09-14  Andreas Schwab  <schwab@redhat.com>
19838         * elf/rtld.c (dl_main): Also relocate in dependency order when
19839         doing symbol dependency testing.
19841 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
19843         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19844         Always define `refsym'.
19846 2011-09-13  Andreas Schwab  <schwab@redhat.com>
19848         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
19849         (__FD_ELT): Renamed from __FDELT.
19850         * misc/bits/select2.h (__FD_ELT): Likewise.
19851         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
19852         __FD_MASK instead of __FDELT, __FDMASK.
19853         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19854         Likewise.
19855         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19856         Likewise.
19858         * elf/Makefile (gen-ldd): Fix pattern.
19860         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
19861         (init_tls): Likewise.
19863 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
19865         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
19867 2011-09-12  Andreas Schwab  <schwab@redhat.com>
19869         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
19870         `struct cmsghdr *' instead of `void *'.
19871         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
19872         Likewise.
19874 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
19876         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
19877         if non-absolute.
19878         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
19879         ldd_rewrite_script.
19881 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
19883         * configure.in: Remove --with-tls option.
19884         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
19885         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
19886         out in case it is missing.
19887         * sysdeps/ia64/elf/configure.in: Likewise.
19888         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
19889         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
19890         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
19891         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
19892         * sysdeps/sh/elf/configure.in: Likewise.
19893         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
19894         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19895         * sysdeps/x86_64/elf/configure.in: Likewise.
19896         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
19897         * sysdeps/mach/hurd/tls.h: Likewise.
19899         [BZ #13067]
19900         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
19902         [BZ #13090]
19903         * configure.in: Fix use of AC_INIT.
19905         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
19907 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
19909         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
19910         __set_errno.
19911         * malloc/hooks.c: Likewise.
19913         [BZ #11929]
19914         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
19915         variables statically.
19916         (narenas): Initialize.
19917         (list_lock): Initialize.
19918         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
19919         initializtion of main_arena and list_lock.  Small cleanups.
19920         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
19921         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
19922         Add initializers to main_arena and mp_.
19923         (malloc_state): Remove pagesize member.  Change all users to use
19924         GLRO(dl_pagesize).
19926         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
19927         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
19928         is always initialized.
19930         * malloc/malloc.c: Removed unused configurations and dead code.
19931         * malloc/arena.c: Likewise.
19932         * malloc/hooks.c: Likewise.
19933         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
19935         * include/tls.h: Removed.  USE___THREAD must always be defined.
19936         * bits/libc-tsd.h: Don't handle !USE___THREAD.
19937         * elf/dl-libc.c: Likewise.
19938         * elf/dl-tsd.c: Likewise.
19939         * include/errno.h: Likewise.
19940         * include/netdb.h: Likewise.
19941         * include/resolv.h: Likewise.
19942         * inet/herrno-loc.c: Likewise.
19943         * inet/herrno.c: Likewise.
19944         * malloc/arena.c: Likewise.
19945         * malloc/hooks.c: Likewise.
19946         * malloc/malloc.c: Likewise.
19947         * resolv/res-state.c: Likewise.
19948         * resolv/res_libc.c: Likewise.
19949         * sysdeps/i386/dl-machine.h: Likewise.
19950         * sysdeps/ia64/dl-machine.h: Likewise.
19951         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
19952         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19953         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19954         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19955         * sysdeps/sh/dl-machine.h: Likewise.
19956         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19957         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19958         * sysdeps/unix/i386/sysdep.S: Likewise.
19959         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19960         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19961         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19962         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19963         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19964         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19965         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19966         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19967         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19968         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19969         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19970         * sysdeps/x86_64/dl-machine.h: Likewise.
19971         * tls.make.c: Likewise.
19973         * configure.in: Remove --with-__thread option.  Make tests for
19974         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
19975         tls_model attribute fail if no support is available.  Remove
19976         USE_IN_LIBIO.
19977         * Makeconfig: Adjust for dropped configure option.  All features are
19978         now mandatory.
19979         * Makerules: Likewise.
19980         * Versions.def: Likewise.
19981         * argp/argp-fmtstream.c: Likewise.
19982         * argp/argp-fmtstream.h: Likewise.
19983         * argp/argp-help.c: Likewise.
19984         * assert/assert.c: Likewise.
19985         * config.h.in: Likewise.
19986         * config.make.in: Likewise.
19987         * configure: Likewise.
19988         * configure.in: Likewise.
19989         * csu/Versions: Likewise.
19990         * csu/init.c: Likewise.
19991         * elf/tst-audit2.c: Likewise.
19992         * elf/tst-tls10.c: Likewise.
19993         * elf/tst-tls10.h: Likewise.
19994         * elf/tst-tls11.c: Likewise.
19995         * elf/tst-tls12.c: Likewise.
19996         * elf/tst-tls14.c: Likewise.
19997         * elf/tst-tlsmod11.c: Likewise.
19998         * elf/tst-tlsmod12.c: Likewise.
19999         * elf/tst-tlsmod13.c: Likewise.
20000         * elf/tst-tlsmod13a.c: Likewise.
20001         * elf/tst-tlsmod14a.c: Likewise.
20002         * elf/tst-tlsmod15b.c: Likewise.
20003         * elf/tst-tlsmod16a.c: Likewise.
20004         * elf/tst-tlsmod16b.c: Likewise.
20005         * elf/tst-tlsmod7.c: Likewise.
20006         * elf/tst-tlsmod8.c: Likewise.
20007         * elf/tst-tlsmod9.c: Likewise.
20008         * gmon/gmon.c: Likewise.
20009         * grp/fgetgrent_r.c: Likewise.
20010         * grp/putgrent.c: Likewise.
20011         * hurd/fopenport.c: Likewise.
20012         * include/libc-symbols.h: Likewise.
20013         * include/tls.h: Likewise.
20014         * intl/gettextP.h: Likewise.
20015         * intl/loadinfo.h: Likewise.
20016         * locale/global-locale.c: Likewise.
20017         * locale/localeinfo.h: Likewise.
20018         * mach/devstream.c: Likewise.
20019         * malloc/arena.c: Likewise.
20020         * malloc/set-freeres.c: Likewise.
20021         * misc/err.c: Likewise.
20022         * misc/getttyent.c: Likewise.
20023         * misc/mntent_r.c: Likewise.
20024         * posix/getopt.c: Likewise.
20025         * posix/wordexp.c: Likewise.
20026         * pwd/fgetpwent_r.c: Likewise.
20027         * resolv/Versions: Likewise.
20028         * resolv/res_hconf.c: Likewise.
20029         * shadow/fgetspent_r.c: Likewise.
20030         * shadow/putspent.c: Likewise.
20031         * stdio-common/printf_fphex.c: Likewise.
20032         * stdio-common/tmpfile.c: Likewise.
20033         * stdlib/abort.c: Likewise.
20034         * stdlib/fmtmsg.c: Likewise.
20035         * sunrpc/auth_unix.c: Likewise.
20036         * sunrpc/clnt_perr.c: Likewise.
20037         * sunrpc/clnt_tcp.c: Likewise.
20038         * sunrpc/clnt_udp.c: Likewise.
20039         * sunrpc/clnt_unix.c: Likewise.
20040         * sunrpc/openchild.c: Likewise.
20041         * sunrpc/svc_simple.c: Likewise.
20042         * sunrpc/svc_tcp.c: Likewise.
20043         * sunrpc/svc_udp.c: Likewise.
20044         * sunrpc/svc_unix.c: Likewise.
20045         * sunrpc/xdr.c: Likewise.
20046         * sunrpc/xdr_array.c: Likewise.
20047         * sunrpc/xdr_rec.c: Likewise.
20048         * sunrpc/xdr_ref.c: Likewise.
20049         * sunrpc/xdr_stdio.c: Likewise.
20051 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
20053         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20055 2011-07-03  Andreas Jaeger  <aj@suse.de>
20057         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
20058         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
20059         regenerate with gen-libm-tests.pl.
20061 2010-05-12  Petr Baudis  <pasky@suse.cz>
20063         [BZ #11589]
20064         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
20065         around j0() zero points by switching to j1().
20066         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20067         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20068         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20069         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20071 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
20073         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
20074         instead of 0.
20075         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
20076         instead of 0.
20077         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20078         Patch in part by Pavel Roskin <proski@gnu.org>.
20080         [BZ #13138]
20081         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
20082         realloc.
20083         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
20084         Free memory block if necessary.
20086         [BZ #12847]
20087         * libio/genops.c (INTDEF): For string streams the _lock pointer can
20088         be NULL.  Don't lock in this case.
20090 2011-09-09  Roland McGrath  <roland@hack.frob.com>
20092         * elf/elf.h (ELFOSABI_GNU): New macro.
20093         (ELFOSABI_LINUX): Define to that.
20095 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
20097         * string/strncat.c (strncat): Undef the symbol in case it has been
20098         defined in bits/string.h.
20100 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
20102         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
20104         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
20105         link map.
20107 2011-08-17  Andreas Jaeger  <aj@suse.de>
20109         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
20111 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
20112             Ian Lance Taylor  <iant@google.com>
20114         * math/libm-test.inc (lround_test): New testcase.
20115         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
20117 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
20119         * Makefile: Remove support for automatic cvs check-ins.
20120         * Makerules: Likewise.
20121         * config.make.in: Likewise.
20122         * configure.in: Likewise.
20123         * intl/Makefile: Likewise.
20124         * locale/Makefile: Likewise.
20125         * po/Makefile: Likewise.
20126         * posix/Makefile: Likewise.
20127         * sysdeps/gnu/Makefile: Likewise.
20128         * sysdeps/mach/hurd/Makefile: Likewise.
20129         * sysdeps/sparc/sparc32/Makefile: Likewise.
20131         [BZ #13118]
20132         * posix/Makefile (bug-regex32-ENV): Define.
20133         Patch by John Stanley <jpsinthemix@verizon.net>.
20135         * misc/Makefile (headers): Add bits/select2.h.
20136         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
20137         * misc/bits/select2.h: New file.
20138         * include/bits/select2.h: New file.
20139         * debug/Makefile (routines): Add fdelt_chk.
20140         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
20141         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
20142         FD_ISSET.
20143         * debug/fdelt_chk.c: New file.
20145         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
20146         * wcsmbs/test-wmemcmp.c: Likewise.
20147         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
20148         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
20150 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20152         * string/Makefile (strop-tests): Add memcmp.
20153         * string/test-wmemcmp.c: New file.
20154         * string/test-memcmp.c: Add wmemcmp support.
20156 2011-09-08  Roland McGrath  <roland@hack.frob.com>
20158         [BZ #13153]
20159         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
20160         2011-07-19 change.
20162         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
20163         garbage value in a __mach_port_mod_refs call in the cases of the
20164         task-self and thread-self ports.
20166 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20168         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
20170 2011-09-08  Andreas Schwab  <schwab@redhat.com>
20172         * elf/dl-load.c (lose): Check for non-null L.
20174 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
20176         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
20178         * elf/dl-libc.c (dlerror_run): Pass back error code from
20179         dl_catch_error.
20181         [BZ #13123]
20182         * elf/dl-load.c (lose): Free l_origin if it is valid.
20184         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
20185         names.
20186         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20187         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20188         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20189         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20190         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20191         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
20193 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20195         * sysdeps/powerpc/fpu/e_hypot.c: New file.
20196         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
20197         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
20198         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
20199         * sysdeps/powerpc/fpu/k_cosf.c: New file.
20200         * sysdeps/powerpc/fpu/k_sinf.c: New file.
20201         * sysdeps/powerpc/fpu/s_cosf.c: New file.
20202         * sysdeps/powerpc/fpu/s_sinf.c: New file.
20203         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
20204         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
20206 2011-08-15  Alan Modra  <amodra@gmail.com>
20208         [BZ #13092]
20209         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
20210         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
20211         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
20212         ppc_mcount to static-only-routines.
20213         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
20214         __mcount_internal.
20215         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
20216         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
20218 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
20220         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
20221         for finite and infinity parameters.
20223 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
20225         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
20226         and add nop instructions for throughput optimization.
20227         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20229 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
20231         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
20232         aligned copy for power7 with vector-scalar instructions.
20233         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20235 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
20237         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
20238         AVX check.
20240 2011-09-07  Andreas Schwab  <schwab@redhat.com>
20242         [BZ #13144]
20243         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
20244         last change.
20246 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
20248         * sysdeps/unix/sysv/linux/x86_64/init-first.c
20249         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
20250         syscall wrapper around clock_gettime in __vdso_clock_gettime.
20251         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
20252         clock_gettime.
20254 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
20256         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
20257         Forgot to demangle the pointer.
20259         * sysdeps/i386/sysdep.h: Define atom_text_section.
20260         * sysdeps/x86_64/sysdep.h: Likewise.
20261         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
20262         section with atom_text_section.
20263         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20264         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20265         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20266         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20267         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
20269         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
20270         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
20271         already be defined.  Change to take two parameters and don't assign
20272         result to variable.  Adjust all users.
20273         Define INTERNAL_GETTIME if not already defined.
20274         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
20275         call.
20276         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
20277         HAVE_CLOCK_GETTIME_VSYSCALL.
20278         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
20280         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
20281         gettimeofday vsyscall, just use time.
20283 2011-09-06  Andreas Schwab  <schwab@redhat.com>
20285         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
20286         <errno.h>.
20288 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
20290         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
20291         syscall on x86-64.
20292         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
20293         syscall.
20294         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20295         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
20296         syscall if possible.
20298 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
20300         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
20301         e_ident.  Don't pass to find_mapsXX.
20302         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
20304 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20306         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20307         strchr-sse2-no-bsf strrchr-sse2-no-bsf
20308         * sysdeps/x86_64/multiarch/strchr.S: Update.
20309         Check bit_slow_BSF bit.
20310         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20311         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
20312         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
20314 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
20316         [BZ #13134]
20317         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
20318         before glibc 2.15.
20319         (tryshell): Define.
20320         (__spawni): Change last parameter to be flag.  Test
20321         SPAWN_XFLAGS_USE_PATH flag to use path or not.
20322         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
20323         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
20324         * posix/spawni.c: Likewise.
20325         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
20326         * posix/spawnp.c: Likewise.  Change normal version to use
20327         SPAWN_XFLAGS_USE_PATH.
20328         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
20329         SPAWN_XFLAGS_TRY_SHELL.
20331         [BZ #13150]
20332         * posix/glob.h: Remove gcc 1.x support.
20334         [BZ #13068]
20335         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
20337 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20339         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20340         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
20341         strrchr-sse2-bsf
20342         * sysdeps/i386/i686/multiarch/strchr.S: New file.
20343         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
20344         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
20345         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
20346         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
20347         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
20349 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20351         * sysdeps/x86_64/wcscmp.S: New file.
20353         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
20354         wcscmp-c wcscmp-sse2
20355         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
20356         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
20357         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
20358         * wcsmbs/wcscmp.c: Allow renaming.
20360 2011-09-05  David S. Miller  <davem@davemloft.net>
20362         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
20363         stack slot, rather than the struct return pointer slot.
20364         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
20365         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
20366         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
20367         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
20369 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
20371         * po/ja.po: Update from translation team.
20373         [BZ #13144]
20374         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
20375         kernel in 64-bit binaries.
20377 2011-09-01  David S. Miller  <davem@davemloft.net>
20379         * elf/elf.h (HWCAP_SPARC_*): Move to..
20380         * sysdeps/sparc/sysdep.h: this new file and add new values.
20381         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
20382         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
20383         _DL_HWCAP_COUNT to 24.
20384         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20385         entries.
20386         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
20387         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
20388         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
20389         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
20390         instead of magic constants.
20391         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20393 2011-08-31  David S. Miller  <davem@davemloft.net>
20395         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
20396         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
20397         Reimplement to do errno handling inline.
20398         (SYSCALL_ERROR_HANDLER): New macro.
20399         (__SYSCALL_STRING): Do not do errno handling in asm.
20400         (__CLONE_SYSCALL_STRING): Delete.
20401         (__INTERNAL_SYSCALL_STRING): Delete.
20402         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
20403         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
20404         (PSEUDO): Reimplement to do errno handling inline.
20405         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
20406         (SYSCALL_ERROR_HANDLER): New macro.
20407         (__SYSCALL_STRING): Do not do errno handling in asm.
20408         (__CLONE_SYSCALL_STRING): Delete.
20409         (__INTERNAL_SYSCALL_STRING): Delete.
20410         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
20411         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
20412         i386.
20413         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
20414         (inline_syscall*): Add 'err' argument.
20415         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
20416         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
20417         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
20418         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
20420         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
20421         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20423 2011-08-30  Andreas Schwab  <schwab@redhat.com>
20425         * elf/rtld.c (dl_main): Relocate objects in dependency order.
20427 2011-08-29  Jiri Olsa <jolsa@redhat.com>
20429         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
20430         directive.
20432 2011-08-24  David S. Miller  <davem@davemloft.net>
20434         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
20436 2011-08-24  Andreas Schwab  <schwab@redhat.com>
20438         * elf/Makefile: Add rules to build and run unload8 test.
20439         * elf/unload8.c: New file.
20440         * elf/unload8mod1.c: New file.
20441         * elf/unload8mod1x.c: New file.
20442         * elf/unload8mod2.c: New file.
20443         * elf/unload8mod3.c: New file.
20445         * elf/dl-close.c (_dl_close_worker): Reset private search list if
20446         it wasn't used.
20448 2011-08-23  David S. Miller  <davem@davemloft.net>
20450         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
20451         subtract stack bias.
20452         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
20453         %sp not %fp in calculations.
20454         (_JMPBUF_UNWINDS_ADJ): Likewise.
20456         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
20457         (aio_suspend): Call it to force an exception region around the
20458         AIO_MISC_WAIT() invocation.
20460 2011-08-23  Andreas Schwab  <schwab@redhat.com>
20462         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
20463         backslash.
20465 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
20467         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
20468         protection macro.
20469         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
20470         and <dl-machine.h>.
20471         (Elf64_FuncDesc): Remove.
20473 2011-08-22  David S. Miller  <davem@davemloft.net>
20475         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
20476         sigaltstack check, add missing cfi directives.
20477         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
20478         missing cfi directives, and sigaltstack handling.
20480 2011-08-16  Andreas Schwab  <schwab@redhat.com>
20482         [BZ #11724]
20483         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
20484         object is seen twice.
20485         * elf/dl-fini.c (_dl_sort_fini): Likewise.
20487         * elf/Makefile (distribute): Add tst-initorder2.c.
20488         (tests): Add tst-initorder2.
20489         (modules-names): Add tst-initorder2a tst-initorder2b
20490         tst-initorder2c tst-initorder2d.  Add rules to build them.
20491         ($(objpfx)tst-initorder2.out): New rule.
20492         * elf/tst-initorder2.c: New file.
20493         * elf/tst-initorder2.exp: New file.
20495 2011-08-22  Andreas Schwab  <schwab@redhat.com>
20497         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
20499         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
20500         dependencies back to end of function.
20502         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20503         $(elfobjdir)/ld.so.
20505 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
20507         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
20508         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
20509         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
20510         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
20511         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
20512         of __vdso_gettimeofday.
20513         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
20514         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
20515         attribute_hidden.
20516         (_libc_vdso_platform_setup): Remove initialization of
20517         __vdso_gettimeofday and __vdso_time.
20519 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
20521         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
20522         and fgetc_unlocked.
20523         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
20524         getc_unlocked.
20526         * elf/dl-open.c (add_to_global): Report additions to the global scope
20527         for LD_DEBUG=scopes.
20528         (dl_open_worker): Also print scope of newly loaded dependencies.
20529         (_dl_show_scope): Indicate if there is no scope.
20531         [BZ #13114]
20532         * stdio-common/Makefile (tests): Add bug24.
20533         * stdio-common/bug24.c: New file.
20535 2011-08-19  Andreas Jaeger  <aj@suse.de>
20537         [BZ #13114]
20538         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
20539         non-existant file when using close-on-exec mode.
20541 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
20543         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
20544         the very first instruction.
20546         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
20547         the CFI state in the end.
20548         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
20549         inclusion of dl-trampoline.h.
20550         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
20552 2011-08-19  Andreas Schwab  <schwab@redhat.com>
20554         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
20555         expectations for long double.
20557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
20558         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
20560 2011-08-14  David S. Miller  <davem@davemloft.net>
20562         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
20563         artificual limit depends upon the system page size.
20565 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
20567         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
20568         * resolv/Makefile: Define CFLAGS-libresolv.
20570 2011-08-17  Andreas Schwab  <schwab@redhat.com>
20572         * nss/makedb.c (compute_tables): Make variables used in nested
20573         function static.
20575 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
20577         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
20578         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
20579         if buffer was too small.
20581         * elf/pldd.c (main): Attach to all threads in the process.
20582         Rewrite /proc handling to use *at functions.
20584 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
20586         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
20587         specifies first scope to show.
20588         (dl_open_worker): Update callers.  Move printing scope of new
20589         object to before the relocation.
20590         * elf/rtld.c (dl_main): Update _dl_show_scope call.
20591         * sysdeps/generic/ldsodefs.h: Update declaration.
20593         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
20594         string for the scope number.
20596 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
20598         * nscd/servicescache.c (cache_addserv): Make sure written is always
20599         initialized.
20601 2011-08-14  Roland McGrath  <roland@hack.frob.com>
20603         * sysdeps/i386/i486/bits/atomic.h
20604         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
20605         statement expression, so as to suppress "set but not used" warning.
20606         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
20608         * string/strncat.c (STRNCAT): Use prototype definition.
20610         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
20611         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
20612         -Iprograms here.
20613         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
20614         (localedef-modules): Add localedef.
20615         (locale-modules): Add locale.
20617         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
20618         * elf/rtld.c (dl_main): Invert order of assignment in last change,
20619         to avoid a warning.
20621 2011-08-14  David S. Miller  <davem@davemloft.net>
20623         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
20624         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
20626 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
20628         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
20629         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
20630         * elf/rtld.c (dl_main): Set l_name of vDSO.
20631         Call _dl_show_scope when DL_DEBUG_SCOPES.
20632         (process_dl_debug): Recognize scopes flag and also set it for all.
20633         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
20634         Declare _dl_show_scope.
20636         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
20637         (do_dlopen): Pass caller_dlopen to dl_open.
20638         (__libc_dlopen_mode): Initialize caller_dlopen.
20640         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
20641         of libc.  Make tolower call locale-independent.  Optimize a bit by
20642         using isdigit instead of isalnum.
20643         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
20645 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
20647         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
20648         was a dependency or dynamically loaded.
20650 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
20652         * intl/l10nflist.c: Allow architecture-specific pop function.
20653         * sysdeps/x86_64/l10nflist.c: New file.
20655         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
20656         classification.
20658 2011-08-10  Andreas Schwab  <schwab@redhat.com>
20660         * include/dirent.h: Add libc_hidden_proto for scandirat and
20661         scandirat64.  Don't declare __scandirat64.
20662         * dirent/scandirat.c: Add libc_hidden_def.
20663         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
20664         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
20666 2011-08-10  David S. Miller  <davem@davemloft.net>
20668         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
20669         enum.
20670         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20671         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20672         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20674 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
20676         * Versions.def [libc]: Add GLIBC_2.15.
20677         * dirent/Makefile (routines): Add scandirat and scandirat64.
20678         * dirent/Versions [libc]: Export scandirat and scandirat64 for
20679         GLIBC_2.15.
20680         * dirent/dirent.h: Declare scandirat and scandirat64.
20681         * dirent/scandirat.c: New file.
20682         * dirent/scandirat64.c: New file.
20683         * sysdeps/wordsize-64/scandirat.c: New file.
20684         * sysdeps/wordsize-64/scandirat64.c: New file.
20685         * dirent/opendir.c: Define opendirat.
20686         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
20687         using scandirat.
20688         * dirent/scandir64.c: Adjust for scandir.c change.
20689         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
20690         __scandirat64, and __scandir_cancel_handler.
20691         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
20692         additional parameter and use openat instead of open (outside of ld.so).
20693         Add new __opendir as wrapper around __opendirat.
20694         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
20695         here without requiring old scandirat implementation.
20697 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
20699         * dirent/scandir.c (cancel_handler): Renamed to
20700         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
20701         defined.  Adjust users.
20702         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
20703         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
20705 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
20707         * string/test-string.h (IMPL): Use __STRING to expand name and then
20708         stringify it.
20710         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
20711         of cleanups.
20713 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20715         * string/Makefile: Update.
20716         (strop-tests): Append strncat.
20717         * string/test-wcscmp.c: New file.
20718         New comprehensive test for wcscmp.
20719         * string/test-strcmp.c: Update.
20720         (WIDE): New define.
20722 2011-07-22  Andreas Schwab  <schwab@redhat.com>
20724         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
20725         line.
20727 2011-07-26  Andreas Schwab  <schwab@redhat.com>
20729         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20730         encoding to ACE if AI_IDN.
20732 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
20734         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
20735         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
20737 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20739         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
20740         Fix overflow bug in strncat.
20741         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20743         * string/test-strncat.c: Update.
20744         Add new tests for checking overflow bugs.
20746 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20748         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20749         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
20750         * sysdeps/i386/i686/multiarch/strcat.S: New file.
20751         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
20752         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
20753         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
20754         * sysdeps/i386/i686/multiarch/strncat.S: New file.
20755         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
20756         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
20758         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
20759         (USE_AS_STRCAT): Define.
20760         Add strcat and strncat support.
20761         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20763 2011-07-25  Andreas Schwab  <schwab@redhat.com>
20765         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
20766         __n bigger than INT_MAX+1.
20767         (__strncmp_g): Likewise.
20769 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
20771         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
20772         * libio/stido.h: Likewise.
20774         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
20775         (AF_NFC): Define.
20776         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
20777         (AF_NFC): Define.
20779         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
20780         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20781         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20782         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20783         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20785         [BZ #13021]
20786         * scripts/test-installation.pl: Don't expect libnss_test1 to be
20787         installed.
20789         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
20790         typo.
20791         (_dl_x86_64_save_sse): Likewise.
20793 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
20795         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
20796         OSXSAVE.
20797         (_dl_x86_64_save_sse): Likewise.
20799         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
20801         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
20803 2011-07-21  Andreas Schwab  <schwab@redhat.com>
20805         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
20806         change.
20807         (_dl_x86_64_save_sse): Use correct AVX check.
20809 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20811         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
20812         bug in strncpy/strncat.
20813         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20815 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
20817         * string/tester.c (test_strcat): Add tests for different alignments
20818         of source and destination.
20819         (test_strncat): Likewise.
20821 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
20823         [BZ #12852]
20824         * posix/glob.c (glob): Check passed in values before using them in
20825         expressions to avoid some overflows.
20826         (glob_in_dir): Likewise.
20828         [BZ #13007]
20829         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
20830         check for AVX enablement so that we don't crash with old kernels and
20831         new hardware.
20832         * elf/tst-audit4.c: Add same checks here.
20833         * elf/tst-audit6.c: Likewise.
20835         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
20837 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
20839         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
20841 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
20843         * po/cs.po: Update from translation team.
20844         * po/bg.po: Likewise.
20846 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
20848         * misc/sys/cdefs.h: Add support for const attribute.
20849         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
20850         to gnu_dev_{major,minor,makedev} functions.
20852 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
20854         * intl/dcigettext.c (get_output_charset): Add missing bracket.
20856 2011-07-20  Andreas Schwab  <schwab@redhat.com>
20858         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
20859         strlen results.
20861 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20863         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20864         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
20865         register in order to avoid conflicts with the soft frame pointer
20866         being held in r11 when necessary.
20867         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20868         (INTERNAL_VSYSCALL_NCS): Likewise.
20870 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
20872         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
20873         * elf/dl-fini.c (_dl_fini): Adjust caller.
20874         * elf/dl-close.c (_dl_close_worker): Likewise.
20875         * sysdeps/generic/ldsodefs.h: Adjust declaration.
20877 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
20879         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
20880         "aux_cache->nlibs < 0".
20882         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
20883         in the reload-count case.
20885 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20887         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20888         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
20889         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
20890         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
20891         * sysdeps/x86_64/multiarch/strcat.S: New file.
20892         * sysdeps/x86_64/multiarch/strncat.S: New file.
20893         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
20894         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
20895         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
20896         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
20897         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
20898         (USE_AS_STRCAT): Define.
20899         Add strcat and strncat support.
20900         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20901         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20902         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
20903         * string/strncat.c: Update.
20904         (USE_AS_STRNCAT): Define.
20905         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20906         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
20907         and i7.
20908         * sysdeps/x86_64/multiarch/init-arch.h
20909         (bit_Prefer_PMINUB_for_stringop): New.
20910         (index_Prefer_PMINUB_for_stringop): Likewise.
20911         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
20912         bit_Prefer_PMINUB_for_stringop.
20914 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
20916         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
20917         buffer64.
20918         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
20919         of casting of buffer.
20920         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
20921         buffer32 and buffer64.
20922         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
20923         writes instead of casting of buffer.
20924         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
20925         buffer32.
20926         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
20927         casting of buffer.
20929 2011-07-19  Andreas Schwab  <schwab@redhat.com>
20931         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
20933 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
20935         * nscd/nscd.c (termination_handler): Don't do anything for a database
20936         if it has not yet been initialized.
20938 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
20940         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20942 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
20944         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20946 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
20948         * po/nl.po: Update from translation team.
20949         * po/sv.po: Likewise.
20951 2011-07-16  Roland McGrath  <roland@hack.frob.com>
20953         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
20954         now disallowed by GCC.
20956         * configure.in (use-default-link): Default to yes if a test -shared
20957         link meets our qualifications.
20958         * configure: Regenerated.
20960         * config.make.in (output-format): New variable.
20961         * configure.in: Check for ld --print-output-format support.
20962         * configure: Regenerated.
20963         * Makerules ($(common-objpfx)format.lds)
20964         [$(output-format) != unknown]: Just use $(output-format),
20965         instead of the linker-script munging.
20967 2011-07-14  Roland McGrath  <roland@hack.frob.com>
20969         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
20970         of $(common-objpfx)shlib.lds.
20971         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
20973         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
20974         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
20976         * configure.in (-z relro check): Adjust test code to add a large
20977         writable data section after it.
20978         * configure: Regenerated.
20980 2011-07-11  Roland McGrath  <roland@hack.frob.com>
20982         * configure.in (-z relro check): Fix test code to make the variable
20983         truly const.
20984         * configure: Regenerated.
20986 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
20988         * nscd/nscd.h (struct traced_file): Define.
20989         (struct database_dyn): Remove inotify_descr, reset_res, and filename
20990         elements.  Add traced_files.
20991         (inotify_fd): Declare.
20992         (register_traced_file): Declare.
20993         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
20994         (inotify_fd): Export.
20995         (resolv_conf_descr): Remove.
20996         (nscd_init): Move inotify descriptor creation to main.
20997         Don't register files for notification here.
20998         (register_traced_file): New function.
20999         (invalidate_cache): Don't use reset_res to determine whether to call
21000         res_init, go through the list of registered files.
21001         (main_loop_poll): The inotify descriptors are now stored in the
21002         structures for the traced files.
21003         (main_loop_epoll): Likewise
21004         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
21005         to __nss_disable_nscd.
21006         * nscd/cache.c (prune_cache): There is no single inotify descriptor
21007         for a database anymore.  Check the records for all the registered
21008         files instead.
21009         * nss/Makefile (libnss_files-routines): Add files-init.
21010         (libnss_db-routines): Add db-init.
21011         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
21012         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
21013         * nss/nss_db/db-init.c: New file.
21014         * nss/nss_files/files-init.c: New file.
21015         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
21016         __nss_lookup_function.
21017         (__nss_lookup_function): Call nss_load_library.
21018         (nss_load_all_libraries): New function.
21019         (__nss_disable_nscd): Take parameter with callback function for files
21020         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
21021         used for the cached services.
21022         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
21023         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
21024         options for features to all the files in nscd.
21026         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
21028 2011-07-10  Roland McGrath  <roland@hack.frob.com>
21030         * csu/elf-init.c (__libc_csu_init): Comment typo.
21032 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
21034         * po/pl.po: Update from translation team.
21035         * po/ja.po: Likewise.
21036         * po/ru.po: Likewise.
21037         * po/ko.po: Likewise.
21038         * po/fr.po: Likewise.
21040 2011-07-09  Roland McGrath  <roland@hack.frob.com>
21042         * configure.in (.ctors/.dtors header and trailer check):
21043         Use an empirical test on a built program.
21044         * configure: Regenerated.
21046         * configure.in (-z relro check): Use an empirical test on a built DSO.
21047         Detect, but do not require, on ia64.
21048         * configure: Regenerated.
21050         * configure.in (READELF): Find it with AC_CHECK_TOOL.
21051         Update tests that use readelf to use $READELF instead.
21052         * configure: Regenerated.
21054 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
21056         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
21057         if the result is not used.
21059 2011-07-05  Andreas Jaeger  <aj@suse.de>
21061         [BZ#9696]
21062         * stdlib/tst-strtod.c: Add testcase.
21064 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
21066         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
21067         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
21068         The latter has a higher limit.  Take additional parameter to pass to
21069         the new function.
21070         (__pathconf): Pass file to __statfs_link_max.
21071         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
21072         __statfs_link_max.
21073         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
21074         __statfs_link_max.
21076         [BZ #12868]
21077         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
21078         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21079         Handle Lustre.
21080         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
21081         (__statfs_filesize_max): Likewise.
21082         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
21084 2011-07-05  Andreas Jaeger  <aj@suse.de>
21086         * resolv/res_comp.c (dn_skipname): Remove unused variable.
21088 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
21090         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
21091         `status' variable.
21092         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
21093         Likewise.
21095 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
21097         * Makefile (strop-tests): Add strncat.
21098         * string/test-strncat.c: New file.
21100 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
21102         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
21104 2011-06-21  Andreas Jaeger  <aj@suse.de>
21106         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
21107         Copy rule from iconvdata/Makefile.
21109 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
21111         [BZ #12922]
21112         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
21113         but no long options are defined, just return 'W'.
21115 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
21117         [BZ #9696]
21118         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
21120 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
21122         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
21123         netgroups to read.
21124         (innetgr): Likewise.
21126 2011-07-05  Roland McGrath  <roland@hack.frob.com>
21128         * config.make.in (install_root): Default to $(DESTDIR).
21130 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
21132         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
21134 2011-07-02  Roland McGrath  <roland@hack.frob.com>
21136         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
21138         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
21139         containing directory rather than embedding absolute directory names.
21141         * scripts/check-local-headers.sh: Rewritten using awk.
21142         Match by word, not by line.  Print error messages for matches.
21143         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
21145         * Makerules [shlib-lds-flags empty]:
21146         ($(common-objpfx)libc_pic.opts): New target.
21147         ($(common-objpfx)libc_pic.os.clean): New target.
21148         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
21150         * config.make.in (OBJCOPY): New variable.
21151         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
21152         * configure: Regenerated.
21154         * config.make.in (use-default-link): New variable.
21155         * configure.in (use_default_link): Grok --with-default-link to set it.
21156         * configure: Regenerated.
21157         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
21158         (shlib-lds, shlib-lds-flags): Define to empty.
21160         * Makerules (shlib-lds): New variable.
21161         (shlib-lds-flags): New variable.
21162         (build-shlib, build-moduile, build-module-asneeded): Use it.
21163         ($(common-objpfx)libc.so): Use $(shlib-lds).
21164         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
21165         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
21167         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
21168         DT_FLAGS/DT_FLAGS_1 with zero flags.
21170         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
21171         linker script munging.
21173 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
21175         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
21176         as 128-bit value.
21177         * crypt/sha512.c (sha512_process_block): Perform total addition using
21178         128-bit if possible.
21179         (__sha512_finish_ctx): Likewise.
21180         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
21181         as 64-bit value.
21182         * crypt/sha256.c (SWAP64): Define.
21183         (sha256_process_block): Perform total addition using 64-bit if
21184         possible.
21185         (__sha256_finish_ctx): Likewise.
21187 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
21189         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
21190         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21191         * nscd/hstcache.c (cache_addhst): Likewise.
21192         * nscd/grpcache.c (cache_addgr): Likewise.
21193         * nscd/aicache.c (addhstaiX): Likewise
21194         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
21196 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
21198         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
21199         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21200         * nscd/hstcache.c (cache_addhst): Likewise.
21201         * nscd/grpcache.c (cache_addgr): Likewise.
21202         * nscd/aicache.c (addhstaiX): Likewise
21204 2011-07-01  Andreas Schwab  <schwab@redhat.com>
21206         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
21207         domain only when needed.
21209 2011-06-30  Andreas Schwab  <schwab@redhat.com>
21211         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
21212         is always restored.
21214 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
21216         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
21217         are re-adding the entry.
21218         * nscd/servicescache.c (cache_addserv): Likewise.
21220 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
21222         * sysdeps/generic/dl-irel.h: fix protection against multiple
21223         inclusions.
21224         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
21226 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
21228         [BZ #12935]
21229         * malloc/memusage.sh: Fix quoting in message.
21230         * debug/xtrace.sh: Likewise.
21232         * configure.in: Remove support for --experimental-malloc option, make
21233         it the default.
21234         * config.make.in: Likewise.
21235         * malloc/Makefile: Likewise.
21237 2011-06-27  Andreas Schwab  <schwab@redhat.com>
21239         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
21240         two-byte characters.
21242 2011-06-27  Roland McGrath  <roland@hack.frob.com>
21244         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
21245         AC_CACHE_CHECK invocation.
21246         * configure: Regenerated.
21248         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
21250 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
21252         [BZ #12350]
21253         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
21254         bit from old_res_options.
21256         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
21258         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
21259         value type for setfct.
21261 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
21263         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21264         __gettimeofday instead of gettimeofday.
21266 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
21268         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
21270 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
21272         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
21274         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
21275         info.
21277 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
21279         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21280         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21281         strcpy-sse2-unaligned strncpy-sse2-unaligned
21282         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
21283         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
21284         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
21285         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
21286         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
21287         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
21288         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
21289         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
21290         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
21291         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
21292         (STRCPY): Support SSE2 and SSSE3 versions.
21294 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
21296         [BZ #12874]
21297         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
21298         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
21299         kernels which artificially limit size of requests.
21301 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
21303         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21304         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21305         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
21306         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
21307         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
21308         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
21309         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
21310         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
21311         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
21312         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
21313         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
21314         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
21315         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
21316         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
21317         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
21318         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21319         Enable unaligned load optimization for Intel Core i3, i5 and i7
21320         processors.
21321         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
21322         Define.
21323         (index_Fast_Unaligned_Load): Define.
21324         (HAS_FAST_UNALIGNED_LOAD): Define.
21326 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
21328         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
21330 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
21332         [BZ #12907]
21333         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
21334         until it is clear that the information is realy needed.
21335         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
21337 2011-06-22  Andreas Schwab  <schwab@redhat.com>
21339         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
21341 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
21343         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21344         /sys/devices/system/cpu/online if it is usable.
21346         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
21347         reading the information from the /proc filesystem to once a second.
21349 2011-06-21  Andreas Jaeger  <aj@suse.de>
21351         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
21352         NULL after inclusion of kernel headers.
21354 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
21356         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
21357         calls to internal_setent.
21359         [BZ #12885]
21360         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
21361         addresses using gethostbyname4_r ignore IPv4 addresses.
21363         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
21364         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
21366         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
21368 2011-06-20  David S. Miller  <davem@davemloft.net>
21370         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
21371         inclusions.
21372         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
21374         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
21375         (elf_irel): Use it.
21376         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
21377         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
21378         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
21379         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
21380         * sysdeps/x86_64/dl-irel.h: Likewise.
21382         * elf/dl-runtime.c: Use elf_ifunc_invoke.
21383         * elf/dl-sym.c: Likewise.
21385 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
21387         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
21388         need to dereference resplen2.
21390 2011-06-14  Andreas Schwab  <schwab@redhat.com>
21392         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
21394 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
21396         * Makeconfig: Define vardbdir and inst_vardbdir.
21397         * nss/Makefile: Add rules to install db-Makefile.
21399         * nss/nss_db/db-XXX.c: Cleanup.
21401         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
21402         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
21403         GLIBC_PRIVATE.
21404         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
21405         * nss/makedb.c: Implement -g option to specify that value strings
21406         are generated and should not be added to table iterated over for
21407         get*ent calls.
21408         * nss/nss_db/db-initgroups.c: New file.
21410         * nss/getent.c: Add support for initgroups lookups through getgrouplist
21411         interface.
21413         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
21414         (internal_getgrouplist): Adjust to name change.
21415         Update use_initgroups_entry if this is not the first call.
21416         * nss/databases.def: Add initgroups entry.
21418         * nss/makedb.c (compute_tables): Check result of multiple hash table
21419         sizes to minimize maximum chain length.
21421 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
21423         * Versions.def: Add entry for libnss_db.
21424         * shlib-versions: Likewise.
21425         * nss/Makefile: Add rules to build libnss_db.
21426         * nss/Versions: Add libnss_db information.  Organize libnss_files
21427         entries better.
21428         * nss/db-Makefile: Add gshadow support.  Change rules for the new
21429         makedb progra.  Some minor improvements to generate smaller files.
21430         * nss/nss_db/nss_db.h: Move NSS database header data structures to
21431         here from...
21432         * nss/makedb.c: ...here.
21433         Improve database format to be smaller and require less memory at
21434         runtime.
21435         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
21436         db anymore.
21437         * nss/nss_db/db-netgrp.c: Likewise.
21438         * nss/nss_db/db-open.c: Likewise.
21439         * nss/nss_files/flies-XXX.x: Adjust comments.
21440         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
21441         * nss/nss_files/files-grp.c: Likewise.
21442         * nss/nss_files/files-hosts.c: Likewise.
21443         * nss/nss_files/files-network.c: Likewise.
21444         * nss/nss_files/files-proto.c: Likewise.
21445         * nss/nss_files/files-pwd.c: Likewise.
21446         * nss/nss_files/files-rpc.c: Likewise.
21447         * nss/nss_files/files-service.c: Likewise.
21448         * nss/nss_files/files-sgrp.c: Likewise.
21449         * nss/nss_files/files-spwd.c: Likewise.
21450         * nss/nss_db/db-alias.c: Removed.
21451         * nss/nss_db/dummy-db.h: Removed.
21453 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
21455         * nss/makedb.c: Rewritten to not use database library.
21456         * nss/Makefile: Update to build new makedb program.
21458 2011-06-14  Andreas Jaeger  <aj@suse.de>
21460         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
21461         memset declaration.
21463 2011-06-10  Andreas Schwab  <schwab@redhat.com>
21465         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
21466         tmpbuf.
21468 2011-06-10  Roland McGrath  <roland@hack.frob.com>
21470         * Makerules (shlib.lds): Fail if the linker script comes out empty.
21471         * elf/Makefile ($(objpfx)ld.so): Likewise.
21473         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
21474         Don't list ld.so twice in dependencies.
21476         * posix/bug-regex31.c: Include <stdlib.h>.
21478         * nscd/hstcache.c (cache_addhst): Remove unused variable.
21480         * nis/nss_compat/compat-spwd.c
21481         (getspent_next_nss_netgr): Remove unused variable.
21482         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
21484         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
21485         nonmembers" output to use the right array.
21487         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
21489         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
21491         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
21492         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
21493         * catgets/gencat.c (read_input_file): Likewise.
21494         * locale/programs/locarchive.c (enlarge_archive): Likewise.
21496         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
21497         variable definition inside #if's controlling its use.
21499         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
21501         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
21503         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
21505         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
21506         unreachable code.
21508         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
21510         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
21511         * configure: Regenerated.
21513         * Makerules: Revert last change.
21514         * elf/Makefile: Likewise.
21516 2011-06-09  Roland McGrath  <roland@hack.frob.com>
21518         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
21519         * elf/Makefile ($(objpfx)librtld.os): Likewise.
21520         (reloc-link): Likewise.
21522 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
21524         * elf/Makefile: Add rules to build pldd.
21525         * elf/pldd.c: New file.
21526         * elf/pldd-xx.c: New file.
21528 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
21530         * version.h: Update for 2.15 development version.
21532 2011-06-07  David S. Miller  <davem@davemloft.net>
21534         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
21535         ifuncs.
21536         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
21537         elf_machine_lazy_rel): Likewise.
21538         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21539         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
21540         elf_machine_lazy_rel): Likewise.
21541         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
21542         dl_hwcap via passed in argument.
21543         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
21544         Likewise.
21546 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21548         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
21550 2011-06-06  Roland McGrath  <roland@hack.frob.com>
21552         [BZ #12849]
21553         * manual/fdl-1.1.texi: New file, verbatim from:
21554         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
21555         * manual/lgpl-2.1.texi: New file, verbatim from:
21556         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
21557         * manual/Makefile (licenses): New variable, list those new file names.
21558         (texis): Use it.
21559         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
21561         * manual/fdl.texi: File removed.
21562         * manual/lesser.texi: File removed.
21563         * manual/libc.texinfo (Copying, Documentation License):
21564         Use new @include file names, put @appendix directive before @include.
21566 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
21568         [BZ #12841]
21569         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
21570         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
21571         (mq_open): Add __NTH.
21573 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
21575         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21576         Assume Intel Core i3/i5/i7 processor if AVX is available.
21578 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
21580         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21581         typo.
21583 2011-05-31  Andreas Schwab  <schwab@redhat.com>
21585         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
21586         memory.  Use alloca_account.  Fix memory leak when retrying.
21588 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
21590         * version.h (RELEASE): Bump for 2.14 release.
21591         * include/features.h (__GLIBC_MINOR__): Bump to 14.
21593         * config.make.in (RANLIB): Remove entry.
21595 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
21597         * po/Makefile (po-sed-cmd): Add ksh to extensions.
21598         (libc.pot): Work around missing support for .ksh extension in xgettext.
21600         [BZ #12684]
21601         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
21602         if both request failed.
21603         (send_dg): In case of server errors clear resplen or *resplen2.
21605         [BZ #12454]
21606         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
21607         when there are multiple maps.
21608         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
21609         (_dl_fini): Remove test here.
21611         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
21613 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
21615         [BZ #12350]
21616         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
21617         bit from old_res_options.
21618         (gaih_inet): Likewise.
21620         [BZ #11099]
21621         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
21622         as signed.
21624         * resolv/res_init.c (res_setoptions): Make the code more compact.
21626         [BZ #11558]
21627         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
21628         set RES_USEVC.
21630         [BZ #11634]
21631         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
21633         * malloc/malloc.h: Mark malloc hook variables as deprecated.
21635         [BZ #11781]
21636         * malloc/malloc.h: Declare malloc hook variables as volatile.
21638         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
21639         in last patch.
21641         [BZ #11799]
21642         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
21643         raise in the comment.
21644         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21645         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21646         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
21648 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
21650         [BZ #12811]
21651         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
21652         grow the buffers more if it already has to be sufficient.
21653         (build_wcs_upper_buffer): Likewise.
21654         * posix/regexec.c (check_matching): Likewise.
21655         (clean_state_log_if_needed): Likewise.
21656         (extend_buffers): Don't enlarge buffers beyond size of the input
21657         buffer.
21658         Patches mostly by Emil Wojak <emil@wojak.eu>.
21659         * posix/bug-regex32.c: New file.
21660         * posix/Makefile (tests): Add bug-regex32.
21662         * locale/findlocale.c (_nl_find_locale): Return right away if
21663         _nl_explode_name failed.
21664         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21666         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
21668         * debug/xtrace.sh: Unify messages.
21669         * malloc/memusage.sh: Likewise.
21671         [BZ #12813]
21672         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
21673         time symbol from vDSO.  Substitute with vsyscall if not available.
21674         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
21675         __vdso_time.
21677         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
21678         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
21679         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
21680         Add sendmmsg and internal_sendmmsg.
21681         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
21682         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
21683         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
21685         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
21686         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
21687         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
21689 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
21691         [BZ #12813]
21692         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
21693         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
21694         available.
21695         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
21696         __vdso_getcpu.
21698         [BZ #12814]
21699         * iconvdata/Makefile (tests): Add bug-iconv9.
21700         * iconvdata/bug-iconv9.c: New file.
21702 2011-05-27  Andreas Schwab  <schwab@redhat.com>
21704         [BZ #12814]
21705         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
21707 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
21709         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21710         (struct user_regs_struct): Change intcs field back to cs.
21712 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
21714         * po/ja.po: Update from translation team.
21716 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
21718         [BZ #12795]
21719         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
21720         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
21722 2011-05-20  Andreas Schwab  <schwab@redhat.com>
21724         * stdlib/longlong.h: Update from GCC.
21726 2011-05-23  Andreas Schwab  <schwab@redhat.com>
21728         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
21729         parameter name.
21730         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
21731         Add parameter name.
21732         (__sysconf): Pass it down.
21734 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
21736         [BZ #12671]
21737         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
21738         some situations.
21739         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21740         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
21741         add in in __libc_use_alloca calls.  Adjust callers.
21742         (glob): Use malloc in some situations.
21744         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
21745         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
21746         pltexit.
21748 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
21750         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
21751         and CLOCK_BOOTTIME_ALARM.
21753         [BZ #12782]
21754         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
21755         is returned.
21757         * string/_strerror.c (__strerror_r): Print negative errors as signed
21758         numbers.
21760         [BZ #12777]
21761         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
21762         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
21763         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
21765         * configure.in: Fix typo in redirection and correct removal of test
21766         files in two cases.
21768         [BZ #12788]
21769         * locale/setlocale.c (new_composite_name): Fix test to check for
21770         identical name of all categories.
21772         [BZ #12792]
21773         * libio/filedoalloc.c (local_isatty): New function.
21774         (_IO_file_doallocate): Use local_isatty.
21775         * stdio-common/perror.c (perror): In case a new stream is used
21776         forward the stream error.
21777         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
21778         error flag.
21780 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
21782         [BZ #11869]
21783         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
21784         alloca.
21785         * include/alloca.h (extend_alloca_account): Define.
21787         [BZ #11857]
21788         * posix/regex.h: Fix comments with documentation of user-accessible
21789         fields after compilation and describe correct free'ing of pattern
21790         after re_compile_pattern.
21791         Patch by Reuben Thomas <rrt@sc3d.org>.
21793 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
21795         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
21796         and -mno-altivec to prevent the compiler from using Altivec and/or
21797         VSX instructions when the corresponding registers are not available.
21799 2011-05-19  Andreas Schwab  <schwab@redhat.com>
21801         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
21803 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
21805         * libio/freopen.c (freopen): Use __dup2, not dup2.
21806         * libio/freopen64.c (freopen64): Likewise.
21808 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
21810         [BZ #12775]
21811         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
21812         * math/Makefile (tests): Add test-powl.
21813         (CFLAGS-test-powl.c): Define.
21814         * math/test-powl.c: New file.
21816 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21818         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
21820 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
21822         [BZ #11837]
21823         * iconvdata/gb18030.c: Update to GB18020-2005.
21825 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
21827         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
21828         RE_SYNTAX_POSIX_AWK): Update to match recent development.
21829         Patch by Aharon Robbins <arnold@skeeve.com>.
21831         [BZ #11892]
21832         * stdlib/putenv.c (putenv): Don't always create copy of the variable
21833         on the stack.
21835         [BZ #11895]
21836         * misc/pselect.c (__pselect): Handle timeout value errors hidden
21837         through underflows.
21839         [BZ #12766]
21840         * misc/error.c (error_at_line): Ensure file_name and old_file_name
21841         point to strings before performing equality test for error_one_per_line
21842         mode.
21844         [BZ #11697]
21845         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
21847         [BZ #11820]
21848         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21849         (struct user_fpregs_struct): Avoid __uint*_t types.
21851         [BZ #6420]
21852         * malloc/mtrace.c (tr_where): Add additional parameter to point to
21853         symbol info.  Use it instead of calling _dl_addr locally.
21854         (lock_and_info): New function.
21855         (tr_freehook): Call lock_and_info and pass symbol info as additional
21856         parameter to tr_where.
21857         (tr_mallochook): Likewise.
21858         (tr_reallochook): Likewise.
21859         (tr_memalignhook): Likewise.
21861         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
21862         used and couldn't be at all thread-safe.
21864 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
21866         * libio/freopen.c (freopen): Don't close old file descriptor
21867         before the new one is opened.  Instead dup the new file descriptor
21868         to the old one after the new stream is created.
21869         * libio/freopen64.c (freopen64): Likewise.
21870         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
21871         * libio/fileops.c (_IO_new_file_close_it): Handle new
21872         _IO_FLAGS2_NOCLOSE flag.
21873         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
21874         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
21875         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
21876         _IO_FLAGS2_NOCLOSE flag.
21877         * include/unistd.h: Add hidden_proto for dup3.
21878         Define __have_dup3.
21879         * io/dup3.c: Define hidden symbol.
21880         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
21882         [BZ #7101]
21883         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
21884         when an incomplete long option is used.
21885         * posix/tst-getopt_long1.c: New file.
21886         * posix/Makefile (tests): Add tst-getopt_long1.
21888         [BZ #10138]
21889         * scripts/config.guess: Update from autoconf-2.68.
21890         * scripts/config.sub: Likewise.
21892         [BZ #10157]
21893         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
21894         tests into ...
21895         (has_cpuclock): ...this.  New function.
21896         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
21897         macro here based on has_cpuclock code.
21899         [BZ #10149]
21900         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21901         First byte (not low byte) is now always NUL.
21902         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
21904         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21905         Use non-cancelable interfaces.
21907         [BZ #9809]
21908         * locale/iso-639.def: Add entry for Sorani.
21910         [BZ #11901]
21911         * include/stdlib.h: Move include protection to the right place.
21912         Define abort_msg_s.  Declare __abort_msg with it.
21913         * stdlib/abort.c (__abort_msg): Adjust type.
21914         * assert/assert.c (__assert_fail_base): New function.  Majority
21915         of code from __assert_fail.  Allocate memory for __abort_msg with
21916         mmap.
21917         (__assert_fail): Now call __assert_fail_base.
21918         * assert/assert-perr.c: Remove bulk of implementation.  Use
21919         __assert_fail_base.
21920         * include/assert.hL Declare __assert_fail_base.
21921         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
21922         mmap.
21923         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
21925 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
21927         [BZ #11952]
21928         [BZ #12453]
21929         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
21930         until all modules are registered in the DTV.
21931         * elf/Makefile: Add rules to build and run tst-tls19.
21932         * elf/tst-tls19.c: New file.
21933         * elf/tst-tls19mod1.c: New file.
21934         * elf/tst-tls19mod2.c: New file.
21935         * elf/tst-tls19mod3.c: New file.
21936         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
21938         [BZ #12083]
21939         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
21940         correctly.
21942         [BZ #12601]
21943         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
21944         two-byte sequence errors.
21945         * iconvdata/Makefile (tests): Add bug-iconv8.
21946         * iconvdata/bug-iconv8.c: New file.
21948         [BZ #12626]
21949         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
21950         buf2 definition.
21952         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
21954         [BZ #12432]
21955         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
21956         (dummy_getcfa): New function.
21957         (init): Get _Unwind_GetCFA address, use dummy if not found.
21958         (backtrace_helper): In recursion check, also check whether CFA changes.
21959         (__backtrace): Completely initialize arg.
21961         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
21962         storing incomplete byte sequence in state object.  Avoid testing for
21963         guaranteed too small input if we know there is enough data available.
21965 2011-05-11  Andreas Schwab  <schwab@redhat.com>
21967         * Makeconfig (+link-pie): Indent.
21968         * Rules (binaries-pie): Define if $(have-fpie) and
21969         $(build-shared).
21970         (binaries-shared): Also filter out $(binaries-pie).
21971         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
21972         * nscd/Makefile (others-pie): Add nscd.
21973         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
21974         ($(objpfx)nscd): Remove command override.
21975         * login/Makefile (others-pie): Add pt_chown.
21976         ($(objpfx)pt_chown): Remove command override.
21977         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
21978         remove command overrides.
21980 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
21982         * libio/tst_putwc.c: Fix error messages.
21984         [BZ #12724]
21985         * libio/fileops.c (_IO_new_file_close_it): Always flush when
21986         currently writing and seek to current position when not.
21987         * libio/Makefile (tests): Add bug-fclose1.
21988         * libio/bug-fclose1.c: New file.
21990 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
21992         [BZ #12511]
21993         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
21994         don't set DF_1_NODELETE here.
21995         (do_lookup_x): When entering new entry test for copy relocation
21996         and if necessary set DF_1_NODELETE flag.
21997         * elf/tst-unique4.cc: New file.
21998         * elf/tst-unique4.h: New file.
21999         * elf/tst-unique4lib.cc: New file.
22000         * elf/Makefile: Add rules to build and run tst-unique4.
22001         Patch by Piotr Bury <pbury@goahead.com>.
22003 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
22005         [BZ #12052]
22006         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
22008         [BZ #12625]
22009         * misc/mntent_r.c (addmntent): Flush the stream after the output
22011         [BZ #12393]
22012         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
22013         (is_trusted_path_normalize): Skip initial colon.  Append slash
22014         to empty buffer.  Duplicate is_trusted_path code but allow
22015         constructed patch to be prefix.
22016         (is_dst): Allow $ORIGIN followed by /.
22017         (_dl_dst_substitute): Correct clearing of check_for_trusted.
22018         Correct testing of result of is_trusted_path_normalize
22019         (decompose_rpath): Fix warning.
22021 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
22023         [BZ #11257]
22024         * grp/initgroups.c (internal_getgrouplist): When we found the service
22025         list through the initgroups entry in nsswitch.conf do not always
22026         continue on a successful lookup.  Don't always use the
22027         __nss_group_database value if it is set.
22028         * nss/nsswitch.conf (initgroups): Change action for successful db
22029         lookup to continue for compatibility.
22031 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
22033         [BZ #11532]
22034         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
22035         and CP774 modules.
22036         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
22037         and CP774 modules.
22038         * iconvdata/tst-tables.sh: Likewise.
22039         * iconvdata/cp770.c: New file.
22040         * iconvdata/cp771.c: New file.
22041         * iconvdata/cp772.c: New file.
22042         * iconvdata/cp773.c: New file.
22043         * iconvdata/cp774.c: New file.
22044         * iconvdata/testdata/CP770: New file.
22045         * iconvdata/testdata/CP770..UTF8: New file.
22046         * iconvdata/testdata/CP771: New file.
22047         * iconvdata/testdata/CP771..UTF8: New file.
22048         * iconvdata/testdata/CP772: New file.
22049         * iconvdata/testdata/CP772..UTF8: New file.
22050         * iconvdata/testdata/CP773: New file.
22051         * iconvdata/testdata/CP773..UTF8: New file.
22052         * iconvdata/testdata/CP774: New file.
22053         * iconvdata/testdata/CP774..UTF8: New file.
22055         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
22056         END CHARMAP line.
22057         * iconvdata/gen-8bit-gap.sh: Likewise.
22058         * iconvdata/gen-8bit.sh: Likewise.
22060         * locale/iso-639.def: Add ary entry.
22062         [BZ #11258]
22063         * locale/C-translit.h.in: Add U20A1 transliteration.
22065         [BZ #12178]
22066         * locale/iso-639.def: Add wae entry.
22067         Patch by Kevin Bortis <bortis@translate-wae.ch>.
22069         [BZ #12545]
22070         * locale/programs/localedef.c (construct_output_path): Use ssize_t
22071         for n.
22073         [BZ #12711]
22074         * locale/C-translit.h.in: Add entry for U20B9.
22075         Patch by pravin.d.s@gmail.com.
22077 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
22079         [BZ #12713]
22080         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
22081         ENAMETOOLONG use generic getcwd.
22082         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
22083         in rtld.  Use *stat64.
22084         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
22085         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
22086         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
22087         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
22088         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
22089         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
22090         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
22091         __fstatat64 macros.
22092         * include/dirent.h: Add libc_hidden_proto for rewinddir.
22093         * dirent/rewinddir.c: Add libc_hidden_def.
22094         * sysdeps/mach/hurd/rewinddir.c: Likewise.
22095         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
22097         * include/dirent.h (__alloc_dir): Add flags parameter.
22098         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
22099         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
22100         __alloc_dir.
22101         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
22102         from fdopendir if O_CLOEXEC is already set.
22104 2011-03-15  Alan Modra  <amodra@gmail.com>
22106         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
22107         l_tls_firstbyte_offset non-zero.  Save padding offset in
22108         l_tls_firstbyte_offset for later use.
22109         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
22110         freeing static tls block.
22112 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
22114         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
22115         where #ifdef was intended.  The intent is to prevent ARG_MAX from
22116         being defined by the kernel headers.
22118 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
22120         [BZ #12734]
22121         * resolv/resolv.h: Define RES_NOTLDQUERY.
22122         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
22123         no-tld-query and set RES_NOTLDQUERY.
22124         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
22125         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
22126         modern BIND to search name as TLD unless forbidden.
22128 2011-05-07  Petr Baudis  <pasky@suse.cz>
22129             Ulrich Drepper  <drepper@gmail.com>
22131         [BZ #12393]
22132         * elf/dl-load.c (fillin_rpath): Move trusted path check...
22133         (is_trusted_path): ...to here.
22134         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
22135         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
22136         using is_trusted_path_normalize() in setuid scripts.
22138 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22140         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
22141         __BEGIN/__END_DECLS.
22143 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
22145         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
22146         NSS_STATUS_NOTFOUND if no record was found.
22148 2011-05-05  Andreas Schwab  <schwab@redhat.com>
22150         * sunrpc/Makefile (headers): Add rpc/netdb.h.
22151         (headers-not-in-tirpc): Remove rpc/netdb.h
22152         * resolv/netdb.h: Revert last change.
22154 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
22156         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
22157         circular dependency between libgcc.a and libc.a.
22159 2011-05-05  Andreas Schwab  <schwab@redhat.com>
22161         * resolv/netdb.h: Don't include <rpc/netdb.h>.
22162         * nis/Makefile: Don't install rpcsvc/*.
22163         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
22164         instead of <rpc/types.h>.
22165         (MAXHOSTNAMELEN): Define.
22167 2011-05-03  Andreas Schwab  <schwab@redhat.com>
22169         * elf/ldconfig.c (add_dir): Don't crash on empty path.
22171 2011-04-28  Maciej Babinski  <mbabinski@google.com>
22173         [BZ #12714]
22174         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
22175         gethostbyname4_r when IPv6 results are possible.
22177 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
22179         [BZ #12723]
22180         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
22181         _PC_PIPE_BUF handling.
22183 2011-04-30  Bruno Haible  <bruno@clisp.org>
22185         [BZ #12717]
22186         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
22187         * resolv/netdb.h (getnameinfo): Change type of flags parameter
22188         to 'int'.
22189         * inet/getnameinfo.c (getnameinfo): Likewise.
22191 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
22193         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
22194         to groups setting in database lookup.
22195         * nss/nsswitch.conf: Add initgroups entry.
22197 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
22199         [BZ #12685]
22200         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
22201         mode string.
22202         Patch by Eric Blake <eblake@redhat.com>.
22204 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
22206         * sunrpc/Makefile (need-export-routines): Add svc_run.
22207         (routines): Remove svc_run.
22208         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
22209         * sunrpc/clnt_perr.c (clnt_perrno): Export.
22210         * sunrpc/svc_run.c (svc_run): Likewise.
22211         * sunrpc/svc_udp.c (svcudp_create): Likewise.
22213 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
22215         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
22216         problem in reallocation in last patch.
22218 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
22220         * sunrpc/Makefile: Move inclusion of Rules.
22222 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
22224         * nss/nss_files/files-initgroups.c: New file.
22225         * nss/Makefile (libnss_files-routines): Add files-initgroups.
22226         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
22227         _nss_files_initgroups_dyn.
22229 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
22231         * elf/elf.h (R_ARM_IRELATIVE): Define.
22233 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
22235         * po/ru.po: Update from translation team.
22237 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
22239         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
22240         dependencies.
22242 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
22244         [BZ #12653]
22245         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
22246         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
22247         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22248         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22249         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22251 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
22253         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
22254         differing bytes.
22255         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22256         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22257         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22259 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
22261         [BZ #12420]
22262         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
22263         storing it.
22264         * stdlib/bug-getcontext.c: New file.
22265         * stdlib/Makefile: Add rules to build and run bug-getcontext.
22267 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22269         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
22270         instructions into .machine "z9-109".
22271         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22272         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22274 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22276         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
22277         between environment variables and auxiliary vector.
22279 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
22281         * Makefile: Add rules to build linkobj/libc.so.
22282         * include/libc-symbols.h: Define libc_hidden_nolink.
22283         * include/rpc/auth.h: Mark functions which are to be hidden.
22284         * include/rpc/auth_des.h: Likewise.
22285         * include/rpc/auth_unix.h: Likewise.
22286         * include/rpc/clnt.h: Likewise.
22287         * include/rpc/des_crypt.h: Likewise.
22288         * include/rpc/key_prot.h: Likewise.
22289         * include/rpc/pmap_clnt.h: Likewise.
22290         * include/rpc/pmap_prot.h: Likewise.
22291         * include/rpc/pmap_rmt.h: Likewise.
22292         * include/rpc/rpc_msg.h: Likewise.
22293         * include/rpc/svc.h: Likewise.
22294         * include/rpc/svc_auth.h: Likewise.
22295         * include/rpc/xdr.h: Likewise.
22296         * nis/Makefile: Link all DSOs against linkobj/libc.so.
22297         * nss/Makefile: Likewise.
22298         * sunrpc/Makefile: Don't install headers.  Build library with normal
22299         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
22300         * sunrpc/auth_des.c: Hide exported symbols by default, export some
22301         for the compat linking library.  Remove use of INTDEF/INTUSE.
22302         * sunrpc/auth_none.c: Likewise.
22303         * sunrpc/auth_unix.c: Likewise.
22304         * sunrpc/authdes_prot.c: Likewise.
22305         * sunrpc/authuxprot.c: Likewise.
22306         * sunrpc/clnt_gen.c: Likewise.
22307         * sunrpc/clnt_perr.c: Likewise.
22308         * sunrpc/clnt_raw.c: Likewise.
22309         * sunrpc/clnt_simp.c: Likewise.
22310         * sunrpc/clnt_tcp.c: Likewise.
22311         * sunrpc/clnt_udp.c: Likewise.
22312         * sunrpc/clnt_unix.c: Likewise.
22313         * sunrpc/des_crypt.c: Likewise.
22314         * sunrpc/des_soft.c: Likewise.
22315         * sunrpc/get_myaddr.c: Likewise.
22316         * sunrpc/key_call.c: Likewise.
22317         * sunrpc/key_prot.c: Likewise.
22318         * sunrpc/netname.c: Likewise.
22319         * sunrpc/pm_getmaps.c: Likewise.
22320         * sunrpc/pm_getport.c: Likewise.
22321         * sunrpc/pmap_clnt.c: Likewise.
22322         * sunrpc/pmap_prot.c: Likewise.
22323         * sunrpc/pmap_prot2.c: Likewise.
22324         * sunrpc/pmap_rmt.c: Likewise.
22325         * sunrpc/publickey.c: Likewise.
22326         * sunrpc/rpc_cmsg.c: Likewise.
22327         * sunrpc/rpc_common.c: Likewise.
22328         * sunrpc/rpc_dtable.c: Likewise.
22329         * sunrpc/rpc_prot.c: Likewise.
22330         * sunrpc/rpc_thread.c: Likewise.
22331         * sunrpc/rtime.c: Likewise.
22332         * sunrpc/svc.c: Likewise.
22333         * sunrpc/svc_auth.c: Likewise.
22334         * sunrpc/svc_authux.c: Likewise.
22335         * sunrpc/svc_raw.c: Likewise.
22336         * sunrpc/svc_run.c: Likewise.
22337         * sunrpc/svc_simple.c: Likewise.
22338         * sunrpc/svc_tcp.c: Likewise.
22339         * sunrpc/svc_udp.c: Likewise.
22340         * sunrpc/svc_unix.c: Likewise.
22341         * sunrpc/svcauth_des.c: Likewise.
22342         * sunrpc/xcrypt.c: Likewise.
22343         * sunrpc/xdr.c: Likewise.
22344         * sunrpc/xdr_array.c: Likewise.
22345         * sunrpc/xdr_float.c: Likewise.
22346         * sunrpc/xdr_intXX_t.c: Likewise.
22347         * sunrpc/xdr_mem.c: Likewise.
22348         * sunrpc/xdr_rec.c: Likewise.
22349         * sunrpc/xdr_ref.c: Likewise.
22350         * sunrpc/xdr_sizeof.c: Likewise.
22351         * sunrpc/xdr_stdio.c: Likewise.
22353 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
22355         [BZ #12650]
22356         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
22357         * sysdeps/ia64/dl-tls.h: Likewise.
22358         * sysdeps/powerpc/dl-tls.h: Likewise.
22359         * sysdeps/s390/dl-tls.h: Likewise.
22360         * sysdeps/sh/dl-tls.h: Likewise.
22361         * sysdeps/sparc/dl-tls.h: Likewise.
22362         * sysdeps/x86_64/dl-tls.h: Likewise.
22363         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
22365 2011-03-14  Andreas Schwab  <schwab@redhat.com>
22367         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
22368         rpath element also skip the following colon.
22369         (expand_dynamic_string_token): Add is_path parameter and pass
22370         down to DL_DST_REQUIRED and _dl_dst_substitute.
22371         (decompose_rpath): Call expand_dynamic_string_token with
22372         non-zero is_path.  Ignore empty rpaths.
22373         (_dl_map_object_from_fd): Call expand_dynamic_string_token
22374         with zero is_path.
22376 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
22378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22379         Make cancelable.
22381 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
22383         [BZ #12655]
22384         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
22385         Patch by Filipe David Manana <fdmanana@apache.org>.
22387 2011-04-07  Andreas Schwab  <schwab@redhat.com>
22389         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
22390         Maintain aligned stack.
22391         (CHECK_RSP): Remove unused macro.
22393 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
22395         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
22396         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
22398 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
22400         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
22402         * include/features.h: Mention __USE_XOPEN2K8 in comment.
22404 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
22406         [BZ #12518]
22407         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
22408         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
22409         * sysdeps/x86_64/memmove.c: New file.
22410         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
22411         (memcpy): Renamed to ...
22412         (__new_memcpy): This.
22413         (memcpy): Provide GLIBC_2_14 memcpy.
22414         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
22415         (memcpy): Provide GLIBC_2_2_5 memcpy.
22417 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
22419         [BZ #12631]
22420         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
22422 2011-03-30  Andreas Schwab  <schwab@redhat.com>
22424         * misc/syncfs.c: New file.
22425         * misc/Makefile (routines): Add syncfs.
22426         * posix/unistd.h: Declare syncfs.
22427         * sysdeps/unix/syscalls.list: Add syncfs.
22429 2011-04-01  Andreas Schwab  <schwab@redhat.com>
22431         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
22432         open_by_handle_at.
22433         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22434         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22435         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22436         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22437         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22438         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
22439         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22441 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
22443         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
22444         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22445         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
22446         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22447         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22448         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22449         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22451         * io/Makefile: Compile fallocate.c, fallocate64.c, and
22452         sync_file_range.c with -fexceptions.
22453         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
22454         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
22455         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22456         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22457         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
22458         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22459         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
22460         sync_file_range as cancellation point
22461         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
22462         now a wrapper around __call_sync_file_range with cancellation handling.
22463         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
22464         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
22465         function name to __call_sync_file_range.
22466         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
22467         Add call_sync_file_range.
22469 2011-04-01  Andreas Schwab  <schwab@redhat.com>
22471         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22472         bits/timex.h.
22474 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
22476         * iconv/iconv.h: Fix typo in comment.
22477         * io/fcntl.h: Likewise.
22478         * libio/stdio.h: Likewise.
22479         * posix/spawn.h: Likewise.
22480         * posix/unistd.h: Likewise.
22481         * stdlib/stdlib.h: Likewise.
22482         * time/time.h: Likewise.
22483         * wcsmbs/wchar.h: Likewise.
22485         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
22486         open_by_handle): Add.
22487         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
22488         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
22489         Augment a few comments.
22490         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22491         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22492         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22493         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22494         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22495         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
22496         open_by_handle.
22498         * io/fcntl.h (AT_EMPTY_PATH): Define.
22500 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
22502         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
22503         * sysdeps/unix/sysv/linux/bits/time.h: New file.
22504         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
22505         to...
22506         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
22507         * Versions.def: Add GLIBC_2.14.
22508         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
22509         Export.
22511 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
22513         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
22514         round counter.
22515         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22517 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
22519         [BZ #12597]
22520         * string/test-strncmp.c (do_page_test): New function.
22521         (check2): Likewise.
22522         (test_main): Call check2.
22523         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
22525 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
22527         [BZ #12587]
22528         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
22529         Handle cache information in CPU leaf 4.
22530         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22532 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
22534         [BZ #12583]
22535         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
22536         character representation.
22537         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
22539 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
22541         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
22542         END(__isnan) to END(__isnanf) to match function entry point/label
22543         EALIGN(__isnanf,...).
22545 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
22547         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
22549 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
22551         [BZ #12510]
22552         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
22553         copy from the symbol referenced in the relocation to initialize the
22554         used variable.
22555         Patch by Piotr Bury <pbury@goahead.com>.
22556         * elf/Makefile: Add rules to build and tst-unique3.
22557         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
22558         * elf/tst-unique3.cc: New file.
22559         * elf/tst-unique3.h: New file.
22560         * elf/tst-unique3lib.cc: New file.
22561         * elf/tst-unique3lib2.cc: New file.
22563         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
22565 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
22567         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
22568         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
22569         to _start.
22571 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
22573         * elf/dl-load.c (_dl_map_object): If we are looking for the first
22574         to-be-loaded object along a path to loader is ld.so.
22576 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
22577             Ulrich Drepper  <drepper@gmail.com>
22579         * sysdeps/x86_64/memset.S: After aligning destination, code
22580         branches to different locations depending on the value of
22581         misalignment, when multiarch is enabled. Fix this.
22583 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
22585         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
22586         Set _x86_64_preferred_memory_instruction for AMD processsors.
22587         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22588         Set bit_Prefer_SSE_for_memop for AMD processors.
22590 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
22592         * libio/fmemopen.c (fmemopen): Optimize a bit.
22594 2011-03-03  Andreas Schwab  <schwab@redhat.com>
22596         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
22598 2011-03-03  Roland McGrath  <roland@redhat.com>
22600         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
22602 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
22604         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
22605         __bzero_ultra1 instead of __memset_ultra1.
22607 2011-02-23  Andreas Schwab  <schwab@redhat.com>
22608             Ulrich Drepper  <drepper@gmail.com>
22610         [BZ #12509]
22611         * include/link.h (struct link_map): Add l_orig_initfini.
22612         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
22613         returning unsuccessfully.
22614         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
22615         close of a file loaded at startup, restore the original l_initfini
22616         list.
22617         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
22618         list, store the pointer.
22619         * elf/Makefile ($(objpfx)noload-mem): New rule.
22620         (noload-ENV): Define.
22621         (tests): Add $(objpfx)noload-mem.
22622         * elf/noload.c: Include <memcheck.h>.
22623         (main): Call mtrace.  Close all opened handles.
22625 2011-02-17  Andreas Schwab  <schwab@redhat.com>
22627         [BZ #12454]
22628         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
22629         dependencies are missing.
22631 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22633         Fix __if_freereq crash: Unlike the generic version which uses free,
22634         Hurd needs munmap.
22635         * sysdeps/mach/hurd/ifreq.h: New file.
22637 2011-01-27  Petr Baudis  <pasky@suse.cz>
22638             Ulrich Drepper  <drepper@gmail.com>
22640         [BZ 12445]#
22641         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
22642         to extend_alloca().
22643         * stdio-common/bug23.c: New file.
22644         * stdio-common/Makefile (tests): Add bug23.
22646 2010-09-28  Andreas Schwab  <schwab@redhat.com>
22647             Ulrich Drepper  <drepper@gmail.com>
22649         [BZ #12489]
22650         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
22651         before performing relro protection.  At old place add assertion
22652         to make sure nothing changed.
22654 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
22655             Glauber de Oliveira Costa  <glommer@gmail.com>
22657         * elf/elf.h: Add new ARM TLS relocs.
22659 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
22661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22662         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
22663         cast from r3.
22664         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
22665         'tests' variable.
22666         * sysdeps/wordsize-64/tst-writev.c: New file.
22668 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
22670         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
22671         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
22672         insns in _dl_start to prevent a TOC reference before relocs are
22673         resolved.
22675 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
22677         [BZ #12469]
22678         * Makeconfig: Remove RANLIB definition.
22679         * Makerules: Don't use RANLIB.
22680         * aclocal.m4: Remove ranlib test.
22681         * configure.in: No need to check for ranlib.
22682         * elf/rtld-Rules: Don't use RANLIB.
22684 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22686         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
22687         protection macro.
22688         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
22689         inclusion protection macro.
22691         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
22692         SIGRTMIN and SIGRTMAX and print information in that case only when
22693         SIGRTMIN is defined.
22695 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
22697         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
22698         arginfo fn returning -1.
22700         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
22701         and thousands string is zero terminated.
22703 2011-02-03  Andreas Schwab  <schwab@redhat.com>
22705         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
22706         sysdeps/unix/sysv/linux/bits/socket.h.
22708 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22710         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
22711         (__CPU_COUNT): Remove old macros.
22712         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
22713         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
22714         (__CPU_ALLOC, __CPU_FREE): Add macros.
22715         (__sched_cpualloc, __sched_cpufree): Add declarations.
22717 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
22719         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
22720         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
22721         * nscd/aicache.c (addhstaiX): Return timeout of added value.
22722         (readdhstai): Return value of addhstaiX call.
22723         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
22724         (addgrbyX): Return value returned by cache_addgr.
22725         (readdgrbyname): Return value returned by addgrbyX.
22726         (readdgrbygid): Likewise.
22727         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
22728         (addpwbyX): Return value returned by cache_addpw.
22729         (readdpwbyname): Return value returned by addhstbyX.
22730         (readdpwbyuid): Likewise.
22731         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
22732         (addservbyX): Return value returned by cache_addserv.
22733         (readdservbyname): Return value returned by addservbyX:
22734         (readdservbyport): Likewise.
22735         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
22736         (addhstbyX): Return value returned by cache_addhst.
22737         (readdhstbyname): Return value returned by addhstbyX.
22738         (readdhstbyaddr): Likewise.
22739         (readdhstbynamev6): Likewise.
22740         (readdhstbyaddrv6): Likewise.
22741         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
22742         (readdinitgroups): Return value returned by addinitgroupsX.
22743         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
22744         (prune_cache): Keep track of timeout value of re-added entries.
22745         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
22746         * nscd/nscd.h: Adjust prototypes of readd* functions.
22748 2011-02-04  Roland McGrath  <roland@redhat.com>
22750         * nis/nis_server.c (nis_servstate): Use the right name for 0.
22751         (nis_stats): Likewise.
22752         * nis/nis_modify.c (nis_modify): Likewise.
22753         * nis/nis_remove.c (nis_remove): Likewise.
22754         * nis/nis_add.c (nis_add): Likewise.
22756         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
22758         * posix/fnmatch_loop.c: Add some consts.
22760         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
22762 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
22764         [BZ #12460]
22765         * config.make.in (config-cflags-novzeroupper): Define.
22766         * configure.in: Substitute libc_cv_cc_novzeroupper.
22767         * elf/Makefile (AVX-CFLAGS): Define.
22768         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
22769         (CFLAGS-tst-auditmod4a.c): Likewise.
22770         (CFLAGS-tst-auditmod4b.c): Likewise.
22771         (CFLAGS-tst-auditmod6b.c): Likewise.
22772         (CFLAGS-tst-auditmod6c.c): Likewise.
22773         (CFLAGS-tst-auditmod7b.c): Likewise.
22774         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
22776 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
22778         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
22779         function to the callback.
22780         Patch partly by Jiri Olsa <jolsa@redhat.com>.
22782 2011-02-02  Andreas Schwab  <schwab@redhat.com>
22784         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
22785         of errno.
22787 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
22789         [BZ #11724]
22790         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
22791         of constructors.
22792         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
22793         of destructors.
22794         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
22796         [BZ #11724]
22797         * elf/Makefile: Add rules to build and run new test.
22798         * elf/tst-initorder.c: New file.
22799         * elf/tst-initorder.exp: New file.
22800         * elf/tst-initordera1.c: New file.
22801         * elf/tst-initordera2.c: New file.
22802         * elf/tst-initordera3.c: New file.
22803         * elf/tst-initordera4.c: New file.
22804         * elf/tst-initorderb1.c: New file.
22805         * elf/tst-initorderb2.c: New file.
22806         * elf/tst-order-a1.c: New file.
22807         * elf/tst-order-a2.c: New file.
22808         * elf/tst-order-a3.c: New file.
22809         * elf/tst-order-a4.c: New file.
22810         * elf/tst-order-b1.c: New file.
22811         * elf/tst-order-b2.c: New file.
22812         * elf/tst-order-main.c: New file.
22813         New test case by George Gensure <werkt0@gmail.com>.
22815 2010-10-01  Andreas Schwab  <schwab@redhat.com>
22817         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22818         decoding ACE if AI_CANONIDN.
22820 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
22822         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
22824 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
22826         * version.h (RELEASE): Bump for 2.13 release.
22827         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
22829         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
22831         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
22832         MADV_NOHUGEPAGE.
22833         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
22834         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22835         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22836         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22837         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22838         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22840         * posix/getconf.c: Update copyright year.
22841         * catgets/gencat.c: Likewise.
22842         * csu/version.c: Likewise.
22843         * debug/catchsegv.sh: Likewise.
22844         * debug/xtrace.sh: Likewise.
22845         * elf/ldconfig.c: Likewise.
22846         * elf/ldd.bash.in: Likewise.
22847         * elf/sprof.c (print_version): Likewise.
22848         * iconv/iconv_prog.c: Likewise.
22849         * iconv/iconvconfig.c: Likewise.
22850         * locale/programs/locale.c: Likewise.
22851         * locale/programs/localedef.c: Likewise.
22852         * malloc/memusage.sh: Likewise.
22853         * malloc/mtrace.pl: Likewise.
22854         * nscd/nscd.c (print_version): Likewise.
22855         * nss/getent.c: Likewise.
22857         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
22858         PF_CAIF, and PF_ALG.
22859         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22861 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
22863         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
22864         (modules-names): Use them.
22865         (ifunc-test-modules, ifunc-pie-tests): Define.
22866         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
22867         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
22868         (test-extras): Likewise.
22869         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
22870         $(compile-command.c).
22871         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
22872         (all-built-dso): Define.
22873         (check-textrel.out, check-execstack.out): Depend on it.
22875         * configure.in: Don't override --enable-multi-arch.
22877 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
22879         [BZ #6812]
22880         * nscd/hstcache.c (tryagain): Define.
22881         (cache_addhst): Return tryagain not notfound for temporary errors.
22882         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
22883         failed.
22885 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
22887         [BZ #10563]
22888         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
22889         to make the syscall.
22890         * sysdeps/unix/sysv/linux/setgroups.c: New file.
22892         [BZ #12378]
22893         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
22894         and fall back to matching as normal character if the string ends before
22895         the matching ']' is found.  This is what POSIX requires.
22896         * posix/testfnm.c: Adjust test result.
22897         * posix/globtest.sh: Adjust test result.  Add new test.
22898         * posix/tst-fnmatch.input: Likewise.
22899         * posix/tst-fnmatch2.c: Add new test.
22901 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
22903         * elf/Makefile (check-execstack): Revert last change.  Depend on
22904         check-execstack.h.
22905         (check-execstack.h): New target.
22906         (generated): Add check-execstack.h.
22907         * elf/check-execstack.c: Include "check-execstack.h".
22908         (main): Revert last change.
22909         (handle_file): Return zero if GNU_STACK is absent and
22910         DEFAULT_STACK_PERMS doesn't include PF_X.
22912 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
22914         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
22915         in child fails because the descriptor is already closed.
22916         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
22917         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
22918         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
22920         [BZ #12397]
22921         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
22922         syscall.
22924         [BZ #10484]
22925         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
22926         temporary buffer used to handle multi lookups locally.
22927         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
22929 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
22931         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
22932         loader is ld.so.
22934 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
22936         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
22937         alignment for SSE2.
22939 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
22941         [BZ #12394]
22942         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
22943         characters.  When rounding increased number of integer digits recompute
22944         number of groups.
22945         * stdio-common/tst-grouping.c: New file.
22946         * stdio-common/Makefile: Add rules to build and run tst-grouping.
22948 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
22950         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
22951         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
22953         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
22954         void.
22955         * bits/select.h: Likewise.
22957 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
22959         * po/ja.po: Update from translation team.
22961 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
22963         [BZ #11155]
22964         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
22965         implementation just like for lxstat, fxstatat, et al.
22967 2010-12-27  Jim Meyering  <meyering@redhat.com>
22969         [BZ #12348]
22970         * posix/regexec.c (build_trtable): Return failure indication upon
22971         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
22973 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
22975         [BZ #12201]
22976         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
22977         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
22978         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
22979         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
22981         [BZ #12207]
22982         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
22984         [BZ #12204]
22985         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
22986         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
22988 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
22990         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
22991         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
22992         script has SORT_BY_INIT_PRIORITY.
22993         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
22994         NO_CTORS_DTORS_SECTIONS is defined.
22995         * elf/soinit.c: Likewise.
22996         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
22997         NO_CTORS_DTORS_SECTIONS is defined.
22998         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
22999         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
23000         * sysdeps/sh/init-first.c: Likewise.
23001         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
23003 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
23005         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
23006         always use the slow path.
23008 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
23010         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
23011         similar rule which adds the sysdep directories to the header search in
23012         order to pick up the correct platform stackinfo.h.
23013         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
23014         perform test if it is, otherwise return successfully without testing.
23015         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
23016         DEFAULT_STACK_PERMS define in stackinfo.h.
23017         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
23018         defined in stackinfo.h.
23019         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
23020         DEFAULT_STACK_PERMS defined in stackinfo.h.
23021         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
23022         * sysdeps/ia64/stackinfo.h: Likewise.
23023         * sysdeps/s390/stackinfo.h: Likewise.
23024         * sysdeps/sh/stackinfo.h: Likewise.
23025         * sysdeps/sparc/stackinfo.h: Likewise.
23026         * sysdeps/x86_64/stackinfo.h: Likewise.
23027         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
23028         PF_X for powerpc64.  Retain PF_X for powerpc32.
23030 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
23032         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
23033         accurately.
23034         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
23035         GETDENTS_64BIT_ALIGNED.
23037 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
23039         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
23041 2010-12-10  Andreas Schwab  <schwab@redhat.com>
23043         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
23044         _GNU_SOURCE.
23046         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
23047         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
23048         Remove __restrict.
23049         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
23050         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
23052 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
23054         [BZ #11655]
23055         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
23056         are initialized.
23058 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
23060         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
23062 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
23064         * po/it.po: Update from translation team.
23066 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
23068         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
23069         unused codes.
23071 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
23073         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
23075 2010-11-24  Andreas Schwab  <schwab@redhat.com>
23077         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
23078         specially.
23079         (gaih_getanswer_slice): Likewise.
23081 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
23083         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
23085 2010-05-31  Petr Baudis  <pasky@suse.cz>
23087         [BZ #11149]
23088         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
23089         silently even in the chroot mode.
23091 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
23093         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
23094         last patch a bit.  Pretty printing
23096 2010-05-31  Petr Baudis <pasky@suse.cz>
23098         [BZ #10085]
23099         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
23100         initialization of skip_initgroups_dyn.
23102 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
23104         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
23105         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23107 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
23109         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
23111 2010-11-11  Andreas Schwab  <schwab@redhat.com>
23113         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
23114         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
23115         (tst-fnmatch-ENV): Set MALLOC_TRACE.
23116         ($(objpfx)tst-fnmatch-mem): New rule.
23117         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
23118         * posix/tst-fnmatch.c (main): Call mtrace.
23120 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
23122         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23123         Support Intel processor model 6 and model 0x2c.
23125 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
23127         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
23128           signed comparison.
23130 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
23132         [BZ #12205]
23133         * string/test-strncasecmp.c (check_result): New function.
23134         (do_one_test): Use it.
23135         (check1): New function.
23136         (test_main): Use it.
23137         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
23138         Support strcasecmp and strncasecmp.
23140 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
23142         [BZ #12194]
23143         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
23144         * sysdeps/x86_64/bits/byteswap.h: Likewise.
23146 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
23148         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
23149         IFUNC support.
23150         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23151         memset-x86-64.
23152         * sysdeps/x86_64/multiarch/bzero.S: New file.
23153         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
23154         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
23155         * sysdeps/x86_64/multiarch/memset.S: New file.
23156         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
23157         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23158         Set bit_Prefer_SSE_for_memop for Intel processors.
23159         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
23160         Define.
23161         (index_Prefer_SSE_for_memop): Define.
23162         (HAS_PREFER_SSE_FOR_MEMOP): Define.
23164 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
23166         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
23167         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
23169 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
23171         [BZ #12191]
23172         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23173         (__x86_64_raw_data_cache_size_half): Likewise.
23174         (__x86_64_raw_shared_cache_size): Likewise.
23175         (__x86_64_raw_shared_cache_size_half): Likewise.
23177         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23178         (__x86_64_raw_data_cache_size_half): Likewise.
23179         (__x86_64_raw_shared_cache_size): Likewise.
23180         (__x86_64_raw_shared_cache_size_half): Likewise.
23181         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
23182         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
23183         and __x86_64_raw_shared_cache_size_half.  Round
23184         __x86_64_data_cache_size_half, __x86_64_data_cache_size
23185         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
23186         to multiple of 256 bytes.
23188 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
23190         [BZ #12167]
23191         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
23192         of inacessible symlinks.  Verify result of symlink before returning it.
23193         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23194         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
23196 2010-10-28  Erich Ritz  <erichritz@gmail.com>
23198         * math/math.h (isinf): Fix typo in comment.
23200 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
23202         * po/da.po: Update from translation team.
23204 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
23206         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
23207         is added to the list.
23209 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23210             Ulrich Drepper  <drepper@gmail.com>
23212         * elf/dl-object.c (_dl_new_object): Don't append the new object to
23213         the global list here.  Move code to...
23214         (_dl_add_to_namespace_list): ...here.  New function.
23215         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
23216         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
23217         * elf/dl-load.c (lose): Don't remove the element from the list.
23218         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
23219         (_dl_map_object): Likewise.
23221 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
23223         [BZ #12159]
23224         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
23225         into all bytes of SSE register.
23226         Patch by Richard Li <richardpku@gmail.com>.
23228 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
23230         [BZ #12140]
23231         * malloc/malloc.c (_int_free): Fill correct number of bytes when
23232         perturbing.
23234 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
23236         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
23237         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
23238         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
23239         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
23241         submachine.
23242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
23244 2010-10-22  Andreas Schwab  <schwab@redhat.com>
23246         * include/dlfcn.h (__RTLD_SECURE): Define.
23247         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
23248         mode & __RTLD_SECURE instead.
23249         (open_path): Rename preloaded parameter to secure.
23250         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
23251         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
23252         * elf/dl-deps.c (openaux): Likewise.
23253         * elf/rtld.c (struct map_args): Remove is_preloaded.
23254         (map_doit): Don't use it.
23255         (dl_main): Likewise.
23256         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
23257         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
23259 2010-09-09  Andreas Schwab  <schwab@redhat.com>
23261         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
23262         (sysd-rules-targets): Remove duplicates.
23263         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
23264         rtld-%.$o dependency.
23266 2010-10-18  Andreas Schwab  <schwab@redhat.com>
23268         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
23269         _dl_map_object do it.
23271 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
23273         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
23274         fast fma builtins, define the macros in the C99 standard.
23275         (FP_FAST_FMAF): Likewise.
23276         (FP_FAST_FMAL): Likewise.
23277         * sysdeps/x86_64/bits/mathdef.h: Likewise.
23279         * bits/mathdef.h: Update copyright year.
23280         * sysdeps/powerpc/bits/mathdef.h: Likewise.
23282 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
23284         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
23285         builtins, define the macros in the C99 standard.
23286         (FP_FAST_FMAF): Likewise.
23287         (FP_FAST_FMAL): Likewise.
23288         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
23289         multiply/add.
23290         (FP_FAST_FMAF): Likewise.
23292 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
23294         [BZ #3268]
23295         * math/libm-test.inc (fma_test): Some new testcases.
23296         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
23297         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
23298         y and infinite z.  Do multiplication by C already in long double.
23299         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
23300         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
23301         y and infinite z.  Do bitwise or of inexact bit into u.d.
23302         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
23303         * sysdeps/i386/fpu/s_fmaf.S: Removed.
23304         * sysdeps/i386/fpu/s_fma.S: Removed.
23305         * sysdeps/i386/fpu/s_fmal.S: Removed.
23307 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
23309         [BZ #3268]
23310         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
23311         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
23312         computation is not scheduled after fetestexcept.  Fix value
23313         of minimum denormal long double.
23315 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
23317         [BZ #3268]
23318         * math/libm-test.inc (fma_test): Add some more tests.
23319         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
23320         correctly.
23322 2010-10-15  Andreas Schwab  <schwab@redhat.com>
23324         * scripts/data/localplt-s390-linux-gnu.data: New file.
23325         * scripts/data/localplt-s390x-linux-gnu.data: New file.
23327 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
23329         [BZ #3268]
23330         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
23331         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
23332         instead of dbl-64.
23333         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
23334         inlines.
23335         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
23336         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
23337         if one of x and y is very large and the other is subnormal.
23338         * sysdeps/s390/fpu/s_fmaf.c: New file.
23339         * sysdeps/s390/fpu/s_fma.c: New file.
23340         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
23341         * sysdeps/powerpc/fpu/s_fma.S: New file.
23342         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
23343         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
23344         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
23346 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
23348         [BZ #3268]
23349         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
23350         fma tests.
23351         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
23352         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
23353         * sysdeps/i386/i686/multiarch/s_fma.c: Include
23354         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
23355         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
23356         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
23357         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
23359 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
23361         [BZ #12078]
23362         * posix/regcomp.c (parse_branch): One more memory leak plugged.
23363         * posix/bug-regex31.input: Add test case.
23365 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
23367         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
23368         * posix/bug-regex31.input: New file.
23370         [BZ #12078]
23371         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
23372         (parse_sub_exp): Fix last change, use postorder.
23374         * posix/bug-regex31.c: New file.
23375         * posix/Makefile: Add rules to build and run bug-regex31.
23377         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
23379         [BZ #12078]
23380         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
23382         [BZ #12108]
23383         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
23384         to have entries in sys_siglist.
23386         [BZ #12093]
23387         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
23388         be NULL.
23390 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
23392         [BZ #3268]
23393         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
23394         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
23395         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23396         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
23397         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23398         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
23399         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
23400         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
23401         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
23402         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
23403         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
23404         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
23405         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23406         * math/ftestexcept.c (fetestexcept): Likewise.
23407         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
23408         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
23409         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23410         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
23411         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
23412         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
23413         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23415 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
23417         [BZ #12107]
23418         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
23419         newline.
23421 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
23423         * string/bug-strstr1.c: New file.
23424         * string/Makefile: Add rules to build and run bug-strstr1.
23426 2010-10-05  Eric Blake  <eblake@redhat.com>
23428         [BZ #12092]
23429         * string/str-two-way.h (two_way_long_needle): Always clear memory
23430         when skipping input due to the shift table.
23432 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
23434         [BZ #12005]
23435         * malloc/mcheck.c: Handle large requests.
23437         [BZ #12077]
23438         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
23439         for strncmp and strncasecmp.
23440         * string/stratcliff.c: Add tests for strcmp and strncmp.
23441         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
23443 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23445         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
23446         __set_fpscr.
23448 2010-09-30  Andreas Jaeger  <aj@suse.de>
23450         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
23451         (CGROUP_SUPER_MAGIC): Define.
23452         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23453         Handle btrfs and cgroup file systems.
23454         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23455         Likewise.
23457 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
23459         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
23460         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
23462 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23464         [BZ #12067]
23465         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
23466         trying to locate the ELF header.
23468 2010-09-27  Andreas Schwab  <schwab@redhat.com>
23470         [BZ #11611]
23471         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
23472         Mask out sign-bit copies when constructing f_fsid.
23474 2010-09-24  Petr Baudis <pasky@suse.cz>
23476         * debug/stack_chk_fail_local.c: Add missing licence exception.
23477         * debug/warning-nop.c: Likewise.
23479 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
23481         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
23482         implementing getdents64 using getdents syscall, set d_type if
23483         __ASSUME_GETDENTS32_D_TYPE.
23485 2010-09-16  Andreas Schwab  <schwab@redhat.com>
23487         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
23488         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
23490 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
23492         [BZ #12037]
23493         * posix/unistd.h: Undo change of feature selection for ftruncate from
23494         2010-01-11.
23496 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
23498         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
23499         detection.
23501 2010-09-20  Andreas Schwab  <schwab@redhat.com>
23503         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
23504         fanotify_mark.
23505         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23507 2010-09-14  Andreas Schwab  <schwab@redhat.com>
23509         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
23510         variables after CHECK_SP call.
23511         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
23513 2010-09-13  Andreas Schwab  <schwab@redhat.com>
23514             Ulrich Drepper  <drepper@redhat.com>
23516         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
23517         re-relocationg ld.so.
23518         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
23519         _dl_init_paths call.
23520         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
23521         here anymore.
23523 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
23525         * resolv/res_init.c (__res_vinit): Count the default server we added.
23527 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
23528             Ulrich Drepper  <drepper@redhat.com>
23530         [BZ #11968]
23531         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23532         (____longjmp_chk): Use %ebx for saving value across system call.
23533         Add unwind info.
23535 2010-09-06  Andreas Schwab  <schwab@redhat.com>
23537         * manual/Makefile: Don't mix pattern rules with normal rules.
23539 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
23541         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
23542         operation.
23543         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
23544         * libio/iofopncook.c (_IO_cookie_init): Likewise.
23545         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
23546         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23547         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23548         Likewise.
23550 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
23552         [BZ #11979]
23553         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
23554         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
23556 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
23558         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
23559         * sysdeps/x86_64/addmul_1.S: Likewise.
23560         * sysdeps/x86_64/lshift.S: Likewise.
23561         * sysdeps/x86_64/mul_1.S: Likewise.
23562         * sysdeps/x86_64/rshift.S: Likewise.
23563         * sysdeps/x86_64/sub_n.S: Likewise.
23564         * sysdeps/x86_64/submul_1.S: Likewise.
23566 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23568         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
23569         Define __sched_param instead of SCHED_* and sched_param when
23570         <bits/sched.h> is included with __need_schedparam defined.
23571         * bits/sched.h [__need_schedparam]
23572         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
23573         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
23574         (__defined_schedparam): Define to 1.
23575         (__sched_param): New structure, identical to sched_param.
23576         (__need_schedparam): Undefine.
23578 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
23580         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
23581         (epoll_create1): Declare.
23583         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
23585 2010-08-31  Andreas Schwab  <schwab@redhat.com>
23587         [BZ #7066]
23588         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
23589         shifting retval into place.
23591 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
23593         * nis/rpcsvc/nis.h: Update copyright notice.
23594         * nis/rpcsvc/nis.x: Likewise.
23595         * nis/rpcsvc/nis_callback.h: Likewise.
23596         * nis/rpcsvc/nis_callback.x: Likewise.
23597         * nis/rpcsvc/nis_object.x: Likewise.
23598         * nis/rpcsvc/nis_tags.h: Likewise.
23599         * nis/rpcsvc/yp.h: Likewise.
23600         * nis/rpcsvc/yp.x: Likewise.
23601         * nis/rpcsvc/ypupd.h: Likewise.
23602         * nis/yp_xdr.c: Likewise.
23603         * nis/ypupdate_xdr.c: Likewise.
23605         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
23606         mainly the body of pmap_getport.  Add parameters to specify timeouts.
23607         (pmap_getport): Use __libc_rpc_getport.
23608         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
23609         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
23610         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
23612 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
23614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
23615         fanotify_mark.
23617 2010-08-27  Roland McGrath  <roland@redhat.com>
23619         * sysdeps/i386/i686/multiarch/Makefile
23620         (CFLAGS-varshift.c): New variable.
23622 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
23624         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
23625         * sysdeps/i386/i686/multiarch/varshift.c: New file.
23627         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
23629         * sysdeps/x86_64/strlen.S: Minimal code improvement.
23631 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
23633         * sysdeps/x86_64/strlen.S: Unroll the loop.
23634         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23635         strlen-sse2 strlen-sse2-bsf.
23636         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
23637         __strlen_no_bsf if bit_Slow_BSF is set.
23638         (__strlen_sse42): Removed.
23639         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
23640         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
23642 2010-08-25  Roland McGrath  <roland@redhat.com>
23644         * sysdeps/x86_64/multiarch/varshift.S: File removed.
23645         * sysdeps/x86_64/multiarch/varshift.c: New file.
23646         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
23647         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
23648         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
23649         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23651 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
23653         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23654         strlen-sse2 strlen-sse2-bsf.
23655         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
23656         __strlen_sse2_bsf if bit_Slow_BSF is unset.
23657         (__strlen_sse2): Removed.
23658         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
23659         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
23660         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23661         bit_Slow_BSF for Atom.
23662         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
23663         (index_Slow_BSF): Define.
23664         (HAS_SLOW_BSF): Define.
23666 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
23668         [BZ #10851]
23669         * resolv/res_init.c (__res_vinit): When no server address at all
23670         is given default to loopback.
23672 2010-08-24  Roland McGrath  <roland@redhat.com>
23674         * configure.in: Remove config-name.h generation.
23675         * configure: Regenerated.
23676         * config-name.in: File removed.
23677         * scripts/config-uname.sh: New file.
23678         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
23679         ($(objdir)config-name.h): New target.
23681         * sunrpc/rpc_parse.h: Avoid nested comment.
23683 2010-08-24  Richard Henderson  <rth@redhat.com>
23684             Ulrich Drepper  <drepper@redhat.com>
23685             H.J. Lu  <hongjiu.lu@intel.com>
23687         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
23688         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
23689         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
23690         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
23691         _mm_alignr_epi8 with _mm_loadu_si128.
23692         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
23693         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
23694         (__m128i_shift_right): Removed.
23695         * sysdeps/i386/i686/multiarch/varshift.h: New file.
23696         * sysdeps/i386/i686/multiarch/varshift.S: New file.
23697         * sysdeps/x86_64/multiarch/varshift.h: New file.
23698         * sysdeps/x86_64/multiarch/varshift.S: New file.
23700 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
23702         * configure.in: Move assembler checks to before sysdep dir checking.
23704 2010-08-20  Petr Baudis  <pasky@suse.cz>
23706         * LICENSES: Sync the sunrpc license.
23708 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
23710         * sunrpc/auth_des.c: Update copyright notice once again.
23711         * sunrpc/auth_none.c: Likewise.
23712         * sunrpc/auth_unix.c: Likewise.
23713         * sunrpc/authdes_prot.c: Likewise.
23714         * sunrpc/authuxprot.c: Likewise.
23715         * sunrpc/bindrsvprt.c: Likewise.
23716         * sunrpc/clnt_gen.c: Likewise.
23717         * sunrpc/clnt_perr.c: Likewise.
23718         * sunrpc/clnt_raw.c: Likewise.
23719         * sunrpc/clnt_simp.c: Likewise.
23720         * sunrpc/clnt_tcp.c: Likewise.
23721         * sunrpc/clnt_udp.c: Likewise.
23722         * sunrpc/clnt_unix.c: Likewise.
23723         * sunrpc/des_crypt.c: Likewise.
23724         * sunrpc/des_soft.c: Likewise.
23725         * sunrpc/get_myaddr.c: Likewise.
23726         * sunrpc/getrpcport.c: Likewise.
23727         * sunrpc/key_call.c: Likewise.
23728         * sunrpc/key_prot.c: Likewise.
23729         * sunrpc/openchild.c: Likewise.
23730         * sunrpc/pm_getmaps.c: Likewise.
23731         * sunrpc/pm_getport.c: Likewise.
23732         * sunrpc/pmap_clnt.c: Likewise.
23733         * sunrpc/pmap_prot.c: Likewise.
23734         * sunrpc/pmap_prot2.c: Likewise.
23735         * sunrpc/pmap_rmt.c: Likewise.
23736         * sunrpc/rpc/auth.h: Likewise.
23737         * sunrpc/rpc/auth_unix.h: Likewise.
23738         * sunrpc/rpc/clnt.h: Likewise.
23739         * sunrpc/rpc/des_crypt.h: Likewise.
23740         * sunrpc/rpc/key_prot.h: Likewise.
23741         * sunrpc/rpc/netdb.h: Likewise.
23742         * sunrpc/rpc/pmap_clnt.h: Likewise.
23743         * sunrpc/rpc/pmap_prot.h: Likewise.
23744         * sunrpc/rpc/pmap_rmt.h: Likewise.
23745         * sunrpc/rpc/rpc.h: Likewise.
23746         * sunrpc/rpc/rpc_des.h: Likewise.
23747         * sunrpc/rpc/rpc_msg.h: Likewise.
23748         * sunrpc/rpc/svc.h: Likewise.
23749         * sunrpc/rpc/svc_auth.h: Likewise.
23750         * sunrpc/rpc/types.h: Likewise.
23751         * sunrpc/rpc/xdr.h: Likewise.
23752         * sunrpc/rpc_clntout.c: Likewise.
23753         * sunrpc/rpc_cmsg.c: Likewise.
23754         * sunrpc/rpc_common.c: Likewise.
23755         * sunrpc/rpc_cout.c: Likewise.
23756         * sunrpc/rpc_dtable.c: Likewise.
23757         * sunrpc/rpc_hout.c: Likewise.
23758         * sunrpc/rpc_main.c: Likewise.
23759         * sunrpc/rpc_parse.c: Likewise.
23760         * sunrpc/rpc_parse.h: Likewise.
23761         * sunrpc/rpc_prot.c: Likewise.
23762         * sunrpc/rpc_sample.c: Likewise.
23763         * sunrpc/rpc_scan.c: Likewise.
23764         * sunrpc/rpc_scan.h: Likewise.
23765         * sunrpc/rpc_svcout.c: Likewise.
23766         * sunrpc/rpc_tblout.c: Likewise.
23767         * sunrpc/rpc_util.c: Likewise.
23768         * sunrpc/rpc_util.h: Likewise.
23769         * sunrpc/rpcinfo.c: Likewise.
23770         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
23771         * sunrpc/rpcsvc/key_prot.x: Likewise.
23772         * sunrpc/rpcsvc/klm_prot.x: Likewise.
23773         * sunrpc/rpcsvc/mount.x: Likewise.
23774         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
23775         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
23776         * sunrpc/rpcsvc/rex.x: Likewise.
23777         * sunrpc/rpcsvc/rstat.x: Likewise.
23778         * sunrpc/rpcsvc/rusers.x: Likewise.
23779         * sunrpc/rpcsvc/sm_inter.x: Likewise.
23780         * sunrpc/rpcsvc/spray.x: Likewise.
23781         * sunrpc/rpcsvc/yppasswd.x: Likewise.
23782         * sunrpc/rtime.c: Likewise.
23783         * sunrpc/svc.c: Likewise.
23784         * sunrpc/svc_auth.c: Likewise.
23785         * sunrpc/svc_authux.c: Likewise.
23786         * sunrpc/svc_raw.c: Likewise.
23787         * sunrpc/svc_run.c: Likewise.
23788         * sunrpc/svc_simple.c: Likewise.
23789         * sunrpc/svc_tcp.c: Likewise.
23790         * sunrpc/svc_udp.c: Likewise.
23791         * sunrpc/svc_unix.c: Likewise.
23792         * sunrpc/svcauth_des.c: Likewise.
23793         * sunrpc/xcrypt.c: Likewise.
23794         * sunrpc/xdr.c: Likewise.
23795         * sunrpc/xdr_array.c: Likewise.
23796         * sunrpc/xdr_float.c: Likewise.
23797         * sunrpc/xdr_mem.c: Likewise.
23798         * sunrpc/xdr_rec.c: Likewise.
23799         * sunrpc/xdr_ref.c: Likewise.
23800         * sunrpc/xdr_sizeof.c: Likewise.
23801         * sunrpc/xdr_stdio.c: Likewise.
23803         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
23804         handling.
23806 2010-08-19  Andreas Schwab  <schwab@redhat.com>
23808         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
23810 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
23812         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
23813         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
23814         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
23815         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
23816         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
23817         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
23818         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
23819         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
23820         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
23821         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
23822         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
23823         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
23824         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
23825         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
23827 2010-07-26  Anton Blanchard  <anton@samba.org>
23829         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
23830         * malloc/arena.c (heap_trim): Likewise.
23832 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
23834         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
23835         here.  Not...
23836         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
23837         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
23839 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
23841         * sysdeps/i386/elf/Makefile: New file.
23843 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
23845         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
23846         from fanotify_init.
23847         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
23848         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23850 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
23852         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
23853         of strncasecmp_l.
23854         * sysdeps/multiarch/strcmp.S: Likewise.
23856 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
23858         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23859         strncase_l-nonascii.
23860         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23861         Add strncase_l-ssse3.
23862         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
23863         * sysdeps/x86_64/strcmp.S: Likewise.
23864         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
23865         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
23866         * sysdeps/x86_64/strncase.S: New file.
23867         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
23868         * sysdeps/x86_64/strncase_l.S: New file.
23869         * string/Makefile (strop-tests): Add strncasecmp.
23870         * string/test-strncasecmp.c: New file.
23872         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
23873         warning.
23875         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
23876         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
23878 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
23880         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
23882 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
23884         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
23885         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
23886         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
23888 2010-05-01  Alan Modra  <amodra@gmail.com>
23890         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
23891         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
23892         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
23893         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
23894         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
23895         tidying.  Don't tail-call __sigjmp_save for static lib.
23896         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
23897         save location.
23898         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
23899         (CALL_MCOUNT): Add eh info, and nop after bl.
23900         (TAIL_CALL_SYSCALL_ERROR): New macro.
23901         (PSEUDO_RET): Use it.
23902         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23903         Correct save location of integer regs and cr.
23904         (_dl_profile_resolve): Correct cr save location.  Delete nops
23905         after bl when SHARED.  Reduce cfi size a little by better
23906         placement of cfi directives.
23907         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
23908         make a stack frame.  Instead use parm save area as a temp.
23909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
23910         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
23911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23912         Don't make a stack frame for parent, use parm save area.
23913         Increase child stack frame to 112 bytes.  Don't save unused reg,
23914         and adjust reg usage.  Set up cfi on error recovery and
23915         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
23916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23917         (__makecontext): Add dummy nop after jump to exit.
23918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
23919         Use correct parm save area and cr save, reduce stack frame.
23920         Correct cfi for possible PSEUDO_RET frame setup.
23921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
23922         Branch to local label emitted by PSEUDO_RET rather than
23923         __syscall_error.
23925 2010-08-12  Andreas Schwab  <schwab@redhat.com>
23927         [BZ #11904]
23928         * locale/programs/locale.c (print_assignment): New function.
23929         (show_locale_vars): Use it.
23931 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
23933         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
23934         field.
23935         (struct statfs64): Likewise.
23936         (_STATFS_F_FLAGS): Define.
23937         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
23938         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23939         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
23940         (ST_VALID): Define locally.
23941         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
23942         __statvfs_getflags, use the provided value.
23943         * sysdeps/unix/sysv/linux/kernel-features.h: Define
23944         __ASSUME_STATFS_F_FLAGS.
23946         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
23948         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
23949         Add sys/fanotify.h.
23950         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
23951         fanotify_mask for GLIBC_2.13.
23952         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
23953         fanotify_init and fanotify_mark.
23954         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23955         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
23957         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
23958         Add prlimit.
23959         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
23960         prlimit64 for GLIBC_2.13.
23961         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
23962         prlimit64.
23963         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
23964         syscall.
23965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
23966         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23967         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
23968         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
23969         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
23970         add prlimit alias.
23971         * sysdeps/unix/sysv/linux/prlimit.c: New file.
23973         [BZ #11903]
23974         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
23975         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
23977         * nss/Makefile: Add rules to build and run tst-nss-test1.
23978         * shlib-versions: Add entry for libnss_test1.
23979         * nss/nss_test1.c: New file.
23980         * nss/tst-nss-test1.c: New file.
23982         * nss/nsswitch.c (__nss_database_custom): Define new variable.
23983         (__nss_configure_lookup): Set appropriate entry in
23984         __nss_configure_lookup to true.
23985         * nss/nsswitch.h: Define enum with indeces of databases in
23986         databases and __nss_database_custom arrays.  Declare
23987         __nss_database_custom.
23988         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
23989         to avoid using nscd when custom rules are installed.
23990         * nss/getXXbyYY_r.c: Likewise.
23991         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23993         * nss/nss_files/files-parse.c: Whitespace fixes.
23995 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
23997         [BZ #11883]
23998         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
23999         * posix/fnmatch_loop.c: Likewise.
24001 2010-07-17  Andi Kleen  <ak@linux.intel.com>
24003         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
24004         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
24005         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
24006         * Versions.def [GLIBC_2.13]: Add.
24008 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
24010         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24011         Also fail if tpwd after pwuid call is NULL.
24013 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24015         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
24016         when converting to ms.
24018 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24020         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
24021         EOPNOTSUPP errors with ENOTTY.
24022         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
24023         EOPNOTSUPP errors with ENOTTY.
24025 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
24027         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24028         Add strcasecmp_l-ssse3.
24029         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
24030         strcasecmp.
24031         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
24032         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
24033         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
24035 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
24037         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
24039         * string/Makefile (strop-tests): Add strcasecmp.
24040         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24041         strcasecmp_l-nonascii.
24042         (gen-as-const-headers): Add locale-defines.sym.
24043         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
24044         * sysdeps/x86_64/strcasecmp.S: New file.
24045         * sysdeps/x86_64/strcasecmp_l.S: New file.
24046         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
24047         * sysdeps/x86_64/locale-defines.sym: New file.
24048         * string/test-strcasecmp.c: New file.
24050         * string/test-strcasestr.c: Test both ends of the range of characters.
24051         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
24053 2010-07-29  Roland McGrath  <roland@redhat.com>
24055         [BZ #11856]
24056         * manual/locale.texi (Yes-or-No Questions): Fix example code.
24058 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
24060         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
24061         for ld.so.
24063 2010-07-27  Andreas Schwab  <schwab@redhat.com>
24065         * manual/memory.texi (Malloc Tunable Parameters): Document
24066         M_PERTURB.
24068 2010-07-26  Roland McGrath  <roland@redhat.com>
24070         [BZ #11840]
24071         * configure.in (-fgnu89-inline check): Set and substitute
24072         gnu89_inline, not libc_cv_gnu89_inline.
24073         * configure: Regenerated.
24074         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
24076 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
24078         * string/test-strnlen.c: New file.
24079         * string/Makefile (strop-tests): Add strnlen.
24080         * string/tester.c (test_strnlen): Add a few more test cases.
24081         * string/tst-strlen.c: Better error reporting.
24083         * sysdeps/x86_64/strnlen.S: New file.
24085 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
24087         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
24088         lower-latency instructions.
24090 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
24092         * string/test-strcasestr.c: New file.
24093         * string/test-strstr.c: New file.
24094         * string/Makefile (strop-tests): Add strstr and strcasestr.
24095         * string/str-two-way.h: Don't undefine MAX.
24096         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
24098 2010-07-21  Andreas Schwab  <schwab@redhat.com>
24100         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24101         strcasestr-nonascii.
24102         (CFLAGS-strcasestr-nonascii.c): Define.
24103         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
24104         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
24105         Remove unused attribute.
24107 2010-07-20  Roland McGrath  <roland@redhat.com>
24109         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
24110         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
24111         ld.so.cache was broken.  With it, there is no way to disable dsocaps
24112         like LD_HWCAP_MASK can disable hwcaps.
24114 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
24116         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
24118 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
24120         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
24121         call in strcasestr.
24122         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
24123         __strcasestr_sse42_nonascii.
24124         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
24125         strcasestr-nonascii.c.
24126         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
24128 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
24130         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
24131         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
24132         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
24133         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
24135 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
24137         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
24138         fcntl.
24140 2010-07-06  Andreas Schwab  <schwab@redhat.com>
24142         [BZ #11577]
24143         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
24144         dl_signal_cerror.
24146 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
24148         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
24149         _PC_PIPE_BUF using F_GETPIPE_SZ.
24151 2010-07-05  Roland McGrath  <roland@redhat.com>
24153         * manual/arith.texi (Rounding Functions): Fix rint description
24154         implicit in round description.
24156 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
24158         * elf/Makefile: Fix linking for a few tests to make recent linker
24159         happy.
24161 2010-06-30  Andreas Schwab  <schwab@redhat.com>
24163         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24164         $(common-objpfx)libc_nonshared.a.
24166 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
24168         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
24169         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
24170         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24171         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24172         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
24173         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
24174         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24175         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
24177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
24178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
24179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
24181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
24183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
24184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
24185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
24186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
24188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
24190         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
24191         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
24192         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
24193         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
24194         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
24195         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
24196         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
24197         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
24198         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
24199         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
24200         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
24201         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
24202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
24203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
24204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
24205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
24206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
24207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
24208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
24209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
24210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
24211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
24212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
24213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
24214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
24215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
24217 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
24219         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
24220         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
24221         * string/memmove.c (memmove): Renamed to ...
24222         (MEMMOVE): ...this.  Default to memmove.
24223         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
24224         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
24225         (END_CHK): Define.
24226         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24227         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
24228         mempcpy-ssse3-back memmove-ssse3-back.
24229         * sysdeps/x86_64/multiarch/bcopy.S: New file .
24230         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
24231         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
24232         * sysdeps/x86_64/multiarch/memcpy.S: New file.
24233         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
24234         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
24235         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
24236         * sysdeps/x86_64/multiarch/memmove.c: New file.
24237         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
24238         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
24239         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
24240         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
24241         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
24242         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
24243         Define.
24244         (index_Fast_Copy_Backward): Define.
24245         (HAS_ARCH_FEATURE): Define.
24246         (HAS_FAST_REP_STRING): Define.
24247         (HAS_FAST_COPY_BACKWARD): Define.
24249 2010-06-21  Andreas Schwab  <schwab@redhat.com>
24251         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24252         Restore proper fallback handling.
24254 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
24256         [BZ #11701]
24257         * posix/group_member.c (__group_member): Correct checking loop.
24259         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
24260         OOM in getpwuid_r correctly.  Return error number when the caller
24261         should return, otherwise -1.
24262         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
24263         call returning > 0 value.
24264         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
24266 2010-06-07  Andreas Schwab  <schwab@redhat.com>
24268         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
24269         libc_nonshared.a from targets in modules-names.
24271 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
24273         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
24274         requires it.
24276 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
24278         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
24279         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
24280         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
24281         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
24283 2010-06-02  Andreas Schwab  <schwab@redhat.com>
24285         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
24287 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
24289         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
24290         and F_GETPIPE_SZ.
24291         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24292         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24293         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24294         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24295         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24296         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
24298 2010-06-14  Roland McGrath  <roland@redhat.com>
24300         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
24302 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
24304         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
24305         __REDIRECT followed by __THROW.
24306         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
24307         * posix/getopt.h (getopt): Likewise.
24309 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
24311         * hurd/lookup-at.c (__file_name_lookup_at): Accept
24312         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
24313         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
24314         in AT_FLAGS.
24315         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
24316         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
24318 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
24320         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
24322 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
24324         [BZ #11640]
24325         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24326         Properly check family and model.
24328 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
24330         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
24332 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
24334         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
24336 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
24338         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
24339         symbol reference.
24341 2010-05-19  Andreas Schwab  <schwab@redhat.com>
24343         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
24344         symbol reference.
24346 2010-05-21  Andreas Schwab  <schwab@redhat.com>
24348         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
24349         and internal_recvmmsg.
24350         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
24351         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
24352         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
24353         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
24355         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
24356         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24357         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24359 2010-05-20  Andreas Schwab  <schwab@redhat.com>
24361         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
24363 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
24365         POWER7 optimizations.
24366         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
24367         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
24369 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
24371         * version.h: Update for 2.13 development version.
24373 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
24375         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
24376         exceptions.  Return 0.
24378 2010-05-07  Roland McGrath  <roland@redhat.com>
24380         * elf/ldconfig.c (main): Add a const.
24382 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
24384         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
24385         (args_options): Add no-idn option.
24386         (ahosts_keys_int): Add idn_flags to ai_flags.
24387         (parse_option): Handle 'i' option to clear idn_flags.
24389         * malloc/malloc.c (_int_free): Possible race in the most recently
24390         added check.  Only act on the data if no current modification
24391         happened.
24393 See ChangeLog.17 for earlier changes.