Remove ${SHELL} from tst-table.sh/tst-tables.sh
[glibc.git] / ChangeLog
blobf02a3b65e45f68edfdd2af7956b32d41db97afa5
1 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
3         *  iconvdata/tst-table.sh: Remove ${SHELL}.
4         *  iconvdata/tst-tables.sh: Likewise.
6 2012-10-25  David S. Miller  <davem@davemloft.net>
8         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
10         of strtoull.
12         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
13         ifunc-impl-list.c
14         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
16         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17         file.
19 2012-10-25  Roland McGrath  <roland@hack.frob.com>
21         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
23         __getdirentries.
25 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
26             Jim Blandy  <jimb@codesourcery.com>
28         * scripts/cross-test-ssh.sh: New file.
29         * manual/install.texi (Configuring and compiling): Document use of
30         cross-test-ssh.sh.
31         * INSTALL: Regenerated.
33 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
35         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
36         EOPNOTSUPP.
38 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
40         * Makeconfig (run-program-prefix): Fix comment.
42 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43             Jim Blandy  <jimb@codesourcery.com>
45         * Makeconfig (test-wrapper): New variable,
46         (test-wrapper-env): Likewise.
47         [$(cross-compiling) = yes && $(test-wrapper) != ""]
48         (run-built-tests): Define to yes.
49         (run-program-prefix): Use $(test-wrapper).
50         (built-program-cmd): Likewise.
51         * Rules (make-test-out): Use $(test-wrapper-env) and
52         $(host-built-program-cmd).
53         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
54         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
55         tst-pathopt.sh.
56         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
57         $(test-wrapper-env) to tst-rtld-load-self.sh.
58         ($(objpfx)order2.out): Use $(test-wrapper).
59         ($(objpfx)tst-initorder.out): Likewise.
60         ($(objpfx)tst-initorder2.out): Likewise.
61         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
62         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
63         (test_wrapper_env): New variable.  Use it to run ld.so.
64         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
65         Use it to run ld.so.
66         (test_wrapper_env): Likewise.
67         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
68         $(test-wrapper) to run-iconv-test.sh.
69         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
70         (ICONV): Use $test_wrapper.
71         * posix/Makefile ($(objpfx)globtest.out): Pass
72         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
73         globtest.sh, not $(run-program-prefix).
74         * posix/globtest.sh (run_via_rtld_prefix): New variable.
75         (test_wrapper): Likewise.
76         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
77         set together with run_via_rtld_prefix.
78         (run_program_prefix): Define in terms of test_wrapper and
79         run_via_rtld_prefix.
81 2012-10-24  Roland McGrath  <roland@hack.frob.com>
83         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
84         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
85         Targets removed.
87         [BZ #14743]
88         * include/time.h: Remove librt_hidden_proto (clock_gettime).
89         Declare __clock_getres, __clock_gettime, __clock_settime,
90         __clock_nanosleep, and __clock_getcpuclockid.
91         * rt/clock_gettime.c: Define __clock_gettime as an alias.
92         Remove librt_hidden_def (clock_gettime).
93         * sysdeps/unix/clock_gettime.c: Likewise.
94         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
95         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
96         * rt/clock_getres.c: Define __clock_getres as an alias.
97         * sysdeps/posix/clock_getres.c: Likewise.
98         * rt/clock_settime.c: Define __clock_settime as an alias.
99         * sysdeps/unix/clock_settime.c: Likewise.
100         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
101         * sysdeps/unix/clock_nanosleep.c: Likewise.
102         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
103         * rt/clock-compat.c: New file.
104         * rt/Makefile (librt-routines): Add clock-compat and move
105         $(clock-routines) to ...
106         (routines): ... here, new variable.
107         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
108         Don't add get_clockfreq here.
109         * rt/Versions (libc: GLIBC_2.17): New version set.
110         Add clock_* symbols here.
111         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
112         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
113         (GLIBC_2.17): Add clock_* symbols.
114         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
115         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
116         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
118         Likewise.
119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
120         Likewise.
121         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
122         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
123         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
124         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
125         * NEWS: Mention the move.
127         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
128         Use __open, __read, __close rather than their public counterparts.
129         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
130         (__get_clockfreq_via_cpuinfo): Likewise.
131         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
132         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
134         * config.h.in (HAVE_IFUNC): New #undef.
135         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
136         was successful.
137         * configure: Regenerated.
139 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
141         * configure.in: Move READELF check to start of file.
142         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
143         libc_cv_asm_gnu_indirect_function in the process.
144         * configure: Regenerated.
146 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
148         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
149         send the output to /dev/null.
150         (libc_cv_cc_with_libunwind): Likewise.
151         (libc_cv_as_noexecstack): Likewise.
152         * configure: Regenerate.
154 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
156         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
158         * posix/globtest.sh (TMPDIR): Do not set.
159         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
160         (testout): Likewise.
162 2012-10-24  Andreas Jaeger  <aj@suse.de>
164         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
165         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
166         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
167         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
168         posix_fadvise64, posix_fallocate64.
170         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
171         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
172         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
173         Likewise.
174         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
175         Likewise.
176         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
178         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
179         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
180         <bits/fcntl-linux.h>.
181         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
183         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
184         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
185         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
186         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
187         [__WORDSIZE != 64]: Likewise.
189 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
191         * Makeconfig (run-built-tests): New variable.
192         * Rules [$(cross-compiling) = yes]: Change condition to
193         [$(run-built-tests) = no].
194         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
195         to [$(run-built-tests) = yes].
196         * elf/Makefile [$(cross-compiling) = no]: Likewise
197         * grp/Makefile [$(cross-compiling) = no]: Likewise.
198         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
199         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
200         * intl/Makefile [$(cross-compiling) = no]: Likewise.
201         * io/Makefile [$(cross-compiling) = no]: Likewise.
202         * libio/Makefile [$(cross-compiling) = no]: Likewise.
203         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
204         * misc/Makefile [$(cross-compiling) = no]: Likewise.
205         * posix/Makefile [$(cross-compiling) = no]: Likewise.
206         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
207         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
208         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
209         * string/Makefile [$(cross-compiling) = no]: Likewise.
211         * posix/Makefile ($(objpfx)globtest.out): Pass
212         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
213         $(rtld-installed-name).
214         * posix/globtest.sh (elf_objpfx): Remove variable.
215         (rtld_installed_name): Likewise.
216         (library_path): Likewise.
217         (run_program_prefix): New variable.  Use for running globtest
218         binary.
220 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
221             Joseph Myers  <joseph@codesourcery.com>
223         * Makeconfig (host-built-program-cmd): New variable.
224         * elf/Makefile (tst-stackguard1-ARGS): Use
225         $(host-built-program-cmd).
226         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
227         (tst-spawn-ARGS): Likewise.
228         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
230 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
231             Jim Blandy  <jimb@codesourcery.com>
233         * Makeconfig (run-via-rtld-prefix): New variable.
234         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
235         (built-program-cmd): Likewise.
237 2012-10-22  Andreas Jaeger  <aj@suse.de>
239         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
240         __O_RSYNC if it exists, otherwise to O_SYNC.
242 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
243             Joseph Myers  <joseph@codesourcery.com>
245         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
246         /dev/null.
247         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
248         from /dev/null
249         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
250         /dev/null.
252 2012-10-22  Andreas Jaeger  <aj@suse.de>
254         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
255         Define always.
256         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
258         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
259         bits/fcntl-linux.h.
261         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
262         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
264         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
265         to __O_LARGEFILE.
266         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
267         to __O_LARGEFILE.
269 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
270             Joseph Myers  <joseph@codesourcery.com>
272         * config.make.in (NM): New variable.
274 2012-10-21  Andreas Jaeger  <aj@suse.de>
276         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
277         definitions and declarations that are provided by
278         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
280 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
282         [BZ #14683]
283         * elf/Makefile (tests-static): Add tst-leaks1-static.
284         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
285         ($(objpfx)tst-leaks1-static): New rule.
286         ($(objpfx)tst-leaks1-static-mem): Likewise.
287         (tst-leaks1-static-ENV): New macro.
288         * elf/dl-open.c (dl_open_worker): Check the main application
289         only if SHARED is defined.
290         * elf/tst-leaks1-static.c: New file.
292 2012-10-20  Andreas Jaeger  <aj@suse.de>
294         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
295         generic values for Linux.
296         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
297         and declarations that are provided by <bits/fcntl-linux.h> and
298         include <bits/fcntl-linux.h>.
299         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
300         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
302 2012-10-20  Roland McGrath  <roland@hack.frob.com>
304         * io/fcntl.h: Move include of <bits/types.h> to the top and
305         include it unconditionally.
307 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
309         * wcsmbs/Makefile (tests-ifunc): New variable.
310         (tests): Add $(tests-ifunc).
311         * wcsmbs/test-wcschr-ifunc.c: New file.
312         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
313         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
314         * wcsmbs/test-wcslen-ifunc.c: Likewise.
315         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
316         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
318         * string/Makefile (tests-ifunc): New variable.
319         (tests): Add $(tests-ifunc).
320         * string/test-memccpy.c (TEST_NAME): New macro.
321         * string/test-memchr.c (TEST_NAME): Likewise.
322         * string/test-memcmp.c (TEST_NAME): Likewise.
323         * string/test-memcpy.c (TEST_NAME): Likewise.
324         * string/test-memmem.c (TEST_NAME): Likewise.
325         * string/test-memmove.c (TEST_NAME): Likewise.
326         * string/test-memset.c (TEST_NAME): Likewise.
327         * string/test-rawmemchr.c (TEST_NAME): Likewise.
328         * string/test-stpcpy.c (TEST_NAME): Likewise.
329         * string/test-stpncpy.c (TEST_NAME): Likewise.
330         * string/test-strcasecmp.c (TEST_NAME): Likewise.
331         * string/test-strcasestr.c (TEST_NAME): Likewise.
332         * string/test-strcat.c (TEST_NAME): Likewise.
333         * string/test-strchr.c (TEST_NAME): Likewise.
334         * string/test-strcmp.c(TEST_NAME): Likewise.
335         * string/test-strcpy.c (TEST_NAME): Likewise.
336         * string/test-strcspn.c (TEST_NAME): Likewise.
337         * string/test-strlen.c (TEST_NAME): Likewise.
338         * string/test-strncasecmp.c (TEST_NAME): Likewise.
339         * string/test-strncmp.c (TEST_NAME): Likewise.
340         * string/test-strncpy.c (TEST_NAME): Likewise.
341         * string/test-strnlen.c (TEST_NAME): Likewise.
342         * string/test-strpbrk.c (TEST_NAME): Likewise.
343         * string/test-strrchr.c (TEST_NAME): Likewise.
344         * string/test-strspn.c (TEST_NAME): Likewise.
345         * string/test-strstr.c (TEST_NAME): Likewise.
346         * string/test-bcopy-ifunc.c: New file.
347         * string/test-bzero-ifunc.c: Likewise.
348         * string/test-memccpy-ifunc.c: Likewise.
349         * string/test-memchr-ifunc.c: Likewise.
350         * string/test-memcmp-ifunc.c: Likewise.
351         * string/test-memcpy-ifunc.c: Likewise.
352         * string/test-memmem-ifunc.c: Likewise.
353         * string/test-memmove-ifunc.c: Likewise.
354         * string/test-mempcpy-ifunc.c: Likewise.
355         * string/test-memset-ifunc.c: Likewise.
356         * string/test-rawmemchr-ifunc.c: Likewise.
357         * string/test-stpcpy-ifunc.c: Likewise.
358         * string/test-stpncpy-ifunc.c: Likewise.
359         * string/test-strcasecmp-ifunc.c: Likewise.
360         * string/test-strcasestr-ifunc.c: Likewise.
361         * string/test-strcat-ifunc.c: Likewise.
362         * string/test-strchr-ifunc.c: Likewise.
363         * string/test-strchrnul-ifunc.c: Likewise.
364         * string/test-strcmp-ifunc.c: Likewise.
365         * string/test-strcpy-ifunc.c: Likewise.
366         * string/test-strcspn-ifunc.c: Likewise.
367         * string/test-strlen-ifunc.c: Likewise.
368         * string/test-strncasecmp-ifunc.c: Likewise.
369         * string/test-strncat-ifunc.c: Likewise.
370         * string/test-strncmp-ifunc.c: Likewise.
371         * string/test-strncpy-ifunc.c: Likewise.
372         * string/test-strnlen-ifunc.c: Likewise.
373         * string/test-strpbrk-ifunc.c: Likewise.
374         * string/test-strrchr-ifunc.c: Likewise.
375         * string/test-strspn-ifunc.c: Likewise.
376         * string/test-strstr-ifunc.c: Likewise.
378         * debug/Makefile (tests-ifunc): New variable.
379         (tests): Add $(tests-ifunc).
380         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
381         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
382         * debug/test-stpcpy_chk-ifunc.c: New file.
383         * debug/test-strcpy_chk-ifunc.c: Likewise.
385 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
387         [BZ #13601]
388         * elf/dl-load.c (open_verify): Retry read if the entire ELF
389         header is not read in.
391 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
393         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
394         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
395         directly.  Pass built executable to script as
396         $(built-program-cmd).
397         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
398         $testprogram without using LD_LIBRARY_PATH and $ldso.
400         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
401         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
402         $(rtld-installed-name).
403         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
404         (rtld_installed_name): Likewise.
405         (library_path): Likewise.
406         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
407         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
408         $(run-program-prefix) to tst-tables.sh.
409         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
410         it to run tst-table-from and tst-table-to.
411         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
412         Pass it to tst-table.sh.
413         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
414         $(run-program-prefix) to tst-gettext.sh.
415         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
416         tst-translit.sh.
417         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
418         tst-gettext2.sh.
419         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
420         to run tst-gettext.
421         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
422         to run tst-gettext2.
423         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
424         to run tst-translit.
425         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
426         $(run-program-prefix) to tst-mtrace.sh.
427         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
428         to run tst-mtrace.
429         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
430         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
431         $(rtld-installed-name).
432         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
433         (rtld_installed_name): Likewise.
434         (run_program_prefix): New variable.  Use it to run wordexp-test.
436         * Makeconfig (ARCH): Remove all definitions.
437         (machine): Likewise.
438         [ARCH]: Remove conditional code.
439         [!objdir]: Give error.
440         [!objdir] (objpfx): Remove.
441         [!objdir] (common-objpfx): Likewise.
442         [!objdir] (common-objdir): Likewise.
443         * configure.in (config_makefile): Remove.  Hardcode Makefile in
444         AC_CONFIG_FILES call.
445         * configure: Regenerated.
447         [BZ #13888]
448         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
449         or TMPDIR.
450         (testout): Likewise.
452         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
453         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
454         $(rtld-installed-name).
455         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
456         (rtld_installed_name): Likwise.
457         (runit): Remove function.
458         (run_getconf): New variable,  Use it for running getconf binary.
460 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
462         [BZ #14716]
463         * string/test-memmem.c (check_result): New function.
464         (do_one_test): Use it.
465         (check1): New function.
466         (test_main): Use it.
468 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
470         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
472 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
474         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
475         (_G_LSEEK64): Likewise.
476         (_G_MMAP64): Likewise.
477         (_G_FSTAT64): Likewise.
478         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
479         (_G_LSEEK64): Likewise.
480         (_G_MMAP64): Likewise.
481         (_G_FSTAT64): Likewise.
482         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
483         unconditional.  Call __mmap64 directly.
484         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
485         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
486         __lseek64 directly.
487         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
488         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
489         __mmap64 directly.
490         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
491         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
492         __lseek64 directly.
493         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
494         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
495         __lseek64 directly.
496         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
497         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
498         __lseek64 directly.
499         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
500         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
501         __fxstat64 directly.
502         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
503         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
504         unconditional.
505         (freopen64) [!_G_OPEN64]: Remove conditional code.
506         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
507         unconditional.
508         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
509         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
510         unconditional.
511         (ftello64) [!_G_LSEEK64]: Remove conditional code.
512         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
513         unconditional.
514         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
515         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
516         unconditional.
517         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
518         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
519         unconditional.
520         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
521         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
522         unconditional.
523         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
524         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
525         unconditional.
526         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
528 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
530         [BZ #12140]
531         * manual/memory.texi (Malloc Tunable Parameters): Add note
532         about free list pointers overwriting some perturb bytes.
533         Wording suggested by Roland McGrath.
535 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
537         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
538         (lgamma_test): Likewise.
539         (tgamma_test): Likewise.
541 2012-10-16  Florian Weimer  <fweimer@redhat.com>
543         [BZ #14700]
544         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
545         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
547 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
549         * NEWS: Mention BZ #14716.
550         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
551         when removing AVAILABLE1_USES_J macro.
553 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
555         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
556         (__bswap_64): __uint64_t for unsigned 64-bit int.
558 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
560         * include/string.h (memmem): Declare libc hidden alias.
561         * string/memmem.c (memmem): Define libc hidden alias.
562         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
563         __read, __close instead of open, read, close.
565 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
567         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
568         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
569         global and hidden.
570         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
571         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
572         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
573         Likewise.
574         (__rawmemchr_sse2): Likewise.
575         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
576         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
577         (__strchr_sse2): Likewise.
578         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
579         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
580         (__strcasecmp_sse2): Likewise.
581         (__strncasecmp_sse2): Likewise.
582         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
583         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
584         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
585         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
586         (__strrchr_sse2): Likewise.
587         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
588         ifunc-impl-list.c.
589         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
590         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
591         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
592         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
593         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
594         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
595         * sysdeps/x86_64/multiarch/memset.S: Likewise.
596         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
597         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
598         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
599         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
600         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
601         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
602         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
603         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
604         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
605         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
606         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
607         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
608         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
609         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
610         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
611         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
612         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
613         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
614         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
615         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
616         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
617         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
618         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
620         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
621         global and hidden.
622         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
623         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
624         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
625         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
626         Likewise.
627         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
628         Likewise.
629         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
630         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
631         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
632         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
633         ifunc-impl-list.c.
634         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
635         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
636         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
637         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
638         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
639         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
640         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
641         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
642         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
643         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
644         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
645         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
646         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
647         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
648         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
649         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
650         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
651         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
652         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
653         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
654         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
655         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
656         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
657         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
658         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
659         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
660         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
661         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
662         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
663         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
664         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
665         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
666         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
667         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
668         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
669         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
670         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
671         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
672         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
673         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
674         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
676         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
677         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
678         * include/ifunc-impl-list.h: New file.
679         * misc/ifunc-impl-list.c: Likewise.
680         * misc/Makefile (routines): Add ifunc-impl-list.
681         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
682         * string/test-string.h: Include <ifunc-impl-list.h>.
683         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
684         impl_array): New variables.
685         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
686         are defined.
687         (test_init): Call __libc_ifunc_impl_list to initialize
688         func_list if TEST_IFUNC and TEST_NAME are defined.
690         * string/Makefile (strop-tests): Add bcopy and bzero.
691         * string/test-bcopy.c: New file.
692         * string/test-bzero.c: Likewise.
693         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
694         defined.
695         * string/test-memset.c: Support bzero test if TEST_BZERO is
696         defined.
697         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
698         __libc_memmove.
699         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
700         __libc_memset.
701         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
702         of memset.
704 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
706         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
707         * configure: Regenerated.
709         * Makeconfig (+link-static-before-libc): Don't include
710         $(link-static-libc).
712         * libio/libio.h (_IO_pos_t): Remove.
714 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
716         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
717         McGrath.
719 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
721         * crypt/crypt-entry.c: Include fips-private.h.
722         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
723         * crypt/md5c-test.c (main): Tolerate disabled MD5.
724         * sysdeps/unix/sysv/linux/fips-private.h: New file.
725         * sysdeps/generic/fips-private.h: New file, dummy fallback.
727 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
729         * crypt/crypt-private.h: Include stdbool.h.
730         (_ufc_setup_salt_r): Return bool.
731         * crypt/crypt-entry.c: Include errno.h.
732         (__crypt_r): Return NULL with EINVAL for bad salt.
733         * crypt/crypt_util.c (bad_for_salt): New.
734         (_ufc_setup_salt_r): Check that salt is long enough and within
735         the specified alphabet.
736         * crypt/badsalttest.c: New file.
737         * crypt/Makefile (tests): Add it.
738         ($(objpfx)badsalttest): New.
740 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
742         * NEWS: Add entry for BZ #14602.
744 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
746         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
747         type-generic.
748         * math/libm-test.inc: Update comment listing what functions and
749         macros are tested.
750         (isgreater_test): New function.
751         (isgreaterequal_test): Likewise.
752         (isless_test): Likewise.
753         (islessequal_test): Likewise.
754         (islessgreater_test): Likewise.
755         (isunordered_test): Likewise.
756         (main): Call the new functions.
758 2012-10-09  Roland McGrath  <roland@hack.frob.com>
760         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
761         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
762         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
763         * sysdeps/i386/configure: Regenerated.
764         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
765         * sysdeps/mach/configure: Regenerated.
766         * sysdeps/mach/hurd/configure: Regenerated.
767         * sysdeps/powerpc/configure: Regenerated.
768         * sysdeps/powerpc/powerpc32/configure: Regenerated.
769         * sysdeps/powerpc/powerpc64/configure: Regenerated.
770         * sysdeps/s390/s390-32/configure: Regenerated.
771         * sysdeps/s390/s390-64/configure: Regenerated.
772         * sysdeps/sh/configure: Regenerated.
773         * sysdeps/sparc/configure: Regenerated.
774         * sysdeps/unix/sysv/linux/configure: Regenerated.
775         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
776         * sysdeps/x86_64/configure: Regenerated.
778         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
779         defined.  Don't check if MAP is NULL.
781 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
783         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
784         (_G_stat64): Likewise.
785         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
786         (_G_stat64): Likewise.
787         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
788         instead of struct _G_stat64.
789         * libio/fileops.c (mmap_remap_check): Likewise.
790         (decide_maybe_mmap): Likewise.
791         (_IO_new_file_seekoff): Likewise.
792         (_IO_file_stat): Likewise.
793         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
794         _G_off64_t.
795         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
796         instead of struct _G_stat64.
797         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
799 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
801         [BZ #14602]
802         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
803         Replace with ...
804         (CHECK_EOL): New macro.
805         (two_way_short_needle): Check beginning of haystack for EOL.  Use
806         CHECK_EOL.
807         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
808         Replace with CHECK_EOL.
809         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
810         Replace with CHECK_EOL.
812 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
814         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
815         type-generic.
816         * math/libm-test.inc: Update comment listing what functions and
817         macros are tested.
818         (finite_test): New function.
819         (isinf_test): Likewise.
820         (isnan_test): Likewise.
821         (fpclassify_test): Test subnormal input.
822         (isfinite_test): Likewise.
823         (isnormal_test): Likewise.
824         (main): Call the new functions.
826 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
828         [BZ #14660]
829         * Makerules (%.dynsym): Force C locale when running
830         $(OBJDUMP) --dynamic-syms.
832 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
834         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
835         <stdint.h>.
837 2012-10-06  David S. Miller  <davem@davemloft.net>
839         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
840         upper 32-bits of the length value in %o2 since we use branch-on-register
841         tests which consider the entire 64-bit register.
843 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
845         * string/test-strstr.c (check2): Add a test for page boundary.
847 2012-10-05  David S. Miller  <davem@davemloft.net>
849         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
850         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
851         file.
852         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
853         sysdep_routines.
854         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
855         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
856         and bzero when HWCAP_SPARC_CRYPTO is present.
858 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
860         [BZ #14602]
861         * string/test-strstr.c (check2): New function.
862         (test_main): Call check2.
864         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
865         and bug-strchr1.
866         * string/bug-strcasestr1.c (do_test): Moved to ...
867         * string/test-strcasestr.c (check1): Here.  New function.
868         (do_one_test): Break out result checking code into ...
869         (check_result): This.  New function.
870         (do_one_test): Call check_result.
871         (test_main): Call check1.
872         * string/bug-strchr1.c (do_test): Moved to ...
873         * string/test-strchr.c (check1): Here.  New function.
874         (do_one_test): Break out result checking code into ...
875         (check_result): This.  New function.
876         (do_one_test): Call check_result.
877         (test_main): Call check1.
878         * string/bug-strstr1.c (main): Moved to ...
879         * string/test-strchr.c (check1): Here.  New function.
880         (do_one_test): Break out result checking code into ...
881         (check_result): This.  New function.
882         (do_one_test): Call check_result.
883         (test_main): Call check1.
884         * string/bug-strcasestr1.c: Removed.
885         * string/bug-strchr1.c: Likewise.
886         * string/bug-strstr1.c: Likewise.
888         * elf/Makefile (dl-routines): Add hwcaps.
889         * elf/dl-support.c (_dl_important_hwcaps): Removed.
890         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
891         (_dl_important_hwcaps): Moved to ...
892         * elf/dl-hwcaps.c: Here.  New file.
893         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
895         [BZ #14557]
896         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
897         if IS_IN_rtld isn't defined.
899         * elf/dl-support.c (_dl_sysinfo_map): New.
900         Include "get-dynamic-info.h" and "setup-vdso.h".
901         (_dl_non_dynamic_init): Call setup_vdso.
902         * elf/dynamic-link.h: Don't include <assert.h>.
903         (elf_get_dynamic_info): Moved to ...
904         * elf/get-dynamic-info.h: Here.  New file.
905         * elf/dynamic-link.h: Include "get-dynamic-info.h".
906         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
907         * elf/setup-vdso.h: Here.  New file.
908         * elf/rtld.c: Include "setup-vdso.h".
909         (dl_main): Call setup_vdso.
911 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
913         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
914         creal in comment listing functions tested.  List finite, isinf,
915         isnan, isless, islessequal, isgreater, isgreaterequal,
916         islessgreater, isunordered, lgamma_r and pow10 as functions and
917         macros not tested.  Mention which functions not tested are aliases
918         for other functions.  Fix typo.  Note that signs of NaNs are not
919         tested.
921         * scripts/config.guess: Update from config.git.
922         * scripts/config.sub: Likewise.
924 2012-10-04  Roland McGrath  <roland@hack.frob.com>
926         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
927         * misc/madvise.c (madvise): Renamed to __madvise.
928         Make madvise a weak alias.
929         * include/sys/mman.h: Declare __madvise.
930         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
931         * sysdeps/unix/syscalls.list
932         (madvise): Make __madvise the strong name, and madvise a weak alias.
933         * sysdeps/unix/sysv/linux/syscalls.list
934         (madvise, mmap): Remove redundant entries.
935         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
936         * malloc/malloc.c (mtrim): Likewise.
937         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
939 2012-10-03  Roland McGrath  <roland@hack.frob.com>
941         * sysdeps/mach/hurd/dl-cache.c: File removed.
942         * config.h.in (USE_LDCONFIG): New #undef.
943         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
944         * configure: Regenerated.
945         * elf/Makefile (dl-routines): Add dl-cache only under
946         [$(use-ldconfig) = yes].
947         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
948         cache on [USE_LDCONFIG].
949         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
950         [USE_LDCONFIG].
951         * elf/rtld.c (dl_main): Likewise.
953 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
955         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
956         _SC_LEVEL4_CACHE_LINESIZE.
958 2012-10-03  Roland McGrath  <roland@hack.frob.com>
960         * sysdeps/unix/bsd/confstr.h: File removed.
962 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
964         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
965         sys/sdt-config.h.
967 2012-10-02  Roland McGrath  <roland@hack.frob.com>
969         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
970         Make 'mapoff' field ElfW(Off) rather than off_t.
972 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
974         * nscd/Makefile: Remove nscd-cflags and all its users.
975         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
976         (CFLAGS-nonlib): Add compiler flags for nscd modules.
978         [BZ #10631]
979         * malloc.c (malloc_printerr): Clarify error message.
981 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
983         [BZ #14648]
984         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
985         Set bit_FMA_Usable if FMA is supported.
986         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
987         macro.
988         (bit_FMA4_Usable): Updated.
989         (index_FMA_Usable): New macro.
990         (CPUID_FMA): Likewise
991         (HAS_FMA): Defined with bit_FMA_Usable.
993 2012-10-01  Roland McGrath  <roland@hack.frob.com>
995         * bits/types.h (__swblk_t): Type removed.
996         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
997         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
998         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
999         (__SWBLK_T_TYPE): Likewise.
1000         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1001         (__SWBLK_T_TYPE): Likewise.
1002         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1003         (__SWBLK_T_TYPE): Likewise.
1004         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1005         (__SWBLK_T_TYPE): Likewise.
1007 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
1008             Honza Horak <hhorak@redhat.com>
1010         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
1011         (xdr_mapname): Use YPMAXMAP as maxsize.
1012         (xdr_peername): Use YPMAXPEER as maxsize.
1013         (xdr_keydat): Use YPAXRECORD as maxsize.
1014         (xdr_valdat): Use YPMAXRECORD as maxsize.
1016 2012-10-01  Roland McGrath  <roland@hack.frob.com>
1018         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
1020         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
1021         * csu/init-first.c: ... here.
1022         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
1023         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1024         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1025         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1026         * sysdeps/i386/init-first.c: File removed.
1027         * sysdeps/sh/init-first.c: File removed.
1029 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
1031         [BZ #14645]
1032         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
1033         if x * y might underflow to zero and z is zero.
1034         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1035         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1036         * math/libm-test.inc (min_subnorm_value): New variable.
1037         (fma_test): Add more tests.
1038         (fma_test_towardzero): Likewise.
1039         (fma_test_downward): Likewise
1040         (fma_test_upward): Likewise.
1041         (initialize): Set min_subnorm_value.
1043 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
1045         [BZ #14638]
1046         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
1047         0 + 0.
1048         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
1049         mode for addition resulting in exact zero.
1050         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
1051         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
1052         exact 0 + 0.
1053         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1054         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1055         * math/libm-test.inc (fma_test): Add more tests.
1056         (fma_test_towardzero): New function.
1057         (fma_test_downward): Likewise.
1058         (fma_test_upward): Likewise.
1059         (main): Call the new functions.
1061 2012-09-28  David S. Miller  <davem@davemloft.net>
1063         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
1065 2012-09-28  Roland McGrath  <roland@hack.frob.com>
1067         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
1068         instead of SIGALRM.
1070         * sysdeps/gnu/_G_config.h: Moved to ...
1071         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
1072         * sysdeps/mach/hurd/_G_config.h: Moved to ...
1073         * sysdeps/generic/_G_config.h: ... here.
1075         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
1077         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
1079         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
1080         Conditionalize target on [libnss_test1.so-version].
1082         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
1084         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
1085         (elfobjdir): Move out of conditionals.
1087         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
1088         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
1089         (__nss_lookup_function): Conditionalize label remove_from_tree on
1090         [!DO_STATIC_NSS || SHARED], matching its only use.
1092 2012-09-28  David S. Miller  <davem@davemloft.net>
1094         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
1095         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
1096         file.
1097         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1098         sysdep_routines.
1099         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1100         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
1101         when HWCAP_SPARC_CRYPTO is present.
1103 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
1105         * io/tst-mknodat.c: Create a FIFO instead of a socket.
1107 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
1109         [BZ #6530]
1110         * stdio-common/vfprintf.c (process_string_arg): Revert
1111         2000-07-22 change.
1113 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
1115         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
1116         for testcase.
1117         * stdio-common/tst-sprintf.c: Include <locale.h>
1118         (main): Test sprintf's handling of incomplete multibyte
1119         characters.
1121 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
1123         * elf/dl-runtime.c (VERSYMIDX): Removed.
1124         * elf/dl-version.c (VERSYMIDX): Likewise.
1125         * elf/do-rel.h (VERSYMIDX): Likewise.
1126         (VALIDX): Likewise.
1127         * elf/dynamic-link.h (VERSYMIDX): Likewise.
1128         * elf/rtld.c (VALIDX): Likewise.
1129         (ADDRIDX): Likewise.
1130         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
1131         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
1132         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
1133         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
1134         (VALIDX): Likewise.
1135         (ADDRIDX): Likewise.
1137 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
1139         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
1141 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
1143         [BZ #11438]
1144         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
1145         to global scope.
1146         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
1147         addresses are in the same scope as 192.0.2/24.
1148         * posix/gai.conf: Document new scope table defaults.
1150 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1152         [BZ #5298]
1153         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
1154         for ftell.  Compute offsets from write pointers instead.
1155         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1157 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1159         [BZ #14543]
1160         * libio/Makefile (tests): New test case tst-fseek.
1161         * libio/tst-fseek.c: New test case to verify that fseek/ftell
1162         combination works in wide mode.
1163         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
1164         state when the external buffer state changes.
1166 2012-09-27  David S. Miller  <davem@davemloft.net>
1168         [BZ #14376]
1169         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
1170         pass reloc->r_addend in as the 'high' argument to
1171         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
1173         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1175 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
1177         * rt/tst-aio2.c: Include <pthread.h>.
1178         * rt/tst-aio3.c: Likewise.
1180 2012-09-27  Steve Ellcey  <sellcey@mips.com>
1182         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
1184 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
1186         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
1187         contents on [SHARED].
1189 2012-09-26  Marek Polacek  <polacek@redhat.com>
1191         [BZ #14530]
1192         [BZ #13741]
1193         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
1194         for C++ and GCC <4.3 as well as for non GCC compilers.
1196 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
1198         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1200 2012-09-25  Roland McGrath  <roland@hack.frob.com>
1202         * Makefile.in (all, install): Declare with .PHONY.
1203         Reported by Michael Hope <michael.hope@linaro.org>.
1205 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1207         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
1208         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
1209         system header.
1210         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
1211         Likewise.
1212         (sydep_routines): Add the new and the internal functions.
1213         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
1214         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
1215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
1216         (GLIBC_2.17): Add the new function.
1217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1218         (GLIBC_2.17): Likewise.
1219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1220         (GLIBC_2.17): Likewise.
1221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
1222         (GLIBC_2.17): Likewise.
1223         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
1225 2012-09-25  Alan Modra  <amodra@gmail.com>
1227         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
1228         Add release barrier before setting once_control to say
1229         initialisation is done.  Add hints on lwarx.  Use macro in
1230         place of isync.
1231         (clear_once_control): Add release barrier.
1233 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
1235         [BZ #13629]
1236         * math/s_clog.c (__clog): Handle more values close to |z| = 1
1237         specially.
1238         * math/s_clog10.c (__clog10): Likewise.
1239         * math/s_clog10f.c (__clog10f): Likewise.
1240         * math/s_clog10l.c (__clog10l): Likewise.
1241         * math/s_clogf.c (__clogf): Likewise.
1242         * math/s_clogl.c (__clogl): Likewise.
1243         * math/Makefile (libm-calls): Add x2y2m1.
1244         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
1245         (__x2y2m1): Likewise.
1246         (__x2y2m1l): Likewise.
1247         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
1248         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
1249         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1250         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1251         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1252         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
1253         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
1254         * sysdeps/i386/fpu/libm-test-ulps: Update.
1255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1257         [BZ #14621]
1258         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
1259         int as type of variable DEPTH.
1260         (glob): Use size_t instead of int as type of variables NEWCOUNT
1261         and OLD_PATHC.
1263 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
1265         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1266         Add s_sincosf-sse2.
1267         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
1268         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
1269         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
1270         macros for using routine as __sincosf_ia32.
1271         Use macro for function declaration and weak_alias.
1272         * sysdeps/i386/fpu/libm-test-ulps: Update.
1274         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
1275         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1277         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
1278         subnormal argument.
1279         * math/s_cexpf.c (__cexpf): Likewise.
1280         * math/s_csinf.c (__csinf): Likewise.
1281         * math/s_csinhf.c (__csinhf): Likewise.
1282         * math/s_ctanf.c (__ctanf): Likewise.
1283         * math/s_ctanhf.c (__ctanhf): Likewise.
1284         * math/s_ccosh.c (__ccoshf): Likewise.
1285         * math/s_cexp.c (__cexpl): Likewise.
1286         * math/s_csin.c (__csin): Likewise.
1287         * math/s_csinh.c (__csinh): Likewise.
1288         * math/s_ctan.c (__ctan): Likewise.
1289         * math/s_ctanh.c (ctanh): Likewise.
1290         * math/s_ccoshl.c (__ccoshl): Likewise.
1291         * math/s_cexpl.c (__cexpl): Likewise.
1292         * math/s_csinl.c (__csinl): Likewise.
1293         * math/s_csinhl.c (__csinhl): Likewise.
1294         * math/s_ctanl.c (__ctanl): Likewise.
1295         * math/s_ctanhl.c (__ctanhl): Likewise.
1297 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
1299         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
1300         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
1301         (_IO_off_t): Define to __off_t, not _G_off_t.
1302         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
1303         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
1304         (_IO_wint_t): Define to wint_t, not _G_wint_t.
1305         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
1306         type of __dummy and __dummy2 fields.
1307         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
1308         (_G_ssize_t): Likewise.
1309         (_G_off_t): Likewise.
1310         (_G_pid_t): Likewise.
1311         (_G_uid_t): Likewise.
1312         (_G_wchar_t): Likewise.
1313         (_G_wint_t): Likewise.
1314         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
1315         (_G_ssize_t): Likewise.
1316         (_G_off_t): Likewise.
1317         (_G_pid_t): Likewise.
1318         (_G_uid_t): Likewise.
1319         (_G_wchar_t): Likewise.
1320         (_G_wint_t): Likewise.
1321         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
1322         (_G_ssize_t): Likewise.
1323         (_G_off_t): Likewise.
1324         (_G_pid_t): Likewise.
1325         (_G_uid_t): Likewise.
1326         (_G_wchar_t): Likewise.
1327         (_G_wint_t): Likewise.
1329 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1331         * malloc/arena.c: Include malloc-sysdep.h.
1332         (shrink_heap): Use check_may_shrink_heap to decide if madvise
1333         is sufficient to shrink the heap or an unmap is needed.
1334         * sysdeps/generic/malloc-sysdep.h: New file.  Define
1335         new function check_may_shrink_heap.
1336         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
1337         new function check_may_shrink_heap.
1339 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1341         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
1342         comments.
1344 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
1346         * catgets/test-gencat.sh: Add "set -e".
1347         * elf/tst-pathopt.sh: Likewise.
1348         * grp/tst_fgetgrent.sh: Likewise.
1349         * iconvdata/run-iconv-test.sh: Likewise.
1350         * intl/tst-gettext.sh: Likewise.
1351         * intl/tst-gettext2.sh: Likewise.
1352         * intl/tst-gettext4.sh: Likewise.
1353         * intl/tst-gettext6.sh: Likewise.
1354         * intl/tst-translit.sh: Likewise.
1355         * io/ftwtest-sh: Likewise.
1356         * libio/test-freopen.sh: Likewise.
1357         * malloc/tst-mtrace.sh: Likewise.
1358         * posix/globtest.sh: Likewise.
1359         * posix/tst-getconf.sh: Likewise.
1360         * posix/wordexp-tst.sh: Likewise.
1361         * stdio-common/tst-printf.sh: Likewise.
1362         * stdio-common/tst-unbputc.sh: Likewise.
1363         * stdlib/tst-fmtmsg.sh: Likewise.
1364         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1365         * catgets/Makefile: Do not specify -e option when running
1366         testsuite shell scripts.
1367         * elf/Makefile: Likewise.
1368         * grp/Makefile: Likewise.
1369         * iconvdata/Makefile: Likewise.
1370         * intl/Makefile: Likewise.
1371         * io/Makefile: Likewise.
1372         * libio/Makefile: Likewise.
1373         * malloc/Makefile: Likewise.
1374         * posix/Makefile: Likewise.
1375         * stdio-common/Makefile: Likewise.
1376         * stdlib/Makefile: Likewise.
1377         * sysdeps/x86_64/Makefile: Likewise.
1379         * io/ftwtest-sh: Add copyright header.
1380         * posix/globtest.sh: Likewise.
1381         * posix/tst-getconf.sh: Likewise.
1382         * posix/wordexp-tst.sh: Likewise.
1383         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1385 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
1387         [BZ #13679]
1388         * Makeconfig (+link): Defined as $(+link-static) if
1389         $(build-shared) isn't yes.
1390         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
1391         isn't yes.
1392         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
1394         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
1396         [BZ #14562]
1397         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
1398         new chunk size with MALLOC_ALIGN_MASK.
1400 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
1402         [BZ #5044]
1403         * stdio-common/printf_fphex.c: Include <stdbool.h> and
1404         <rounding-mode.h>.
1405         (__printf_fphex): Determine rounding using get_rounding_mode and
1406         round_away.
1407         * stdio-common/tst-printf-round.c (struct hex_test): New
1408         structure.
1409         (hex_tests): New variable.
1410         (test_hex_in_one_mode): New function.
1411         (do_test): Also run tests for hex float output.
1413 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
1415         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1416         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1417         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
1418         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1419         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1420         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
1421         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1422         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1424 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
1426         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
1427         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
1428         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
1429         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
1431 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
1433         [BZ #14579]
1434         * elf/rtld.c (dl_main): Limit the check for self loading to normal
1435         mode only.
1436         * elf/tst-rtld-load-self.sh: New test.
1437         * elf/Makefile: Run it.
1439 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
1441         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
1442         (tst-writev-ENV): Remove.
1443         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
1445 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
1447         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
1449 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
1451         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
1452         unconditional.
1453         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
1454         Likewise.
1455         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
1456         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
1457         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1458         Likewise.
1460 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
1462         [BZ #14587]
1463         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
1464         * config.make.in (have-cpp-asm-debuginfo): Removed.
1465         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
1466         * configure: Regenerated.
1468 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
1470         [BZ #5044]
1471         * stdio-common/printf_fp.c: Include <stdbool.h> and
1472         <rounding-mode.h>.
1473         (___printf_fp): Determine rounding using get_rounding_mode and
1474         round_away.
1475         * stdio-common/tst-printf-round.c: New file.
1476         * stdio-common/Makefile (tests): Add tst-printf-round.
1477         (link-libm): New variable.
1478         ($(objpfx)tst-printf-round): Depend in $(link-libm).
1480 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
1482         [BZ #14576]
1483         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
1484         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
1485         Likewise.
1486         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
1487         Likewise.
1489 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
1491         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
1492         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1493         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1494         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1496 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
1498         [BZ #14518]
1499         * include/rounding-mode.h: New file.
1500         * sysdeps/generic/get-rounding-mode.h: Likewise.
1501         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
1502         * stdlib/strtod_l.c: Include <rounding-mode.h>.
1503         (MAX_VALUE): New macro.
1504         (MIN_VALUE): Likewise.
1505         (overflow_value): New function.
1506         (underflow_value): Likewise.
1507         (round_and_return): Use overflow_value and underflow_value to
1508         determine return values in overflow and underflow cases.  Use
1509         round_away to determine rounding depending on rounding mode.
1510         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
1511         determine return values in overflow and underflow cases.
1512         * stdlib/tst-strtod-round.c: Include <fenv.h>.
1513         (struct test_results): New structure.
1514         (struct test): Use struct test_results to store expected results
1515         for all rounding modes.
1516         (TEST): Include expected results for all rounding modes.
1517         (test_in_one_mode): New function.
1518         (do_test): Use test_in_one_mode to compute and check results.
1519         Check results for all rounding modes.
1520         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
1521         $(link-libm).
1523 2012-12-09  Allan McRae  <allan@archlinux.org>
1525         * sysdeps/i386/fpu/libm-test-ulps: Update
1527 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
1529         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
1530         (_G_int32_t): Likewise.
1531         (_G_uint16_t): Likewise.
1532         (_G_uint32_t): Likewise.
1533         (_G_HAVE_BOOL): Likewise.
1534         (_G_HAVE_ATEXIT): Likewise.
1535         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1536         (_G_HAVE_IO_FILE_OPEN): Likewise.
1537         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
1538         (_G_int32_t): Likewise.
1539         (_G_uint16_t): Likewise.
1540         (_G_uint32_t): Likewise.
1541         (_G_HAVE_BOOL): Likewise.
1542         (_G_HAVE_ATEXIT): Likewise.
1543         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1544         (_G_HAVE_IO_FILE_OPEN): Likewise.
1545         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
1546         (_G_int32_t): Likewise.
1547         (_G_uint16_t): Likewise.
1548         (_G_uint32_t): Likewise.
1549         (_G_HAVE_BOOL): Likewise.
1550         (_G_HAVE_ATEXIT): Likewise.
1551         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1552         (_G_HAVE_IO_FILE_OPEN): Likewise.
1554 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
1556         * csu/libc-tls.c: Update copyright years.
1558 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
1560         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
1561         [!_G_USING_THUNKS]: Remove conditional code.
1562         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
1563         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
1565         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
1566         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
1567         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1568         (_G_VTABLE_LABEL_PREFIX): Likewise.
1569         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1570         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1571         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1572         (_G_VTABLE_LABEL_PREFIX): Likewise.
1573         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1574         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1575         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1576         (_G_VTABLE_LABEL_PREFIX): Likewise.
1577         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1579 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
1581         * libio/Makefile: Include ../Makeconfig before tests.
1582         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
1583         only if $(build-shared) is yes.
1585         * iconv/gconv_db.c: Update copyright years.
1587 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
1589         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
1590         unwind info if defined PIC. Fix special cases description.
1591         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
1593         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
1594         DP_HI_MASK entry.
1595         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
1597 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
1599         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
1601         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
1602         is NULL.
1604         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
1605         (LDLIBS-tst-chk4): This.
1606         (LDFLAGS-tst-chk5): Renamed to ...
1607         (LDLIBS-tst-chk5): This.
1608         (LDFLAGS-tst-chk6): Renamed to ...
1609         (LDLIBS-tst-chk6): This.
1610         (LDFLAGS-tst-lfschk4): Renamed to ...
1611         (LDLIBS-tst-lfschk4): This.
1612         (LDFLAGS-tst-lfschk5): Renamed to ...
1613         (LDLIBS-tst-lfschk5): This.
1614         (LDFLAGS-tst-lfschk6): Renamed to ...
1615         (LDLIBS-tst-lfschk6): This.
1617         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
1618         on $(common-objpfx)soversions.mk.
1620 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
1622         [BZ #10014]
1623         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
1624         example host name.
1626 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
1628         * malloc/arena.c (arena_get_retry): New function that gets
1629         another arena for the caller to try its request on.
1630         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
1631         current arena cannot fulfill the request.
1632         (__libc_memalign): Likewise.
1633         (__libc_memalign): Likewise.
1634         (__libc_pvalloc): Likewise.
1635         (__libc_calloc): Likewise.
1637 2012-09-05  John Tobey  <john.tobey@gmail.com>
1639         [BZ #13542]
1640         * manual/arith.texi (Operations on Complex): Fix description
1641         of carg branch cut.
1643 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
1645         [BZ #10014]
1646         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
1647         host name.
1649         [BZ #10038]
1650         * manual/memory.texi (Memory): Make order of menu items match
1651         order of sections.
1653 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
1655         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
1656         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
1657         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
1659 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
1661         * csu/libc-tls.c (static_dtv): Renamed to ...
1662         (_dl_static_dtv): This.  Make it global.
1663         (_dl_initial_dtv): Removed.
1664         (__libc_setup_tls): Updated.
1665         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
1666         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
1667         DL_INITIAL_DTV.
1669 2012-09-06  Petr Machata  <pmachata@redhat.com>
1671         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
1672         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
1673         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
1674         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
1676 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
1678         [BZ #14545]
1679         * csu/libc-tls.c (_dl_initial_dtv): New variable.
1680         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
1681         freeing dtv[-1].
1683 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
1685         [BZ #14544]
1686         * Makeconfig (link-static-before-libc): Replace $(+prector)
1687         with $(+prectorT).
1688         (link-static-after-libc): Replace $(+postctor) with
1689         $(+postctorT).
1690         (link-bounded): Replace $(+prector)/$(+postctor) with
1691         $(+prectorT)/$(+postctorT).
1692         (+prectorT): New macro.
1693         (+postctorT): Likewise.
1695 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
1697         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
1698         (round_str): Handle values above the maximum for IBM long double
1699         as inexact.
1700         * stdlib/tst-strtod-round.c (tests): Regenerated.
1702 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1704         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
1705         assembler flag.
1706         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
1707         zarch_nohighgprs around the zarch optimized routines.
1708         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1709         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1710         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
1711         for zarch.
1713 2012-09-05  David S. Miller  <davem@davemloft.net>
1715         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1717         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
1718         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
1719         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
1720         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1721         entries.
1723 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
1725         * malloc/arena.c: Fold copyright years.
1726         * malloc/mcheck.c, malloc/memusage.c: Likewise.
1728 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
1730         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
1732 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
1734         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
1736 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
1738         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
1739         change internal state upon failure.
1741 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
1743         * malloc/mcheck.c (mcheck_check_all): Fix typo.
1744         * malloc/memusage.c (mmap): Likewise.
1745         (mmap64, mremap): Likewise.  Adjust name in comment.
1747 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
1749         * libio/fileops.c: Fix typos in comments.
1750         * libio/oldfileops.c: Likewise.
1751         * libio/wfileops.c: Likewise.
1753 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
1755         [BZ #1349]
1756         * malloc/Makefile (tests): Add tst-malloc-usable test case.
1757         (tst-malloc-usable-ENV): Set environment for test case.
1758         * malloc/hooks.c (malloc_check_get_size): New function to get
1759         requested size.
1760         * malloc/malloc.c (musable): Use malloc_check_get_size.
1761         * malloc/tst-malloc-usable.c: New test case.
1763 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
1765         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
1767 2012-09-05  Allan McRae  <allan@archlinux.org>
1769         [BZ #13966]
1770         * configure.in (CXX_SYSINCLUDES): Use compiler output to
1771         determine header location.
1772         * configure: Regenerated.
1774 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
1776         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
1777         float format.
1778         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
1779         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
1780         format.
1781         (test): Regenerate.
1783 2012-09-04  David S. Miller  <davem@davemloft.net>
1785         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
1786         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
1787         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
1789 2012-09-04  Florian Weimer  <fweimer@redhat.com>
1791         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
1792         failures.
1794         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
1796 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
1798         [BZ #9914]
1799         * libio/iogetdelim.c: Include <limits.h>.
1800         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
1801         + len + 1 would overflow.
1803 2012-09-03  Andreas Jaeger  <aj@suse.de>
1805         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1806         * sysdeps/i386/fpu/libm-test-ulps: Update.
1808 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
1810         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1811         Add s_sinf-sse2, s_conf-sse2.
1813         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
1814         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
1815         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
1816         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
1818         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
1819         for using routine as __sinf_ia32.
1820         Use macro for function declaration and weak_alias.
1821         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
1822         for using routine as __cosf_ia32.
1823         Use macro for function declaration and weak_alias.
1825         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
1826         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
1828         * sysdeps/x86_64/fpu/s_sinf.S: New file.
1829         * sysdeps/x86_64/fpu/s_cosf.S: New file.
1830         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1832         * math/libm-test.inc (cos_test): Add more test cases.
1833         (sin_test): Likewise.
1834         (sincos_test): Likewise.
1836 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1838         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1839         (IFUNC_RESOLVE): Make pointers to the specialized implementations
1840         hidden.
1841         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1843 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
1845         [BZ #14538]
1846         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
1847         first element of the GOT.
1848         (elf_machine_load_address): Return the difference between
1849         the runtime address of _DYNAMIC and elf_machine_dynamic ().
1851 2012-09-01  Allan McRae  <allan@archlinux.org>
1853         [BZ #13412]
1854         * configure.in (AWK): Require gawk version 3.0 or later.
1855         * configure: Regenerated.
1857 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
1859         * sysdeps/unix/sysv/linux/kernel-features.h
1860         (__ASSUME_POSIX_CPU_TIMERS): Remove.
1861         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1862         [__NR_clock_getres]: Make code unconditional.
1863         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
1864         (clock_getcpuclockid): Remove code left unreachable by removal of
1865         conditionals.
1866         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
1867         code unconditional.
1868         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1869         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1870         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
1871         Make code unconditional.
1872         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1873         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1874         * sysdeps/unix/sysv/linux/clock_settime.c
1875         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
1876         conditional code.
1877         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
1878         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1880 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
1882         [BZ #14476]
1883         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
1884         scripts/test-installation.pl.
1886         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
1887         and $ld_so_version if it is set.
1889 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1891         [BZ #14516]
1892         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
1893         failure if reading from procfs failed.
1894         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
1896 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
1898         * sysdeps/unix/sysv/linux/kernel-features.h
1899         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
1900         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1901         Remove conditional code.
1902         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1903         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
1904         Remove conditional code.
1905         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1906         * sysdeps/unix/sysv/linux/i386/fxstat.c
1907         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1908         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1909         * sysdeps/unix/sysv/linux/i386/fxstatat.c
1910         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1911         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1912         * sysdeps/unix/sysv/linux/i386/lxstat.c
1913         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1914         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1915         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
1916         Remove conditional code.
1917         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1918         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1919         Remove conditional code.
1920         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1921         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
1922         <kernel-features.h>.
1923         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
1924         Remove.
1925         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
1926         Remove conditional code.
1927         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1928         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
1929         Remove conditional.
1931 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
1933         [BZ #5400]
1934         * NEWS: Add fixed bug number.
1936 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
1938         [BZ #14519]
1939         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
1940         underflowing exponent in case of negative sign.
1941         * stdlib/tst-strtod-round-data: Add more tests.
1942         * stdlib/tst-strtod-round.c (tests): Regenerated.
1944         [BZ #3479]
1945         * stdlib/strtod_l.c (NDIG): Remove.
1946         (HEXNDIG): Likewise.
1947         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
1948         smallest representable value.
1949         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
1950         lie within an exact representation of 1/2 ulp of the result.
1951         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
1952         unconditionally.
1953         (TENS_P9_IDX): Define unconditionally.
1954         (TENS_P9_SIZE): Likewise.
1955         (TENS_P10_IDX): Likewise.
1956         (TENS_P10_SIZE): Likewise.
1957         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
1958         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
1959         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
1960         entries for 10^2^13 and 10^2^14.
1961         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
1962         (TENS_P13_IDX): Define.
1963         (TENS_P13_SIZE): Likewise.
1964         (TENS_P14_IDX): Likewise.
1965         (TENS_P14_SIZE): Likewise.
1966         (_fpioconst_pow10): Change array size to
1967         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
1968         unconditional.
1969         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
1970         1024]: Add entries for 10^2^13 and 10^2^14.
1971         [LAST_POW10 > _LAST_POW10]: Remove #error.
1972         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
1973         (_fpioconst_pow10): Change array size to
1974         FPIOCONST_POW10_ARRAY_SIZE.
1975         * stdlib/gen-fpioconst.c: New file.
1976         * stdlib/gen-tst-strtod-round.c: Likewise.
1977         * stdlib/tst-strtod-round-data: Likewise.
1978         * stdlib/tst-strtod-round.c: Likewise.
1979         * stdlib/Makefile (tests): Add tst-strtod-round.
1981         [BZ #14459]
1982         * stdlib/strtod_l.c: Include <stdint.h>.
1983         (NDEBUG): Do not define.
1984         (round_and_return): Change EXPONENT parameter to type intmax_t.
1985         Rearrange calculations to avoid internal overflow possibilities.
1986         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
1987         Rearrange calculations to avoid internal overflow possibilities.
1988         Assert that number fits inside MPNSIZE limbs.
1989         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
1990         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
1991         calculations and add assertions to avoid internal overflow
1992         possibilities.  Add casts to avoid signed/unsigned operations.
1993         * stdlib/tst-strtod-overflow.c: New file.
1994         * stdlib/Makefile (tests): Add tst-strtod-overflow.
1996 2012-08-25  Marek Polacek  <polacek@redhat.com>
1998         * time/time.h: Fix some typos in comments.
2000 2012-08-23  Roland McGrath  <roland@hack.frob.com>
2002         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
2003         * posix/tst-rfc3484-2.c: Likewise.
2004         * posix/tst-rfc3484-3.c: Likewise.
2006 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
2008         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
2009         (EF_ARM_ABI_FLOAT_HARD): Likewise.
2011 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
2013         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
2014         #include of fxstatat64.c.
2016 2012-08-22  Roland McGrath  <roland@hack.frob.com>
2018         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
2019         * shadow/getspent_r.c: Likewise.
2020         * shadow/getspnam.c: Likewise.
2021         * shadow/getspnam_r.c: Likewise.
2022         * gshadow/getsgent.c: Likewise.
2023         * gshadow/getsgent_r.c: Likewise.
2024         * gshadow/getsgnam.c: Likewise.
2025         * gshadow/getsgnam_r.c: Likewise.
2026         * inet/getnetbyad.c: Likewise.
2027         * inet/getnetbyad_r.c: Likewise.
2028         * inet/getnetbynm.c: Likewise.
2029         * inet/getnetbynm_r.c: Likewise.
2030         * inet/getnetent.c: Likewise.
2031         * inet/getnetent_r.c: Likewise.
2032         * inet/getproto.c: Likewise.
2033         * inet/getproto_r.c: Likewise.
2034         * inet/getprtent.c: Likewise.
2035         * inet/getprtent_r.c: Likewise.
2036         * inet/getprtname.c: Likewise.
2037         * inet/getprtname_r.c: Likewise.
2038         * inet/getrpcbyname.c: Likewise.
2039         * inet/getrpcbyname_r.c: Likewise.
2040         * inet/getrpcbynumber.c: Likewise.
2041         * inet/getrpcbynumber_r.c: Likewise.
2042         * inet/getrpcent.c: Likewise.
2043         * inet/getrpcent_r.c: Likewise.
2044         * inet/getaliasent.c: Likewise.
2045         * inet/getaliasent_r.c: Likewise.
2046         * inet/getaliasname.c: Likewise.
2047         * inet/getaliasname_r.c: Likewise.
2048         * nscd/getgrgid_r.c: Likewise.
2049         * nscd/getgrnam_r.c: Likewise.
2050         * nscd/gethstbyad_r.c: Likewise.
2051         * nscd/gethstbynm3_r.c: Likewise.
2052         * nscd/getpwnam_r.c: Likewise.
2053         * nscd/getpwuid_r.c: Likewise.
2054         * nscd/getsrvbynm_r.c: Likewise.
2055         * nscd/getsrvbypt_r.c: Likewise.
2056         * nscd/gai.c: Likewise.
2058         * configure.in (build_nscd): New substituted variable, set
2059         by --disable-build-nscd and defaults to $use_nscd.
2060         * configure: Regenerated.
2061         * config.make.in (build-nscd): New substituted variable.
2062         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
2063         Change conditional to require [$(build-nscd) = yes] as well.
2064         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
2066         [BZ# 13696]
2067         * configure.in (use_nscd): New substituted variable, set by
2068         --disable-nscd.  If enabled, define USE_NSCD.
2069         * configure: Regenerated.
2070         * config.h.in: Add USE_NSCD.
2071         * config.make.in (use-nscd): New substituted variable.
2072         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
2073         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
2074         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
2075         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
2076         (CFLAGS-getgrnam_r.c): Likewise.
2077         (CFLAGS-initgroups.c): Likewise.
2078         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
2079         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
2080         Variables removed.
2081         * inet/getnetgrent_r.c
2082         (nscd_setnetgrent): New function, broken out of ...
2083         (setnetgrent): ... here.  Call it.
2084         (innetgr): Conditionalize nscd bits on [USE_NSCD].
2085         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
2086         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
2087         * nscd/Makefile (routines, aux): Move definitions after include of
2088         Makeconfig.  Conditionalize on [$(use-nscd) != no].
2089         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
2090         Conditionalize on [USE_NSCD].
2091         (is_nscd, nscd_init_cb): Likewise.
2092         (nss_load_library): Conditionalize init callback on [USE_NSCD].
2093         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
2094         * nss/nss_db/db-init.c: Likewise.
2095         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
2096         [USE_NSCD].
2097         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
2098         (make_request): Use it.
2099         (cache_valid_p): New function.
2100         (__check_pf): Use it.
2101         * NEWS: Add item for --disable-nscd.
2103 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
2105         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
2106         to support sed >= 4.2.1-20-ga9bf076.
2107         * configure: Regenerated.
2109 2012-08-22  Roland McGrath  <roland@hack.frob.com>
2111         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
2112         Conditionalize whole body on [IREL].
2114 2012-08-22  Jeff Law <law@redhat.com>
2116         [BZ #14505]
2117         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
2118         if the family is PF_UNSPEC.
2120 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
2122         * Makerules (lib-version): Rename from V.
2123         (install-lib-nosubdir): Change V to lib-version.
2125 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
2127         [BZ #14252]
2128         * powerpc32/power6/wcschr.c: New file.
2129         * powerpc32/power6/wcscpy.c: New file.
2130         * powerpc32/power6/wcsrchr.c: New file.
2131         * powerpc64/power6/wcschr.c: New file.
2132         * powerpc64/power6/wcscpy.c: New file.
2133         * powerpc64/power6/wcsrchr.c: New file.
2135 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
2137         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
2138         (two_way_short_needle): Use it.
2139         * string/strstr.c (AVAILABLE1_USES_J): Define.
2140         * string/strcasestr.c: Likewise.
2142         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
2143         array references.
2144         * string/strcasestr.c (TOLOWER): Make side-effect safe.
2146         [BZ #11607]
2147         * NEWS: Add an entry.
2148         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
2149         define their defaults.
2150         (two_way_short_needle): Detect end-of-string on-the-fly.
2151         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
2152         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
2153         * string/bug-strcasestr1.c: New test.
2154         * string/Makefile: Run it.
2156 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
2158         [BZ #11607]
2159         * string/str-two-way.h (two_way_short_needle): Optimize matching of
2160         the first character.
2162 2012-08-21  Roland McGrath  <roland@hack.frob.com>
2164         * csu/elf-init.c (__libc_csu_irel): Function removed.
2165         * csu/libc-start.c (apply_irel): New function.
2166         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
2168 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
2170         * sysdeps/unix/sysv/linux/kernel-features.h
2171         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
2172         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2173         <kernel-features.h>.
2174         [__NR_fadvise64_64]: Make code unconditional.
2175         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
2176         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2177         !__NR_fadvise64_64)]: Likewise.
2178         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2179         !__NR_fadvise64_64))]: Likewise.
2180         [__NR_fadvise64]: Make code unconditional.
2181         [!__NR_fadvise64]: Remove conditional code.
2182         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
2183         <kernel-features.h>.
2184         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2185         unconditional.
2186         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2187         conditional code.
2188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
2189         not include <kernel-features.h>.
2190         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2191         unconditional.
2192         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2193         conditional code.
2194         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
2195         include <kernel-features.h>.
2196         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2197         unconditional.
2198         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2199         conditional code.
2201 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
2203         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
2204         slight instruction rearrangements per scrollpipe analysis.
2205         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2207 2012-08-20  Roland McGrath  <roland@hack.frob.com>
2209         * manual/syslog.texi (syslog; vsyslog, closelog):
2210         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
2211         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
2213         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
2214         DSOCAPS to match condition on defining it.
2216 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
2218         * sysdeps/unix/sysv/linux/kernel-features.h
2219         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
2220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
2221         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2222         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
2224         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2225         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
2227         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2228         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2230         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
2231         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
2233         * sysdeps/unix/sysv/linux/kernel-features.h
2234         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
2235         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
2236         unconditional.
2237         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2238         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
2239         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2240         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2241         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
2242         Make code unconditional.
2243         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2244         (__mmap64) [!__NR_mmap2]: Likewise.
2245         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
2246         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2247         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2248         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
2249         [__NR_mmap2]: Make code unconditional.
2250         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2251         (__mmap64) [!__NR_mmap2]: Likewise.
2253 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2255         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
2257 2012-08-18  Andreas Jaeger  <aj@suse.de>
2259         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
2261 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
2263         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
2264         * include/unistd.h (__have_sock_cloexec): Likewise.
2265         (__have_pipe2): Likewise.
2266         (__have_dup3): Likewise.
2268 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
2270         [BZ #9685]
2271         * include/unistd.h (__have_pipe2): Change define into an extern int.
2272         (__have_dup3): Likewise.
2273         * socket/have_sock_cloexec.c: Include fcntl.h.
2274         (__have_pipe2): New variable.
2275         (__have_dup3): Likewise.
2277 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
2279         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
2281 2012-08-17  Marek Polacek  <polacek@redhat.com>
2283         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
2284         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
2286 2012-08-17  Roland McGrath  <roland@hack.frob.com>
2288         * configure.in: Add AC_SUBST for sysheaders.
2289         * configure: Regenerated.
2290         * config.make.in (sysheaders): New substituted variable.
2292         * sysdeps/unix/mkfifo.c: Moved ...
2293         * sysdeps/posix/mkfifo.c: ... here.
2294         * sysdeps/unix/mkfifoat.c: Moved ...
2295         * sysdeps/posix/mkfifoat.c: ... here.
2297         * sysdeps/unix/utime.c: Moved ...
2298         * sysdeps/posix/utime.c: ... here.
2300         * sysdeps/unix/time.c: Moved ...
2301         * sysdeps/posix/time.c: ... here.
2302         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
2303         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
2305         * sysdeps/unix/nice.c: Moved ...
2306         * sysdeps/posix/nice.c: ... here.
2308         * sysdeps/unix/alarm.c: Moved ...
2309         * sysdeps/posix/alarm.c: ... here.
2311         * intl/Makefile ($(codeset_mo)): Depend on the input file.
2313 2012-08-17  Jeff Law <law@redhat.com>
2315         * intl/Makefile (codeset_mo): New variable.
2316         ($(codeset_mo)): New target.
2317         (tst-codeset.out): Depend on that.  Remove explicit rule.
2318         (tst-gettext3.out, tst-gettext5.out): Likewise.
2319         (LOCPATH-ENV, tst-codeset-ENV): New variables.
2320         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
2321         * intl/tst-codeset.sh: Remove.
2322         * intl/tst-gettext3.sh: Likewise.
2323         * intl/tst-gettext5.sh: Likewise.
2325 2012-08-17  Roland McGrath  <roland@hack.frob.com>
2327         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
2328         * sysdeps/unix/syscalls.list: ... here.
2330         * sysdeps/posix/getaddrinfo.c
2331         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
2332         (gaiconf_init, gaiconf_reload): Use them.
2333         [!_STATBUF_ST_NSEC]
2334         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
2335         Define using time_t rather than struct timespec.
2337         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
2338         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
2339         Macros removed.
2340         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
2341         [!NO_THREADS].
2342         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
2343         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
2344         Likewise.
2346         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
2347         __libc_cleanup_push argument.
2349         * bits/param.h: New file.
2350         * misc/sys/param.h: New file.
2351         * include/sys/param.h: New file.
2352         * misc/Makefile (headers): Add bits/param.h.
2353         * sysdeps/generic/sys/param.h: File removed.
2354         * sysdeps/unix/sysv/linux/bits/param.h: New file.
2355         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
2356         * sysdeps/mach/hurd/bits/param.h: New file.
2357         * sysdeps/mach/hurd/sys/param.h: New file.
2359         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
2360         last change.
2362         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
2363         [_IO_MTSAFE_IO].
2364         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
2365         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
2366         New macros.
2368         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
2369         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
2370         rather than -D_IO_MTSAFE_IO conditionally.
2371         * stdio-common/Makefile (CPPFLAGS): Likewise.
2372         * wcsmbs/Makefile (CPPFLAGS): Likewise.
2373         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
2374         Use $(libio-mtsafe).
2375         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
2376         of -D_IO_MTSAFE_IO.
2377         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
2378         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
2379         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
2380         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
2381         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
2382         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
2383         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
2384         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
2385         (CFLAGS-fread_u_chk.c): Likewise.
2386         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
2387         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
2388         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
2389         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
2390         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
2391         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
2392         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
2393         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
2394         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
2396         * libio/Makefile: Test [$(libc-reentrant) = yes]
2397         instead of [$(filter %REENTRANT, $(defines)) nonempty].
2399         * Makeconfig
2400         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
2401         * sysdeps/pthread/configure: File removed.
2402         * sysdeps/pthread/Makeconfig: New file.
2403         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
2404         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
2406 2012-08-16  Gary Benson  <gbenson@redhat.com>
2408         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
2409         unmapping the first object in a namespace.
2411 2012-08-16  Roland McGrath  <roland@hack.frob.com>
2413         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
2414         (__internal_setnetgrent): ... this.  Add internal_function to
2415         definition.  Add libc_hidden_def.
2416         (setnetgrent): Update caller.
2417         (internal_endnetgrent): Renamed to ...
2418         (__internal_endnetgrent): ... this.  Add internal_function to
2419         definition.  Add libc_hidden_def.
2420         (endnetgrent): Update caller.
2421         (internal_getnetgrent_r): Renamed to ...
2422         (__internal_getnetgrent_r): ... this.  Add internal_function to
2423         definition.  Add libc_hidden_def.
2424         (__getnetgrent_r): Update caller.
2425         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
2427 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
2429         * stdlib/longlong.h: Update from GCC.
2431 2012-08-16  Roland McGrath  <roland@hack.frob.com>
2433         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
2434         on _QL, which is set by umul_ppmm but never used.
2435         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
2436         variables, which are set by GMP macros but never used.
2437         * stdio-common/_itowa.c (_itowa): Likewise.
2438         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
2439         * stdlib/mod_1.c (mpn_mod_1): Likewise.
2441 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
2443         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
2444         struct La_sh_regs is not constant.
2445         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
2446         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
2447         and struct La_sparc64_regs are not constant.
2449 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
2451         * sysdeps/unix/sysv/linux/kernel-features.h
2452         (__ASSUME_POSIX_TIMERS): Remove.
2453         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2454         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2455         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
2456         Make code unconditional.
2457         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2458         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
2459         Make code unconditional.
2460         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2461         * sysdeps/unix/sysv/linux/clock_nanosleep.c
2462         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
2463         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2464         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
2465         Make code unconditional.
2466         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2467         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
2468         (__libc_missing_posix_timers): Remove.
2470 2012-08-15  Roland McGrath  <roland@hack.frob.com>
2472         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
2473         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
2475         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
2477         * elf/dl-sym.c: Include <stdlib.h>.
2479         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
2480         constants, which avoids warnings in 32-bit builds.
2482         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
2483         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
2485         * misc/lseek.c: File moved to ...
2486         * io/lseek.c: ... here.
2488         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
2490         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
2491         shifting LEN more than 31 bits at once.
2493 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
2495         [BZ #14195]
2496         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
2497         segmentation fault for a case of two empty input strings.
2498         * string/test-strncasecmp.c (check1): Renamed to...
2499         (bz12205): ...this.
2500         (bz14195): Add new testcase for two empty input strings and N > 0.
2501         (test_main): Call new testcase, adapt for renamed function.
2503 2012-08-15  Andreas Jaeger  <aj@suse.de>
2505         [BZ #14090]
2506         * crypt/md5test2.c: New test, based on test supplied by Serge
2507         Belyshev <belyshev@depni.sinp.msu.ru>.
2508         * crypt/Makefile (xtests): Add md5test-giant..
2509         * crypt/Makefile ($(objpfx)md5test-giant): Add.
2511 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
2513         [BZ #14090]
2514         * crypt/md5.c (md5_process_block): Don't assume the buffer
2515         length is less than 2**32.
2516         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
2517         length is less than 2**64.
2519 2012-08-15  Roland McGrath  <roland@hack.frob.com>
2521         * string/str-two-way.h: Include <sys/param.h>.
2522         (MAX): Macro removed.
2524         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
2525         Move #define and #undef of memmove to just before and after
2526         including <string.h>.
2528         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
2529         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
2530         and after including <string.h>.  Move declarations of
2531         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
2532         to before #include "string/memmove.c".
2534         * include/dirent.h: Declare __getdirentries.
2536         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
2537         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
2539 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
2541         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
2542         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
2543         * sysdeps/i386/configure: Regenerated.
2544         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
2545         STABS_CURRENT_FILE, and STABS_FUN.
2546         (END): Remove call to STABS_FUN_END.
2547         (STABS_CURRENT_FILE1): Delete.
2548         (STABS_CURRENT_FILE): Likewise.
2549         (STABS_FUN): Likewise.
2550         (STABS_FUN_END): Likewise.
2551         (STABS_FUN2): Likewise.
2552         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
2553         * sysdeps/x86_64/configure: Regenerated.
2555 2012-08-14  Roland McGrath  <roland@hack.frob.com>
2557         * elf/dl-open.c: Include <atomic.h>.
2558         * elf/dl-lookup.c: Likewise.
2560 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
2562         * sysdeps/unix/sysv/linux/kernel-features.h
2563         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
2564         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
2565         unconditionally.
2566         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
2567         unconditionally.
2568         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
2569         condition on __ASSUME_CLONE_THREAD_FLAGS.
2571 2012-08-14  Andreas Jaeger  <aj@suse.de>
2573         * sysdeps/i386/fpu/libm-test-ulps: Update.
2575 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
2577         * include/atomic.h (atomic_exchange_and_add): Split into ...
2578         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
2579         New atomic macros.
2581 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
2583         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2585 2012-08-13  Jeff Law <law@redhat.com>
2587         * manual/stdio.texi (snprintf): Clarify handling of the trailing
2588         null byte in the output string.
2590 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
2592         * sysdeps/unix/sysv/linux/kernel-features.h
2593         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
2594         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
2595         (__ASSUME_ARG_MAX_STACK_BASED): Define.
2596         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2597         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
2598         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
2599         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
2601 2012-08-09  Jeff Law <law@redhat.com>
2603         [BZ #13939]
2604         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
2605         When avoid_arena is set, don't retry in the that arena.  Pick the
2606         next one, whatever it might be.
2607         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
2608         (arena_lock): Pass in new parameter to arena_get2.
2609         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
2610         arena_get2.
2611         (__libc_malloc): Unify retrying after main arena failure with
2612         __libc_memalign version.
2613         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
2615 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
2617         [BZ #14166]
2618         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
2619         to __redirect_strstr.
2620         (__strstr_sse42): Use typeof __redirect_strstr.
2621         (__strstr_ia32): Likewise.
2622         (__libc_strstr): New prototype.
2623         (strstr): Renamed to ...
2624         (__libc_strstr): This.
2625         (strstr): New strong alias of __libc_strstr.
2626         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2627         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
2628         __redirect_time.
2629         Include <time.h>.
2630         (__libc_time): New prototype.
2631         (time_ifunc): Replace time with __libc_time.
2632         (time): New strong alias and hidden definition of __libc_time.
2633         (__GI_time): Remove strong alias.
2634         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
2635         Include <stddef.h>.
2636         (memmove): Redefined to __redirect_memmove.
2637         (__memmove_sse2): Use typeof __redirect_memmove.
2638         (__memmove_ssse3): Likewise.
2639         (__memmove_ssse3_back): Likewise.
2640         (__libc_memmove): New prototype.
2641         (memmove): Renamed to ...
2642         (__libc_memmove): This.
2643         (memmove): New strong alias of __libc_memmove.
2645 2012-08-08  Mark Salter  <msalter@redhat.com>
2647         * elf/elf.h
2648         (R_MN10300_TLS_GD): Define.
2649         (R_MN10300_TLS_LD): Likewise.
2650         (R_MN10300_TLS_LDO): Likewise.
2651         (R_MN10300_TLS_GOTIE): Likewise.
2652         (R_MN10300_TLS_IE): Likewise.
2653         (R_MN10300_TLS_LE): Likewise.
2654         (R_MN10300_TLS_DTPMOD): Likewise.
2655         (R_MN10300_TLS_DTPOFF): Likewise.
2656         (R_MN10300_TLS_TPOFF): Likewise.
2657         (R_MN10300_SYM_DIFF): Likewise.
2658         (R_MN10300_ALIGN): Likewise.
2659         (R_MN10300_NUM): Update.
2661 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
2663         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
2664         Remove.
2666 2012-08-08  Roland McGrath  <roland@hack.frob.com>
2668         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
2670         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
2671         sysdeps/unix -> sysdeps/posix move.
2672         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2674 2012-08-07      Allan McRae     <allan@archlinux.org>
2676         [BZ #14303]
2677         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
2678         (SUNOS_CPP): Likewise.
2679         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
2680         not found.
2681         (open_input): Call CPP using execvp.
2683 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
2685         * sysdeps/unix/sysv/linux/kernel-features.h
2686         (__ASSUME_PROT_GROWSUPDOWN): Remove.
2687         (__ASSUME_NO_CLONE_DETACHED): Likewise.
2688         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2689         (__ASSUME_WAITID_SYSCALL): Likewise.
2690         * sysdeps/unix/sysv/linux/dl-execstack.c
2691         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
2692         code unconditional.
2693         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
2694         conditional code.
2695         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
2696         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
2697         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
2698         code.
2699         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
2700         unconditional.
2701         [__ASSUME_WAITID_SYSCALL]: Likewise.
2702         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
2704 2012-08-07  Roland McGrath  <roland@hack.frob.com>
2706         * sysdeps/unix/closedir.c: Renamed to ...
2707         * sysdeps/posix/closedir.c: ... here.
2708         * sysdeps/unix/dirfd.c: Renamed to ...
2709         * sysdeps/posix/dirfd.c: ... here.
2710         * sysdeps/unix/dirstream.h: Renamed to ...
2711         * sysdeps/posix/dirstream.h: ... here.
2712         * sysdeps/unix/fdopendir.c: Renamed to ...
2713         * sysdeps/posix/fdopendir.c: ... here.
2714         * sysdeps/unix/opendir.c: Renamed to ...
2715         * sysdeps/posix/opendir.c: ... here.
2716         * sysdeps/unix/readdir.c: Renamed to ...
2717         * sysdeps/posix/readdir.c: ... here.
2718         * sysdeps/unix/readdir_r.c: Renamed to ...
2719         * sysdeps/posix/readdir_r.c: ... here.
2720         * sysdeps/unix/rewinddir.c: Renamed to ...
2721         * sysdeps/posix/rewinddir.c: ... here.
2722         * sysdeps/unix/seekdir.c: Renamed to ...
2723         * sysdeps/posix/seekdir.c: ... here.
2724         * sysdeps/unix/telldir.c: Renamed to ...
2725         * sysdeps/posix/telldir.c: ... here.
2726         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
2727         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2728         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
2729         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
2731         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
2732         * bits/fcntl.h: ... here.
2734         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
2735         not 0.
2736         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
2737         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
2738         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
2739         (struct flock): Move l_start, l_len to the beginning.
2740         Use __pid_t for l_pid.
2741         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
2742         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
2743         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
2744         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
2745         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
2746         [__USE_LARGEFILE64] (struct flock64): New type.
2747         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
2749         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
2750         * bits/dirent.h: ... here.
2752         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
2753         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
2755 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
2757         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2758         Change from 2.6.0 to 2.6.16.
2759         * sysdeps/unix/sysv/linux/configure: Regenerated.
2760         * sysdeps/unix/sysv/linux/kernel-features.h
2761         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
2762         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
2763         version.
2764         (__ASSUME_UTIMES): Likewise.
2765         (__ASSUME_CLONE_STOPPED): Remove.
2766         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
2767         architectures, not kernel version.
2768         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
2769         (__ASSUME_NO_CLONE_DETACHED): Likewise.
2770         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2771         (__ASSUME_WAITID_SYSCALL): Likewise.
2772         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
2773         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
2774         * README: State 2.6.16 as minimum Linux kernel version.  Do not
2775         refer to older versions.
2777 2012-08-06  Roland McGrath  <roland@hack.frob.com>
2779         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
2780         Define alphasort64 as an alias.
2781         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
2782         Define versionsort64 as an alias.
2783         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
2784         Define scandir64 as an alias.
2785         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
2786         Define scandirat64 as an alias.
2787         * dirent/alphasort64.c (alphasort64):
2788         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
2789         * dirent/versionsort64.c: Likewise.
2790         * dirent/scandir64.c: Likewise.
2791         * dirent/scandirat64.c: Likewise.
2792         * sysdeps/wordsize-64/alphasort.c: File removed.
2793         * sysdeps/wordsize-64/alphasort64.c: File removed.
2794         * sysdeps/wordsize-64/scandir.c: File removed.
2795         * sysdeps/wordsize-64/scandir64.c: File removed.
2796         * sysdeps/wordsize-64/scandirat.c: File removed.
2797         * sysdeps/wordsize-64/scandirat64.c: File removed.
2798         * sysdeps/wordsize-64/versionsort.c: File removed.
2799         * sysdeps/wordsize-64/versionsort64.c: File removed.
2800         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
2801         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
2802         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
2803         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
2804         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
2805         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
2806         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
2807         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
2809         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
2810         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2811         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
2812         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2813         [defined __arch64__ || defined __sparcv9]
2814         (__INO_T_MATCHES_INO64_T): New macro.
2815         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2816         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
2817         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
2818         * sysdeps/unix/sysv/linux/bits/dirent.h
2819         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
2820         (_DIRENT_MATCHES_DIRENT64): New macro.
2822         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
2823         Define lockf64 as an alias.
2824         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
2825         Define fseeko64 as an alias.
2826         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
2827         Define ftello64 as an alias.
2828         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
2829         Define _IO_fgetpos64 and fgetpos64 as aliases.
2830         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
2831         Define _IO_fsetpos64 and fsetpos64 as aliases.
2832         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
2833         Conditionalize body on this.
2834         * libio/fseeko64.c: Likewise.
2835         * libio/ftello64.c: Likewise.
2836         * libio/iofgetpos64.c: Likewise.
2837         * libio/iofsetpos64.c: Likewise.
2838         * sysdeps/wordsize-64/lockf.c: File removed.
2839         * sysdeps/wordsize-64/lockf64.c: File removed.
2840         * sysdeps/wordsize-64/fseeko.c: File removed.
2841         * sysdeps/wordsize-64/fseeko64.c: File removed.
2842         * sysdeps/wordsize-64/ftello.c: File removed.
2843         * sysdeps/wordsize-64/ftello64.c: File removed.
2844         * sysdeps/wordsize-64/iofgetpos.c: File removed.
2845         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
2846         * sysdeps/wordsize-64/iofsetpos.c: File removed.
2847         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
2848         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
2849         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
2850         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
2851         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
2852         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
2853         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
2854         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
2855         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
2856         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
2857         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
2859         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2860         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2861         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
2862         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2863         [defined __arch64__ || defined __sparcv9]
2864         (__OFF_T_MATCHES_OFF64_T): New macro.
2865         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2866         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2867         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2868         (__OFF_T_MATCHES_OFF64_T): New macro.
2870 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
2872         * stdlib/secure-getenv.c (__secure_getenv): Replace
2873         GLIBC_2_16 with GLIBC_2_17.
2875 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
2877         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
2878         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2880 2012-08-03  David S. Miller  <davem@davemloft.net>
2882         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2884 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
2886         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
2887         Remove.
2888         (__ASSUME_CORRECT_SI_PID): Likewise.
2889         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
2890         (__ASSUME_TMPFS_NAME): Likewise.
2891         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
2892         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
2893         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
2894         (HAVE_AUX_SECURE): Make definition unconditional.
2895         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
2896         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
2898 2012-08-03  Roland McGrath  <roland@hack.frob.com>
2900         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
2901         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
2902         * sysdeps/mach/hurd/eloop-threshold.h: New file.
2903         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2904         __eloop_threshold instead of SYMLOOP_MAX.
2906         * sysdeps/generic/eloop-threshold.h: New file.
2907         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
2908         of MAXSYMLINKS.
2909         * elf/chroot_canon.c (chroot_canon): Likewise.
2911 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
2913         [BZ #13717]
2914         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2915         Change to 2.6.0 everywhere.
2916         * sysdeps/unix/sysv/linux/configure: Regenerated.
2917         * sysdeps/unix/sysv/linux/kernel-features.h
2918         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
2919         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
2920         kernel versions.
2921         (__ASSUME_POSIX_TIMERS): Define unconditionally.
2922         (__ASSUME_FUTEX_REQUEUE): Remove.
2923         (__ASSUME_STATFS64): Define unconditionally.
2924         (__ASSUME_AT_SECURE): Likewise.
2925         (__ASSUME_CORRECT_SI_PID): Likewise.
2926         (__ASSUME_TGKILL): Define without depending on kernel version for
2927         i386.
2928         (__ASSUME_UTIMES): Likewise.
2929         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
2930         kernel version.
2931         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
2932         (__ASSUME_TMPFS_NAME): Likewise.
2933         * README: Update reference to Linux kernel versions.
2935 2012-08-02  Marek Polacek  <polacek@redhat.com>
2937         [BZ# 14150]
2938         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
2939         libc_cv_asm_type_prefix with %.
2940         * configure: Regenerated.
2941         * include/libc-symbols.h: Remove comment about
2942         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2943         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
2944         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
2945         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
2946         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
2947         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2948         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
2949         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
2950         * elf/tst-unique2mod1.c: Likewise.
2951         * elf/tst-unique1mod2.c: Likewise.
2952         * elf/tst-unique1mod1.c: Likewise.
2953         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
2954         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
2955         Replace ASM_TYPE_DIRECTIVE with .type.
2956         * sysdeps/s390/s390-64/sysdep.h: Likewise.
2957         * sysdeps/i386/sysdep.h: Likewise.
2958         * sysdeps/x86_64/sysdep.h: Likewise.
2959         * sysdeps/sh/sysdep.h: Likewise.
2960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2961         Do not define ASM_TYPE_DIRECTIVE.
2962         * sysdeps/powerpc/sysdep.h: Likewise.
2963         * sysdeps/powerpc/powerpc32/sysdep.h:
2964         Replace ASM_TYPE_DIRECTIVE with .type.
2965         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2966         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2967         * sysdeps/i386/fpu/e_powf.S: Likewise.
2968         * sysdeps/i386/fpu/e_expl.S: Likewise.
2969         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2970         * sysdeps/i386/fpu/e_acosh.S: Likewise.
2971         * sysdeps/i386/fpu/e_pow.S: Likewise.
2972         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2973         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2974         * sysdeps/i386/fpu/s_expm1.S: Likewise.
2975         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2976         * sysdeps/i386/fpu/e_log2.S: Likewise.
2977         * sysdeps/i386/fpu/e_log2l.S: Likewise.
2978         * sysdeps/i386/fpu/e_scalb.S: Likewise.
2979         * sysdeps/i386/fpu/e_powl.S: Likewise.
2980         * sysdeps/i386/fpu/e_log10f.S: Likewise.
2981         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2982         * sysdeps/i386/fpu/e_logl.S: Likewise.
2983         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2984         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2985         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2986         * sysdeps/i386/fpu/e_log2f.S: Likewise.
2987         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2988         * sysdeps/i386/fpu/e_log.S: Likewise.
2989         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2990         * sysdeps/i386/fpu/e_logf.S: Likewise.
2991         * sysdeps/i386/fpu/e_log10l.S: Likewise.
2992         * sysdeps/i386/fpu/e_atanh.S: Likewise.
2993         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2994         * sysdeps/i386/fpu/e_log10.S: Likewise.
2995         * sysdeps/i386/fpu/s_frexp.S: Likewise.
2996         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2997         * sysdeps/i386/fpu/s_asinh.S: Likewise.
2998         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2999         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3000         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
3001         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3002         * sysdeps/i386/i686/strtok.S: Likewise.
3003         * sysdeps/i386/i386-mcount.S: Likewise.
3004         * sysdeps/i386/strtok.S: Likewise.
3005         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
3006         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3007         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3008         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3009         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3010         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3011         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3012         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3013         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3014         * sysdeps/x86_64/_mcount.S: Likewise.
3015         * sysdeps/x86_64/strtok.S: Likewise.
3016         * sysdeps/sh/_mcount.S: Likewise.
3018 2012-08-01  Roland McGrath  <roland@hack.frob.com>
3020         * libio/iofopen.c: Include <fcntl.h>.
3021         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
3022         (_IO_fopen64, fopen64): Define as aliases.
3023         * libio/iofopen64.c: Include <fcntl.h>.
3024         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
3025         Conditionalize body on this.
3026         * sysdeps/wordsize-64/iofopen.c: File removed.
3027         * sysdeps/wordsize-64/iofopen64.c: File removed.
3029 2012-08-01  Marek Polacek  <polacek@redhat.com>
3031         * libc/Makeconfig: Use elf in place of binfmt-subdir.
3032         Use dlfcn directly instead of a variable.
3033         (binfmt-subdir): Do not define.
3034         (dlfcn): Likewise.
3036 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
3038         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3039         Remove all definitions.
3040         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
3041         <kernel-features.h>.
3042         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3043         (miss_F_GETOWN_EX): Remove all definitions.
3044         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
3045         macro definition.
3046         [!__ASSUME_FCNTL64]: Remove conditional code.
3047         [__ASSUME_FCNTL64]: Make code unconditional.
3048         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
3049         <kernel-features.h>.
3050         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3051         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
3052         (lockf64) [__NR_fcntl64]: Make code unconditional.
3053         (lockf64) [__ASSUME_FCNTL64]: Likewise.
3055         * sysdeps/unix/sysv/linux/kernel-features.h
3056         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
3057         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
3058         Make code unconditional.
3059         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3060         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
3062         [__NR_vfork]: Make code unconditional.
3063         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3064         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
3066         [__NR_vfork]: Make code unconditional.
3067         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3068         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3070 2012-08-01  Roland McGrath  <roland@hack.frob.com>
3072         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
3073         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
3075         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3076         Define mkstemp64 as an alias.
3077         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3078         Define mkstemps64 as an alias.
3079         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3080         Define mkostemp64 as an alias.
3081         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3082         Define mkostemps64 as an alias.
3083         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
3084         Conditionalize body on this.
3085         * misc/mkostemp64.c: Likewise.
3086         * misc/mkostemps64.c: Likewise.
3087         * misc/mkstemps64.c: Likewise.
3088         * sysdeps/wordsize-64/mkstemp64.c: File removed.
3089         * sysdeps/wordsize-64/mkostemp64.c: File removed.
3090         * sysdeps/wordsize-64/mkostemp.c: File removed.
3091         * sysdeps/wordsize-64/mkstemp.c: File removed.
3092         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
3093         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
3094         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
3095         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
3097         [BZ #14138]
3098         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
3099         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
3100         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
3101         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
3103         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
3104         compat_symbol macros from <shlib-compat.h> rather than the underlying
3105         default_symbol_version and symbol_version macros, so that DEFAULT
3106         lines in shlib-versions are respected.
3107         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
3109 2012-08-01  Florian Weimer  <fweimer@redhat.com>
3111         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
3112         Declare with warn_unused_result.
3113         (setgid, setregid, setegid, setresgid): Likewise.
3114         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
3115         Likewise.
3116         * WUR-REPORT: Remove set*id functions.
3118 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
3120         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
3122 2012-07-31  Roland McGrath  <roland@hack.frob.com>
3124         * include/sys/socket.h (__libc_accept, __libc_accept4):
3125         Add attribute_hidden.
3126         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
3128         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
3129         use of PTR_MANGLE.
3130         * inet/getnetgrent_r.c (setup): Likewise.
3132         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
3134 2012-07-31  David S. Miller  <davem@davemloft.net>
3136         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3138 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
3140         [BZ #13629]
3141         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
3142         value between 1.0 and 2.0 and smaller part has absolute value less
3143         than 1.0.
3144         * math/s_clog10.c (__clog10): Likewise.
3145         * math/s_clog10f.c (__clog10f): Likewise.
3146         * math/s_clog10l.c (__clog10l): Likewise.
3147         * math/s_clogf.c (__clogf): Likewise.
3148         * math/s_clogl.c (__clogl): Likewise.
3149         * math/libm-test.inc (clog_test): Add more tests.
3150         (clog10_test): Likewise.
3151         * sysdeps/i386/fpu/libm-test-ulps: Update.
3152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3154 2012-07-31  Florian Weimer  <fweimer@redhat.com>
3156         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
3157         Exit with zero in case no suitable GID is found, and write a
3158         message to standard error.
3160 2012-07-30  Roland McGrath  <roland@hack.frob.com>
3162         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
3163         rather than to 1.
3164         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
3165         (MAXPATHLEN): Removed.
3166         (NOGROUP, NODEV): New macros.
3167         (setbit, clrbit, isset, isclr): New macros.
3168         (howmany, roundup, powerof2): New macros.
3169         (DEV_BSIZE): New macro.
3171         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
3172         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
3174         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
3175         definition on [!__NO_LONG_DOUBLE_MATH].
3177         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
3178         PTR_MANGLE and PTR_DEMANGLE.
3180         * socket/accept4.c (accept4): Rename to __libc_accept4.
3181         Define accept4 as a weak alias.
3183         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
3184         on [_DIRENT_HAVE_D_TYPE].
3185         * io/ftw.c (ftw_dir): Likewise.
3187         * io/xmknod.c (__xmknod): Don't check PATH for being null.
3189         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
3191         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
3192         Use the BSD numbers rather than the arbitrary ones we had.
3193         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
3194         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
3195         (SIGXCPU, SIGXFSZ): New macros.
3196         (_NSIG): Now 32.
3198         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
3199         initializer on [_LIBC_REENTRANT].
3201         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
3202         definitions inside [_POSIX_MAPPED_FILES].
3204         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
3206         * dirent/opendir.c: Include <fcntl.h>.
3208         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
3209         (__libc_getspecific): Likewise.
3210         (__libc_key_create): Likewise.
3212         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
3213         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
3214         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
3215         (tmpfile64): Define as alias.
3216         * sysdeps/wordsize-64/tmpfile.c: File removed.
3217         * sysdeps/wordsize-64/tmpfile64.c: File removed.
3218         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
3219         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
3221         * stdio-common/vfscanf.c: Include <stdbool.h>.
3222         * nss/makedb.c: Likewise.
3223         * stdio-common/_i18n_number.h: Likewise.
3224         * argp/argp-help.c: Likewise.
3225         * posix/wordexp.c: Likewise.
3226         * sysdeps/posix/spawni.c: Likewise.
3227         * nss/nss_files/files-initgroups.c: Likewise.
3228         * stdio-common/reg-modifier.c: Include <stdlib.h>.
3229         * nss/nss_files/files-initgroups.c: Likewise.
3230         * nss/nss_db/db-netgrp.c: Likewise.
3231         * nss/nss_db/db-initgroups.c: Likewise.
3232         * io/fchmodat.c: Include <sys/stat.h>.
3234         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
3235         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
3237         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
3238         [HAVE_MMAP].
3240         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
3241         Add multiple inclusion protection.
3243 2012-07-27  David S. Miller  <davem@davemloft.net>
3245         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3247 2012-07-27  Gary Benson  <gbenson@redhat.com>
3249         [BZ #14298]
3250         * elf/rtld.c: Include <stap-probe.h>.
3251         (dl_main): Added static probes "init_start" and "init_complete".
3252         * elf/dl-load.c: Include <stap-probe.h>.
3253         (lose): Take new parameter "nsid".
3254         Added static probe "map_failed".
3255         (_dl_map_object_from_fd): Pass namespace id to lose.
3256         Added static probe "map_start".
3257         (open_verify): Pass namespace id to lose.
3258         * elf/dl-open.c: Include <stap-probe.h>.
3259         (dl_open_worker) Added static probes "map_complete", "reloc_start"
3260         and "reloc_complete".
3261         * elf/dl-close.c: Include <stap-probe.h>.
3262         (_dl_close_worker): Added static probes "unmap_start" and
3263         "unmap_complete".
3264         * elf/rtld-debugger-interface.txt: New file documenting the above.
3266 2012-07-26  Roland McGrath  <roland@hack.frob.com>
3268         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
3269         rather than a string variable.
3270         * sunrpc/rpc_main.c (h_output): Likewise.
3271         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
3273 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
3275         * inet/check_native.c: New file.
3277 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
3279         [BZ #13629]
3280         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
3281         if larger part has absolute value 1.0.
3282         * math/s_clog10.c (__clog10): Likewise.
3283         * math/s_clog10f.c (__clog10f): Likewise.
3284         * math/s_clog10l.c (__clog10l): Likewise.
3285         * math/s_clogf.c (__clogf): Likewise.
3286         * math/s_clogl.c (__clogl): Likewise.
3287         * math/libm-test.inc (clog_test): Add more tests.
3288         (clog10_test): Likewise.
3289         * sysdeps/i386/fpu/libm-test-ulps: Update.
3290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3292         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
3293         (pltexit): Likewise.
3294         (La_regs): Likewise.
3295         (La_retval): Likewise.
3296         (int_retval): Likewise.
3297         Update #error for removed macros to refer only to definitions in
3298         tst-audit.h.
3299         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
3300         macro.
3301         (pltexit): Likewise.
3302         (La_regs): Likewise.
3303         (La_retval): Likewise.
3304         (int_retval): Likewise.
3305         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
3306         macro.
3307         (pltexit): Likewise.
3308         (La_regs): Likewise.
3309         (La_retval): Likewise.
3310         (int_retval): Likewise.
3311         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
3312         macro.
3313         (pltexit): Likewise.
3314         (La_regs): Likewise.
3315         (La_retval): Likewise.
3316         (int_retval): Likewise.
3317         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
3318         macro.
3319         (pltexit): Likewise.
3320         (La_regs): Likewise.
3321         (La_retval): Likewise.
3322         (int_retval): Likewise.
3323         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
3324         macro.
3325         (pltexit): Likewise.
3326         (La_regs): Likewise.
3327         (La_retval): Likewise.
3328         (int_retval): Likewise.
3329         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
3330         macro.
3331         (pltexit): Likewise.
3332         (La_regs): Likewise.
3333         (La_retval): Likewise.
3334         (int_retval): Likewise.
3335         * sysdeps/generic/tst-audit.h: Update comment to refer only to
3336         macro definitions in tst-audit.h.
3337         * sysdeps/i386/tst-audit.h: New file.
3338         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
3339         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
3340         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
3341         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
3342         * sysdeps/sh/tst-audit.h: Likewise.
3343         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
3344         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
3345         * sysdeps/x86_64/tst-audit.h: Likewise.
3347 2012-07-26  Andreas Jaeger  <aj@suse.de>
3349         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
3350         ptrace.
3352         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
3353         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
3354         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
3355         PTRACE_O_MASK.
3356         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
3357         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
3358         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
3360         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
3361         value.
3363         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
3364         _sigsys.
3365         (si_call_addr, si_syscall, si_arch): Define new macro.
3366         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
3367         _sigsys.
3368         (si_call_addr, si_syscall, si_arch): Define new marcro.
3369         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
3370         _sigsys.
3371         (si_call_addr, si_syscall, si_arch): Define new macro.
3372         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
3373         _sigsys.
3374         (si_call_addr, si_syscall, si_arch): Define new macro.
3376 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
3378         [BZ #13717]
3379         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3380         Change to 2.4.21 where previously 2.4.1.
3381         * sysdeps/unix/sysv/linux/configure: Regenerated.
3382         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
3383         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
3384         Linux kernel version.
3385         (__ASSUME_STD_AUXV): Remove.
3386         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
3387         kernel version.
3388         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
3389         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
3390         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
3391         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
3392         (__ASSUME_NETLINK_SUPPORT): Likewise.
3393         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
3394         (__no_netlink_support): Remove conditional definition.
3395         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
3396         Remove.
3397         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3398         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
3399         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
3400         (if_nameindex_ioctl): Remove.
3401         (if_nameindex_netlink): Do not handle __no_netlink_support.
3402         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3403         code.
3404         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
3405         Remove conditional code.
3406         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3407         code.
3408         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
3409         unconditional.
3410         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3411         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
3412         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
3413         Remove.
3414         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3415         [!__ASSUME_STD_AUXV]: Remove conditional code.
3416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
3417         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
3418         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
3419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
3420         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
3421         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3422         code.
3423         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3425         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
3426         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3427         conditional code.
3428         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3430         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3431         code.
3432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3433         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3434         conditional code.
3435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
3436         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3437         code unconditional.
3438         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3439         conditional code.
3440         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3441         unconditional.
3442         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3443         conditional code.
3444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3445         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3446         unconditional.
3447         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3448         conditional code.
3449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3450         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3451         code unconditional.
3452         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3453         conditional code.
3454         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3455         unconditional.
3456         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3457         conditional code.
3458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3459         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3460         code unconditional.
3461         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3462         conditional code.
3463         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3464         unconditional.
3465         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3466         conditional code.
3468 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
3470         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
3471         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
3472         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3473         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
3474         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
3475         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3476         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3477         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3478         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
3479         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3480         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
3481         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3482         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
3483         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3484         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3485         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
3486         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
3487         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
3488         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
3489         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
3490         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
3491         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3492         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3494 2012-07-25  Florian Weimer  <fweimer@redhat.com>
3496         * Versions.def: Add GLIBC_2.17.
3497         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
3498         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
3499         Introduce __libc_secure_getenv.
3500         * stdlib/Versions (2.17): Add secure_getenv
3501         (GLIBC_PRIVATE): Add __libc_secure_getenv.
3502         * stdlib/secure-getenv.c: Rename __secure_getenv to
3503         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
3504         symbol __secure_getenv for GLIBC_2.0.
3505         * stdlib/tst-secure-getenv.c: New.
3506         * stdlib/Makefile (tests): Add testcase.
3507         * manual/startup.texi (Environment Access): Document
3508         secure_getenv.
3509         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
3510         __libc_secure_getenv.
3511         * inet/ruserpass.c (ruserpass): Likewise.
3512         * malloc/mtrace.c (mtrace): Likewise.
3513         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
3514         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
3515         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
3516         * sysdeps/posix/tempname.c: Likewise.  Evaluate
3517         HAVE_SECURE_GETENV.
3518         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
3519         __secure_getenv to __libc_secure_getenv.
3520         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
3521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3522         Likewise.
3523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3524         Likewise.
3525         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3526         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3527         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3528         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3529         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3530         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3531         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3533 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
3535         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
3536         (struct La_i86_retval): Likewise.
3537         (struct La_x86_64_regs): Likewise.
3538         (struct La_x86_64_retval): Likewise.
3539         (struct La_x32_regs): Likewise.
3540         (struct La_x32_retval): Likewise.
3541         (struct La_ppc32_regs): Likewise.
3542         (struct La_ppc32_retval): Likewise.
3543         (struct La_ppc64_regs): Likewise.
3544         (struct La_ppc64_retval): Likewise.
3545         (struct La_sh_regs): Likewise.
3546         (struct La_sh_retval): Likewise.
3547         (struct La_s390_32_regs): Likewise.
3548         (struct La_s390_32_retval): Likewise.
3549         (struct La_s390_64_regs): Likewise.
3550         (struct La_s390_64_retval): Likewise.
3551         (struct La_sparc32_regs): Likewise.
3552         (struct La_sparc32_retval): Likewise.
3553         (struct La_sparc64_regs): Likewise.
3554         (struct La_sparc64_retval): Likewise.
3555         (struct audit_ifaces): Remove architecture-specific pltenter and
3556         pltexit members.
3557         * sysdeps/i386/ldsodefs.h: New file.
3558         * sysdeps/powerpc/ldsodefs.h: Likewise.
3559         * sysdeps/s390/ldsodefs.h: Likewise.
3560         * sysdeps/sh/ldsodefs.h: Likewise.
3561         * sysdeps/sparc/ldsodefs.h: Likewise.
3562         * sysdeps/x86_64/ldsodefs.h: Likewise.
3564 2012-07-25  Marek Polacek  <polacek@redhat.com>
3566         [BZ #6808]
3567         * math/libm-test.inc (yn_test): Add another test.
3568         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
3569         to ERANGE when the result is +-Inf.
3570         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3571         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3572         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
3573         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
3575 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
3577         * conform/data/time.h-data (NULL): Use macro-constant.  Require
3578         equal to 0.
3579         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
3580         clock_t.
3581         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
3583 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
3585         * configure.in <sysdeps resolving>: Correct printing
3586         Implies_before.
3587         * configure: Regenerate.
3589 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
3591         * math/w_ilogb.c: Include <limits.h>.
3592         * math/w_ilogbl.c: Likewise.
3594 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
3596         * manual/lang.texi (__va_copy): Document primarily as ISO C99
3597         va_copy.  Document allowing for unavailable va_copy only as
3598         pre-C99 compatibility.
3599         * manual/string.texi (Copying and Concatenation): Use va_copy
3600         instead of __va_copy in concat example.
3602 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
3604         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
3605         (__sendto): Use create_address_port.  Initialize APORT and deallocate
3606         it if not null.
3608         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
3609         with O_NOLINK passed to __file_name_lookup.
3611         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
3612         with O_NOLINK passed to __file_name_lookup.
3614         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
3615         negative N or less than NGIDS.
3617         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
3618         type to string_t.  Set ERANGE as errno and return it if NAME is not big
3619         enough.  Use memcpy instead of strncpy.
3621 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
3623         * elf/Makefile (check-data): Remove.
3624         (localplt.data): New vpath directive.
3625         ($(objpfx)check-localplt.out): Use localplt.data from vpath
3626         instead of $(check-data).
3627         * scripts/data/localplt-generic.data: Move to ...
3628         * sysdeps/generic/localplt.data: ... here.
3629         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
3630         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
3631         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
3632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3633         ... here.
3634         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
3635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3636         ... here.
3637         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
3638         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
3639         ... here.
3640         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
3641         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3642         ... here.
3643         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
3644         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
3645         ... here.
3646         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
3647         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
3648         ... here.
3650 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3652         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
3653         PPC32 and PPC64 files.
3654         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
3655         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
3657 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3659         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
3660         __makecontext_ret to ...
3661         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3662         ... here and call exit if uc_link is NULL.  New file.
3663         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
3664         __makecontext_ret.S.
3665         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
3666         __makecontext_ret to ...
3667         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3668         ... here and call exit if uc_link is NULL.  New file.
3669         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
3670         __makecontext_ret.S.
3672 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3674         * elf/elf.h (R_390_IRELATIVE): New definition.
3675         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
3676         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
3677         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
3678         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3679         (elf_machine_lazy_rel): Likewise.
3680         * sysdeps/s390/dl-irel.h: New file.
3681         * sysdeps/s390/s390-64/memcpy.S: New asm code.
3682         * sysdeps/s390/s390-64/memset.S: New asm code.
3683         * sysdeps/s390/s390-64/memcmp.S: New asm code.
3684         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
3685         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
3686         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
3687         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
3688         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
3689         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
3690         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
3691         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
3692         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
3693         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
3694         * sysdeps/s390/s390-32/memcpy.S: New asm code.
3695         * sysdeps/s390/s390-32/memset.S: New asm code.
3696         * sysdeps/s390/s390-32/memcmp.S: New asm code.
3698 2012-07-17  Marek Polacek  <polacek@redhat.com>
3700         [BZ #14349]
3701         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
3702         * sysdeps/s390/s390-64/configure.in: Likewise.
3703         * sysdeps/sparc/configure.in: Likewise.
3704         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
3705         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
3706         * sysdeps/i386/configure.in: Likewise.
3707         * sysdeps/x86_64/configure.in: Likewise.
3708         * sysdeps/sh/configure.in: Likewise.
3709         * sysdeps/s390/s390-32/configure: Regenerated.
3710         * sysdeps/s390/s390-64/configure: Likewise.
3711         * sysdeps/x86_64/configure: Likewise.
3712         * sysdeps/sh/configure: Likewise.
3713         * sysdeps/powerpc/powerpc64/configure: Likewise.
3714         * sysdeps/powerpc/powerpc32/configure: Likewise.
3715         * sysdeps/sparc/configure: Likwise.
3716         * sysdeps/i386/configure: Likewise.
3718         * elf/dl-open.c: Comment fixes.
3720 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
3722         * Makefile [CXX] (check-data): Remove.
3723         [CXX] (c++-types.data): New vpath directive.
3724         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
3725         vpath.  Do not allow for C++ type data being missing.
3726         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
3727         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
3728         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
3729         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
3730         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
3731         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
3732         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
3733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3734         ... here.
3735         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
3736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3737         ... here.
3738         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
3739         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
3740         ... here.
3741         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
3742         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
3743         ... here.
3744         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
3745         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
3746         ... here.
3747         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
3748         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
3749         ... here.
3750         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
3751         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
3752         ... here.
3753         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
3754         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
3756         * elf/tls-macros.h (TLS_LE): Move architecture-specific
3757         definitions to architecture-specific files.
3758         (TLS_IE): Likewise.
3759         (TLS_LD): Likewise.
3760         (TLS_GD): Likewise.
3761         * sysdeps/i386/tls-macros.h: New file.
3762         * sysdeps/powerpc/tls-macros.h: Likewise.
3763         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3764         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3765         * sysdeps/sh/tls-macros.h: Likewise.
3766         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
3767         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
3768         * sysdeps/x86_64/tls-macros.h: Likewise.
3770 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
3772         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
3773         zero value for regular exit case.
3775         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3776         (__start_context): Preserve zero value for regular exit case.
3778 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
3779             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3781         * manual/setjmp.texi (setcontext): Clarify normal process
3782         termination when uc_link is the null pointer.
3783         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
3784         exit call.
3786 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
3788         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
3789         preprocessor.  Test for each exception mask separately.
3791 2012-07-16  Andreas Jaeger  <aj@suse.de>
3793         * po/ru.po: Update from translation team.
3795 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
3797         * conform/data/string.h-data (NULL): Use macro-constant.  Require
3798         equal to 0.
3799         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3800         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3801         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
3802         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
3803         [ISO || ISO99 || ISO11] (*_t): Do not allow.
3805 2012-07-13  Andreas Jaeger  <aj@suse.de>
3807         * po/fr.po: Update from translation team.
3809 2012-07-12  Marek Polacek  <polacek@redhat.com>
3811         [BZ #14173]
3812         * math/libm-test.inc (yn_test): Add test for BZ #14173.
3813         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
3814         loop condition.
3816 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
3818         [BZ #13717]
3819         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3820         Change to 2.4.1 where previously 2.4.0.
3821         * sysdeps/unix/sysv/linux/configure: Regenerated.
3822         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
3823         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
3824         version.
3825         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
3826         (__ASSUME_AT_CLKTCK): Remove.
3827         (__ASSUME_AT_PAGESIZE): Likewise.
3828         (__ASSUME_AT_XID): Likewise.
3829         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
3830         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
3831         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
3832         unconditionally.
3833         (HAVE_AUX_PAGESIZE): Likewise.
3834         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
3835         [__ASSUME_AT_CLKTCK]: Make code unconditional.
3836         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
3838 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
3840         [BZ #14307]
3841         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
3842         the temporary buffer used to invoke __gethostbyname2_r,
3843         __gethostbyaddr_r and gethostbyname4_r to make room for struct
3844         host_data / struct gaih_addrtuple.
3845         * resolv/nss_dns/dns-host.c (global scope): Move definition of
3846         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
3847         header file nss/nsswitch.h.
3848         * nss/nsswitch.h (global scope): Add definition of implementation
3849         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
3850         resolv/nss_dns/dns-host.c).
3852 2012-07-11  Andreas Jaeger  <aj@suse.de>
3854         * po/fr.po: Update from translation team.
3856         * po/sv.po: Update from translation team
3857         * po/fr.po: Another update from translation team.
3859 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3861         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
3862         for subnormals or multiply small sinh result by itself.
3863         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3864         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3866 2012-07-11  David S. Miller  <davem@davemloft.net>
3868         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3870 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
3872         [BZ #14347]
3873         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
3874         (INTERNAL_MARK): Shift it here.
3876 2012-07-10  Marek Polacek  <polacek@redhat.com>
3878         [BZ #14151]
3879         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
3880         libc_cv_asm_global_directive with .globl.
3881         * configure: Regenerated.
3882         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
3883         with .globl.
3884         * sysdeps/i386/configure: Regenerated.
3885         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
3886         with .globl.
3887         * sysdeps/x86_64/configure: Regenerated.
3888         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
3889         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
3890         * elf/tst-unique2mod2.c: Likewise.
3891         * elf/tst-unique2mod1.c: Likewise.
3892         * elf/tst-unique1mod2.c: Likewise.
3893         * elf/tst-unique1mod1.c: Likewise.
3894         * sysdeps/s390/s390-32/sysdep.h: Likewise.
3895         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3896         * sysdeps/s390/s390-64/sysdep.h: Likewise.
3897         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3898         * sysdeps/mach/sysdep.h: Likewise.
3899         * sysdeps/i386/sysdep.h: Likewise.
3900         * sysdeps/i386/i386-mcount.S: Likewise.
3901         * sysdeps/x86_64/_mcount.S: Likewise.
3902         * sysdeps/x86_64/sysdep.h: Likewise.
3903         * sysdeps/sh/_mcount.S: Likewise.
3904         * sysdeps/sh/sysdep.h: Likewise.
3905         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
3906         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
3907         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
3908         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3909         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
3910         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
3911         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
3912         * locale/localeinfo.h: Likewise.
3913         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
3914         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
3916 2012-07-09  Roland McGrath  <roland@hack.frob.com>
3918         [BZ #14336]
3919         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
3920         system".
3921         * manual/message.texi (The Uniforum approach): Likewise.
3922         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
3923         (glibc iconv Implementation): Likewise.
3925 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
3927         [BZ #14337]
3928         * math/s_clog.c (__clog): Avoid scaling a value down where that
3929         could result in underflow.
3930         * math/s_clog10.c (__clog10): Likewise.
3931         * math/s_clog10f.c (__clog10f): Likewise.
3932         * math/s_clog10l.c (__clog10l): Likewise.
3933         * math/s_clogf.c (__clogf): Likewise.
3934         * math/s_clogl.c (__clogl): Likewise.
3935         * math/libm-test.inc (clog_test): Add more tests.
3936         (clog10_test): Likewise.
3937         * sysdeps/i386/fpu/libm-test-ulps: Update.
3938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3940 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
3942         [BZ #14283]
3943         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
3944         by 7 not 8 to examine high bit of fractional part.
3946         [BZ #14042]
3947         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
3948         for call to __mcount_internal.
3949         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
3950         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
3951         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
3953 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
3955         [BZ #14154]
3956         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
3957         approximation for values within 0x1p-13f of an odd multiple of
3958         pi/4.
3959         * math/libm-test.inc (tan_test): Do not allow spurious underflow
3960         exception.  Add more tests.
3961         * sysdeps/i386/fpu/libm-test-ulps: Update.
3963         [BZ #6778]
3964         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
3965         inputs and return -1 for them.  Do not check for +Inf in case not
3966         reachable for +Inf.
3967         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3968         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
3969         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3970         and return -1 for them.  Do not check for +Inf in case not
3971         reachable for +Inf.
3972         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
3973         define.
3974         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3975         and return -1 for them.  Do not check for +Inf in case not
3976         reachable for +Inf.
3977         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
3978         spurious underflow.
3979         * sysdeps/i386/fpu/libm-test-ulps: Update.
3980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3982 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
3984         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
3986 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
3988         [BZ #14157]
3989         [BZ #14331]
3990         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
3991         could result in spurious underflow.  Scale down values above
3992         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
3993         * math/s_csqrtf.c (__csqrtf): Likewise.
3994         * math/s_csqrtl.c (__csqrtl): Likewise.
3995         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
3996         spurious underflow.
3997         * sysdeps/i386/fpu/libm-test-ulps: Update.
3998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4000 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
4002         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
4003         xopen-msg.sed.
4004         * catgets/xopen-msg.awk: New file.
4005         * catgets/xopen-msg.sed: Removed.
4007         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
4008         po2text.sed.
4009         * intl/po2test.awk: New file.
4010         * intl/po2test.sed: Removed.
4012 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
4014         [BZ #14328]
4015         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
4016         or multiply small sinh result by itself.
4017         * math/s_ctanf.c (__ctanf): Likewise.
4018         * math/s_ctanh.c (__ctanh): Likewise.
4019         * math/s_ctanhf.c (__ctanhf): Likewise.
4020         * math/s_ctanhl.c (__ctanhl): Likewise.
4021         * math/s_ctanl.c (__ctanl): Likewise.
4022         * math/libm-test.inc (ctan_test_tonearest): New function.
4023         (ctan_test_towardzero): Likewise.
4024         (ctan_test_downward): Likewise.
4025         (ctan_test_upward): Likewise.
4026         (ctanh_test_tonearest): Likewise.
4027         (ctanh_test_towardzero): Likewise.
4028         (ctanh_test_downward): Likewise.
4029         (ctanh_test_upward): Likewise.
4030         (main): Call these new functions.
4031         * sysdeps/i386/fpu/libm-test-ulps: Update.
4032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4034 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
4036         * .gitignore: Delete /ports entry.
4038 2012-07-03  Andreas Jaeger  <aj@suse.de>
4040         * po/bg.po: Update from translation team.
4041         * po/cs.po: Likewise.
4042         * po/de.po: Likewise.
4043         * po/hr.po: Likewise.
4044         * po/nl.pl: Likewise.
4045         * po/pl.po: Likewise.
4046         * po/vi.po: Likewise.
4048 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
4050         * Makeconfig [!+link] (+link-before-libc): New variable.
4051         [!+link] (+link-after-libc): Likewise.
4052         [!+link] (+link-tests): Likewise.
4053         [!+link] (+link): Define in terms of $(+link-before-libc) and
4054         $(+link-after-libc).
4055         [!+link-static] (+link-static-before-libc): New variable.
4056         [!+link-static] (+link-static-after-libc): Likewise.
4057         [!+link-static] (+link-static-tests): Likewise.
4058         [!+link-static] (+link-static): Define in terms of
4059         $(+link-static-before-libc) and $(+link-static-after-libc).
4060         [build-shared] (link-libc-before-gnulib): New variable.
4061         [build-shared] (link-libc-tests): Likewise.
4062         [build-shared] (link-libc): Define in terms of
4063         $(link-libc-before-gnulib).
4064         [!build-shared] (link-libc-tests): New variable.
4065         (link-libc-static-tests): New variable.
4066         [!gnulib] (gnulib-arch): New variable.
4067         [!gnulib] (gnulib-tests): Likewise.
4068         [!gnulib] (static-gnulib-arch): Likewise.
4069         [!gnulib] (static-gnulib-tests): Likewise.
4070         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
4071         Define with "=" instead of ":=".
4072         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
4073         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
4074         * Rules (binaries-all-notests): New variable.
4075         (binaries-all-tests): Likewise.
4076         (binaries-static-notests): Likewise.
4077         (binaries-static-tests): Likewise.
4078         (binaries-all): Define using $(binaries-all-notests) and
4079         $(binaries-all-tests).
4080         (binaries-static): Define using $(binaries-static-notests) and
4081         $(binaries-static-tests).
4082         (binaries-shared-tests): New variable.
4083         (binaries-shared-notests): Likewise.
4084         (binaries-shared): Remove variable.
4085         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
4086         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
4087         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
4088         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
4089         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
4090         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
4091         * elf/Makefile (sln-modules): New variable.
4092         (extra-objs): Add $(sln-modules:=.o).
4093         (ldconfig-modules): Add static-stubs.
4094         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
4095         * elf/static-stubs.c: New file.
4097         [BZ #14283]
4098         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
4099         by 7 not 8 to examine high bit of fractional part.  Use volatile
4100         variables when splitting into final array of floats if
4101         __FLT_EVAL_METHOD__ != 0.
4102         * math/libm-test.inc (cos_test): Add another test.
4103         (sin_test): Likewise.
4104         * sysdeps/i386/fpu/libm-test-ulps: Update.
4106         [BZ #14273]
4107         * math/libm-test.inc (cosh_test): Add more tests.
4109         * version.h (RELEASE): Set to "development".
4110         (VERSION): Set to "2.16.90".
4112 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
4114         * NEWS: Update copyright. Remove last-updated date.
4115         Mention math library bug fixes and timezone data changes.
4116         * README: Mention GNU/Hurd, x32, and HPPA support status.
4118 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
4120         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
4122 2012-06-27  Andreas Jaeger  <aj@suse.de>
4124         * manual/contrib.texi (Contributors): Add Samuel Thibault.
4126 2012-06-25  Andreas Jaeger  <aj@suse.de>
4128         * sysdeps/s390/fpu/libm-test-ulps: Update.
4130 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
4131             Thomas Schwinge  <thomas@codesourcery.com>
4133         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
4134         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
4135         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
4136         fanotify_mark.
4138 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
4140         * sysdeps/mach/start.c: Remove file.
4141         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
4142         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
4143         * sysdeps/sh/init-first.c: Likewise.
4145         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
4146         registers for frame unwinding purposes, add CFI directives.
4147         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4148         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
4149         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
4150         Likewise.
4152         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
4153         __fortify_fail returning.
4154         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4156         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
4157         sysdeps/sh/____longjmp_chk.S.
4158         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
4159         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
4160         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
4161         (gen-as-const-headers): Append sigaltstack-offsets.sym.
4163         * sysdeps/sh/abort-instr.h: New file.
4164         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
4165         process in case exit returns.
4167         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
4168         initialize the GOT register before use.
4170         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
4171         calculation of ARGC > 4.
4173         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
4174         meaningful names to some local labels.
4176 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
4177             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4179         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
4180         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
4181         (__arch_compare_and_exchange_val_16_acq): Likewise.
4182         (__arch_compare_and_exchange_val_32_acq): Likewise.
4183         (atomic_exchange_and_add): Fix gUSA sequence.
4184         (atomic_add): Likewise.
4185         (atomic_add_negative): Likewise.
4186         (atomic_add_zero): Likewise.
4187         (atomic_bit_test_set): Likewise.
4189 2012-06-22  Andreas Schwab  <schwab@redhat.com>
4191         [BZ #13579]
4192         * include/link.h (struct link_map): Add l_free_initfini.
4193         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
4194         l_initfini.
4195         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
4196         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
4197         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
4198         set.
4200 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
4202         * configure.in: Use AC_LANG_SOURCE.
4203         * configure: Regenerate.
4205 2012-06-22  Roland McGrath  <roland@hack.frob.com>
4207         * configure.in (libc_cv_localstatedir): New substituted variable.
4208         * configure: Regenerated.
4209         * config.make.in (localstatedir): New variable, substituted from
4210         libc_cv_localstatedir.
4211         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
4212         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
4213         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
4214         * sysdeps/gnu/configure: Regenerated.
4216 2012-06-21  Jeff Law  <law@redhat.com>
4218         [BZ #14277]
4219         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
4220         free.  Simplify list management for _LIBC case.
4222 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
4224         [BZ #14273]
4225         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4226         Clear sign bit of 64-bit integer value before comparing against
4227         overflow value.
4229         * sysdeps/mach/configure: Regenerated.
4231 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
4233         [BZ #14278]
4234         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
4236 2012-06-21  Jeff Law  <law@redhat.com>
4238         [BZ #13882]
4239         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
4240         uint16_t for elements in the "seen" array to avoid char overflows.
4241         * elf/dl-fini.c (_dl_sort_fini): Likewise.
4242         * elf/dl-open.c (dl_open_worker): Likewise.
4244 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
4246         * scripts/list-sources.sh: Scan PORTS for translations.
4247         * po/libc.pot: Regenerated.
4249 2012-06-21  Andreas Jaeger  <aj@suse.de>
4251         [BZ #12194]
4252         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
4253         warning.
4254         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
4255         * bits/byteswap-16.h (__bswap_16): Likewise.
4256         * bits/byteswap.h (__bswap_constant_16): Likewise.
4258 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
4260         [BZ #14117]
4261         * sysdeps/i386/fpu_control.h: Removed.
4262         * sysdeps/x86_64/fpu_control.h: Moved to ...
4263         * sysdeps/x86/fpu_control.h: Here.
4265         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
4266         (_FPU_SETCW): Likewise.
4268 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
4270         [BZ #14117]
4271         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
4272         * sysdeps/x86/fpu/bits/mathinline.h: This.
4273         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
4275         [BZ #14050]
4276         [BZ #14117]
4277         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
4278         functions if __x86_64__ is defined.
4280 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
4282         * string/endian.h: Add !__ASSEMBLER__ condition for including
4283         conversion interfaces.
4285 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
4287         [BZ #14241]
4288         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
4289         of ABS(x) in calculating zero to negative powers other than odd
4290         integers.
4291         * math/libm-test.inc (pow_test): Add more tests.
4293 2012-06-15  Andreas Jaeger  <aj@suse.de>
4295         * manual/contrib.texi (Contributors): Update entry of Liubov
4296         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
4297         Machado Filho.
4299 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
4301         * string/string.h: Add __wur to GNU version of strerror_r.
4303 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
4305         [BZ #14229]
4306         * string/Makefile (tests): Add tst-strtok_r.
4307         * string/tst-strtok_r.c: New file.
4308         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
4309         RAX_LP/RDX_LP on SAVE_PTR.
4311 2012-06-14  Roland McGrath  <roland@hack.frob.com>
4313         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
4315 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
4317         * libm_test.inc (csqrt_test): Allow more spurious underflow
4318         exceptions.
4319         (j0_test): Likewise.
4320         (j1_test): Likewise.
4321         (y0_test): Likewise.
4322         (y1_test): Likewise.
4324 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
4326         * po/Makefile (libc.pot): Use UTF-8 charset.
4328 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
4330         [BZ #14210]
4331         Suppress sign-conversion warning from FD_SET.
4332         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
4333         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
4334         not unsigned long int.
4335         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
4337 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
4339         [BZ #14050]
4340         [BZ #14117]
4341         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
4342         __extern_always_inline instead of __extern_inline.
4343         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
4344         (__signbit): Likewise.
4345         (__signbitl): Support C++ namespace.
4346         (lrintf): New inline function.
4347         (lrint): Likewise.
4348         (llrintf): Likewise.
4349         (llrint): Likewise.
4350         (fmaxf): Likewise.
4351         (fmax): Likewise.
4352         (fminf): Likewise.
4353         (fmin): Likewise.
4354         (rint): Likewise.
4355         (rintf): Likewise.
4356         (ceil): Likewise.
4357         (ceilf): Likewise.
4358         (floor): Likewise.
4359         (floorf): Likewise.
4360         (nearbyint): Likewise.
4361         (nearbyintf): Likewise.
4363 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
4365         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
4366         non-default versions.
4368 2012-06-11  Roland McGrath  <roland@hack.frob.com>
4370         [BZ #14218]
4371         * manual/argp.texi (Argp): Reword argp_parse description slightly.
4373 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
4375         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
4376         (FE_UPWARD, FE_DOWNWARD): Don't define.
4377         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
4378         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4380         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
4381         reading it.
4382         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4383         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4385 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4387         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4388         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
4389         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
4390         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
4392 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
4394         [BZ #14117]
4395         * sysdeps/i386/fpu/bits/fenv.h: Removed.
4396         * sysdeps/i386/fpu/Implies: New file.
4397         * sysdeps/x86_64/fpu/Implies: Likewise.
4398         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
4399         * sysdeps/x86/fpu/bits/fenv.h: This.
4401         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
4402         __SSE_MATH__.
4404 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
4406         [BZ #14134]
4407         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
4408         character 0xffff that matches the last element of the
4409         conversion table.
4411 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4413         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
4414         fmodl commit.
4416 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4418         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
4419         values higher than 25.6283.
4421 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4423         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
4424         subnormal exponent extraction and add some __builtin_expect.
4425         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
4426         Fix for subnormal mantissa calculation.
4428 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
4430         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
4431         cpu2 is -1 and errno is not ENOSYS.
4433 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
4435         [BZ #14117]
4436         * sysdeps/i386/i486/bits/string.h: Renamed to ...
4437         * sysdeps/x86/bits/string.h: This.
4438         * sysdeps/x86_64/bits/string.h: Removed.
4440         * sysdeps/i386/i486/bits/string.h: Define inline functions only
4441         if not compiling for x86-64, but compiling for >= i486.
4443         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
4444         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
4446         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
4447         New macro from Linux kernel 3.4.0.
4448         (FP_XSTATE_MAGIC2): Likewise.
4449         (FP_XSTATE_MAGIC2_SIZE): Likewise.
4450         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
4451         (struct _fpx_sw_bytes): New struct.
4452         (struct _xsave_hdr): Likewise.
4453         (struct _ymmh_state): Likewise.
4454         (struct _xstate): Likewise.
4456         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
4457         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
4458         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
4459         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
4460         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
4461         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
4463         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
4464         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
4465         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
4466         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
4467         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
4468         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
4470 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4472         [BZ #13743]
4473         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
4474         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
4475         (sysdep_headers): Include sys/platform/ppc.h.
4476         * sysdeps/powerpc/test-gettimebase.c: Test for
4477         __ppc_get_timebase() to catch future ISA opcode/insn changes.
4478         * manual/Makefile (appendices): Include platform.texi.
4479         * manual/contrib.texi (Contributors): Update @node pointers.
4480         * manual/maint.texi (Maintenance): Likewise.
4481         (Platform): New node.
4482         * manual/platform.texi: New file.  Document the new features.
4484 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4485             Jakub Jelinek  <jakub@redhat.com>
4487         [BZ #14188]
4488         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
4489         where __builtin_expect is unavailable.
4491 2012-06-03  David S. Miller  <davem@davemloft.net>
4493         * stdlib/longlong.h: Updated from GCC.
4495 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
4497         [BZ #14042]
4498         * sysdeps/powerpc/powerpc32/mcount.c: New file.
4499         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
4500         __mcount_internal.
4501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4502         (GLIBC_2.16): Likewise.
4504 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
4506         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
4508 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
4510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4511         (default-abi): New variable.
4512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
4513         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
4514         variable.
4515         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
4516         Likewise.
4517         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
4518         Likewise.
4519         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
4520         Likewise.
4522         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
4523         definition.  Document in comment.
4525 2012-06-01  David S. Miller  <davem@davemloft.net>
4527         * stdlib/longlong.h: Updated from GCC.
4529 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
4531         [BZ #14117]
4532         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
4533         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
4534         sys/debugreg.h sys/io.h here.
4535         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
4536         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
4537         sys/io.h.
4538         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
4539         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
4540         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
4541         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
4542         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
4543         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
4545         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
4546         Define only if __x86_64__ is defined.
4548 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
4550         [BZ #14048]
4551         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
4552         Use int64_t for variable i.
4553         * math/libm-test.inc (fmod_test): Add more tests.
4555         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
4556         z computation is not scheduled after fetestexcept.
4557         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
4558         Use math_force_eval instead of asm to ensure calculation scheduled
4559         before exception test.
4560         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
4561         Ensure a1 + u.d computation is not scheduled after fetestexcept.
4563 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
4565         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
4566         computation is not scheduled after fetestexcept.
4568 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
4570         [BZ #14117]
4571         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
4572         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
4574 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4576         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
4577         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4579 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
4581         [BZ #14117]
4582         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
4583         <bits/wordsize.h>.
4584         (__WCHAR_MIN): Support __WORDSIZE == 64.
4585         (__WCHAR_MAX): Likewise.
4587         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
4588         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
4590         [BZ #14183]
4591         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
4592         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
4594         [BZ #14117]
4595         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
4596         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
4598         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
4599         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
4601         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
4602         Defined to 1 if __x86_64__ isn't defined.
4603         (_STAT_VER_LINUX_OLD): New.
4604         (st_atime): Remove duplicate.
4605         (st_mtime): Likewise.
4606         (st_ctime): Likewise.
4608 2012-05-31  David S. Miller  <davem@davemloft.net>
4610         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
4611         entries.
4613 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
4615         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
4616         gen-libm-test.pl.
4618         [BZ #14132]
4619         * elf/dl-reloc.c: Include <_itoa.h>.
4620         (_dl_reloc_bad_type): Remove use of INTUSE.
4621         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
4622         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
4623         * stdio-common/psiginfo.c (psiginfo): Likewise.
4624         * stdio-common/psignal.c (psignal): Likewise.
4625         * string/strsignal.c (strsignal): Likewise.
4626         * include/signal.h (_sys_siglist): Declare hidden proto.
4627         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
4628         INTVARDEF with libc_hidden_data_def.
4629         * stdio-common/itoa-udigits.c: Likewise.
4630         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
4631         (_itoa_lower_digits_internal): Remove declaration.
4632         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
4633         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
4634         (_sys_sigabbrev_internal): Remove aliases.
4635         (_sys_siglist): Define hidden alias.
4637 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
4639         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4640         bits/sysctl.h.
4642 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
4644         [BZ #14117]
4645         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
4646         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
4648         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
4649         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
4650         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
4651         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
4652         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
4653         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
4655         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
4656         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
4657         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
4659         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
4660         with __addr.
4661         (insw): Likewise.
4662         (insl): Likewise.
4663         (outsb): Likewise.
4664         (outsw): Likewise.
4665         (outsl): Likewise.
4667         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
4668         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
4669         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
4671         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
4672         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
4673         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
4674         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
4675         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
4676         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
4678         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
4679         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
4681         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
4682         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
4684         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
4685         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
4686         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
4688         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
4689         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
4690         to ...
4691         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
4693         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
4694         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
4695         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
4697         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
4698         for x86-64.
4699         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4701 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
4703         * math/math.h (M_El): Use two more decimal places.
4704         (M_LOG2El): Likewise.
4705         (M_LOG10El): Likewise.
4706         (M_LN2l): Likewise.
4707         (M_LN10l): Likewise.
4708         (M_PIl): Likewise.
4709         (M_PI_2l): Likewise.
4710         (M_PI_4l): Likewise.
4711         (M_1_PIl): Likewise.
4712         (M_2_PIl): Likewise.
4713         (M_2_SQRTPIl): Likewise.
4714         (M_SQRT2l): Likewise.
4715         (M_SQRT1_2l): Likewise.
4717 2012-05-31  David S. Miller  <davem@davemloft.net>
4719         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
4720         values between float registers.
4721         * sysdeps/sparc/sparc64/memset.S: Likewise.
4722         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4724 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
4726         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
4727         -D_FORTIFY_SOURCE=1.
4728         (CPPFLAGS-tst-longjmp_chk.c): Define.
4729         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
4730         (CPPFLAGS-tst-longjmp_chk2.c): Define.
4731         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
4732         CFLAGS-tst-wchar-h.c.
4734 2012-05-31  Marek Polacek  <polacek@redhat.com>
4736         [BZ #14132]
4737         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
4738         __endmntent_internal): Remove declaration.
4739         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
4740         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
4741         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
4743 2012-05-30  David S. Miller  <davem@davemloft.net>
4745         * sysdeps/sparc/sparc32/soft-fp/q_util.c
4746         (___Q_simulate_exceptions): Use real FP ops rather than writing
4747         into the %fsr.
4748         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
4749         Likewise.
4751 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
4753         [BZ #14117]
4754         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
4755         * sysdeps/x86/bits/xtitypes.h: This.
4757         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
4758         * sysdeps/x86/bits/wordsize.h: This.
4760         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
4761         * sysdeps/x86/bits/huge_vall.h: This.
4763         * sysdeps/i386/bits/select.h: Removed.
4764         * sysdeps/x86_64/bits/select.h: Renamed to ...
4765         * sysdeps/x86/bits/select.h: This.
4767         * sysdeps/i386/bits/setjmp.h: Removed.
4768         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
4769         * sysdeps/x86/bits/setjmp.h: This.
4771         * sysdeps/i386/bits/mathdef.h: Removed.
4772         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
4773         * sysdeps/x86/bits/mathdef.h: This.
4775 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
4777         [BZ #14132]
4778         * include/sys/socket.h (__connect_internal)
4779         (__libc_sa_len_internal): Remove declaration.
4780         (__connect, __libc_sa_len): Declare hidden_proto.
4781         (SA_LEN): Remove use of INTUSE.
4782         * socket/connect.c: Add libc_hidden_def.
4783         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
4784         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
4785         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
4786         alias.
4787         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4788         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4789         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
4790         of adding _internal alias.
4792 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
4794         [BZ #14117]
4795         * sysdeps/i386/bits/link.h: Removed.
4796         * sysdeps/i386/bits/linkmap.h: Likewise.
4797         * sysdeps/x86_64/bits/link.h: Renamed to ...
4798         * sysdeps/x86/bits/link.h: This.
4799         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
4800         * sysdeps/x86/bits/linkmap.h: This.
4802         * sysdeps/i386/bits/endian.h: Removed.
4803         * sysdeps/x86_64/bits/endian.h: Renamed to ...
4804         * sysdeps/x86/bits/endian.h: This.
4806         * sysdeps/i386/bits/byteswap.h: Removed.
4807         * sysdeps/i386/bits/byteswap-16.h: Likewise.
4808         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
4809         * sysdeps/x86/bits/byteswap.h: This.
4810         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
4811         * sysdeps/x86/bits/byteswap-16.h: This.
4812         * sysdeps/i386/Implies: Add x86.
4813         * sysdeps/x86_64/Implies: Likewise.
4815 2012-05-30  David S. Miller  <davem@davemloft.net>
4817         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
4818         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
4819         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4820         (FP_TRAPPING_EXCEPTIONS): Define.
4821         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4822         (FP_TRAPPING_EXCEPTIONS): Define.
4823         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
4824         subnormals only when inexact has been signalled or underflow
4825         exceptions are enabled.
4826         (_FP_PACK_CANONICAL): Likewise.
4828 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
4830         [BZ #14183]
4831         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
4832         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
4834 2012-05-30  Richard Henderson  <rth@twiddle.net>
4836         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
4837         with #ifndef NOT_IN_libc.
4839         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
4840         marked to avoid plt entry.
4842 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
4844         [BZ #14112]
4845         * Makeconfig (default-abi): New macro.
4846         (abi-includes): Likewise.
4847         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
4848         $(abi-$(default-abi)-lib-soname) for soname if defined.
4849         ($(common-objpfx)gnu/lib-names.stmp): Generate from
4850         abi-variants.
4851         * Makefile (installed-stubs): Likewise.
4852         * include/stubs-biarch.h: Removed.
4853         * scripts/lib-names.awk: Only handle one library at a time.
4854         * scripts/soversions.awk: Remove WORDSIZE support.
4855         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
4856         entries.
4857         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
4858         Removed.
4859         (syscall-list-default-condition): Likewise.
4860         (syscall-list-default-condition): Likewise.
4861         (syscall-list-includes): Likewise.
4862         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
4863         syscall-list-* with abi-*.  Handle undefined abi-variants.
4864         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
4865         * sysdeps/unix/sysv/linux/i386/Implies: New file.
4866         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
4867         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
4868         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
4869         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
4870         Removed.
4871         (syscall-list-32-options): Likewise.
4872         (syscall-list-32-condition): Likewise.
4873         (syscall-list-64-options): Likewise.
4874         (syscall-list-64-condition): Likewise.
4875         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
4876         macro.
4877         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
4878         Renamed to ...
4879         (abi-*): This.
4880         (abi-64-ld-soname): New macro.
4881         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
4882         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
4883         Renamed to ...
4884         (abi-*): This.
4885         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
4886         * sysdeps/x86_64/x32/shlib-versions: Likewise.
4888 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
4890         * sysdeps/unix/sysv/linux/kernel-features.h
4891         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
4892         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
4893         include <kernel-features.h>.
4894         [!__NR_ftruncate64]: Remove conditional code.
4895         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4896         [__NR_ftruncate64]: Make code unconditional.
4897         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4898         * sysdeps/unix/sysv/linux/truncate64.c: Do not
4899         include <kernel-features.h>.
4900         [!__NR_ftruncate64]: Remove conditional code.
4901         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4902         [__NR_ftruncate64]: Make code unconditional.
4903         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
4905         include <kernel-features.h>.
4906         [!__NR_ftruncate64]: Remove conditional code.
4907         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4908         [__NR_ftruncate64]: Make code unconditional.
4909         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4911         include <kernel-features.h>.
4912         [!__NR_ftruncate64]: Remove conditional code.
4913         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4914         [__NR_ftruncate64]: Make code unconditional.
4915         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4917         * configure.in (libc_cv_fpie): Weaken to a compile test using
4918         LIBC_TRY_CC_OPTION.
4919         * configure: Regenerated.
4921 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4923         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
4924         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
4925         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
4926         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4927         Refreshed.
4928         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
4929         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
4930         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
4931         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
4932         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
4933         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4934         Refreshed.
4936 2012-05-27  David S. Miller  <davem@davemloft.net>
4938         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
4939         (___Q_zero): New.
4940         (__Q_simulate_exceptions): Return void.  Change to simulate
4941         exceptions by writing into the %fsr.
4942         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
4943         (__Qp_handle_exceptions): Likewise.
4944         (numbers): Delete.
4945         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
4946         __Qp_handle_exceptions.
4947         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
4948         __Qp_handle_exceptions.
4949         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4950         as unused and give dummy FP_RND_NEAREST initializer.
4951         (FP_INHIBIT_RESULTS): Define.
4952         (___Q_simulate_exceptions): Update declaration.
4953         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
4954         formatting.
4955         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4956         as unused and give dummy FP_RND_NEAREST initializer.
4957         (__Qp_handle_exceptions): Update declaration.
4958         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
4959         formatting.
4961 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
4963         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
4964         the temporary FPU control word.
4965         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4966         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
4967         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4968         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4969         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4970         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4971         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4972         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4973         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4974         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4975         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4977 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4979         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
4980         fields.
4982 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
4984         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
4985         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
4986         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
4987         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
4988         Likewise.
4989         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
4990         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
4991         Likewise.
4993 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
4995         * po/h.po: Update from translation team.
4997 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
4999         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
5001         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
5002         handling of denormals.
5003         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5004         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5005         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5006         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5007         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5008         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
5009         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
5010         Likewise.
5012 2012-05-26  Marek Polacek  <polacek@redhat.com>
5014         [BZ #14152]
5015         * math/libm-test.inc (fma_test): Don't always expect underflow
5016         exception.
5018 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5020         [BZ #12416]
5021         * elf/tst-execstack.c: Include stackinfo.h.
5022         (do_test): Adjust test case to ensure that pthread_getattr_np
5023         behaviour remains the same after marking stack executable.
5025 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
5027         * sysdeps/unix/sysv/linux/kernel-features.h
5028         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
5029         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
5030         kernel-features.h.
5031         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5032         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5033         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
5034         kernel-features.h.
5035         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5036         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5038 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
5040         * configure.in: Define the default includes to being none.
5041         * configure: Regenerated.
5043 2012-05-25  Roland McGrath  <roland@hack.frob.com>
5045         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
5046         * sysdeps/x86_64/setjmp.S: Likewise.
5047         * sysdeps/i386/bsd-setjmp.S: Likewise.
5048         * sysdeps/i386/bsd-_setjmp.S: Likewise.
5049         * sysdeps/i386/setjmp.S: Likewise.
5050         * sysdeps/i386/__longjmp.S: Likewise.
5051         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5052         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
5054         * include/stap-probe.h: New file.
5055         * configure.in: Handle --enable-systemtap.
5056         * configure: Regenerated.
5057         * config.h.in (USE_STAP_PROBE): New #undef.
5058         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
5059         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
5060         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5062 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
5064         [BZ #13717]
5065         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5066         to 2.4.0 where earlier.
5067         * sysdeps/unix/sysv/linux/configure: Regenerated.
5068         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5069         <kernel-features.h>.
5070         [__ASSUME_32BITUIDS]: Make code unconditional.
5071         [!__ASSUME_32BITUIDS]: Remove conditional code.
5072         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
5073         <kernel-features.h>.
5074         [__ASSUME_32BITUIDS]: Make code unconditional.
5075         [!__ASSUME_32BITUIDS]: Remove conditional code.
5076         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
5077         [__ASSUME_32BITUIDS]: Make code unconditional.
5078         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
5079         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
5080         <kernel-features.h>.
5081         [__ASSUME_32BITUIDS]: Make code unconditional.
5082         [!__ASSUME_32BITUIDS]: Remove conditional code.
5083         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
5084         <kernel-features.h>.
5085         [__ASSUME_32BITUIDS]: Make code unconditional.
5086         [!__ASSUME_32BITUIDS]: Remove conditional code.
5087         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
5088         <kernel-features.h>.
5089         [__ASSUME_32BITUIDS]: Make code unconditional.
5090         [!__ASSUME_32BITUIDS]: Remove conditional code.
5091         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
5092         <kernel-features.h>.
5093         [__ASSUME_32BITUIDS]: Make code unconditional.
5094         [!__ASSUME_32BITUIDS]: Remove conditional code.
5095         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5096         <kernel-features.h>.
5097         [__ASSUME_32BITUIDS]: Make code unconditional.
5098         [!__ASSUME_32BITUIDS]: Remove conditional code.
5099         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5100         <kernel-features.h>.
5101         [__ASSUME_32BITUIDS]: Make code unconditional.
5102         [!__ASSUME_32BITUIDS]: Remove conditional code.
5103         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
5104         <kernel-features.h>.
5105         [__ASSUME_32BITUIDS]: Make code unconditional.
5106         [!__ASSUME_32BITUIDS]: Remove conditional code.
5107         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5108         <kernel-features.h>.
5109         [__ASSUME_32BITUIDS]: Make code unconditional.
5110         [!__ASSUME_32BITUIDS]: Remove conditional code.
5111         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5112         <kernel-features.h>.
5113         [__ASSUME_32BITUIDS]: Make code unconditional.
5114         [!__ASSUME_32BITUIDS]: Remove conditional code.
5115         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
5116         <kernel-features.h>.
5117         [__ASSUME_32BITUIDS]: Make code unconditional.
5118         [!__ASSUME_32BITUIDS]: Remove conditional code.
5119         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
5120         <kernel-features.h>.
5121         [__NR_setresgid] (__setresgid): Do not declare.
5122         [__ASSUME_32BITUIDS]: Make code unconditional.
5123         [!__ASSUME_32BITUIDS]: Remove conditional code.
5124         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
5125         <kernel-features.h>.
5126         [__NR_setresuid] (__setresuid): Do not declare.
5127         [__ASSUME_32BITUIDS]: Make code unconditional.
5128         [!__ASSUME_32BITUIDS]: Remove conditional code.
5129         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
5130         <kernel-features.h>.
5131         [__ASSUME_32BITUIDS]: Make code unconditional.
5132         [!__ASSUME_32BITUIDS]: Remove conditional code.
5133         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
5134         <kernel-features.h>.
5135         [__ASSUME_32BITUIDS]: Make code unconditional.
5136         [!__ASSUME_32BITUIDS]: Remove conditional code.
5137         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
5138         <kernel-features.h>.
5139         [__ASSUME_32BITUIDS]: Make code unconditional.
5140         [!__ASSUME_32BITUIDS]: Remove conditional code.
5141         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
5142         <kernel-features.h>.
5143         [__ASSUME_32BITUIDS]: Make code unconditional.
5144         [!__ASSUME_32BITUIDS]: Remove conditional code.
5145         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
5146         <kernel-features.h>.
5147         [__ASSUME_32BITUIDS]: Make code unconditional.
5148         [!__ASSUME_32BITUIDS]: Remove conditional code.
5149         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
5150         <kernel-features.h>.
5151         [__ASSUME_32BITUIDS]: Make code unconditional.
5152         [!__ASSUME_32BITUIDS]: Remove conditional code.
5153         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
5154         <kernel-features.h>.
5155         [__ASSUME_32BITUIDS]: Make code unconditional.
5156         [!__ASSUME_32BITUIDS]: Remove conditional code.
5157         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
5158         <kernel-features.h>.
5159         [__ASSUME_32BITUIDS]: Make code unconditional.
5160         [!__ASSUME_32BITUIDS]: Remove conditional code.
5161         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
5162         <kernel-features.h>.
5163         [__ASSUME_32BITUIDS]: Make code unconditional.
5164         [!__ASSUME_32BITUIDS]: Remove conditional code.
5165         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
5166         <kernel-features.h>.
5167         [__ASSUME_32BITUIDS]: Make code unconditional.
5168         [!__ASSUME_32BITUIDS]: Remove conditional code.
5169         * sysdeps/unix/sysv/linux/kernel-features.h
5170         (__ASSUME_SETRESUID_SYSCALL): Remove.
5171         (__ASSUME_SETRESGID_SYSCALL): Likewise.
5172         (__ASSUME_32BITUIDS): Likewise.
5173         (__ASSUME_LDT_WORKS): Likewise.
5174         (__ASSUME_O_DIRECTORY): Likewise.
5175         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
5176         architecture but not kernel version.
5177         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5178         (__ASSUME_MMAP2_SYSCALL): Likewise.
5179         (__ASSUME_STAT64_SYSCALL): Likewise.
5180         (__ASSUME_IPC64): Likewise.
5181         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
5182         <kernel-features.h>.
5183         [__ASSUME_32BITUIDS]: Make code unconditional.
5184         [!__ASSUME_32BITUIDS]: Remove conditional code.
5185         * sysdeps/unix/sysv/linux/opendir.c: Do not include
5186         <kernel-features.h>.
5187         [__ASSUME_O_DIRECTORY]: Make code unconditional.
5188         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
5189         132096]: Remove conditional code.
5190         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
5191         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5192         <kernel-features.h>.
5193         [__ASSUME_32BITUIDS]: Make code unconditional.
5194         [!__ASSUME_32BITUIDS]: Remove conditional code.
5195         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5196         <kernel-features.h>.
5197         [__ASSUME_32BITUIDS]: Make code unconditional.
5198         [!__ASSUME_32BITUIDS]: Remove conditional code.
5199         * sysdeps/unix/sysv/linux/setegid.c: Do not include
5200         <kernel-features.h>.
5201         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
5202         unconditional.
5203         (__setresgid): Do not declare.
5204         [__ASSUME_32BITUIDS]: Make code unconditional.
5205         [!__ASSUME_32BITUIDS]: Remove conditional code.
5206         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
5207         <kernel-features.h>.
5208         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
5209         unconditional.
5210         (__setresuid): Do not declare.
5211         [__ASSUME_32BITUIDS]: Make code unconditional.
5212         [!__ASSUME_32BITUIDS]: Remove conditional code.
5213         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5214         <kernel-features.h>.
5215         [__ASSUME_32BITUIDS]: Make code unconditional.
5216         [!__ASSUME_32BITUIDS]: Remove conditional code.
5217         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
5218         <kernel-features.h>.
5219         [__ASSUME_32BITUIDS]: Make code unconditional.
5220         [!__ASSUME_32BITUIDS]: Remove conditional code.
5222 2012-05-25  Richard Henderson  <rth@twiddle.net>
5224         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
5225         dl_hwcap to ifunc resolver.
5226         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
5227         elf_ifunc_invoke.
5228         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
5229         dl_hwcap to ifunc resolver.
5230         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
5232 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
5234         [BZ #14153]
5235         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
5236         for |x| <= 2**-26, not 2**-57.
5237         * math/libm-test.inc (acos_test): Do not allow spurious underflow
5238         exception.
5240 2012-05-24  Jeff Law  <law@redhat.com>
5242         * stdio-common/Makefile (tests): Add bug25.
5243         * stdio-common/bug25.c: New test.
5245 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
5247         [BZ #13576]
5248         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
5249         multiple of MALLOC_ALIGNMENT in size.
5250         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
5252 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
5254         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
5255         Require >= 256.
5256         (FILENAME_MAX): Use macro-int-constant.
5257         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
5258         (_IOFBF): Use macro-int-constant.
5259         (_IOLBF): Likewise.
5260         (_IONBF): Likewise.
5261         (SEEK_CUR): Likewise.
5262         (SEEK_END): Likewise.
5263         (SEEK_SET): Likewise.
5264         (TMP_MAX): Likewise.
5265         (EOF): Use macro-int-constant.  Require < 0.
5266         (NULL): Use macro-constant.  Require == 0.
5267         (stdin): Require type to be FILE *.
5268         (stdout): Likewise.
5269         (stderr): Likewise.
5270         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
5271         macro-int-constant.
5272         (EXIT_SUCCESS): Likewise.
5273         (NULL): Use macro-constant.  Require == 0.
5274         (RAND_MAX): Use macro-int-constant.
5275         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
5276         [C99-based standards] (strtof): Require function.
5277         [C99-based standards] (strtold): Likewise.
5278         [C99-based standards] (strtoll): Likewise.
5279         [C99-based standards] (strtoull): Likewise.
5280         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5281         [ISO || ISO99 || ISO11] (limits.h): Likewise.
5282         [ISO || ISO99 || ISO11] (math.h): Likewise.
5283         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
5284         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5285         [ISO || ISO99 || ISO11] (*_t): Do not allow.
5287 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
5289         [BZ #14132]
5290         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
5291         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
5292         * intl/dgettext.c (DCGETTEXT): Likewise.
5293         * intl/gettext.c (DCGETTEXT): Likewise.
5294         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
5295         * posix/regex_internal.h (gettext): Likewise.
5296         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
5297         Remove declaration.
5298         * include/argz.h (__argz_count_internal)
5299         (__argz_stringify_internal): Remove declaration.
5300         (__argz_count, __argz_stringify): Declare hidden proto.
5301         * intl/dcgettext.c: Remove use of INTDEF.
5302         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
5303         * string/argz-stringify.c: Likewise.
5304         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5305         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5306         Declare hidden proto.
5307         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5308         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5309         Declare hidden proto.
5310         * include/stdio.h (__asprintf_internal): Don't declare.
5311         (__asprintf): Don't define as macro.  Declare hidden proto.
5312         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
5313         (__fsetlocking): Declare hidden proto.
5314         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
5315         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
5316         hidden proto.
5317         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
5318         (_IO_setlinebuf): Remove use of INTUSE.
5319         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
5320         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
5321         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
5322         Remove declaration.
5323         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
5324         (_IO_do_flush): Remove use of INTUSE.
5325         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
5326         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
5327         (_IO_adjust_column, _IO_least_wmarker)
5328         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
5329         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
5330         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
5331         (_IO_default_doallocate, _IO_wdefault_doallocate)
5332         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
5333         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
5334         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
5335         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
5336         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
5337         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
5338         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
5339         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
5340         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
5341         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
5342         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
5343         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
5344         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
5345         proto.
5346         (_IO_flush_all_internal, _IO_adjust_column_internal)
5347         (_IO_default_uflow_internal, _IO_default_finish_internal)
5348         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
5349         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
5350         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
5351         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
5352         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
5353         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
5354         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
5355         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
5356         (_IO_file_close_internal, _IO_file_close_it_internal)
5357         (_IO_file_underflow_internal, _IO_file_overflow_internal)
5358         (_IO_file_init_internal, _IO_file_attach_internal)
5359         (_IO_file_fopen_internal, _IO_file_read_internal)
5360         (_IO_file_sync_internal, _IO_file_seek_internal)
5361         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
5362         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
5363         (_IO_str_underflow_internal, _IO_str_overflow_internal)
5364         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
5365         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
5366         (_IO_list_all_internal, _IO_link_in_internal)
5367         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
5368         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
5369         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
5370         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
5371         (_IO_do_write_internal, _IO_padn_internal)
5372         (_IO_getline_info_internal, _IO_getline_internal)
5373         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
5374         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
5375         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
5376         (_IO_vfscanf_internal, _IO_vfprintf_internal)
5377         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
5378         (_IO_init_internal, _IO_un_link_internal): Don't declare.
5379         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
5380         with libc_hidden_ver, remove use of INTUSE.
5381         * libio/genops.c: Likewise.
5382         * libio/freopen.c: Likewise.
5383         * libio/freopen64.c: Likewise.
5384         * libio/iofclose.c: Likewise.
5385         * libio/iofdopen.c: Likewise.
5386         * libio/iofflush.c: Likewise.
5387         * libio/iofflush_u.c: Likewise.
5388         * libio/iofgets.c: Likewise.
5389         * libio/iofgets_u.c: Likewise.
5390         * libio/iofopen.c: Likewise.
5391         * libio/iofopncook.c: Likewise.
5392         * libio/iofread.c: Likewise.
5393         * libio/iofread_u.c: Likewise.
5394         * libio/ioftell.c: Likewise.
5395         * libio/iofwrite.c: Likewise.
5396         * libio/iogetline.c: Likewise.
5397         * libio/iogets.c: Likewise.
5398         * libio/iogetwline.c: Likewise.
5399         * libio/iopadn.c: Likewise.
5400         * libio/iopopen.c: Likewise.
5401         * libio/ioseekoff.c: Likewise.
5402         * libio/ioseekpos.c: Likewise.
5403         * libio/iosetbuffer.c: Likewise.
5404         * libio/iosetvbuf.c: Likewise.
5405         * libio/ioungetc.c: Likewise.
5406         * libio/ioungetwc.c: Likewise.
5407         * libio/iovdprintf.c: Likewise.
5408         * libio/iovsprintf.c: Likewise.
5409         * libio/iovsscanf.c: Likewise.
5410         * libio/memstream.c: Likewise.
5411         * libio/obprintf.c: Likewise.
5412         * libio/oldfileops.c: Likewise.
5413         * libio/oldiofclose.c: Likewise.
5414         * libio/oldiofdopen.c: Likewise.
5415         * libio/oldiofopen.c: Likewise.
5416         * libio/oldiopopen.c: Likewise.
5417         * libio/oldstdfiles.c: Likewise.
5418         * libio/putc.c: Likewise.
5419         * libio/setbuf.c: Likewise.
5420         * libio/setlinebuf.c: Likewise.
5421         * libio/stdfiles.c: Likewise.
5422         * libio/strops.c: Likewise.
5423         * libio/vasprintf.c: Likewise.
5424         * libio/vscanf.c: Likewise.
5425         * libio/vsnprintf.c: Likewise.
5426         * libio/vswprintf.c: Likewise.
5427         * libio/wfiledoalloc.c: Likewise.
5428         * libio/wfileops.c: Likewise.
5429         * libio/wgenops.c: Likewise.
5430         * libio/wmemstream.c: Likewise.
5431         * libio/wstrops.c: Likewise.
5432         * libio/__fpurge.c: Likewise.
5433         * libio/__fsetlocking.c: Likewise.
5434         * assert/assert.c: Likewise.
5435         * debug/fgets_chk.c: Likewise.
5436         * debug/fgets_u_chk.c: Likewise.
5437         * debug/fread_chk.c: Likewise.
5438         * debug/fread_u_chk.c: Likewise.
5439         * debug/gets_chk.c: Likewise.
5440         * debug/obprintf_chk.c: Likewise.
5441         * debug/vasprintf_chk.c: Likewise.
5442         * debug/vdprintf_chk.c: Likewise.
5443         * debug/vsnprintf_chk.c: Likewise.
5444         * debug/vsprintf_chk.c: Likewise.
5445         * malloc/mtrace.c: Likewise.
5446         * misc/error.c: Likewise.
5447         * misc/syslog.c: Likewise.
5448         * stdio-common/asprintf.c: Likewise.
5449         * stdio-common/fxprintf.c: Likewise.
5450         * stdio-common/getw.c: Likewise.
5451         * stdio-common/isoc99_fscanf.c: Likewise.
5452         * stdio-common/isoc99_scanf.c: Likewise.
5453         * stdio-common/isoc99_vfscanf.c: Likewise.
5454         * stdio-common/isoc99_vscanf.c: Likewise.
5455         * stdio-common/isoc99_vsscanf.c: Likewise.
5456         * stdio-common/printf-prs.c: Likewise.
5457         * stdio-common/printf_fp.c: Likewise.
5458         * stdio-common/printf_fphex.c: Likewise.
5459         * stdio-common/printf_size.c: Likewise.
5460         * stdio-common/putw.c: Likewise.
5461         * stdio-common/scanf.c: Likewise.
5462         * stdio-common/sprintf.c: Likewise.
5463         * stdio-common/tmpfile.c: Likewise.
5464         * stdio-common/vfprintf.c: Likewise.
5465         * stdio-common/vfscanf.c: Likewise.
5466         * stdlib/strfmon_l.c: Likewise.
5467         * sunrpc/openchild.c: Likewise.
5468         * sunrpc/xdr_stdio.c: Likewise.
5469         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5470         * sysdeps/mach/hurd/tmpfile.c: Likewise.
5472 2012-05-24  Roland McGrath  <roland@hack.frob.com>
5474         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5476         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
5477         in the third column, to generate for the shared library an IFUNC
5478         that uses _dl_vdso_vsym.
5479         * Makerules (COMPILE.c, compile-stdin.c): New variables.
5480         * Makeconfig (object-suffixes-noshared): New variable.
5482         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
5483         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
5484         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
5485         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
5487         [BZ #14132]
5488         * include/sys/time.h (__gettimeofday): Remove macro.
5489         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
5490         * time/gettimeofday.c (__gettimeofday): Remove #undef.
5491         Remove INTDEF.
5492         (__gettimeofday): Add libc_hidden_def.
5493         (gettimeofday): Add libc_hidden_weak.
5494         * sysdeps/mach/gettimeofday.c: Likewise.
5495         * sysdeps/posix/gettimeofday.c: Likewise.
5496         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5497         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5498         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
5499         (__gettimeofday_internal): Remove strong_alias.
5500         (__gettimeofday): Add libc_hidden_def.
5501         (gettimeofday): Add libc_hidden_weak.
5502         * sysdeps/unix/syscalls.list (gettimeofday):
5503         Remove __gettimeofday_internal alias.
5505 2012-05-24  Daniel Jacobowitz  <drow@false.org>
5506             H.J. Lu  <hongjiu.lu@intel.com>
5508         [BZ #12495]
5509         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
5510         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
5511         (largebin_index_32_big): New.
5512         (largebin_index): Use it for 16-byte alignment.
5513         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
5514         correction with front_misalign.
5516 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
5518         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
5519         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5520         Likewise.
5521         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
5522         Likewise.
5523         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5524         Likewise.
5525         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
5526         Likewise.
5527         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
5528         Likewise.
5529         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
5530         Likewise.
5531         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
5532         Likewise.
5533         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5534         Likewise.
5535         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
5536         Likewise.
5537         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
5538         Likewise.
5539         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5540         Likewise.
5541         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
5542         Likewise.
5544         * scripts/data/c++-types-x32-linux-gnu.data: New file.
5545         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
5547 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
5549         [BZ #10846]
5550         [BZ #14036]
5551         * math/libm-test.inc (exp_test): Add test from bug 14036.
5552         (pow_test): Add test from bug 10846.
5554         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
5555         and other flags.
5556         (special_function): Do not include flags in test name.
5557         (parse_args): Likewise.
5558         * sysdeps/i386/fpu/libm-test-ulps: Update.
5559         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5560         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5561         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5564         * math/gen-libm-test.pl (%beautify): Add entries for underflow
5565         exceptions.
5566         * math/libm-test.inc ("Philosophy"): Update comment about
5567         exception testing.
5568         (UNDERFLOW_EXCEPTION): New macro.
5569         (UNDERFLOW_EXCEPTION_OK): Likewise.
5570         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5571         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5572         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5573         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5574         (INVALID_EXCEPTION_OK): Update value.
5575         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5576         (OVERFLOW_EXCEPTION_OK): Likewise.
5577         (IGNORE_ZERO_INF_SIGN): Likewise.
5578         (test_exceptions): Handle underflow exceptions.
5579         (acos_test): Update for underflow exception expectations.
5580         (cexp_test): Likewise.
5581         (clog_test): Likewise.
5582         (clog10_test): Likewise.
5583         (csqrt_test): Likewise.
5584         (ctan_test): Likewise.
5585         (ctanh_test): Likewise.
5586         (exp_test): Likewise.
5587         (exp10_test): Likewise.
5588         (exp2_test): Likewise.
5589         (expm1_test): Likewise.
5590         (fma_test): Likewise.
5591         (j0_test): Likewise.
5592         (jn_test): Likewise.
5593         (nexttoward_test): Likewise.
5594         (pow_test): Likewise.
5595         (scalbn_test): Likewise.
5596         (scalbln_test): Likewise.
5597         (tan_test): Likewise.
5598         (y1_test): Likewise.
5599         * sysdeps/i386/fpu/libm-test-ulps: Update.
5600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5602 2012-05-23  David S. Miller  <davem@davemloft.net>
5604         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5605         (__libc_sigaction): Remove unused local variables.
5607 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
5609         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
5611 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
5613         mktime: avoid signed integer overflow
5614         * time/mktime.c (__mktime_internal): Do not mishandle the case
5615         where diff == INT_MIN.
5617         mktime: simplify computation of average
5618         * time/mktime.c (ranged_convert): Use new time_t_avg function
5619         instead of rolling our own (probably-slower) code.
5621         mktime: do not assume signed right shift propagates sign bit
5622         * time/mktime.c (isdst_differ): New static function.
5623         (__mktime_internal): No need to normalize tm_isdst now.
5624         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
5625         tm_isdst values.
5627         mktime: merge another wrapv change from gnulib
5628         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
5629         from some compilers.
5631         mktime: remove incorrect attempt at unusual arithmetics
5632         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
5633         The code didn't really work on such machines anyway.
5634         (TYPE_MINIMUM): Assume two's complement.
5635         (twos_complement_arithmetic): Verify that long_int and time_t
5636         are two's complement (or unsigned, in the latter case).
5638         mktime: check signed shifts on long_int and time_t, too
5639         * time/mktime.c (SHR): Check that shifts work as desired
5640         on the types long_int and time_t too, as SHR is used on
5641         such types.
5643         mktime: do not assume 'long' is wide enough
5644         * time/mktime.c (verify): Move decl up.
5645         (long_int): New type.
5646         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
5647         to remove assumption in the code that 'long' is wide enough to
5648         store year values.  This assumption is not true on x32 and on
5649         some non-glibc platforms.
5651         mktime: merge wrapv change from gnulib
5652         * time/mktime.c (WRAPV): New macro.
5653         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
5654         (guess_time_tm, __mktime_internal): Do not assume that signed
5655         integer overflow wraps around; modern compilers generate code
5656         where this assumption is no longer valid.
5658 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
5660         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5661         Replace "jmp L(pseudo_end)" with "ret".
5662         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
5663         Likewise.
5665 2012-05-23  Andreas Jaeger  <aj@suse.de>
5667         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
5668         * sysdeps/unix/sysv/linux/poll.c: Remove file.
5670 2012-05-23  Andreas Jaeger  <aj@suse.de>
5671             Maximilian Attems  <max@stro.at>
5673         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
5674         New macros.
5676 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
5678         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
5679         code so that pseudo_end is just ret and the stack pointer is
5680         correct also for static library in error case.
5682 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
5684         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
5685         move to syscalls.list.
5686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5691         * manual/install.texi (Running make install): Do not mention Linux
5692         kernel version for which pt_chown is not needed.
5693         (Linux): Do not mention problems with nscd with 2.0 kernels.
5694         * INSTALL: Regenerated.
5696 2012-05-23  Andreas Jaeger  <aj@suse.de>
5698         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
5699         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
5700         macro.
5701         * sysdeps/unix/sysv/linux/s390/bits/mman.h
5702         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5703         * sysdeps/unix/sysv/linux/sh/bits/mman.h
5704         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5705         * sysdeps/unix/sysv/linux/i386/bits/mman.h
5706         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5707         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
5708         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5709         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
5710         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5711         * sysdeps/unix/sysv/linux/bits/in.h
5712         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
5714 2012-05-22  Roland McGrath  <roland@hack.frob.com>
5716         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
5717         (PREPARE_VERSION): Just use assert instead, it will be elided
5718         under [NDEBUG] anyway.
5720 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
5722         * sysdeps/unix/sysv/linux/Makefile: Include
5723         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
5724         (sysdep_routines): Remove sysctl.
5725         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
5726         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
5727         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
5728         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
5729         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
5731 2012-05-22  Andreas Jaeger  <aj@suse.de>
5733         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
5734         that pseudo_end is just ret and the stack pointer is correct also
5735         for static library in error case.
5737 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
5739         [BZ #14122]
5740         * nss/nsswitch.c (defconfig_entries): New variable.
5741         (__nss_database_lookup): Don't leak defconfig entries.
5742         (nss_parse_service_list): Don't leak on error paths.
5743         (free_database_entries): New function.
5744         (free_defconfig): New function.
5745         (free_mem): Move common code to free_database_entries.
5747 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
5749         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
5750         Add arch_prctl.
5751         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
5753         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5754         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
5755         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
5756         New macro.
5757         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5758         (INTERNAL_SYSCALL_TYPES): Likewise.
5759         (LOAD_ARGS_TYPES_[1-6]): Likewise.
5760         (LOAD_REGS_TYPES_[1-6]): Likewise.
5761         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
5762         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
5764 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5766         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
5767         copysignl for GLIBC_2_0.
5768         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
5769         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
5770         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
5771         logbl for GLIBC_2_0.
5772         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5773         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5775 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
5777         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
5778         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
5780         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5781         Use "neg %eax".
5783         * time/mktime.c: Update copyright years.
5785 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
5787         mktime: merge comment-quoting-style change from gnulib
5788         * time/mktime.c: Quote 'like this' in comments.
5789         The GNU coding standards suggest that we no longer quote `like this',
5790         as "`" and "'" are typically rendered asymmetrically nowadays.
5791         The typical gnulib style is to quote 'like this' when quoting
5792         code, and "like this" when quoting English.
5794         * time/mktime.c (compile-command): Add "-I.".
5796         mktime: merge mktime-internal.h change from gnulib
5797         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
5799         mktime: merge time_r change from gnulib
5800         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
5802         mktime: merge DEBUG change from gnulib
5803         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
5804         case system <time.h> has a #define.
5806         mktime: merge <sys/types.h> change from gnulib
5807         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
5808         since <time.t> is now guaranteed to define time_t.
5810         mktime: merge HAVE_CONFIG_H change from gnulib
5811         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
5813 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
5815         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5816         Use "neg %eax".
5818         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
5819         __rlim_t cast.
5820         (struct rusage): Use anonymous union to pad each field to
5821         __syscall_slong_t.
5823 2012-05-21  David S. Miller  <davem@davemloft.net>
5825         * Makefules (o-iterator): Remove .s cases.
5826         (compile-command.s): Delete.
5827         (COMPILE.s): Delete.
5828         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
5830 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
5832         * configure.in (libc_cv_predef_stack_protector): Only consider
5833         "foobar" and "__stack_chk_fail" lines in libc_undefs.
5834         * configure: Regenerated.
5836 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
5838         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5839         New macro.  Use R*LP on int and pointer.
5840         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
5841         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
5842         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
5843         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
5845         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
5846         [__WORDSIZE_TIME64_COMPAT32] instead of
5847         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
5848         (struct utmp): Likewise.
5849         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
5850         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
5851         Renamed to ...
5852         (__WORDSIZE_TIME64_COMPAT32): This.
5853         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
5854         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
5855         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
5856         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
5857         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
5858         (__WORDSIZE_TIME64_COMPAT32): New macro.
5860 2012-05-21  Andreas Jaeger  <aj@suse.de>
5862         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
5863         only if [SHARED]. Add prototype for __wcschr_ia32.
5865 2012-05-21  Roland McGrath  <roland@hack.frob.com>
5867         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
5868         of %rbp unmolested in the jmp_buf while mangling the low bits.
5869         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
5870         unmolested high bits of %rbp while demangling the low bits.
5871         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5873 2012-05-21  Andreas Jaeger  <aj@suse.de>
5875         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
5876         * sunrpc/svc_simple.c: Use it for registerrpc.
5877         * sunrpc/xcrypt.c: Use it for passwd2des.
5879         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
5881 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
5883         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
5884         Don't define if [__SYSCALL_WORDSIZE != 32].
5885         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
5886         New macro.
5888 2012-05-21  Bruno Haible  <bruno@clisp.org>
5889             Andreas Jaeger  <aj@suse.de>
5891         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
5892         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
5893         inptr and inend for must_buffer_ch.
5894         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
5895         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
5896         * stdio-common/Makefile (tests): Remove bug15.
5897         (bug15-ENV): Remove macro.
5898         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
5899         anymore.
5901 2012-05-19  Andreas Jaeger  <aj@suse.de>
5902             Roland McGrath  <roland@hack.frob.com>
5904         * manual/contrib.texi: Completely rewritten. It contains now an
5905         alphabetical list of contributors and their contributions.
5907 2012-05-21  Richard Henderson  <rth@twiddle.net>
5909         * misc/getauxval.c (__getauxval): Use unsigned long int.
5910         * misc/sys/auxv.h: Include <sys/cdefs.h>.
5911         (getauxval): Use unsigned long int.
5913 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
5915         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5917 2012-05-21  Roland McGrath  <roland@hack.frob.com>
5919         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
5920         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
5921         __alignof__ (long double).
5923 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5925         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5927 2012-05-20  Richard Henderson  <rth@twiddle.net>
5929         * misc/getauxval.c: New file.
5930         * misc/sys/auxv.h: New file.
5931         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
5932         (routines): Add getauxval.
5933         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
5934         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
5935         * elf/dl-sysdep.c (_dl_auxv): Remove.
5936         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
5937         * elf/dl-support.c (_dl_auxv): New variable.
5938         (_dl_aux_init): Initialize it.
5939         * manual/startup.texi (Auxiliary Vector): New node.
5940         * sysdeps/generic/bits/hwcap.h: New file.
5941         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
5942         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
5943         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
5944         * sysdeps/sparc/sysdep.h: ... here.  Include it.
5945         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
5946         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
5947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5948         Update.
5949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
5950         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
5951         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
5952         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
5953         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5954         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5955         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
5956         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
5958 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5960         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5962 2012-05-19  David S. Miller  <davem@davemloft.net>
5964         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5966 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
5968         [BZ #14123]
5969         * math/s_ccosh.c: Include <float.h>
5970         (__ccosh): Avoid internal overflow calculating sinh and cosh
5971         values before multiplying by sin and cos values.
5972         * math/s_ccoshf.c: Likewise.
5973         * math/s_ccoshl.c: Likewise.
5974         * math/s_csin.c: Likewise.
5975         * math/s_csinf.c: Likewise.
5976         * math/s_csinl.c: Likewise.
5977         * math/s_csinh.c: Likewise.
5978         * math/s_csinhf.c: Likewise.
5979         * math/s_csinhl.c: Likewise.
5980         * math/libm-test.inc (ccos_test): Add more tests.
5981         (ccosh_test): Likewise.
5982         (csin_test): Likewise.
5983         (csinh_test): Likewise.
5984         * sysdeps/i386/fpu/libm-test-ulps: Update.
5985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5987 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5989         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
5990         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5992         * sysdeps/x86_64/x32/_itoa.h: Add comment.
5994 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
5996         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
5997         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
5998         * sysdeps/powerpc/soft-fp/Versions: Likewise.
5999         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
6000         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
6001         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
6002         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
6003         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
6004         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
6005         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
6006         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
6007         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
6008         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
6009         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
6010         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
6011         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
6012         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
6013         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
6014         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
6015         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
6016         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
6017         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
6018         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
6019         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
6020         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
6021         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
6022         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
6023         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
6024         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
6025         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
6026         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
6028 2012-05-18  Andreas Jaeger  <aj@suse.de>
6030         * csu/.gitignore: Delete.
6032 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6034         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
6035         (timex): Use __syscall_slong_t.
6037 2012-05-18  Andreas Jaeger  <aj@suse.de>
6038             Carlos O'Donell  <carlos_odonell@mentor.com>
6040         * manual/install.texi (Configuring and compiling): Update
6041         description about files modified in the source directory.
6042         * INSTALL: Regenerated.
6044 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6046         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
6047         value.  Use "or" to set return value to -1.
6048         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
6049         negate return value.
6051 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6053         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
6054         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
6055         failure if the compiler has Graphite support disabled.
6056         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
6057         Likewise.
6058         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
6059         CFLAGS-memmove.c): Likewise.
6060         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
6061         Likewise.
6063 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6065         * sysdeps/x86_64/x32/_itoa.h: New file.
6067         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
6068         getdents system call only if kernel and user dirents have the
6069         same d_ino and d_off.
6071         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6072         LLONG_MAX != LONG_MAX.
6073         (_itoa_word): Use _ITOA_WORD_TYPE on value.
6074         (_fitoa_word): Likewise.
6076         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
6077         years.
6078         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
6079         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
6080         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
6082         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
6083         include <bits/wordsize.h>.  Check __x86_64__ instead of
6084         __WORDSIZE.
6085         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
6086         if __x86_64__ is defined.  Use anonymous union on fpstate.
6088         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
6089         anonymous union.
6091 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
6093         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6094         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
6095         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
6096         Refer to _rtld_local_ro instead of _rtld_global_ro.
6097         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
6098         Likewise.
6099         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
6100         Likewise.
6101         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
6102         Likewise.
6103         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
6104         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
6105         of _rtld_global, and rtld_progname instead of _dl_argv[0].
6107         * sysdeps/powerpc/powerpc32/dl-machine.c
6108         (__elf_machine_runtime_setup) [PROF]: Don't reference
6109         _dl_prof_resolve.
6111 2012-05-18  Andreas Jaeger  <aj@suse.de>
6113         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
6114         function only available for GCCs before 3.4 since GCC 3.4
6115         introduced a builtin.
6116         (lrint): Likewise.
6117         (llrintf): Likewise.
6118         (llrint): Likewise.
6119         (fmaxf): Likewise.
6120         (fmax): Likewise.
6121         (fminf): Likewise.
6122         (fmin): Likewise.
6123         (rint): Likewise.
6124         (rintf): Likewise.
6125         (nearbyint): Likewise.
6126         (nearbyintf): Likewise.
6127         (ceil): Likewise.
6128         (ceilf): Likewise.
6129         (floor): Likewise.
6130         (floorf): Likewise.
6132 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
6134         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
6135         on both fields and cast pointer to __syscall_ulong_t.
6137         * bits/types.h (__fsword_t): New type.
6138         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
6139         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
6140         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6141         (__FSWORD_T_TYPE): Likewise.
6142         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6143         (__FSWORD_T_TYPE): Likewise.
6144         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6145         (__FSWORD_T_TYPE): Likewise.
6146         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
6147         (__FSWORD_T_TYPE): Likewise.
6148         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
6149         __SWORD_TYPE with __fsword_t.
6150         (statfs64): Likewise.
6152 2012-05-17  David S. Miller  <davem@davemloft.net>
6154         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
6156 2012-05-17  Andreas Jaeger  <aj@suse.de>
6158         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
6159         warning.
6161 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
6163         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
6165 2012-05-17  Andreas Jaeger  <aj@suse.de>
6167         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
6168         when it is used.
6170 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
6172         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
6174 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
6176         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
6177         * sysdeps/x86_64/tst-mallocalign1.c: New file.
6179 2012-05-17  Andreas Jaeger  <aj@suse.de>
6180             Carlos O'Donell  <carlos_odonell@mentor.com>
6182         [BZ #14059]
6183         * sysdeps/x86_64/multiarch/init-arch.h
6184         (bit_YMM_Usable): Rename to...
6185         (bit_AVX_Usable): ... this.
6186         (bit_FMA4_Usable): New macro.
6187         (bit_XMM_state): New macro.
6188         (bit_YMM_state): New macro.
6189         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
6190         [__ASSEMBLER__] (index_AVX_Usable): ... this.
6191         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
6192         (CPUID_OSXSAVE): New macro.
6193         (CPUID_AVX): New macro.
6194         (CPUID_FMA4): New macro.
6195         (index_YMM_Usable): Rename to...
6196         (index_AVX_Usable): ... this.
6197         (HAS_AVX): Use HAS_ARCH_FEATURE.
6198         (HAS_FMA4): Likewise.
6199         (HAS_YMM_USABLE): Remove.
6200         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6201         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
6202         are present.
6203         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
6204         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
6205         * sysdeps/x86_64/multiarch/Makefile: Likewise.
6206         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
6207         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
6209 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
6211         * math/libm-test.c: Support platforms without multiple rounding modes.
6212         * math/bug-nextafter.c: Support platforms without FP exceptions.
6213         * math/bug-nexttoward.c: Likewise.
6214         * math/test-fenv.c: Likewise.
6215         * math/test-misc.c: Likewise.
6216         * stdlib/bug-getcontext.c: Likewise.
6218 2012-05-17  Andreas Jaeger  <aj@suse.de>
6220         * manual/examples/search.c (critter_cmp): Change signature to
6221         avoid warnings.
6222         * manual/string.texi (Collation Functions): Likewise.
6224 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
6226         * bits/types.h: Fold copyright years.
6227         * bits/typesizes.h: Likewise.
6228         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
6229         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6230         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
6231         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
6232         * time/time.h: Likewise.
6234 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
6236         [BZ #208]
6237         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
6238         in instead of returning them.  Return void.
6239         (__libc_mallinfo): Accumulate over all arenas.
6240         (__malloc_stats): Adjust for change in int_mallinfo interface.
6242 2012-05-16  Roland McGrath  <roland@hack.frob.com>
6244         [BZ #10375]
6245         * configure.in (NM): Add AC_CHECK_TOOL for it.
6246         (libc_extra_cflags): New substituted variable.
6247         Check for -fstack-protector being used implicitly.
6248         * configure: Regenerated.
6249         * config.make.in (config-extra-cflags): New variable,
6250         gets @libc_extra_cflags@.
6251         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
6253         [BZ #10375]
6254         * configure.in: Check for _FORTIFY_SOURCE being predefined.
6255         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
6256         * configure: Regenerated.
6257         * config.make.in (CPPUNDEFS): New substituted variable.
6258         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
6259         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
6260         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
6262 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
6264         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
6265         (mq_attr): Use __syscall_slong_t.
6267 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
6269         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
6270         Check __x86_64__ instead of __WORDSIZE.
6271         (_STAT_VER_LINUX): Likewise.
6272         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
6273         __syscall_ulong_t and __syscall_slong_t.
6274         (stat64): Likewise.
6276 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
6278         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
6280 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
6282         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
6284 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
6286         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
6287         __syscall_ulong_t.
6289         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
6290         include <bits/wordsize.h>.  Check __x86_64__ instead of
6291         __WORDSIZE.
6292         (greg_t): Use "__extension__ long long int" if __x86_64__ is
6293         defined.
6294         (mcontext_t): Replace "unsigned long" with "unsigned long long".
6296         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
6297         include <bits/wordsize.h>.  Check __x86_64__ instead of
6298         __WORDSIZE.
6299         (user_regs_struct): Use "__extension__ unsigned long long"
6300         instead of "unsigned long" if __x86_64__ is defined.
6301         (user): Likewise.  Pad after pointer field if __ILP32__ is
6302         defined.
6304 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
6306         * configure.in (makeinfo): Require version 4.5 or later.  Allow
6307         versions 5 to 9.
6308         * configure: Regenerated.
6309         * manual/install.texi (texinfo): Increase version requirement to
6310         4.5 or later.
6311         * INSTALL: Regenerated.
6313         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
6315 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
6317         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
6319         * sysdeps/x86_64/x32/ffs.c: New file.
6321         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
6322         __syscall_ulong_t.
6323         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
6324         defined.  Use __syscall_ulong_t.
6325         (shminfo): Use __syscall_ulong_t.
6326         (shm_info): Likewise.
6328         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
6329         __syscall_ulong_t.
6331         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
6332         <bits/wordsize.h>.
6333         (msgqnum_t): Use __syscall_ulong_t.
6334         (msglen_t): Likewise.
6335         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
6336         __syscall_ulong_t.
6338         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
6339         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
6341         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
6343         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
6344         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
6346         * sysvipc/sys/msg.h (msgbuf): Replace long int with
6347         __syscall_slong_t.
6349         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
6350         include <bits/wordsize.h>.  Check __x86_64__ instead of
6351         __WORDSIZE.
6353         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
6354         "unsigned long long int" if __x86_64__ is defined.
6355         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
6357         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
6358         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
6359         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
6361         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
6362         <stdint.h>.
6363         (GET_PC): Cast to uintptr_t first.
6364         (GET_FRAME): Likewise.
6365         (GET_STACK): Likewise.
6367         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
6368         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
6369         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
6370         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
6371         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
6372         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
6373         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
6374         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
6375         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6376         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
6377         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
6378         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
6379         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6380         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
6381         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
6382         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
6383         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
6384         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
6385         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
6386         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
6387         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
6388         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
6389         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
6390         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
6391         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
6392         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
6393         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
6394         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
6395         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
6397 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
6399         * Makerules (+depfiles): Also collect depfiles from .oS in
6400         $(extra-objs).
6401         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
6402         .oS, $(libnldbl-routines)).
6404         * Makerules (native-compile-mkdep-flags): Define.
6405         * sunrpc/Makefile (extra-objs): Add $(addprefix
6406         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
6407         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
6408         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
6409         calling $(make-target-directory).
6411 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6413         * bits/types.h (__snseconds_t): Removed.
6414         * time/time.h (struct timespec): Replace __snseconds_t with
6415         __syscall_slong_t.
6416         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
6417         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
6418         Likewise.
6419         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6420         (__SNSECONDS_T_TYPE): Likewise.
6421         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6422         (__SNSECONDS_T_TYPE): Likewise.
6423         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6424         (__SNSECONDS_T_TYPE): Likewise.
6426 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6428         * sysdeps/mach/hurd/bits/typesizes.h
6429         (__SYSCALL_SLONG_TYPE): New macro.
6430         (__SYSCALL_ULONG_TYPE): Likewise.
6432 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6434         * bits/types.h (__syscall_slong_t): New type.
6435         (__syscall_ulong_t): Likewise.
6437         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
6438         (__SYSCALL_ULONG_TYPE): Likewise.
6439         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6440         (__SYSCALL_SLONG_TYPE): Likewise.
6441         (__SYSCALL_ULONG_TYPE): Likewise.
6442         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6443         (__SYSCALL_SLONG_TYPE): Likewise.
6444         (__SYSCALL_ULONG_TYPE): Likewise.
6445         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6446         (__SYSCALL_SLONG_TYPE): Likewise.
6447         (__SYSCALL_ULONG_TYPE): Likewise.
6449 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6451         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
6452         Add sigaltstack-offsets.sym.
6453         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6454         <sigaltstack-offsets.h>.
6455         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
6456         longjmp_msg pointer.
6457         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
6458         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
6459         signal stack.
6460         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
6462 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
6464         * elf/stackguard-macros.h: Remove file.
6465         * sysdeps/generic/stackguard-macros.h: New file.
6466         * sysdeps/i386/stackguard-macros.h: Likewise.
6467         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6468         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6469         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6470         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6471         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6472         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6473         * sysdeps/x86_64/stackguard-macros.h: Likewise.
6474         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
6475         <elf/stackguard-macros.h>.
6477         [BZ #14109]
6478         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
6479         __aligned__ in attribute.
6480         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
6481         (gregset_t): Likewise.
6483 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6485         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
6486         * sysdeps/x86_64/64/Implies-after: Here.  New file.
6487         * sysdeps/x86_64/x32/Implies-after: New file.
6489 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6491         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
6492         and access return value for _dl_profile_fixup.  Use R10_LP to
6493         load frame size.
6495 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6497         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
6499 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6501         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
6502         * sysdeps/x86_64/x32/sysdep.h: New file.
6504 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6506         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
6507         * sysdeps/x86_64/setjmp.S: Likewise.
6509 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6511         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
6512         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
6513         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
6514         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
6515         remove unused global constant.
6517 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
6519         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
6520         include of <not-cancel.h>.
6522 2012-05-15  Roland McGrath  <roland@hack.frob.com>
6524         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
6526 2012-05-15  Jeff Law  <law@redhat.com>
6527             Andreas Jaeger  <aj@suse.de>
6529         [BZ #13594]
6530         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
6531         out from...
6532         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
6533         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
6534         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
6535         code changing __hst_map_handle.map.
6537 2012-05-15  Roland McGrath  <roland@hack.frob.com>
6539         * configure.in (sysnames): Look for Implies-before and Implies-after
6540         files.
6541         * configure: Regenerated.
6543 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6545         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
6546         8-byte data alignment with LP_SIZE alignment.
6548 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6550         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
6551         into R10_LP.
6553 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6555         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
6557 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6559         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
6560         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
6561         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
6562         Likewise.
6563         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6565 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6567         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
6568         (stackinfo_sub_sp): Likewise.
6570 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6572         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
6573         RAX_LP.
6575 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6577         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
6578         into R*_LP.
6580 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6582         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
6583         sizes into R*_LP.
6585 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6587         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
6589 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6591         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
6592         into R11_LP and load __x86_64_shared_cache_size_half into
6593         R8_LP.
6595 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6597         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
6598         R8_LP.
6600 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6602         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
6603         logb for POWER7.
6604         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
6605         logbf for POWER7.
6606         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
6607         logbl for POWER7.
6608         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
6609         powerpc32/power7/fpu/s_logb.c via #include.
6610         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
6611         powerpc32/power7/fpu/s_logbf.c via #include.
6612         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
6613         powerpc32/power7/fpu/s_logbl.c via #include.
6615 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
6617         * README.libm: Remove file.
6619 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
6621         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
6622         count for x32.  Use R*_LP and omit operand-size suffix.
6624 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
6626         * shlib-versions: Move x86_64-.*-linux.* entries to ...
6627         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
6628         * sysdeps/x86_64/x32/shlib-versions: New file.
6630 2012-05-14  Roland McGrath  <roland@hack.frob.com>
6632         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
6633         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
6634         Use _dl_fatal_printf instead.
6636 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
6638         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
6639         set if not set by the user.  Do not allow for being unset.
6640         * sysdeps/unix/sysv/linux/configure: Regenerated.
6642 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
6644         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
6645         the `q' suffix from lea and replace .quad with ASM_ADDR.
6647 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
6649         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
6650         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
6651         instead of $17.
6652         (PTR_DEMANGLE): Likewise.
6654 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
6656         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
6657         (LP_OP): Likewise.
6658         (ASM_ADDR): Likewise.
6659         (RAX_LP): Likewise.
6660         (RBP_LP): Likewise.
6661         (RBX_LP): Likewise.
6662         (RCX_LP): Likewise.
6663         (RDI_LP): Likewise.
6664         (RSI_LP): Likewise.
6665         (RSP_LP): Likewise.
6666         (R8_LP): Likewise.
6667         (R9_LP): Likewise.
6668         (R10_LP): Likewise.
6669         (R10_LP): Likewise.
6670         (R11_LP): Likewise.
6671         (R12_LP): Likewise.
6672         (R13_LP): Likewise.
6673         (R14_LP): Likewise.
6674         (R15_LP): Likewise.
6676 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
6678         * sysdeps/x86_64/x32/dl-machine.h: New file.
6680 2012-05-14  Andreas Jaeger  <aj@suse.de>
6682         * manual/Makefile (subdir): Remove export of subdir.
6683         (all): Remove target.
6684         (.PHONY): Remove all from list.
6685         (mkinstalldirs): Remove.
6686         (.PHONY): Remove installdirs from list.
6687         ($(inst_infodir)/libc.info): Use make-target-directory.
6688         (installdirs): Remove.
6689         (subdir_%): Remove.
6690         (glibc-targets): Remove.
6691         (lib): Remove.
6692         (stubs): Remove.
6693         ($(objpfx)stubs ../po/manual.pot): Remove.
6694         ($(objpfx)stamp%): Remove.
6695         (make-target-directory): Remove.
6696         (subdir_install): Remove.
6697         (routines): Remove.
6698         (aux): Remove.
6699         (sources): Remove.
6700         (objects): Remove.
6701         (headers): Remove.
6703         [BZ #13750]
6704         * manual/.gitignore: Remove, it's not needed anymore.
6705         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
6706         all files in it.
6707         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
6708         directory.
6709         (texis): Renamed to $(objpfx)texis.
6710         (texis-path): New, contains path to generated files.
6711         (chapters.%): Use texis-path for complete path, add extra argument
6712         libc-texinfo.sh.
6713         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
6714         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
6715         (summary,texi, stamp-summary): Use complete path of
6716         files. Generate files in build dir.
6717         (dir-add.texi): Build in build dir.
6718         (libm-err.texi,stamp-libm-err): Likewise.
6719         (version.texi, stamp-version): Likewise.
6720         (.%c.texi): Likewise.
6721         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
6722         (mostlyclean): Remove target.
6723         (realclean): Remove target.
6724         (generated): Add new variable with contents from mostlyclean and
6725         realclean, remove entries duplicated in common-mostlyclean, add
6726         stamp-libm-err and stamp-version.
6727         (generated-dirs): Add libc directory.
6728         ($(inst_infodir)/libc.info): Install files from build dir.
6730         * manual/install.texi (Configuring and compiling): Adjust since
6731         the info files are not part of the tar ball anymore.
6733 2012-05-14  Andreas Jaeger  <aj@suse.de>
6735         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
6736         variable.
6738 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
6740         [BZ #13717]
6741         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6742         to 2.2.0 where earlier.
6743         * sysdeps/unix/sysv/linux/configure: Regenerated.
6744         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
6745         Remove conditional code.
6746         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
6747         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
6748         Remove conditional code.
6749         [!__NR_lchown]: Likewise.
6750         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6751         [__NR_lchown]: Likewise.
6752         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
6753         comment referencing __ASSUME_LCHOWN_SYSCALL.
6754         * sysdeps/unix/sysv/linux/i386/sigaction.c
6755         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6756         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6757         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
6758         Remove conditional code.
6759         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
6760         (__protocol_available): Remove #if 0 code.
6761         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
6762         conditional code.
6763         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
6764         * sysdeps/unix/sysv/linux/kernel-features.h
6765         (__ASSUME_GETCWD_SYSCALL): Don't define.
6766         (__ASSUME_REALTIME_SIGNALS): Likewise.
6767         (__ASSUME_PREAD_SYSCALL): Likewise.
6768         (__ASSUME_PWRITE_SYSCALL): Likewise.
6769         (__ASSUME_POLL_SYSCALL): Likewise.
6770         (__ASSUME_LCHOWN_SYSCALL): Likewise.
6771         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
6772         non-SPARC.
6773         (__ASSUME_SIOCGIFNAME): Don't define.
6774         (__ASSUME_MSG_NOSIGNAL): Likewise.
6775         (__ASSUME_SENDFILE): Define unconditionally.
6776         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
6777         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
6778         conditional code.
6779         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
6780         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
6781         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6782         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6783         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
6784         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6785         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
6787         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6788         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6790         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6791         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
6793         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6794         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6796         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6797         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
6799         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6800         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6802         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6803         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
6805         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6806         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6808         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6809         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6810         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
6811         Remove conditional code.
6812         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6813         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6814         Remove conditional code.
6815         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6816         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
6817         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
6818         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6819         Remove conditional code.
6820         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6821         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
6822         Remove conditional code.
6823         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6824         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
6825         Remove conditional code.
6826         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6827         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6828         Remove conditional code.
6829         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6830         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6831         Remove conditional code.
6832         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6833         * sysdeps/unix/sysv/linux/sh/pwrite64.c
6834         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6835         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6836         * sysdeps/unix/sysv/linux/sigaction.c
6837         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6838         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6839         * sysdeps/unix/sysv/linux/sigpending.c
6840         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6841         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6842         * sysdeps/unix/sysv/linux/sigprocmask.c
6843         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6844         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6845         * sysdeps/unix/sysv/linux/sigsuspend.c
6846         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6847         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6848         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6849         (__libc_missing_rt_sigs): Remove.
6850         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
6851         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
6852         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
6853         Remove conditional code.
6854         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
6855         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
6856         return 1.
6857         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
6858         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
6859         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
6860         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
6862 2012-05-14  Andreas Jaeger  <aj@suse.de>
6864         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
6865         it's not used in glibc.
6866         (__coshm1): Likewise.
6867         (__acosh1p): Likewise.
6868         (__sgn): Likewise.
6870         * manual/string.texi (Copying and Concatenation): Add missing
6871         variable in concat example.
6872         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6874 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
6876         [BZ #14103]
6877         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
6878         __builtin_clzl with __builtin_clzll.
6880 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
6882         [BZ #14104]
6883         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
6884         libc_freeres_ptr.
6886 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6888         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
6889         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
6890         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
6891         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
6893 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
6895         * NEWS: Update ia64 info.
6897 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
6899         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
6900         used as bcopy.
6902 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
6904         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
6905         * sysdeps/unix/syscalls.list (dup3): Likewise.
6906         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
6907         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
6909 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
6911         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
6912         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
6914 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
6916         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
6917         thread pointer.
6918         (TLS_IE): Use mov/add instead of movq/addq to load thread
6919         pointer.
6920         (TLS_GD_PREFIX): New.
6921         (TLS_GD): Use it.
6923 2012-05-11  David S. Miller  <davem@davemloft.net>
6925         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
6926         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
6927         (_FPU_SETCW): Likewise.
6929 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
6931         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
6932         is 32-byte aligned.
6934 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
6936         [BZ #11837]
6937         * iconvdata/gb18030.c: Update tables.
6938         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
6939         characters specially.
6940         (BODY for TO_LOOP): Add encoding of missing ranges.
6942 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
6944         [BZ #13673]
6945         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
6946         * sysdeps/mach/hurd/dup3.c: Likewise.
6947         * sysdeps/mach/hurd/readlinkat.c: Likewise.
6948         * sysdeps/powerpc/memmove.c:: Likewise.
6950 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
6952         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
6953         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
6955 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
6957         * elf/elf.h (R_X86_64_RELATIVE64): New.
6958         (R_X86_64_NUM): Updated.
6959         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6960         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
6961         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
6962         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
6963         tst-quad1pie tst-quad2pie
6964         (modules-names): Add tst-quadmod1 tst-quadmod2.
6965         ($(objpfx)tst-quad1): New dependency.
6966         ($(objpfx)tst-quad2): Likewise.
6967         ($(objpfx)tst-quad1pie): Likewise.
6968         ($(objpfx)tst-quad2pie): Likewise.
6969         * sysdeps/x86_64/tst-quad1.c: New file.
6970         * sysdeps/x86_64/tst-quad1pie.c: New file.
6971         * sysdeps/x86_64/tst-quad2.c: Likewise.
6972         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
6973         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
6974         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
6975         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
6976         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
6978 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6980         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
6981         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
6982         * streams/stropts.h (t_scalar_t): Define type.
6984         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
6985         (_PATH_PRESERVE): Set to "/var/lib".
6986         (_PATH_RWHODIR): Set to "/var/spool/rwho".
6988         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
6989         instead of int.
6991         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
6992         if __dir_mkfile succeeded.
6994         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
6995         checking for _hurd_dtablesize.  Unlock it right after having
6996         finished _hurd_dtable allocation.
6998 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
7000         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
7001         * sysdeps/mach/hurd/configure: Regenerated.
7002         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
7003         special-casing to...
7004         * sysdeps/gnu/configure.in: ... this new file.
7005         * sysdeps/unix/sysv/linux/configure: Regenerated.
7006         * sysdeps/gnu/configure: New generated file.
7008         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
7009         for Linux: use nsec instead of usec, as well as:
7010         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
7011         members of type struct timespec.
7012         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
7013         New macros.
7014         (struct stat64): Likewise.
7015         (_STATBUF_ST_NSEC): New macro.
7016         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
7018         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7019         __strtoul_internal rather than strtoul.
7021 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
7023         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
7024         and reject them.
7026 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7028         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
7029         which preserves existing values.
7030         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
7032 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
7034         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
7035         TIMEOUT values.  Return EINVAL for NFDS values either negative or
7036         greater than FD_SETSIZE.
7038 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7040         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
7041         allocated, call __vm_protect to finish enabling the existing space, and
7042         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
7043         allocate the remainder.
7045 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
7047         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
7048         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
7050 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7052         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
7053         sysdeps/mach/hurd/readlink.c.
7055         * posix/tst-sysconf.c (posix_options): Only use
7056         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
7057         _POSIX_SYNCHRONIZED_IO when they are defined
7058         * sysdeps/mach/hurd/bits/posix_opt.h:
7059         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
7060         (_XOPEN_REALTIME): Undefine macro.
7061         (_XOPEN_REALTIME_THREADS): Undefine macro.
7062         (_XOPEN_SHM): Undefine macro.
7063         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
7064         macro to -1.
7065         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
7066         macro to -1.
7067         (_POSIX_ASYNC_IO): Undefine macro.
7068         (_POSIX_PRIORITIZED_IO): Undefine macro.
7069         (_POSIX_SPIN_LOCKS): Define macro to -1.
7071         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
7072         SA_NODEFER, SA_RESETHAND.
7073         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
7074         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
7075         F_DUPFD_CLOEXEC.
7077 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
7079         * elf/Makefile (pldd-modules): Define unconditionally.
7081 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
7083         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
7085 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7087         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
7088         Return ENOENT when name is empty.
7089         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
7091 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
7093         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
7095         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
7097 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7099         Fix mlock in all cases except non-readable pages.
7100         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
7101         instead of VM_PROT_ALL as parameter to __vm_wire function.
7103         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
7104         (__mkdir): When path is `/', just fail with EEXIST.
7105         * sysdeps/mach/hurd/mkdirat.c: Likewise.
7107 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
7109         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
7110         <sys/uio.h> (for writev).
7111         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
7112         and <sys/param.h> (for MIN).
7114 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
7116         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
7117         REQUESTED_TIME.  Properly set the remaining time and return EINTR
7118         if interrupted.
7120 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
7122         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
7123         Depend on against $(link-rpcuserlibs).
7125 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7127         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
7128         (__libc_stack_end): Do not use attribute_relro.
7129         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
7130         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
7131         to libthread-provided value.
7132         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
7133         attribute_relro.
7135 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
7137         [BZ #3748]
7138         * bits/libc-lock.h (__libc_once_get): New macro.
7139         * sysdeps/mach/bits/libc-lock.h: Likewise.
7140         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
7141         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
7142         instead of using implementation details.
7144         * libio/fileops.c: Unconditionally include <kernel-features.h>.
7145         * libio/freopen.c: Likewise.
7146         * libio/freopen64.c: Likewise.
7147         * misc/syslog.c: Likewise.
7148         * nscd/connections.c: Likewise.
7149         * nscd/netgroupcache.c: Likewise.
7150         * sysdeps/posix/getcwd.c: Likewise.
7152 2012-05-10  Roland McGrath  <roland@hack.frob.com>
7154         * math/w_ilogbf.c: Add #include <limits.h>.
7156 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7158         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
7159         path instead of returning without unlocking.
7161         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
7162         immediate-write ioctls.
7163         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
7165 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
7167         * sysdeps/mach/hurd/i386/init-first.c (init): Use
7168         __builtin_frame_address instead of making assumptions about the
7169         location of the return address relative to DATA.  Force early load of
7170         the return address.
7171         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
7172         __builtin_frame_address.
7174         dup3 for GNU Hurd.
7175         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
7176         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
7177         implement dup3 and do some further code clean-ups.
7178         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
7179         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
7181 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7183         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
7185         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
7186         HURD_CRITICAL_END around holding _hurd_dtable_lock.
7187         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
7188         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
7189         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
7190         d->port.lock.
7192         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
7193         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
7194         when handler == SIG_ERR, not when handler != SIG_ERR.
7196 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
7198         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
7199         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
7200         definitions.
7202         accept4 for GNU Hurd.
7203         * include/sys/socket.h (__libc_accept4): New prototype.
7204         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
7205         to implement __libc_accept4.
7206         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
7207         __libc_accept4.
7208         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
7210         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
7211         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
7212         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
7213         signal-defines.sym.
7215 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7217         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
7219 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
7221         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
7222         assertion on O_CLOEXEC flag.
7223         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
7224         * hurd/intern-fd.c: Likewise.
7225         * hurd/port2fd.c: Likewise.
7227 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7229         [BZ #3906]
7230         * bits/in.h (IPV6_PKTINFO): Define new macro.
7231         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
7233 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7235         [BZ #13954]
7236         [BZ #13955]
7237         [BZ #13956]
7238         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
7239         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7240         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
7241         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7242         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7243         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7244         * math/libm-test.inc (logb_test) : Additional logb tests.
7246 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
7247             Andreas Jaeger  <aj@suse.de>
7249         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
7250         * configure: Regenerated.
7251         * config.h.in (LINK_OBSOLETE_RPC): New macro.
7252         * config.make.in (link-obsolete-rpc): New substituted variable.
7253         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
7254         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
7255         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7256         (shared-only-routines): Don't set it under [link-obsolete-rpc],
7257         so that libc.a contains the symbols.
7258         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7259         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
7260         * sunrpc/auth_none.c: Likewise.
7261         * sunrpc/auth_unix.c: Likewise.
7262         * sunrpc/authdes_prot.c: Likewise.
7263         * sunrpc/authuxprot.c: Likewise.
7264         * sunrpc/clnt_gen.c: Likewise.
7265         * sunrpc/clnt_perr.c: Likewise.
7266         * sunrpc/clnt_raw.c: Likewise.
7267         * sunrpc/clnt_simp.c: Likewise.
7268         * sunrpc/clnt_tcp.c: Likewise.
7269         * sunrpc/clnt_udp.c: Likewise.
7270         * sunrpc/clnt_unix.c: Likewise.
7271         * sunrpc/des_crypt.c: Likewise.
7272         * sunrpc/des_soft.c: Likewise.
7273         * sunrpc/get_myaddr.c: Likewise.
7274         * sunrpc/key_call.c: Likewise.
7275         * sunrpc/key_prot.c: Likewise.
7276         * sunrpc/netname.c: Likewise.
7277         * sunrpc/pm_getmaps.c: Likewise.
7278         * sunrpc/pm_getport.c: Likewise.
7279         * sunrpc/pmap_clnt.c: Likewise.
7280         * sunrpc/pmap_prot.c: Likewise.
7281         * sunrpc/pmap_prot2.c: Likewise.
7282         * sunrpc/pmap_rmt.c: Likewise.
7283         * sunrpc/publickey.c: Likewise.
7284         * sunrpc/rpc_cmsg.c: Likewise.
7285         * sunrpc/rpc_common.c: Likewise.
7286         * sunrpc/rpc_dtable.c: Likewise.
7287         * sunrpc/rpc_prot.c: Likewise.
7288         * sunrpc/rpc_thread.c: Likewise.
7289         * sunrpc/rtime.c: Likewise.
7290         * sunrpc/svc.c: Likewise.
7291         * sunrpc/svc_auth.c: Likewise.
7292         * sunrpc/svc_raw.c: Likewise.
7293         * sunrpc/svc_run.c: Likewise.
7294         * sunrpc/svc_tcp.c: Likewise.
7295         * sunrpc/svc_udp.c: Likewise.
7296         * sunrpc/svc_unix.c: Likewise.
7297         * sunrpc/svcauth_des.c: Likewise.
7298         * sunrpc/xcrypt.c: Likewise.
7299         * sunrpc/xdr.c: Likewise.
7300         * sunrpc/xdr_array.c: Likewise.
7301         * sunrpc/xdr_float.c: Likewise.
7302         * sunrpc/xdr_intXX_t.c: Likewise.
7303         * sunrpc/xdr_mem.c: Likewise.
7304         * sunrpc/xdr_rec.c: Likewise.
7305         * sunrpc/xdr_ref.c: Likewise.
7306         * sunrpc/xdr_sizeof.c: Likewise.
7307         * sunrpc/xdr_stdio.c: Likewise.
7309 2012-05-10  Roland McGrath  <roland@hack.frob.com>
7311         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
7312         change.  Update copyright years.
7314 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
7316         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
7318 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
7319             Joseph Myers  <joseph@codesourcery.com>
7320             Paul Pluzhnikov  <ppluzhnikov@google.com>
7322         [BZ #14012]
7323         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
7324         requiring rpcgen.
7325         [cross-compiling] (extra-libs): Likewise.
7326         [cross-compiling] (extra-libs-others): Likewise.
7327         [cross-compiling] (librpcsvc-routines): Likewise.
7328         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
7329         [cross-compiling] (omit-deps): Likewise.
7330         (sunrpc-CPPFLAGS): New variable.
7331         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
7332         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
7333         (cross-rpcgen-objs): New variable.
7334         (extra-objs): Append $(cross-rpcgen-objs).
7335         ($(cross-rpcgen-objs)): New rule.
7336         ($(objpfx)cross-rpcgen): Likewise.
7337         (rpcgen-cmd): Define to use $(built-program-file).  Expand
7338         comment.
7339         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
7340         ($(objpfx)x%.stmp): Likewise.
7341         * sunrpc/proto.h [IS_IN_build] (_): Define.
7342         [IS_IN_build] (_libc_intl_domainname): Likewise.
7344 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
7346         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
7347         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
7348         and R_X86_64_TPOFF64.
7350 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
7352         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
7353         sysdeps/unix/sysv/syscalls.list.
7354         (stime): Likewise.
7355         (utime): Likewise.
7356         * sysdeps/unix/sysv/syscalls.list: Remove file.
7358 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
7360         [BZ #3440]
7361         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
7362         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
7363         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
7364         (__LC_IDENTIFICATION): Make these macros useful in #if
7365         expressions, as required by C99.
7367 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
7369         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
7370         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
7371         after this.
7373 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
7375         * stdlib/longlong.h: Updated from GCC.
7377 2012-05-09  Andreas Jaeger  <aj@suse.de>
7379         * nscd/nscd.c (run_modes): Make named enum, reorder so that
7380         default is first entry.
7381         (run_mode): Set type.
7382         (main): Remove informal message about syslog.
7383         (options): Fix typo.
7385         [BZ #14053]
7386         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
7387         to asm.
7388         (lrint): Likewise.
7389         (llrintf): Likewise.
7390         (llrint): Likewise.
7391         (rint): Likewise.
7392         (rintf): Likewise.
7393         (nearbyint): Likewise.
7394         (nearbyintf): Likewise.
7396 2012-05-09  Andreas Jaeger  <aj@suse.de>
7397             Pedro Alves  <palves@redhat.com>
7399         * nscd/nscd.c (run_mode): Use enum.
7400         (main): Cleanup coding style issue.
7402 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
7403             Andreas Jaeger  <aj@suse.de>
7405         * nscd/nscd.c (go_background): Replaced with...
7406         (run_mode): ... this.
7407         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
7408         (options): Add -F --foreground.
7409         (main): Implement it.
7410         (parse_opt): Parse it.
7412 2012-05-09  Andreas Jaeger  <aj@suse.de>
7414         [BZ #14083]
7415         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
7416         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
7417         -Wconversion warning.
7418         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
7419         Likewise.
7421 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
7423         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
7424         == 0.
7425         (LC_ALL): Use macro-int-constant.
7426         (LC_COLLATE): Likewise.
7427         (LC_CTYPE): Likewise.
7428         (LC_MESSAGES): Likewise.
7429         (LC_MONETARY): Likewise.
7430         (LC_NUMERIC): Likewise.
7431         (LC_TIME): Likewise.
7432         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
7433         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7434         [ISO || ISO99 || ISO11] (*_t): Do not allow.
7435         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
7436         Specify type.
7437         [C99-based standards] (float_t): Expect type.
7438         [C99-based standards] (double_t): Expect type.
7439         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
7440         type.
7441         [C99-based standards] (HUGE_VALL): Likewise.
7442         [C99-based standards] (INFINITY): Likewise.
7443         [C99-based standards] (NAN): Likewise.
7444         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
7445         [C99-based standards] (FP_NAN): Likewise.
7446         [C99-based standards] (FP_NORMAL): Likewise.
7447         [C99-based standards] (FP_SUBNORMAL): Likewise.
7448         [C99-based standards] (FP_ZERO): Likewise.
7449         [C99-based standards] (FP_FAST_FMA): Use
7450         optional-macro-int-constant.  Specify type.  Require == 1.
7451         [C99-based standards] (FP_FAST_FMAF): Likewise.
7452         [C99-based standards] (FP_FAST_FMAL): Likewise.
7453         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
7454         [C99-based standards] (FP_ILOGBNAN): Likewise.
7455         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
7456         Specify type.
7457         [C99-based standards] (MATH_ERREXCEPT): Likewise.
7458         [C99-based standards] (math_errhandling): Specify type.
7459         [ISO99 || ISO11] (signgam): Do not allow.
7460         [non-C99-based standards] (copysignf): Do not allow.
7461         [non-C99-based standards] (exp2f): Likewise.
7462         [non-C99-based standards] (log2f): Likewise.
7463         [non-C99-based standards] (modff): Allow.
7464         [non-C99-based standards] (erff): Do not allow.
7465         [non-C99-based standards] (erfcf): Likewise.
7466         [non-C99-based standards] (gammaf): Likewise.
7467         [non-C99-based standards] (hypotf): Likewise.
7468         [non-C99-based standards] (j0f): Likewise.
7469         [non-C99-based standards] (j1f): Likewise.
7470         [non-C99-based standards] (jnf): Likewise.
7471         [non-C99-based standards] (lgammaf): Likewise.
7472         [non-C99-based standards] (tgammaf): Likewise.
7473         [non-C99-based standards] (y0f): Likewise.
7474         [non-C99-based standards] (y1f): Likewise.
7475         [non-C99-based standards] (ynf): Likewise.
7476         [non-C99-based standards] (isnanf): Likewise.
7477         [non-C99-based standards] (acoshf): Likewise.
7478         [non-C99-based standards] (asinhf): Likewise.
7479         [non-C99-based standards] (atanhf): Likewise.
7480         [non-C99-based standards] (cbrtf): Likewise.
7481         [non-C99-based standards] (expm1f): Likewise.
7482         [non-C99-based standards] (ilogbf): Likewise.
7483         [non-C99-based standards] (log1pf): Likewise.
7484         [non-C99-based standards] (logbf): Likewise.
7485         [non-C99-based standards] (nextafterf): Likewise.
7486         [non-C99-based standards] (remainderf): Likewise.
7487         [non-C99-based standards] (rintf): Likewise.
7488         [non-C99-based standards] (scalbf): Likewise.
7489         [non-C99-based standards] (copysignl): Likewise.
7490         [non-C99-based standards] (exp2l): Likewise.
7491         [non-C99-based standards] (log2l): Likewise.
7492         [non-C99-based standards] (modfl): Allow.
7493         [non-C99-based standards] (erfl): Do not allow.
7494         [non-C99-based standards] (erfcl): Likewise.
7495         [non-C99-based standards] (gammal): Likewise.
7496         [non-C99-based standards] (hypotl): Likewise.
7497         [non-C99-based standards] (j0l): Likewise.
7498         [non-C99-based standards] (j1l): Likewise.
7499         [non-C99-based standards] (jnl): Likewise.
7500         [non-C99-based standards] (lgammal): Likewise.
7501         [non-C99-based standards] (tgammal): Likewise.
7502         [non-C99-based standards] (y0l): Likewise.
7503         [non-C99-based standards] (y1l): Likewise.
7504         [non-C99-based standards] (ynl): Likewise.
7505         [non-C99-based standards] (isnanl): Likewise.
7506         [non-C99-based standards] (acoshl): Likewise.
7507         [non-C99-based standards] (asinhl): Likewise.
7508         [non-C99-based standards] (atanhl): Likewise.
7509         [non-C99-based standards] (cbrtl): Likewise.
7510         [non-C99-based standards] (expm1l): Likewise.
7511         [non-C99-based standards] (ilogbl): Likewise.
7512         [non-C99-based standards] (log1pl): Likewise.
7513         [non-C99-based standards] (logbl): Likewise.
7514         [non-C99-based standards] (nextafterl): Likewise.
7515         [non-C99-based standards] (remainderl): Likewise.
7516         [non-C99-based standards] (rintl): Likewise.
7517         [non-C99-based standards] (scalbl): Likewise.
7518         [ISO || ISO99 || ISO11] (*_t): Do not allow.
7519         [non-C99-based standards] (FP_*): Do not allow.
7520         [C99-based standards] (FP_*): Change to
7521         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7522         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7523         allow.
7524         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
7525         (SIG_ERR): Likewise.
7526         [X/Open-based standards] (SIG_HOLD): Likewise.
7527         (SIG_IGN): Likewise.
7528         (SIGABRT): Use macro-int-constant.  Specify type.  Require
7529         positive value.
7530         (SIGFPE): Likewise.
7531         (SIGILL): Likewise.
7532         (SIGINT): Likewise.
7533         (SIGSEGV): Likewise.
7534         (SIGTER): Likewise.
7535         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
7536         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
7537         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
7538         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
7539         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
7540         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
7541         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
7542         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
7543         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
7544         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
7545         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
7546         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
7547         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
7548         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
7549         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
7550         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
7551         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
7552         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
7553         [X/Open-based standards] (SIGTRAP): Likewise.
7554         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
7555         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
7556         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
7557         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
7558         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7559         allow.
7561 2012-05-08  Ian Wienand  <ianw@vmware.com>
7563         [BZ #14080]
7564         * time/tzset.c (__tzset_parse_tz): Update default rules for
7565         daylight time changes in the Energy Policy Act of 2005.
7567 2012-05-09  Andreas Jaeger  <aj@suse.de>
7569         [BZ #13983]
7570         * elf/ldconfig.c (parse_conf): Change string to make clear that
7571         ldconfig only issued a warning if ld.so.conf does not exist.
7573 2012-05-08  David S. Miller  <davem@davemloft.net>
7575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
7576         movxtod instead of popping the value on the stack.
7578         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7580 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
7582         * config.h.in: Add HAVE_ARM_PCS_VFP.
7584 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
7586         [BZ #13979]
7587         * include/features.h: Warn if user requests __FORTIFY_SOURCE
7588         checking but the checks are disabled for any reason.
7590 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
7592         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
7593         and ELF64_R_TYPE with ELFW(R_TYPE).
7595 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
7597         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
7598         (ulimit): Likewise.
7600         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
7601         (settimeofday): Likewise.
7603 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
7605         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
7606         a struct th_u2 inside the union, and move tu_block/tu_code into
7607         a new th_u3 union of tu_block/tu_code inside of that.  Move
7608         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
7609         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
7610         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
7611         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
7612         (th_stuff): Change to th_u1.tu_stuff.
7613         (th_data): Define.
7614         (th_msg): Change to th_u1.th_u2.tu_data.
7616 2012-05-07  David S. Miller  <davem@davemloft.net>
7618         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7620         [BZ #14074]
7621         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
7622         (SETUP_PIC_REG): Use it.
7623         (SETUP_PIC_REG_LEAF): Use it.
7625 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
7627         [BZ #13885]
7628         [BZ #13923]
7629         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7630         USE_AS_EXPM1L.
7631         (EXPL_FINITE): Likewise.
7632         (FLDLOG): Likewise.
7633         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7634         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7635         e_expl.S.
7636         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7637         USE_AS_EXPM1L.
7638         (EXPL_FINITE): Likewise.
7639         (FLDLOG): Likewise.
7640         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7641         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7642         e_expl.S.
7643         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
7644         test of -max_value argument for long double.
7645         * sysdeps/i386/fpu/libm-test-ulps: Update.
7646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7648 2012-05-06  David S. Miller  <davem@davemloft.net>
7650         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
7651         quad soft-float symbols whose references which are compiler
7652         generated.
7653         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7655 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
7657         [BZ #13884]
7658         [BZ #13914]
7659         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7660         USE_AS_EXP10L.
7661         (EXPL_FINITE): Likewise.
7662         (FLDLOG): Likewise.
7663         (c0): Likewise.
7664         (c1): Likewise.
7665         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
7666         Adjust comments for base varying.
7667         (__expl_finite): Change alias to EXPL_FINITE.
7668         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
7669         e_expl.S.
7670         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
7671         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7672         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7673         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
7674         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7675         USE_AS_EXP10L.
7676         (EXPL_FINITE): Likewise.
7677         (FLDLOG): Likewise.
7678         (c0): Likewise.
7679         (c1): Likewise.
7680         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
7681         Adjust comments for base varying.
7682         (__expl_finite): Change alias to EXPL_FINITE.
7683         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
7684         tests for bugs.
7685         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7687         [BZ #14064]
7688         * math/libm-test.inc (check_float_internal): Correct ulp
7689         calculation for subnormal expected results.
7691 2012-05-06  Andreas Jaeger  <aj@suse.de>
7693         * Makeconfig (+math-flags): New, set to -frounding-math.
7694         (+cflags): Add +math-flags so that all of glibc gets compiled with
7695         it.
7697         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
7699 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
7701         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
7702         Disable one test.
7704         [BZ #13787]
7705         [BZ #13922]
7706         [BZ #14036]
7707         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
7708         (__ieee754_expl): Allow for and saturate large arguments.
7709         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
7710         (u_threshold): Likewise.
7711         (__exp): Call __ieee754_exp before checking for overflow and
7712         underflow.
7713         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
7714         (u_threshold): Likewise.
7715         (__expf): Call __ieee754_expf before checking for overflow and
7716         underflow.
7717         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
7718         (u_threshold): Likewise.
7719         (__expl): Call __ieee754_expl before checking for overflow and
7720         underflow.
7721         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
7722         (__ieee754_expl): Allow for and saturate large arguments.
7723         * math/libm-test.inc (exp_test): Add another test.  Do not allow
7724         missing overflow exception on overflow.
7725         (expm1_test): Do not allow missing overflow exception on overflow.
7727         * sysdeps/i386/fpu/e_expl.c: Move to ...
7728         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
7729         rather than using inline asm.
7730         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
7731         * sysdeps/x86_64/fpu/e_expl.S: Copy from
7732         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
7734         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
7735         (nice): Likewise.
7736         (poll): Likewise.
7737         (signal): Likewise.
7738         (time): Likewise.
7739         (times): Likewise.
7741 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
7743         * sysdeps/unix/syscalls.list (adjtime): Add entry from
7744         sysdeps/unix/common/syscalls.list.
7745         (fchmod): Likewise.
7746         (fchown): Likewise.
7747         (ftruncate): Likewise.
7748         (getrusage): Likewise.
7749         (gettimeofday): Likewise.
7750         (setpgid): Likewise.
7751         (setregid): Likewise.
7752         (setreuid): Likewise.
7753         (sigaction): Likewise.
7754         (truncate): Likewise.
7755         (vhangup): Likewise.
7756         * sysdeps/unix/common/syscalls.list: Remove file.
7757         * sysdeps/unix/bsd/Implies: Don't include unix/common.
7758         * sysdeps/unix/sysv/linux/Implies: Likewise.
7760 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
7762         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
7763         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
7764         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
7765         Moved to ...
7766         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7767         Here.
7768         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
7769         to ...
7770         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
7771         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
7772         to ...
7773         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
7774         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
7775         to ...
7776         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
7777         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
7778         to ...
7779         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
7780         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
7781         to ...
7782         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
7783         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
7784         to ...
7785         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
7786         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
7787         to ...
7788         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7789         Here.
7790         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
7791         to ...
7792         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
7793         Here.
7794         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
7795         to ...
7796         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
7797         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
7798         Moved to ...
7799         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
7800         Here.
7801         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
7802         to ...
7803         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
7805 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
7807         * sysdeps/unix/common/bits/dirent.h: Remove file.
7808         * sysdeps/unix/common/bits/fcntl.h: Likewise.
7810         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
7811         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
7812         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
7813         * sysdeps/unix/bsd/isatty.c: Likewise.
7814         * sysdeps/unix/bsd/tcdrain.c: Likewise.
7815         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
7816         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
7818 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7820         [BZ #13563]
7821         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
7822         long double comparison inaccuracies.
7823         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7824         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7826 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
7828         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
7829         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
7831 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
7833         [BZ #14049]
7834         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
7835         nonzero digits before rounding a hex value.
7836         * stdlib/tst-strtod.c (tests): Add another test.
7838 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7840         * sysdeps/s390/fpu/libm-test-ulps: Update.
7842 2012-05-03  Andreas Jaeger  <aj@suse.de>
7844         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
7845         does not get optimized out.
7846         (malloc_opt_barrier): New.
7848 2012-05-03  Andreas Jaeger  <aj@suse.de>
7849             Roland McGrath  <roland@hack.frob.com>
7851         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
7852         intermediate file deletion.
7853         (generated): Add .symlist files.
7855 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
7857         [BZ #13775]
7858         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
7859         Redirect under this condition.
7860         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7861         [__USE_GNU] (__dprintf_chk): Not under this condition.
7862         [__USE_GNU] (__vdprintf_chk): Likewise.
7863         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
7864         under this condition.
7865         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7866         [__USE_XOPEN2K8] (dprintf): Define under this condition.
7867         [__USE_XOPEN2K8] (vdprintf): Likewise.
7868         [__USE_GNU] (__dprintf_chk): Not under this condition.
7869         [__USE_GNU] (__vdprintf_chk): Likewise.
7870         [__USE_GNU] (dprintf): Likewise.
7871         [__USE_GNU] (vdprintf): Likewise.
7873 2012-05-03  Roland McGrath  <roland@hack.frob.com>
7875         * elf/Makefile (common-generated): Set this instead of generated for
7876         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
7877         $(all-built-dso)-derived lists.
7879 2012-05-03  Andreas Jaeger  <aj@suse.de>
7881         * sysdeps/i386/fpu/libm-test-ulps: Update.
7883         * FAQ: Removed.
7884         * FAQ.in: Likewise.
7885         * scripts/gen-FAQ.pl: Likewise.
7886         * manual/install.texi (Installation): Point to online location of
7887         FAQ.
7888         * Makefile (files-for-dist): Remove FAQ.
7889         (FAQ): Remove.
7891 2012-05-02  Allan McRae  <allan@archlinux.org>
7893         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
7894         (LDFLAGS-reldepmod5.so): Likewise.
7895         (LDFLAGS-reldep6mod1.so): Likewise.
7896         (LDFLAGS-reldep6mod4.so): Likewise.
7897         (LDFLAGS-reldep8mod3.so): Likewise.
7898         (LDFLAGS-unload4mod1.so): Likewise.
7899         (LDFLAGS-unload4mod2.so): Likewise.
7900         (LDFLAGS-tst-initorder): Likewise.
7901         (LDFLAGS-tst-initordera2.so): Likewise.
7902         (LDFLAGS-tst-initordera3.so): Likewise.
7903         (LDFLAGS-tst-initordera4.so): Likewise.
7904         (LDFLAGS-tst-initorderb2.so): Likewise.
7905         (LDFLAGS-noload): Likewise.
7906         (LDFLAGS-next): Likewise.
7907         (LDFLAGS-order2mod1.so): Likewise.
7908         (LDFLAGS-order2mod2.so): Likewise.
7909         (LDFLAGS-tst-initorder2): Likewise.
7910         (LDFLAGS-tst-initorder2a.so): Likewise.
7911         (LDFLAGS-tst-initorder2b.so): Likewise.
7912         (LDFLAGS-tst-initorder2c.so): Likewise.
7913         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
7915 2012-05-02  David S. Miller  <davem@davemloft.net>
7917         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7919 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
7921         [BZ #14055]
7922         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
7924 2012-05-02  Andreas Jaeger  <aj@suse.de>
7926         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
7927         since we manipulate rounding mode.
7928         (CPPFLAGS-test-idouble.c): Likewise.
7929         (CPPFLAGS-test-ifloat.c): Likewise.
7930         (CFLAGS-test-ldouble.c): Likewise.
7931         (CFLAGS-test-double.c): Likewise.
7932         (CFLAGS-test-float.c): Likewise.
7933         (CFLAGS-test-misc.c): Likewise.
7934         (CFLAGS-test-test-fenv.c): Likewise.
7936 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7938         [BZ #2550]
7939         [BZ #2570]
7940         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
7941         comparisons to determine direction to adjust input.
7943 2012-05-01  Roland McGrath  <roland@hack.frob.com>
7945         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
7946         output to the target.
7948         * scripts/localplt.awk: New file.
7949         * elf/Makefile ($(objpfx)check-localplt): Target removed.
7950         (check-localplt-CFLAGS): Variable removed.
7951         ($(all-built-dso:=.jmprel)): New static pattern rule.
7952         (generated): Add those targets.
7953         (localplt-built-dso): New variable.
7954         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
7956         * elf/check-localplt.c: File removed.
7958         * scripts/check-execstack.awk: New file.
7959         * elf/Makefile ($(objpfx)check-execstack): Target removed.
7960         (check-execstack-CFLAGS): Variable removed.
7961         ($(objpfx)check-execstack.h): Target removed.
7962         ($(objpfx)execstack-default): New target.
7963         (generated): Add that instead of check-execstack.h.
7964         ($(all-built-dso:=.phdr)): New static pattern rule.
7965         (generated): Add those targets.
7966         * elf/check-execstack.c: File removed.
7968         * scripts/check-textrel.awk: New file.
7969         * elf/Makefile ($(objpfx)check-textrel): Target removed.
7970         (check-textrel-CFLAGS): Variable removed.
7971         (all-built-dso): Use := to define.o
7972         ($(all-built-dso:=.dyn)): New static pattern rule.
7973         (generated): Add those targets.
7974         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
7975         * config.make.in (READELF): New substituted variable.
7976         * elf/check-textrel.c: File removed.
7978 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
7980         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7981         allow.
7982         * conform/data/ctype.h-data [C99-based standards] (isblank):
7983         Expect function.
7984         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
7985         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
7986         [ISO || ISO99 || ISO11] (*_t): Do not allow.
7987         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
7988         Specify type.  Require positive value.
7989         (EILSEQ): Likewise.
7990         (ERANGE): Likewise.
7991         [ISO || POSIX] (EILSEQ): Do not expect.
7992         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
7993         Specify type.  Require positive value.
7994         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
7995         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
7996         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
7997         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
7998         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
7999         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
8000         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
8001         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
8002         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
8003         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
8004         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
8005         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
8006         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
8007         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
8008         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
8009         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
8010         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
8011         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
8012         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
8013         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
8014         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
8015         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
8016         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
8017         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
8018         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
8019         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
8020         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
8021         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
8022         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
8023         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
8024         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
8025         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
8026         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
8027         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
8028         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
8029         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
8030         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
8031         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
8032         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
8033         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
8034         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
8035         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
8036         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
8037         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
8038         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
8039         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
8040         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
8041         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
8042         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
8043         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
8044         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
8045         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
8046         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
8047         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
8048         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
8049         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
8050         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
8051         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
8052         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
8053         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
8054         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
8055         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
8056         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
8057         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
8058         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
8059         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
8060         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
8061         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
8062         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
8063         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
8064         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
8065         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
8066         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
8067         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
8068         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
8069         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
8070         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
8071         Require >= 2.
8072         (FLT_ROUNDS): Expect as macro, not constant.
8073         (FLT_MANT_DIG): Use macro-int-constant.
8074         (DBL_MANT_DIG): Likewise.
8075         (LDBL_MANT_DIG): Likewise.
8076         (FLT_DIG): Likewise.
8077         (DBL_DIG): Likewise.
8078         (LDBL_DIG): Likewise.
8079         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
8080         (DBL_MIN_EXP): Likewise.
8081         (LDBL_MIN_EXP): Likewise.
8082         (FLT_MAX_EXP): Use macro-int-constant.
8083         (DBL_MAX_EXP): Likewise.
8084         (LDBL_MAX_EXP): Likewise.
8085         (FLT_MAX_10_EXP): Likewise.
8086         (DBL_MAX_10_EXP): Likewise.
8087         (LDBL_MAX_10_EXP): Likewise.
8088         (FLT_MAX): Use macro-constant.
8089         (DBL_MAX): Likewise.
8090         (LDBL_MAX): Likewise.
8091         (FLT_EPSILON): Use macro-constant.  Give upper bound.
8092         (DBL_EPSILON): Likewise.
8093         (LDBL_EPSILON): Likewise.
8094         (FLT_MIN): Likewise.
8095         (DBL_MIN): Likewise.
8096         (LDBL_MIN): Likewise.
8097         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
8098         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
8099         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
8100         [ISO11] (FLT_HAS_SUBNORM): Likewise.
8101         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
8102         [ISO11] (DBL_DECIMAL_DIG): Likewise.
8103         [ISO11] (FLT_DECIMAL_DIG): Likewise.
8104         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
8105         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
8106         [ISO11] (FLT_TRUE_MIN): Likewise.
8107         [ISO11] (LDBL_TRUE_MIN): Likewise.
8108         [ISO || ISO99 || ISO11] (*_t): Do not allow.
8109         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
8110         (SCHAR_MIN): Use macro-int-constant.  Specify type.
8111         (SCHAR_MAX): Likewise.
8112         (UCHAR_MAX): Likewise.
8113         (CHAR_MIN): Likewise.
8114         (CHAR_MAX): Likewise.
8115         (MB_LEN_MAX): Use macro-int-constant.
8116         (SHRT_MIN): Use macro-int-constant.  Specify type.
8117         (SHRT_MAX): Likewise.
8118         (USHRT_MAX): Likewise.
8119         (INT_MAX): Likewise.
8120         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
8121         bound negative.
8122         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
8123         bound with "U".
8124         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
8125         bound with "L".
8126         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
8127         bound negative.  Suffix upper bound with "L".
8128         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
8129         bound with "UL".
8130         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
8131         Specify type.
8132         [C99-based standards] (LLONG_MAX): Likewise.
8133         [C99-based standards] (ULLONG_MAX): Likewise.
8134         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
8135         == 0.
8136         [ISO11] (max_align_t): Require type.
8137         [ISO || ISO99 || ISO11] (*_t): Do not allow.
8139         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
8140         from $CFLAGS, without defining away __attribute__ calls.
8141         (checknamespace): Use $CFLAGS_namespace.
8143         * conform/conformtest.pl (@keywords): Only include C99 keywords
8144         for standards based on C99 or C11.
8146         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
8147         Disable tests.
8148         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
8149         UNIX98]: Likewise.
8151         * conform/conformtest.pl: Handle "macro-int-constant" and test for
8152         usability of symbols in #if.
8154         * conform/conformtest.pl: If macro or constant types start
8155         "promoted:", expect the symbol to be of the following type
8156         promoted by the integer promotions.
8158         * conform/conformtest.pl: Parse all "constant" and "macro" lines
8159         in one place.  Also handle "macro-constant".
8161         * conform/conformtest.pl: Only accept expected macro values with
8162         "==".  Parse all "macro" lines in one place.
8163         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
8165         * conform/conformtest.pl: Handle braced types on "constant" lines
8166         instead of handling "typed-constant".
8167         * conform/data/signal.h-data: Use "constant" instead of
8168         "typed-constant".
8170         * conform/conformtest.pl: Handle "optional-" at start of lines in
8171         one place rather than duplicating several cases.  Handle each
8172         format of "macro" line with initial "optional-".
8174         * conform/conformtest.pl: Only accept expected constant or
8175         optional-constant values with "==".  Parse all "constant" lines in
8176         one place.  Parse all "optional-constant" lines in one place.
8177         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
8178         * conform/data/fmtmsg.h-data: Likewise.
8179         * conform/data/netinet/in.h-data: Likewise.
8180         * conform/data/tar.h-data: Likewise.
8181         * conform/data/limits.h-data: Use "==" form on "constant" and
8182         "optional-constant" lines.
8184         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
8185         Use -std=c99 for XOPEN2K.
8186         (@knownproblems): Remove.
8187         (newtoken): Don't check %isknown.
8189         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
8190         Do not expect macro.
8191         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
8192         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
8193         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
8194         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
8195         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
8196         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
8197         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
8198         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
8199         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
8200         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
8201         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
8202         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
8203         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
8204         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
8205         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
8206         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
8207         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
8208         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
8209         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
8210         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
8211         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
8212         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
8213         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
8214         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
8215         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
8216         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
8217         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
8218         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
8219         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
8220         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
8221         [XPG3] (acosh): Likewise.
8222         [XPG3] (asinh): Likewise.
8223         [XPG3] (atanh): Likewise.
8224         [XPG3] (cbrt): Likewise.
8225         [XPG3] (expm1): Likewise.
8226         [XPG3] (ilogb): Likewise.
8227         [XPG3] (log1p): Likewise.
8228         [XPG3] (logb): Likewise.
8229         [XPG3] (nextafter): Likewise.
8230         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
8231         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
8232         [XPG3] (remainder): Likewise.
8233         [XPG3] (rint): Likewise.
8234         [XPG3 || XPG4 || UNIX98] (round): Likewise.
8235         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
8236         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
8237         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
8238         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
8239         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
8240         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
8241         [UNIX98 || XOPEN2K] (scalb): Expect.
8242         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
8243         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
8244         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
8245         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
8246         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
8247         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
8248         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
8249         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
8250         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
8251         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
8252         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
8253         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
8254         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
8255         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
8256         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
8257         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
8258         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
8259         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
8260         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
8261         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
8262         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
8263         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
8264         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
8265         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
8266         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
8267         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
8268         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
8269         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
8270         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
8271         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
8272         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
8273         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
8274         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
8275         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
8276         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
8277         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
8278         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
8279         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
8280         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
8281         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
8282         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
8283         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
8284         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
8285         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
8286         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
8287         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
8288         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
8289         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
8290         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
8291         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
8292         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
8293         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
8294         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
8295         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
8296         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
8297         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
8298         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
8299         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
8300         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
8301         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
8302         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
8303         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
8304         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
8305         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
8306         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
8307         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
8308         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
8309         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
8310         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
8311         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
8312         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
8313         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
8314         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
8315         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
8316         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
8317         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
8318         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
8319         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
8320         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
8321         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
8322         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
8323         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
8324         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
8325         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
8326         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
8327         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
8328         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
8329         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
8330         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
8331         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
8332         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
8333         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
8334         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
8335         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
8336         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
8337         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
8338         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
8339         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
8340         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
8341         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
8342         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
8343         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
8344         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
8345         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
8346         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
8347         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
8348         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
8349         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
8350         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
8351         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
8352         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
8353         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
8354         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
8355         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
8356         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
8357         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
8358         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
8359         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
8360         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
8361         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
8362         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
8363         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
8364         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
8365         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
8366         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
8367         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
8368         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
8369         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
8370         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
8371         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
8372         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
8373         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
8374         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
8375         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
8376         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
8377         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
8378         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
8380         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
8381         _XOPEN_SOURCE_EXTENDED for XPG4.
8383         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
8385         * Makeconfig (localtime): Remove variable.
8386         (inst_localtime-file): Likewise.
8388 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
8390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8391         Update.
8392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8393         Update.
8394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8395         Update.
8396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8397         Update.
8398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8399         Update.
8400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
8401         Update.
8402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8403         Update.
8404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
8405         Update.
8406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8407         Update.
8409 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
8411         [BZ #2550]
8412         [BZ #2570]
8413         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
8414         comparisons to determine direction to adjust input.
8415         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8416         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
8417         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8418         Likewise.
8419         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8420         Likewise.
8421         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8422         Likewise.
8423         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8424         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8425         Likewise.
8426         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8427         Likewise.
8428         * math/libm-test.inc (nexttoward_test): Add more tests.
8430 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
8432         [BZ #14040]
8433         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
8434         in version GLIBC_2.1, not GLIBC_2.0.
8435         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
8436         Likewise.
8438 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
8440         [BZ #13942]
8441         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
8442         (1 - x) * (1 + x).
8443         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8444         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
8445         * math/libm-test.inc (acos_test): Add more tests.
8446         (asin_test): Likewise.
8447         * sysdeps/i386/fpu/libm-test-ulps: Update.
8448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8450         [BZ #14034]
8451         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
8452         of square root.
8453         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
8454         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8455         * math/libm-test.inc (acos_test_tonearest): New function.
8456         (acos_test_towardzero): Likewise.
8457         (acos_test_downward): Likewise.
8458         (acos_test_upward): Likewise.
8459         (asin_test_tonearest): Likewise.
8460         (asin_test_towardzero): Likewise.
8461         (asin_test_downward): Likewise.
8462         (asin_test_upward): Likewise.
8463         (main): Call the new functions.
8464         * sysdeps/i386/fpu/libm-test-ulps: Update.
8465         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8467         [BZ #13884]
8468         [BZ #13924]
8469         * math/e_exp10.c: Include <float.h>.
8470         (__ieee754_exp10): Handle underflow here rather than multiplying
8471         large negative argument by M_LN10.
8472         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
8473         of __ieee754_expf.
8474         * math/e_exp10l.c: Include <float.h>.
8475         (__ieee754_exp10l): Handle underflow here rather than multiplying
8476         large negative argument by M_LN10l.
8477         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
8478         spurious overflow exception on underflow.
8480 2012-04-29  Marek Polacek  <polacek@redhat.com>
8482         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
8483         (__fortify_function): New macro.
8484         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
8485         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
8486         __extern_always_inline.
8487         * libio/bits/stdio2.h: Likewise.
8488         * libio/bits/stdio.h: Likewise.
8489         * string/string.h: Likewise.
8490         * string/bits/string3.h: Likewise.
8491         * include/stdio.h: Likewise.
8492         * stdlib/bits/stdlib.h: Likewise.
8493         * stdlib/stdlib.h: Likewise.
8494         * rt/bits/mqueue2.h: Likewise.
8495         * rt/mqueue.h: Likewise.
8496         * posix/bits/unistd.h: Likewise.
8497         * posix/unistd.h: Likewise.
8498         * io/bits/poll2.h: Likewise.
8499         * io/bits/fcntl2.h: Likewise.
8500         * io/fcntl.h: Likewise.
8501         * io/sys/poll.h: Likewise.
8502         * misc/bits/syslog.h: Likewise.
8503         * misc/bits/syslog-ldbl.h: Likewise.
8504         * misc/sys/syslog.h: Likewise.
8505         * socket/bits/socket2.h: Likewise.
8506         * socket/sys/socket.h: Likewise.
8507         * debug/tst-chk1.c: Likewise.
8508         * wcsmbs/bits/wchar2.h: Likewise.
8509         * wcsmbs/bits/wchar-ldbl.h: Likewise.
8510         * wcsmbs/wchar.h: Likewise.
8512 2012-04-29  Andreas Jaeger  <aj@suse.de>
8514         * Makerules (tests): Remove enable-check-abi protection.
8515         (check-abi-warn): Remove.
8516         (check-abi-%): Remove check-abi-warn usage.
8518         * configure.in: Remove check-abi configure option.
8519         * configure: Regenerated.
8520         * config.make.in (enable-check-abi): Remove.
8522 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
8524         [BZ #14033]
8525         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
8526         double functions to double *_finite functions.
8528         [BZ #13941]
8529         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
8530         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
8531         LDBL_MIN_EXP.
8532         * stdio-common/Makefile (tests): Add tst-sprintf3.
8533         * stdio-common/tst-sprintf3.c: New file.
8535         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
8536         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
8538 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
8540         * conform/conformtest.pl: Remove duplicate typed-constant
8541         handling.
8543 2012-04-28  David S. Miller  <davem@davemloft.net>
8545         * Makerules (%.abilist): Add vpath on sysdep_dirs.
8546         (check-abi-%): Remove AWK script prerequisite and explicit
8547         abilist directory.
8548         (check-abi): Rewrite to just diff the symlist with the abilist.
8549         (config-tls, config-abi-config): Delete, no longer used.
8550         (update-abi-%): Remove AWK script and explicit abilist directory.
8551         (update-abi): Rewrite to simply compare and conditionally copy the
8552         symlist and the sysdep abilist file.  Remove update-abi-config
8553         checks.
8554         * abilist/ld.abilist: Remove.
8555         * abilist/libBrokenLocale.abilist: Remove.
8556         * abilist/libanl.abilist: Remove.
8557         * abilist/libcrypt.abilist: Remove.
8558         * abilist/libdl.abilist: Remove.
8559         * abilist/librt.abilist: Remove.
8560         * abilist/libthread_db.abilist: Remove.
8561         * abilist/libutil.abilist: Remove.
8562         * scripts/extract-abilist.awk: Remove.
8563         * scripts/merge-abilist.awk: Remove.
8564         * sysdeps/generic/libcidn.abilist: New file.
8565         * sysdeps/generic/libnss_compat.abilist: New file.
8566         * sysdeps/generic/libnss_db.abilist: New file.
8567         * sysdeps/generic/libnss_dns.abilist: New file.
8568         * sysdeps/generic/libnss_files.abilist: New file.
8569         * sysdeps/generic/libnss_hesiod.abilist: New file.
8570         * sysdeps/generic/libnss_nis.abilist: New file.
8571         * sysdeps/generic/libnss_nisplus.abilist: New file.
8572         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
8573         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
8574         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
8575         file.
8576         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
8577         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
8578         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
8579         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
8580         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
8581         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
8582         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
8583         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
8584         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
8585         file.
8586         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
8587         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
8588         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
8589         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
8590         file.
8591         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
8592         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
8593         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
8594         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
8595         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
8596         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
8597         file.
8598         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
8599         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
8600         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
8601         file.
8602         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
8603         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
8604         New file.
8605         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
8606         New file.
8607         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
8608         New file.
8609         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
8610         New file.
8611         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
8612         New file.
8613         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
8614         New file.
8615         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
8616         New file.
8617         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
8618         New file.
8619         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
8620         New file.
8621         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
8622         New file.
8623         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
8624         New file.
8625         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
8626         New file.
8627         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
8628         New file.
8629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
8630         file.
8631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8632         New file.
8633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8634         New file.
8635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
8636         file.
8637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8638         New file.
8639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8640         New file.
8641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
8642         file.
8643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8644         New file.
8645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8646         New file.
8647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8648         New file.
8649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8650         New file.
8651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8652         New file.
8653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8654         New file.
8655         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
8656         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
8657         file.
8658         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8659         New file.
8660         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
8661         file.
8662         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
8663         file.
8664         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
8665         file.
8666         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
8667         file.
8668         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
8669         file.
8670         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8671         New file.
8672         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
8673         file.
8674         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
8675         file.
8676         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8677         New file.
8678         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
8679         file.
8680         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
8681         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
8682         file.
8683         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8684         New file.
8685         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
8686         file.
8687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
8688         file.
8689         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
8690         file.
8691         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
8692         file.
8693         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
8694         file.
8695         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8696         New file.
8697         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
8698         file.
8699         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
8700         file.
8701         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8702         New file.
8703         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
8704         file.
8705         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8706         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
8707         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
8708         file.
8709         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
8710         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
8711         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
8712         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
8713         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
8714         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
8715         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
8716         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
8717         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
8718         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
8719         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
8720         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
8721         file.
8722         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8723         New file.
8724         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
8725         file.
8726         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
8727         file.
8728         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
8729         file.
8730         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
8731         file.
8732         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
8733         file.
8734         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8735         New file.
8736         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8737         New file.
8738         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
8739         file.
8740         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8741         New file.
8742         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
8743         file.
8744         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
8745         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
8746         file.
8747         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8748         New file.
8749         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
8750         file.
8751         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
8752         file.
8753         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
8754         file.
8755         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
8756         file.
8757         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
8758         file.
8759         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8760         New file.
8761         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8762         New file.
8763         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
8764         file.
8765         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8766         New file.
8767         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
8768         file.
8770 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
8772         * conform/conformtest.pl: Fix typo in handling typed-constant from
8773         allow-header.
8775 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
8777         * README: Cut down references to pre-2.6 Linux kernels and
8778         Linuxthreads.  Update lists of configurations in libc and ports
8779         and sort alphabetically.  Say "or newer" with Linux kernel version
8780         requirements.
8782         * config.h.in [IS_IN_build]: Allow compiling without optimization.
8784 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8786         [BZ #887]
8787         * math/libm-test.inc (logb_test_downward): New test to expose
8788         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
8789         rounding mode.
8791 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
8793         [BZ #14027]
8794         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
8795         to be done.
8796         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
8797         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
8799 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
8801         * sysdeps/unix/i386/brk.S: Remove file.
8802         * sysdeps/unix/i386/dl-brk.S: Likewise.
8803         * sysdeps/unix/i386/pipe.S: Likewise.
8804         * sysdeps/unix/i386/sigreturn.S: Likewise.
8805         * sysdeps/unix/i386/syscall.S: Likewise.
8806         * sysdeps/unix/i386/vfork.S: Likewise.
8807         * sysdeps/unix/i386/wait.S: Likewise.
8809         * sysdeps/unix/common/tcsendbrk.c: Move to ...
8810         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
8812         * configure.in (arm*-none*): Do not allow without
8813         --enable-hacker-mode.
8814         (netbsd*): Remove case setting base_os.
8815         (386bsd*): Likewise.
8816         (freebsd*): Likewise.
8817         (bsdi*): Likewise.
8818         (osf*): Likewise.
8819         (sunos*): Likewise.
8820         (ultrix*): Likewise.
8821         (newsos*): Likewise.
8822         (dynix*): Likewise.
8823         (*bsd*): Likewise.
8824         (sysv*): Likewise.
8825         (isc*): Likewise.
8826         (esix*): Likewise.
8827         (sco*): Likewise.
8828         (minix*): Likewise.
8829         (irix4*): Likewise.
8830         (irix6*): Likewise.
8831         (solaris[2-9]*): Likewise.
8832         (none): Likewise.
8833         * configure: Regenerated.
8835 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8837         [BZ #11521]
8838         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
8839         overflow or cancellation in calculating denominator.
8840         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
8841         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
8842         down expression to avoid unexpected rounding in newer GCCs.
8843         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
8845 2012-04-26  David S. Miller  <davem@davemloft.net>
8847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
8848         long-double compat symbols.
8849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
8853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8854         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8855         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8856         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
8857         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8858         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8859         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
8860         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8861         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8863 2012-04-25  David S. Miller  <davem@davemloft.net>
8865         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
8866         HWCAP_* values only after the memory barriers have been defined.
8867         (atomic_full_barrier): Define.
8868         (atomic_read_barrier): Define.
8869         (atomic_write_barrier): Define.
8871 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8873         * shlib-versions: Add libgcc_s version information.
8874         * sysdeps/generic/libgcc_s.h: Remove.
8875         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
8876         libgcc_s.h.
8877         * sysdeps/gnu/unwind-resume.c: Likewise.
8878         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
8880 2012-04-25  David S. Miller  <davem@davemloft.net>
8882         * sysdeps/unix/sparc/brk.S: Delete.
8883         * sysdeps/unix/sparc/dl-brk.S: Delete.
8884         * sysdeps/unix/sparc/pipe.S: Delete.
8885         * sysdeps/unix/sparc/sysdep.S: Delete.
8886         * sysdeps/unix/sparc/sysdep.h: Delete.
8887         * sysdeps/unix/sparc/vfork.S: Delete.
8888         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
8889         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
8890         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
8891         ret_ERRVAL, r0, r1, MOVE): Define.
8892         (JUMPTARGET): Remove.
8893         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
8894         sysdeps/unix/sparc/sysdep.h
8895         (ENTRY, END): Remove.
8896         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8898 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
8900         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
8901         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
8902         -DIS_IN_build.
8904         * timezone/README: Update upstream location and email address for
8905         tzcode and tzdata.
8906         * timezone/zdump.c: Update from tzcode 2012b.
8907         * timezone/zic.c: Likewise.
8909         * configure.in (libc_cv_as_needed): Remove test.
8910         * configure: Regenerated.
8911         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
8912         conditional definition.
8913         [$(have-as-needed) != yes] (no-as-needed): Likewise.
8914         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
8915         * config.make.in (have-as-needed): Remove variable.
8917 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8918             Paul Pluzhnikov  <ppluzhnikov@google.com>
8920         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
8921         strings correctly.
8923 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
8925         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
8926         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
8927         * sysdeps/sh/strlen.S: Likewise.
8929 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
8931         * sysdeps/unix/fork.S: Remove file.
8932         * sysdeps/unix/i386/fork.S: Likewise.
8933         * sysdeps/unix/sparc/fork.S: Likewise.
8935         * sysdeps/unix/system.c: Remove file.
8936         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
8938         * sysdeps/unix/getegid.S: Remove file.
8939         * sysdeps/unix/geteuid.S: Likewise.
8941 2012-04-24  Roland McGrath  <roland@hack.frob.com>
8943         * scripts/check-localplt.awk: New file.
8944         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
8945         of diff.
8946         * scripts/data/localplt-generic.data: Add a comment.
8948         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
8949         NODE when __dir_mkfile failed.
8950         * sysdeps/mach/hurd/symlinkat.c: Likewise.
8951         Reported by Ludovic Courtès <ludo@gnu.org>.
8953 2012-04-24  Andreas Jaeger  <aj@suse.de>
8955         * Makerules (common-clean): Also remove gen-as-const-headers
8956         files.
8958 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
8960         * Makerules (native-compile): Do not change working directory for
8961         build.  Use $(OUTPUT_OPTION) in command.
8962         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
8964 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8966         [BZ #13886]
8967         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
8968         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
8969         * math/libm-test.inc (floor_test): Add more tests.
8970         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
8972 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
8974         * sysdeps/unix/getdents.c: Remove file.
8975         * sysdeps/unix/sysv/getdents.c: Likewise.
8976         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
8978         * sysdeps/unix/syscalls.list (madvise): Add syscall from
8979         sysdeps/unix/mman/syscalls.list.
8980         (mmap): Likewise.
8981         (mprotect): Likewise.
8982         (msync): Likewise.
8983         (munmap): Likewise.
8984         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
8985         * sysdeps/unix/mman/syscalls.list: Remove.
8986         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
8988         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
8989         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
8990         * configure: Regenerated.
8991         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
8992         $(libgcc_s_suffix).
8993         * config.make.in (libgcc_s_suffix): Remove variable.
8995 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
8997         * sysdeps/unix/sysv/gethostname.c: Move to ...
8998         * sysdeps/posix/gethostname.c: ... here.
9000         * sysdeps/unix/execve.S: Remove file.
9002         * sysdeps/unix/_exit.S: Remove file.
9004 2012-04-23  Andreas Jaeger  <aj@suse.de>
9006         [BZ #13739]
9007         * manual/Makefile: Remove make dist support, there's no
9008         need for a stand-alone documentation tar ball.
9009         (TEXI2DVI): Define always, it's not in Makeconfig.
9010         (dist): Removed.
9011         (tar-it): Removed.
9012         (edition): Removed.
9013         (glibc-doc-$(edition).tar): Removed
9014         (%.Z): Removed.
9015         (%.gz): Removed.
9016         (%.uu): Removed.
9017         (ETAGS): Remove, it's in Makeconfig.
9018         (move-if-change): Remove, it's in Makeconfig.
9020 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
9022         [BZ #13970]
9023         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
9024         (strtod, strtof, strtold, strtol, strtoul, strtoq)
9025         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
9026         (strtod_l, strtof_l, strtold_l): Remove __wur.
9027         It is not necessarily an error to ignore strtol's return value.
9028         One can reliably look at the stored endptr to decide whether
9029         the number had valid syntax.
9031 2012-04-21  Andreas Jaeger  <aj@suse.de>
9033         [BZ #13739]
9034         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
9036 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
9038         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
9039         * sysdeps/unix/sysv/Versions: Remove file.
9041 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
9043         [BZ #13927]
9044         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9046 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
9048         [BZ #7064]
9049         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
9050         version from __vm86.
9052 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
9054         * sysdeps/unix/common/lxstat.c: Remove file.
9055         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
9057         * sysdeps/unix/sysv/Makefile: Remove file.
9059         * sysdeps/unix/sysv/direct.h: Remove file.
9061         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
9062         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
9063         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
9064         * sysdeps/unix/sysv/bits/signum.h: Likewise.
9065         * sysdeps/unix/sysv/bits/stat.h: Likewise.
9066         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
9067         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
9069         * sysdeps/unix/sysv/setrlimit.c: Remove file.
9071         * sysdeps/unix/xmknod.c: Remove file.
9072         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
9074         * sysdeps/unix/sysv/settimeofday.c: Remove file.
9076         * sysdeps/unix/sysv/i386/time.S: Remove file.
9078         * sysdeps/unix/fxstat.c: Remove file.
9079         * sysdeps/unix/xstat.c: Likewise.
9080         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
9082         * sysdeps/unix/sysv/sigaction.c: Remove file.
9084         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
9085         (sysdep_headers): Remove variable.
9086         [termio.h not in sysdep_headers] (generated): Likewise.
9087         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
9088         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
9089         * sysdeps/unix/sysv/tcdrain.c: Likewise.
9090         * sysdeps/unix/sysv/tcflow.c: Likewise.
9091         * sysdeps/unix/sysv/tcflush.c: Likewise.
9092         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
9093         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
9094         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
9095         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
9096         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
9098         * sysdeps/unix/siglist.c: Remove file.
9100         * sysdeps/unix/getppid.S: Remove file.
9102         * sysdeps/unix/mkdir.c: Remove file.
9103         * sysdeps/unix/rmdir.c: Likewise.
9105 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
9107         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
9108         ERR_MAX value.
9109         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
9110         errlist-compat value.
9112 2012-04-18  David S. Miller  <davem@davemloft.net>
9114         * sysdeps/generic/memcopy.h (reg_char): Delete.
9115         * debug/strcat_chk.c: Use char, not reg_char.
9116         * debug/strcpy_chk.c: Likewise.
9117         * debug/strncat_chk.c: Likewise.
9118         * debug/strncpy_chk.c: Likewise.
9119         * string/memchr.c: Likewise.
9120         * string/memrchr.c: Likewise.
9121         * string/rawmemchr.c: Likewise.
9122         * string/strcat.c: Likewise.
9123         * string/strchr.c: Likewise.
9124         * string/strchrnul.c: Likewise.
9125         * string/strcmp.c: Likewise.
9126         * string/strcpy.c: Likewise.
9127         * string/strncat.c: Likewise.
9128         * string/strncmp.c: Likewise.
9129         * string/strncpy.c: Likewise.
9131 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
9133         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
9134         __builtin_memcopy is called when src and dest ranges are known to not
9135         overlap.
9137 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
9139         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
9140         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
9141         fwd_align_merge macro call.
9142         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
9143         bwd_align_merge macro call.
9144         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9146 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
9148         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
9149         bwd_align_merge macros.
9150         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
9151         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
9152         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9154 2012-04-18  David S. Miller  <davem@davemloft.net>
9156         * sysdeps/sparc/sparc64/memcopy.h: Delete.
9158 2012-04-18  Andreas Jaeger  <aj@suse.de>
9160         [BZ# 6794]
9161         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
9162         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
9163         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9165         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
9166         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
9167         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9169         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
9170         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
9171         Adjust for changed ldbl-128 files.
9173         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
9174         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
9175         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9177 2012-04-17  David S. Miller  <davem@davemloft.net>
9179         * sysdeps/sparc/sparc32/memcopy.h: Delete.
9181 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
9183         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
9184         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
9185         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
9186         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
9187         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9188         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
9190 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9192         [BZ #6794]
9193         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
9194         * math/libm-test.inc: Add ilogb errno and exception tests.
9195         * math/w_ilogb.c: New file: ilogb wrapper.
9196         * math/w_ilogbf.c: New file: ilogbf wrapper.
9197         * math/w_ilogbl.c: New file: ilogbl wrapper.
9198         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
9199         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
9200         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
9201         exception being thrown with 0.0 as argument.
9202         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
9203         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
9204         exception being thrown with 0.0 as argument.
9205         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
9206         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9207         exception being thrown with 0.0 as argument.
9208         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
9209         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9210         exception being thrown with 0.0 as argument.
9211         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
9212         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
9213         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
9214         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
9215         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
9216         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
9217         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
9218         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
9219         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
9221 2012-04-17  Petr Baudis  <pasky@ucw.cz>
9223         * include/sys/uio.h: Change __vector to __iovec to avoid clash
9224         with altivec.
9226 2012-04-16  Marek Polacek  <polacek@redhat.com>
9228         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
9230 2012-04-16  Marek Polacek  <polacek@redhat.com>
9232         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
9233         operands of fdivp instruction.
9235 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
9237         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
9238         * elf/tst-auditmod3b.c: Likewise.
9239         * elf/tst-auditmod4b.c: Likewise.
9240         * elf/tst-auditmod5b.c: Likewise.
9241         * elf/tst-auditmod6b.c: Likewise.
9242         * elf/tst-auditmod6c.c: Likewise.
9243         * elf/tst-auditmod7b.c: Likewise.
9244         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
9245         * sysdeps/x86_64/preconfigure.in: Likewise.
9246         * sysdeps/x86_64/preconfigure: Regenerated.
9248 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
9250         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
9251         __ILP32__.
9253 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
9255         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9256         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
9258 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
9260         [BZ #13973]
9261         * locale/iso-639.def: Fix gl language name. Spotted by
9262         Yaron Shahrabani.
9264 2012-04-12  Roland McGrath  <roland@hack.frob.com>
9266         [BZ #2074]
9267         * libio/libio.h (__io_write_fn): Update comment.
9269 2012-04-12  Petr Baudis  <pasky@ucw.cz>
9271         [BZ #2074]
9272         * stdio.texi (Hook Functions): The user provided writer function
9273         is not allowed to return -1.
9275 2012-04-11  David S. Miller  <davem@davemloft.net>
9277         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9279 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
9281         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
9282         Add a leading slash to rtkaio.
9284 2012-04-11  Jim Meyering  <meyering@redhat.com>
9286         [BZ #11959]
9287         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
9288         It is not necessarily an error to ignore fwrite's return
9289         value.  One can reliably use ferror to test for errors after
9290         the fact.
9292 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
9294         * bits/types.h (__snseconds_t): New type.
9295         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
9297         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
9298         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9299         (__SNSECONDS_T_TYPE): Likewise.
9300         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9301         (__SNSECONDS_T_TYPE): Likewise.
9302         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9303         (__SNSECONDS_T_TYPE): Likewise.
9305 2012-04-10  Andreas Jaeger  <aj@suse.de>
9307         [BZ #2636]
9308         * manual/time.texi (Processor Time): Return type of times is
9309         elapsed real time since an arbitrary point in the past.
9310         (CPU Time): Move CLK_TCK from here...
9311         (Processor Time): ...to here.  Correct description.
9312         * manual/conf.texi (Constants for Sysconf): Correct description of
9313         _SC_CLK_TCK.
9315 2012-04-10  David S. Miller  <davem@davemloft.net>
9317         [BZ #13967]
9318         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
9319         where the is a gap between DT_REL(A) and DT_JMPREL.
9321 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
9323         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
9324         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9325         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9327 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9329         * elf/dl-support.c (_dl_inhibit_cache): New variable.
9330         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
9331         (dl_main): Handle --inhibit-cache.
9332         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
9333         _dl_inhibit_cache.
9334         * elf/dl-load.c (_dl_map_object): Use it.
9335         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
9337 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
9339         [BZ #13872]
9340         * sysdeps/i386/fpu/e_powl.S (p78): New object.
9341         (__ieee754_powl): Saturate large exponents rather than testing for
9342         overflow of y*log2(x).
9343         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9344         * math/libm-test.inc (pow_test): Do not permit spurious overflow
9345         exceptions.
9347         [BZ #11521]
9348         * math/s_ctan.c: Include <float.h>.
9349         (__ctan): Avoid internal overflow or cancellation in calculating
9350         denominator.
9351         * math/s_ctanf.c: Likewise.
9352         * math/s_ctanl.c: Likewise.
9353         * math/s_ctanh.c: Likewise.
9354         * math/s_ctanhf.c: Likewise.
9355         * math/s_ctanhl.c: Likewise.
9356         * math/libm-test.inc (ctan_test): Add more tests.
9357         (ctanh_test): Likewise.
9358         * sysdeps/i386/fpu/libm-test-ulps: Update.
9359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9361 2012-04-09  Andreas Jaeger  <aj@suse.de>
9363         [BZ #6894]
9364         * manual/filesys.texi (Directory Entries): Mention that d_namlen
9365         is an optional BSD extension.
9367         [BZ #10254]
9368         * manual/stdio.texi (Opening Streams): Document additional fopen
9369         parameters.
9371 2012-04-09  Roland McGrath  <roland@hack.frob.com>
9373         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
9374         %eax without telling the compiler.
9376 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
9378         [BZ # 13963]
9379         * manual/install.texi: Use sourceware.org.
9381 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
9383         [BZ #13873]
9384         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
9385         (__ieee754_pow): Generate overflow and underflow using huge*huge
9386         and tiny*tiny rather than just returning constant infinity or zero
9387         for large exponents.
9388         * math/libm-test.inc (pow_test): Require overflow exceptions for
9389         applicable cases of large exponents.
9391         [BZ #706]
9392         * sysdeps/i386/fpu/e_pow.S (p10): New object.
9393         (__ieee754_pow): Use iterative multiplication algorithm only for
9394         integer exponents with absolute value below 1024.  Check for odd
9395         integer exponents when using algorithm for real exponents.
9396         * math/libm-test.inc (pow_test): Add more tests.
9397         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9399 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
9401         [BZ #13705]
9402         * math/libm-test.inc (exp_test): Do not allow overflow exception
9403         on underflow test.
9405 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
9407         [BZ #13705]
9408         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
9409         instead of __kernel_standard_f.
9411 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
9413         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
9414         * sysdeps/x86_64/memset_chk.S: Likewise.
9416 2012-04-08  Andreas Jaeger  <aj@suse.de>
9418         [BZ #10153]
9419         * manual/startup.texi (Environment Access): Describe return value
9420         for putenv and setenv.
9422         [BZ #6895]
9423         * manual/filesys.texi (Directory Entries): Add description for
9424         DT_LNK.
9426         [BZ #6890]
9427         * manual/filesys.texi (Directory Entries): Clarify that it's file
9428         system not operating system in the description of DT_UNKNOWN.
9430         [BZ #6578]
9431         * manual/syslog.texi (closelog): Fix reference, it's openlog.
9433 2012-04-08  Stephen Compall  <s11@member.fsf.org>
9435         [BZ #6649]
9436         * manual/llio.texi (Opening and Closing Files): Add cross
9437         reference to explain mode argument.
9439 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
9441         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
9442         * sysdeps/x86_64/memset_chk.S: Likewise.
9444 2012-04-07  David S. Miller  <davem@davemloft.net>
9446         * elf/elf.h (R_SPARC_WDISP10): Define.
9447         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
9448         R_SPARC_SIZE32.
9449         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9450         R_SPARC_SIZE64 and R_SPARC_H34.
9452 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
9454         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
9455         conditions and remove no longer applicable assertion.
9457 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
9459         * bits/byteswap.h: Include <features.h>.
9460         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9461         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9463 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
9465         * bits/byteswap.h (__bswap_16): Removed.
9466         Include <bits/byteswap-16.h> to get __bswap_16.
9467         * sysdeps/i386/bits/byteswap.h: Likewise.
9468         * sysdeps/s390/bits/byteswap.h: Likewise.
9469         * sysdeps/x86_64/bits/byteswap.h: Likewise.
9470         * bits/byteswap-16.h: New file.
9471         * sysdeps/i386/bits/byteswap-16.h: Likewise.
9472         * sysdeps/s390/bits/byteswap-16.h: Likewise.
9473         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
9474         * string/Makefile (headers): Add bits/byteswap-16.h.
9476 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9478         [BZ #13895]
9479         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
9480         extra indirection.
9481         * nss/Makefile (tests-static, tests): Add tst-nss-static.
9482         * nss/tst-nss-static.c: New.
9484 2012-04-06  Robert Millan  <rmh@gnu.org>
9486         [BZ #6486]
9487         * manual/llio.texi (File Position Primitive): lseek
9488         refers to WHENCE when it really means OFFSET.
9490 2012-04-06  Andreas Jaeger  <aj@suse.de>
9492         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
9493         strncmp declarations.
9495         * abilist/libc.abilist: Add __poll and __ppoll.
9497 2012-04-05  David S. Miller  <davem@davemloft.net>
9499         * scripts/check-local-headers.sh: Accept a host triplet in the
9500         path matched by the exclude regexp.
9502         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
9503         definition.
9504         * sysdeps/powerpc/powerpc32/dl-machine.h
9505         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
9506         * sysdeps/s390/s390-32/dl-machine.h
9507         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9508         * sysdeps/sparc/sparc32/dl-machine.h
9509         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9510         * sysdeps/sparc/sparc64/dl-machine.h
9511         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9513         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
9514         lazy binding.
9515         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
9516         undefined symbol errors.
9518         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
9519         DT_NEEDED entries.
9521 2012-04-05  Michael Matz  <matz@suse.de>
9523         [BZ #13592]
9524         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
9526 2012-04-05  Andreas Jaeger  <aj@suse.de>
9528         [BZ #13908]
9529         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
9530         comment.
9532 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
9534         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
9535         which ROUND is no valid rounding mode.
9537 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
9539         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
9540         read again.
9541         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
9543 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
9545         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
9546         an exception using FPU order intentionally.
9548 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
9550         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
9551         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
9552         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
9553         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
9555 2012-04-05  Simon Josefsson  <simon@josefsson.org>
9557         [BZ #12340]
9558         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
9559         EINVAL when BUFLEN is too smal.
9561 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
9563         [BZ #13553]
9564         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
9565         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
9567 2012-04-03  Andreas Jaeger  <aj@suse.de>
9569         [BZ #13938]
9570         * manual/setjmp.texi (System V contexts): Fix sentence.
9572         [BZ #13926]
9573         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
9574         New macro for this case.
9575         [!__GNUC__] (__bswap_64): New inline function for this case.
9576         * sysdeps/x86_64/bits/byteswap.h: Likewise.
9577         * bits/byteswap.h: Likewise.
9578         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
9579         ull, guard with __GLIBC_HAVE_LONG_LONG.
9581         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
9582         __GLIBC_HAVE_LONG_LONG.
9584         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
9585         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
9587 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9589         [BZ #13691]
9590         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
9591         inptr and inend, rather than using last_ch.
9593 2012-04-02  David S. Miller  <davem@davemloft.net>
9595         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
9596         * stdio-common/printf-parse.h (read_int): Change return type to
9597         'int', return -1 on INT_MAX overflow.
9598         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
9599         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
9600         overflows INT_MAX.  Check for overflow of in-format-string precision
9601         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
9602         SIZE_MAX not INT_MAX for integer overflow test.
9603         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
9604         skip the construct in the format string but do not record anything.
9605         * stdio-common/bug22.c: Adjust to test both width/prevision
9606         INT_MAX overflow as well as total length INT_MAX overflow.  Check
9607         explicitly for proper errno values.
9609 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
9611         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
9612         CHAR_MAX.
9613         * string/test-strcmp.c [! WIDE]: Likewise.
9614         * time/tst-mktime2.c: Likewise for INT_MAX.
9615         * string/test-string.h: #include <sys/param.h> for MIN.
9617         * csu/init-first.c (__libc_init_first): Call __ctype_init.
9618         * sysdeps/i386/init-first.c (init): Likewise.
9619         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
9620         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
9621         * sysdeps/sh/init-first.c (init): Likewise.
9623 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
9625         * po/ru.po: Update from translation team.
9626         * po/vi.po: Likewise.
9628 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
9630         * resolv/nss_dns/dns-host.c: Merge copyright years.
9632 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9634         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9635         Optimize memcpy with prefetch if
9636         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
9637         src, dst pointers have unequal 16 byte alignments.
9639 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9641         [BZ #13928]
9642         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
9643         from a CNAME entry and return the minimum ttl for the query.
9644         (gaih_getanswer_slice): Likewise.
9646 2012-03-30  Jeff Law  <law@redhat.com>
9648         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
9649         due to long keys.
9650         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9651         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9653         * resolv/nss_dns/dns-host.c: Update copyright year.
9655 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
9657         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
9658         requests to save a system call.  Fix check that all bytes are sent.
9660         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
9661         comments for sendmmsg.
9663 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9665         [BZ #13691]
9666         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
9667         with only 1 character between 0x0041 and 0x01b0.
9668         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
9669         * wcsmbs/tst-mbsnrtowcs.c: New file.
9671 2012-03-29  David S. Miller  <davem@davemloft.net>
9673         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
9674         small copies by hand.
9676 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9678         [BZ #13761]
9679         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
9680         _nss_compat_initgroups_dyn): Fall back to malloc/free
9681         for large group memberships.
9683 2012-03-28  David S. Miller  <davem@davemloft.net>
9685         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
9686         that branches into memcpy.
9687         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9688         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9689         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9690         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9691         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
9692         bits.
9693         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
9694         implementation too.
9695         * sysdeps/sparc/mempcpy.S: New file.
9697         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
9698         the IFUNC routine in the libc case.
9699         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9701         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
9702         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
9703         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
9704         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
9705         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
9706         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
9707         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
9708         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
9710         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
9711         loop to 256 bytes instead of 64 bytes and fix test signedness.
9713         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
9714         * sysdeps/sparc/sparc32/Makefile: rather than here...
9715         * sysdeps/sparc/sparc64/Makefile: and here.
9717 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
9719         * malloc/mallocbug.c: Avoid warnings about unused variables.
9721 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9723         [BZ #13760]
9724         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
9725         in the right place. Discard and retry query if response is
9726         larger than input buffer size.
9728 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
9730         [BZ #369]
9731         [BZ #2678]
9732         [BZ #3866]
9733         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
9734         x for large integer exponent.
9735         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9736         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
9737         sign of result as needed afterwards.
9738         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9739         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
9740         result for underflowing pow the same as for overflow.
9741         (__kernel_standard_l): Handle powl overflow and underflow here
9742         rather than calling __kernel_standard.
9743         * math/libm-test.inc (pow_test): Add more tests.
9745         [BZ #3868]
9746         [BZ #13879]
9747         [BZ #13910]
9748         [BZ #13911]
9749         [BZ #13912]
9750         [BZ #13913]
9751         [BZ #13915]
9752         [BZ #13916]
9753         [BZ #13917]
9754         [BZ #13918]
9755         [BZ #13919]
9756         [BZ #13920]
9757         [BZ #13921]
9758         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
9759         * sysdeps/ieee754/k_standard.c: Include <float.h>.
9760         (__kernel_standard_l): New function.
9761         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
9762         __kernel_standard.
9763         * math/w_acosl.c (__acosl): Likewise.
9764         * math/w_asinl.c (__asinl): Likewise.
9765         * math/w_atan2l.c (__atan2l): Likewise.
9766         * math/w_atanhl.c (__atanhl): Likewise.
9767         * math/w_coshl.c (__coshl): Likewise.
9768         * math/w_exp10l.c (__exp10l): Likewise.
9769         * math/w_exp2l.c (__exp2l): Likewise.
9770         * math/w_fmodl.c (__fmodl): Likewise.
9771         * math/w_hypotl.c (__hypotl): Likewise.
9772         * math/w_j0l.c (__j0l, __y0l): Likewise.
9773         * math/w_j1l.c (__j1l, __y1l): Likewise.
9774         * math/w_jnl.c (__jnl, __ynl): Likewise.
9775         * math/w_lgammal.c (__lgammal): Likewise.
9776         * math/w_log10l.c (__log10l): Likewise.
9777         * math/w_log2l.c (__log2l): Likewise.
9778         * math/w_logl.c (__logl): Likewise.
9779         * math/w_powl.c (__powl): Likewise.
9780         * math/w_remainderl.c (__remainderl): Likewise.
9781         * math/w_scalbl.c (sysv_scalbl): Likewise.
9782         * math/w_sinhl.c (__sinhl): Likewise.
9783         * math/w_sqrtl.c (__sqrtl): Likewise.
9784         * math/w_tgammal.c (__tgammal): Likewise.
9785         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
9786         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
9787         * math/libm-test.inc (acos_test): Add more tests.
9788         (acosh_test): Likewise.
9789         (asin_test): Likewise.
9790         (atanh_test): Likewise.
9791         (exp_test): Likewise.
9792         (exp10_test): Likewise.
9793         (exp2_test): Likewise.
9794         (expm1_test): Likewise.
9795         (lgamma_test): Likewise.
9796         (log_test): Likewise.
9797         (log10_test): Likewise.
9798         (log1p_test): Likewise.
9799         (log2_test): Likewise.
9800         (pow_test): Do not allow some spurious overflow exceptions.
9801         (sqrt_test): Add more tests.
9802         (tgamma_test): Likewise.
9803         (y0_test): Likewise.
9804         (y1_test): Likewise.
9805         (yn_test): Likewise.
9807 2012-03-27  Anton Blanchard  <anton@samba.org>
9809         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
9810         MAP_HUGETLB.
9811         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9812         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9813         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9815 2012-03-27  David S. Miller  <davem@davemloft.net>
9817         * conform/Makefile: Run run-conformtest.sh using $(BASH).
9819         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
9820         have-as-vis3 check.
9822 2012-03-27  Andreas Jaeger  <aj@suse.de>
9824         * sysdeps/x86_64/elf/configure.in: Moved to ...
9825         * sysdeps/x86_64/configure.in: ... here.
9826         * sysdeps/x86_64/elf/start.S: Moved to ...
9827         * sysdeps/x86_64/start.S: ... here.
9828         * sysdeps/x86_64/elf/configure: Delete.
9830         * sysdeps/x86_64/configure.in: Merge contents from
9831         sysdeps/i386/configure.in (without i686 check).
9833         * sysdeps/i386/elf/Versions: Merge into ...
9834         * sysdeps/i386/Versions: ... this.
9835         * sysdeps/i386/elf/Versions: Delete file.
9836         * sysdeps/i386/elf/start.S: Moved to ...
9837         * sysdeps/i386/start.S: ...here.
9838         * sysdeps/i386/elf/configure.in: Merge into...
9839         * sysdeps/i386/configure.in: ...here.
9840         * sysdeps/i386/elf/configure.in: Delete file.
9841         * sysdeps/i386/elf/configure: Delete file.
9843         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
9844         * debug/backtracesyms.c: ... here.
9845         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
9846         * debug/backtracesymsfd.c: ... here.
9847         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
9848         * sysdeps/generic/ifunc-sel.h: ... here.
9850         * sysdeps/unix/i386/start.c: Delete file.
9851         * sysdeps/unix/sparc/start.c: Delete file.
9852         * sysdeps/unix/start.c: Delete file.
9854         * sysdeps/sh/elf/configure.in: Moved to ...
9855         * sysdeps/sh/configure.in: ... here.
9856         * sysdeps/sh/elf/start.S: Moved to ...
9857         * sysdeps/sh/start.S: ... here.
9858         * sysdeps/sh/elf/configure: Delete file.
9860         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
9861         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
9862         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
9863         * sysdeps/powerpc/powerpc64/entry.h: ... here.
9864         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
9865         * sysdeps/powerpc/powerpc64/start.S: here.
9866         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
9867         * sysdeps/powerpc/powerpc64/Makefile: ... this.
9868         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
9869         * sysdeps/powerpc/powerpc64/configure.in: ... this.
9870         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
9872         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
9873         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
9874         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
9875         * sysdeps/powerpc/powerpc32/start.S: ... here.
9876         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
9877         * sysdeps/powerpc/powerpc32/configure.in: ... this.
9878         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
9880         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
9881         * sysdeps/powerpc/ifunc-sel.h: ... here.
9882         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
9883         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
9885         * sysdeps/sparc/elf/configure.in: Moved to ...
9886         * sysdeps/sparc/configure.in: ... here.
9887         * sysdeps/sparc/elf/configure: Delete file.
9888         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
9889         * sysdeps/sparc/sparc32/start.S: ... here.
9890         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
9891         * sysdeps/sparc/sparc64/start.S: ... here.
9892         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
9893         * sysdeps/sparc/sparc32/Makefile: ... this.
9894         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
9895         * sysdeps/sparc/sparc64/Makefile: ... this.
9897         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
9898         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
9899         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
9900         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
9901         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
9902         * sysdeps/s390/s390-32/setjmp.S: ... here.
9903         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
9904         * sysdeps/s390/s390-32/configure.in: ... here.
9905         * sysdeps/s390/s390-32/elf/configure: Delete file.
9906         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
9907         * sysdeps/s390/s390-32/start.S: ... here.
9909         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
9910         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
9911         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
9912         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
9913         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
9914         * sysdeps/s390/s390-64/setjmp.S: ... here.
9915         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
9916         * sysdeps/s390/s390-64/configure.in: ... here
9917         * sysdeps/s390/s390-64/elf/configure: Delete file.
9918         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
9919         * sysdeps/s390/s390-64/start.S: ... here.
9920         * sysdeps/s390/s390-64/elf/configure: Delete.
9922         * configure.in: Remove support for elf directories in sysdeps.
9924         * configure: Regenerated.
9925         * sysdeps/i386/configure: Regenerated.
9926         * sysdeps/powerpc/powerpc32/configure: Regenerated.
9927         * sysdeps/powerpc/powerpc64/configure: Regenerated.
9928         * sysdeps/s390/s390-32/configure: Regenerated.
9929         * sysdeps/s390/s390-64/configure: Regenerated.
9930         * sysdeps/sh/configure: Regenerated.
9931         * sysdeps/sparc/configure: Regenerated.
9932         * sysdeps/x86_64/configure: Regenerated.
9934 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
9936         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9938         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
9939         denormal result into account.
9941 2012-03-25  Roland McGrath  <roland@hack.frob.com>
9943         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
9944         Reported by Allan McRae <allan@archlinux.org>.
9946 2012-03-23  Jeff Law  <law@redhat.com>
9948         * nss/getnssent.c (__nss_getent): Fix typo.
9950 2012-03-23  David S. Miller  <davem@davemloft.net>
9952         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9954 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
9956         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
9957         to pad to uint64_t for each field.
9958         (dl_tls_index): Replace unsigned long with uint64_t.
9960 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
9961         Paul Pluzhnikov  <ppluzhnikov@google.com>
9963         [BZ #6528]
9964         * grp/Makefile (otherlibs): Don't set it.
9965         * inet/Makefile (otherlibs): Likewise.
9966         * login/Makefile (otherlibs): Likewise.
9967         * nscd/Makefile (otherlibs): Likewise.
9968         * posix/Makefile (otherlibs): Likewise.
9969         * pwd/Makefile (otherlibs): Likewise.
9970         * rt/Makefile (otherlibs): Likewise.
9971         * sunrpc/Makefile (otherlibs): Likewise.
9972         * nss/Makefile (otherlibs): Likewise.
9973         Add libnss_files to routines and static-only-routines.
9974         ($(objpfx)getent): Remove rule.
9975         * resolv/Makefile: Add libnss_dns and libresolv to routines and
9976         static-only-routines.
9978 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
9980         [BZ #13892]
9981         * math/s_cexp.c: Include <float.h>.
9982         (__cexp): Handle exp result overflowing not necessarily
9983         overflowing both real and imaginary parts of result.
9984         * math/s_cexpf.c: Likewise.
9985         * math/s_cexpl.c: Likewise.
9986         * math/libm-test.inc (cexp_test): Add more tests.
9987         * sysdeps/i386/fpu/libm-test-ulps: Update.
9988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9990 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
9992         * include/link.h (ELFW): New macro.
9993         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
9994         Replace ELF64_R_TYPE with ELFW(R_TYPE).
9996 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
9998         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
9999         with uint64_t.
10001 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
10003         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
10004         declaration.
10005         (struct La_x32_retval): Likewise.
10007 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
10009         * sysdeps/x86_64/preconfigure.in: New file.
10010         * sysdeps/x86_64/preconfigure: New generated file.
10012 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
10014         [BZ #13824]
10015         * math/e_exp2l.c: Include <float.h>.
10016         (__ieee754_exp2l): Handle overflow and underflow cases
10017         separately.  Only pass fractional part of argument to
10018         __ieee754_expl.
10019         * math/libm-test.inc (exp2_test): Add more tests.
10021         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
10022         negating x to take absolute value.
10023         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10024         Likewise.
10025         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10026         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
10027         Likewise.
10028         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
10029         computing low part if x was negated.
10030         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10032 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
10034         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
10035         la_x32_gnu_pltexit.
10036         (pltexit): Cast int_retval to ptrdiff_t.
10037         * elf/tst-auditmod3b.c: Likewise.
10038         * elf/tst-auditmod4b.c: Likewise.
10039         * elf/tst-auditmod5b.c: Likewise.
10040         * elf/tst-auditmod6b.c: Likewise.
10041         * elf/tst-auditmod6c.c: Likewise.
10042         * elf/tst-auditmod7b.c: Likewise.
10044         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
10045         and x32_gnu_pltexit.
10047         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
10048         __ELF_NATIVE_CLASS.
10049         (La_x32_regs): New macro.
10050         (La_x32_retval): Likewise.
10051         (la_x32_gnu_pltenter): New function prototype.
10052         (la_x32_gnu_pltexit): Likewise.
10054 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
10056         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
10057         exponent.
10059         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10061         * configure.in (libc_cv_cc_nofma): Check for option to disable
10062         generation of FMA instructions.
10063         * configure: Regenerate.
10064         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
10065         * sysdeps/ieee754/dbl-64/Makefile: New file.
10066         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10067         Remove brandred-fma4.
10068         (CFLAGS-brandred-fma4.c): Remove.
10069         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
10070         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
10071         define.
10072         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
10073         define.
10075 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
10077         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10078         LLONG_MAX != LONG_MAX.
10079         (_itoa_word): Use _ITOA_WORD_TYPE on value.
10080         (_fitoa_word): Likewise.
10081         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
10082         LLONG_MAX != LONG_MAX.
10083         * stdio-common/_itowa.h: Include <_itoa.h>.
10084         (_itowa_word): Use _ITOA_WORD_TYPE on value.
10085         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
10086         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
10087         only if not defined.
10088         (_ITOA_WORD_TYPE): Likewise.
10089         (_itoa_word): Use _ITOA_WORD_TYPE on value.
10090         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
10092 2012-03-21  David S. Miller  <davem@davemloft.net>
10094         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10096 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
10098         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
10099         of x86_64 when setting libc_cv_slibdir, libdir and
10100         libc_cv_localedir.
10101         * sysdeps/unix/sysv/linux/configure: Regenerated.
10103 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
10105         * manual/lang.texi (Old Varargs): Remove section.
10106         (How Variadic): Update menu.
10107         (va_start): Do not mention varargs.h.
10109 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
10110             Joseph Myers  <joseph@codesourcery.com>
10112         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
10113         link test.
10114         * configure: Regenerated.
10116 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
10118         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
10119         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
10120         conformtest.pl
10122 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
10124         * NOTES: Remove.
10125         * Makefile (files-for-dist): Remove NOTES.
10126         (NOTES): Remove rule.
10127         * README: Don't refer to NOTES.
10128         * manual/creature.texi: Don't include macros.texi.
10129         * manual/intro.texi (creature.texi): Remove comment referring to
10130         NOTES.
10132         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
10133         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
10134         * configure: Regenerated.
10135         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
10136         LIBC_TRY_CC_OPTION.
10137         (libc_cv_as_i686): Likewise.
10138         (libc_cv_cc_avx): Likewise.
10139         (libc_cv_cc_sse2avx): Likewise.
10140         (libc_cv_cc_fma4): Likewise.
10141         (libc_cv_cc_novzeroupper): Likewise.
10142         * sysdeps/i386/configure: Regenerated.
10144         [BZ #13883]
10145         * sysdeps/i386/fpu/s_cexp.S: Remove.
10146         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10147         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10148         * math/libm-test.inc (cexp_test): Add more tests.
10149         * sysdeps/i386/fpu/libm-test-ulps: Update.
10150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10152 2012-03-21  Allan McRae  <allan@archlinux.org>
10154         * timezone/Makefile: Do not install iso3166.tab and zone.tab
10156 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
10158         [BZ #13871]
10159         * math/w_exp2.c: Do not include <float.h>.
10160         (o_threshold, u_threshold): Remove.
10161         (__exp2): Calculate result before checking finiteness and calling
10162         __kernel_standard.
10163         * math/w_exp2f.c: Likewise.
10164         * math/w_exp2l.c: Likewise.
10165         * math/libm-test.inc (exp2_test): Require overflow exception for
10166         1e6 input.
10168         [BZ #3866]
10169         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
10170         range of signed 64-bit integers before using fistpll.  Remove
10171         checks for whether integers fit in mantissa bits.
10172         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
10173         the range of signed 32-bit integers before using fistpl.  Remove
10174         checks for whether integers fit in mantissa bits.
10175         * sysdeps/i386/fpu/e_powl.S (p64): New object.
10176         (__ieee754_powl): Test for y outside the range of signed 64-bit
10177         integers before using fistpll.  Reduce 64-bit values to 63-bit
10178         ones as needed.
10179         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
10180         divide-by-zero is raised for zero to large negative powers.
10181         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
10182         (__ieee754_powl): Test for y outside the range of signed 64-bit
10183         integers before using fistpll.  Reduce 64-bit values to 63-bit
10184         ones as needed.
10185         * math/libm-test.inc (pow_test): Add more tests.
10187 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
10189         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
10190         <stdio-common/_itoa.h>.
10191         * debug/segfault.c: Likewise.
10192         * elf/dl-cache.c: Likewise.
10193         * elf/dl-minimal.c: Likewise.
10194         * elf/dl-misc.c: Likewise.
10195         * elf/dl-sysdep.c: Likewise.
10196         * elf/dl-version.c: Likewise.
10197         * elf/rtld.c: Likewise.
10198         * hurd/hurdsock.c: Likewise.
10199         * hurd/lookup-retry.c: Likewise.
10200         * malloc/malloc.c: Likewise.
10201         * malloc/mtrace.c: Likewise.
10202         * nscd/nscd_getgr_r.c: Likewise.
10203         * nscd/nscd_getpw_r.c: Likewise.
10204         * nscd/nscd_getserv_r.c: Likewise.
10205         * posix/getopt_init.c: Likewise.
10206         * posix/wordexp.c: Likewise.
10207         * stdio-common/_itoa.c: Likewise.
10208         * stdio-common/printf_fphex.c: Likewise.
10209         * stdio-common/vfprintf.c: Likewise.
10210         * string/_strerror.c: Likewise.
10211         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10212         * sysdeps/i386/i686/hp-timing.h: Likewise.
10213         * sysdeps/mach/_strerror.c: Likewise.
10214         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
10215         * sysdeps/mach/hurd/sethostid.c: Likewise.
10216         * sysdeps/mach/hurd/xmknodat.c: Likewise.
10217         * sysdeps/mach/xpg-strerror.c: Likewise.
10218         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10219         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10220         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
10221         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
10222         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10223         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
10224         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
10225         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
10226         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
10227         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
10228         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
10229         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10230         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
10231         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
10232         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
10233         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
10234         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
10235         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10236         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10237         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10238         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
10240         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
10242         * stdio-common/_itoa.h: Moved to ...
10243         * sysdeps/generic/_itoa.h: Here.
10245         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
10247         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
10248         instead of "_itoa.h" and "_itowa.h".
10249         * stdio-common/vfprintf.: Likewise.
10251 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
10253         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
10254         <bits/wordsize.h>.
10255         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
10256         (__signbit): Likwise.
10257         (llrintf): Likwise.
10258         (llrint): Likwise.
10260 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
10262         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
10263         __WORDSIZE != 64.
10265 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
10267         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
10268         OVERFLOW_EXCEPTION_OK.
10269         * math/libm-test.inc ("Philosophy"): Update comment about
10270         exception testing.
10271         (OVERFLOW_EXCEPTION): Define.
10272         (OVERFLOW_EXCEPTION_OK): Likewise.
10273         (INVALID_EXCEPTION_OK): Renumber.
10274         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10275         (IGNORE_ZERO_INF_SIGN): Likewise.
10276         (test_exceptions): Handle FE_OVERFLOW.
10277         (exp10_test): Expect overflow exceptions.
10278         (exp2_test): Likewise.
10279         (expm1_test): Likewise.
10280         (nextafter_test): Likewise.
10281         (pow_test): Likewise.
10282         (scalbn_test): Likewise.
10283         (scalbln_test): Likewise.
10285 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
10287         * sysdeps/x86_64/bits/atomic.h
10288         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
10289         64bit integer.
10290         (atomic_exchange_acq): Likewise.
10291         (__arch_exchange_and_add_body): Likewise.
10292         (__arch_add_body): Likewise.
10293         (atomic_add_negative): Likewise.
10294         (atomic_add_zero): Likewise.
10296 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
10298         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
10299         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
10301 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
10303         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
10304         Check __x86_64__ instead of __WORDSIZE.
10306 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
10308         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
10310 2012-03-19  David S. Miller  <davem@davemloft.net>
10312         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10314         * sysdeps/sparc/fpu/fenv_private.h: New file.
10315         * sysdeps/sparc/fpu/math_private.h: Use it.
10316         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
10317         Remove.
10318         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
10319         (libc_feholdexcept_setroundl): Remove.
10320         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
10321         Remove.
10322         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
10323         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
10325 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
10327         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
10328         int64_t instead of long int.
10329         (INSERT_WORDS64): Likwise.
10331 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
10333         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
10334         _Unwind_GetCFA return to _Unwind_Ptr first.
10336 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
10338         [BZ #13629]
10339         * math/s_clog.c: Include <float.h>.
10340         (__clog): Scale large or subnormal inputs.
10341         * math/s_clogf.c: Likewise.
10342         * math/s_clogl.c: Likewise.
10343         * math/s_clog10.c: Include <float.h>.
10344         (M_LOG10_2): Define.
10345         (__clog10): Scale large or subnormal inputs.
10346         * math/s_clog10f.c: Likewise.
10347         * math/s_clog10l.c: Likewise.
10348         * math/libm-test.inc (clog_test): Add more tests.
10349         (clog10_test): Likewise.
10350         * sysdeps/i386/fpu/libm-test-ulps: Update.
10351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10353         [BZ #11451]
10354         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
10355         x and y.
10356         * math/libm-test.inc (atan2_test): Add another test.
10358         * Makerules (common-objdir-compile): Remove.
10359         * sysdeps/unix/Makefile (config-generated): Do not add
10360         $(unix-generated) to variable.
10361         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
10362         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
10363         Remove rule.
10364         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
10365         Likewise.
10366         [generic bits/local_lim.h] (before-compile): Do not append to
10367         variable.
10368         [generic bits/local_lim.h] (common-generated): Likewise.
10369         [generic sys/param.h] (before-compile): Do not append to variable.
10370         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
10371         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
10372         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
10373         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
10374         include.
10375         [generic sys/param.h] (sys/param.h-includes): Remove variable.
10376         [generic sys/param.h] (sys/param.h-includes): Remove rule.
10377         [generic sys/param.h] ($(addprefix
10378         $(common-objpfx),$(sys/param.h-includes))): Likewise.
10379         [generic sys/param.h] (common-generated): Do not append to
10380         variable.
10381         [generic sys/param.h] (sysdep_headers): Likewise.
10382         [generic bits/errno.h] (before-compile): Do not append to
10383         variable.
10384         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
10385         rule.
10386         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
10387         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
10388         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
10389         [generic bits/errno.h] (common-generated): Do not append to
10390         variable.
10391         [generic bits/ioctls.h] (before-compile): Do not append to
10392         variable.
10393         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
10394         rule.
10395         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
10396         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
10397         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
10398         rule.
10399         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
10400         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
10401         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
10402         [generic bits/ioctls.h] (common-generated): Do not append to
10403         variable.
10404         [generic sys/syscall.h] (syscall.h): Remove variable.
10405         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
10406         rule.
10407         [generic sys/syscall.h] (before-compile): Do not append to
10408         variable.
10409         [generic sys/syscall.h] (common-generated): Likewise.
10410         * sysdeps/unix/errnos-tmpl.c: Remove file.
10411         * sysdeps/unix/errnos.awk: Likewise.
10412         * sysdeps/unix/ioctls-tmpl.c: Likewise.
10413         * sysdeps/unix/ioctls.awk: Likewise.
10414         * sysdeps/unix/mk-local_lim.c: Likewise.
10415         * sysdeps/unix/snarf-ioctls: Likewise.
10417 2012-03-19  Richard Henderson  <rth@twiddle.net>
10419         * sysdeps/i386/fpu/fenv_private.h: New file.
10420         * sysdeps/i386/fpu/math_private.h: Use it.
10421         (math_opt_barrier, math_force_eval): Remove.
10422         (libc_feholdexcept_setround_53bit): Remove.
10423         (libc_feupdateenv_53bit): Remove.
10424         * sysdeps/x86_64/fpu/math_private.h: Likewise.
10425         (math_opt_barrier, math_force_eval): Remove.
10426         (libc_feholdexcept): Remove.
10427         (libc_feholdexcept_setround): Remove.
10428         (libc_fetestexcept, libc_fesetenv): Remove.
10429         (libc_feupdateenv_test): Remove.
10430         (libc_feupdateenv, libc_feholdsetround): Remove.
10431         (libc_feresetround): Remove.
10433         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
10434         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10436         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
10437         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
10438         (libc_feupdateenv_testl): New.
10439         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
10440         (libc_feupdateenv_testf): New.
10441         (libc_feupdateenv): Use libc_feupdateenv_test.
10442         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
10443         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
10445         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
10446         (libc_feholdsetroundf, libc_feholdsetroundl): New.
10447         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
10448         (libc_feresetround_noex): New.
10449         (libc_feresetround_noexf): New.
10450         (libc_feresetround_noexl): New.
10451         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
10452         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
10453         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
10454         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
10455         SET_RESTORE_ROUND.
10456         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10457         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
10458         (__cos): Likewise.
10459         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
10460         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10461         SET_RESTORE_ROUND_NOEX.
10462         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
10463         SET_RESTORE_ROUND_NOEXF.
10464         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
10465         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
10466         (libc_feholdsetroundf): New.
10467         (libc_feresetround, libc_feresetroundf): New.
10469         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
10470         (libc_feholdexcept_setround_53bit): Convert from macro to function.
10471         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
10473         * sysdeps/generic/math_private.h: Include <fenv.h>.
10474         (default_libc_feholdexcept): New.
10475         (default_libc_feholdexcept_setround): New.
10476         (default_libc_fesetenv, default_libc_feupdateenv): New.
10477         (libc_feholdexcept): Only define if undefined.
10478         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
10479         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
10480         (libc_feholdexcept_setroundl): Likewise.
10481         (libc_feholdexcept_setround_53bit): Likewise.
10482         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
10483         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
10484         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
10485         (libc_feupdateenv_53bit): Likewise.
10486         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
10487         (libc_feholdexcept): Convert from macro to inline function.
10488         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
10489         (libc_fesetenv, libc_feupdateenv): Likewise.
10491         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
10492         not previously defined.
10493         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
10494         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
10495         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
10496         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
10497         * sysdeps/ieee754/flt-32/math_private.h: New file.
10498         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
10499         math_private.h below SET_FLOAT_WORD.
10500         (__isnan, __isinf_ns, __finite): Remove.
10501         (__isnanf, __isinf_nsf, __finitef): Remove.
10503 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
10505         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10507 2012-03-17  David S. Miller  <davem@davemloft.net>
10509         [BZ #6471]
10510         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
10511         for 2.16.
10513 2012-03-16  David S. Miller  <davem@davemloft.net>
10515         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
10516         warnings.
10518         [BZ #6471]
10519         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
10520         properly.
10521         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
10522         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
10523         sysdep_routines when subdir is sysvipc.
10524         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
10525         __getshmlba helper.
10527         * sysdeps/sparc/fpu/libm-test/ulps: Update.
10529 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
10531         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
10532         [__LP64__].
10534 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
10536         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
10537         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
10538         (__lround): Renamed to ...
10539         (__llround): This.  Replace long int with long long int.
10540         Define lround functions as aliases of llround functions.
10541         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
10543 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
10545         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
10546         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
10547         adresses to uintptr_t.  Replace "long int" and "unsigned long
10548         int" with "greg_t" on va_arg.
10550 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
10552         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
10553         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
10555         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
10556         Move e_machine check before EI_CLASS check.  Handle x32
10557         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
10558         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
10559         SKIP_EM_IA_64 and include
10560         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
10562         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
10563         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
10564         (add_system_dir): New macro.
10566         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
10567         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
10569 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
10571         [BZ #2551]
10572         [BZ #2552]
10573         [BZ #2553]
10574         [BZ #2554]
10575         [BZ #2562]
10576         [BZ #2563]
10577         [BZ #2565]
10578         [BZ #2566]
10579         [BZ #2576]
10580         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
10581         (y0): Likewise.
10582         * math/w_j0f.c (j0f): Likewise.
10583         (y0f): Likewise.
10584         * math/w_j0l.c (__j0l): Likewise.
10585         (__y0l): Likewise.
10586         * math/w_j1.c (j1): Likewise.
10587         (y1): Likewise.
10588         * math/w_j1f.c (j1f): Likewise.
10589         (y1f): Likewise.
10590         * math/w_j1l.c (__j1l): Likewise.
10591         (__y1l): Likewise.
10592         * math/w_jn.c (jn): Likewise.
10593         (yn): Likewise.
10594         * math/w_jnf.c (jnf): Likewise.
10595         (ynf): Likewise.
10596         * math/w_jnl.c (__jnl): Likewise.
10597         (__ynl): Likewise.
10598         * math/libm-test.inc (j0_test): Add more tests.
10599         (j1_test): Likewise.
10600         (jn_test): Likewise.  Add trailing semicolon to existing test.
10601         (y0_test): Likewise.
10602         (y1_test): Likewise.
10603         * sysdeps/i386/fpu/libm-test-ulps: Update.
10604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10606         [BZ #13851]
10607         [BZ #13854]
10608         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10609         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
10610         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
10611         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
10612         (__tanl): Set errno for infinite argument.
10613         * sysdeps/i386/fpu/mptan.c: Remove.
10614         * sysdeps/i386/fpu/s_tan.S: Likewise.
10615         * sysdeps/i386/fpu/s_tanl.S: Likewise.
10616         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
10617         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
10618         * math/libm-test.inc (tan_test): Add more tests and enable more
10619         tests for double and long double.
10620         * sysdeps/i386/fpu/libm-test-ulps: Update.
10621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10623 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
10625         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
10626         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
10628 2012-03-16  Roland McGrath  <roland@hack.frob.com>
10630         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
10631         * configure.in: Use it for both main tree and add-ons.
10632         * configure: Regenerated.
10634 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
10636         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
10638 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
10640         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
10641         in comment.
10643         [BZ #13851]
10644         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
10645         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
10646         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10647         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
10648         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
10649         infinite argument.
10650         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
10651         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
10652         != 0 for prec == 2.
10653         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
10654         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
10655         * sysdeps/i386/fpu/s_cosl.S: Likewise.
10656         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
10657         * sysdeps/i386/fpu/s_sinl.S: Likewise.
10658         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
10659         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
10660         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
10661         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
10662         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
10663         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
10664         * math/libm-test.inc (cos_test): Add more tests and enable more
10665         tests for long double.
10666         (sin_test): Likewise.
10667         (sincos_test): Likewise.
10668         * sysdeps/i386/fpu/libm-test-ulps: Update.
10669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10671 2012-03-16  David S. Miller  <davem@davemloft.net>
10673         * sysdeps/sparc/fpu/math_private.h: New file.
10675 2012-03-15  David S. Miller  <davem@davemloft.net>
10677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
10678         file.
10679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
10680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
10681         file.
10682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
10683         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
10684         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
10685         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
10686         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
10687         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
10688         sysdep routines.
10689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10691         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
10692         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
10694         * sysdeps/sparc/sparc-ifunc.h: New file.
10695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
10696         sparc-ifunc.h
10697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
10699         Likewise.
10700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
10701         Likewise.
10702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
10703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
10704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10706         Likewise.
10707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
10711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
10712         Likewise.
10713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
10714         Likewise.
10715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
10717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10719         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10720         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10721         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
10722         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
10723         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10724         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10725         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10726         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10727         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10728         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10729         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
10730         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
10731         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
10732         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
10733         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
10734         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
10735         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
10736         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
10737         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
10738         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
10740 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
10742         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
10743         scaling.
10744         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10746 2012-03-15  Andreas Jaeger  <aj@suse.de>
10748         [BZ #13852]
10749         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
10750         ieee754/flt-32 implementation for sin, cos and sincos.
10751         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
10752         * sysdeps/i386/fpu/s_cosf.S: Likewise.
10753         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
10754         * sysdeps/i386/fpu/s_sinf.S: Likewise.
10755         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
10756         ieee754/flt-32 implementation for tan.
10758         * math/libm-test.inc (cos_test): Enable some large input tests for
10759         float as well
10760         (sin_test): Likewise.
10761         (sincos_test): Likewise.
10762         (tan_test): Add tests for large input.
10764         * sysdeps/i386/fpu/libm-test-ulps: Update.
10766 2012-03-15  Andreas Jaeger  <aj@suse.de>
10768         [BZ #13658]
10769         * math/libm-test.inc (cos_test): Add more test cases.
10770         (sin_test): Likewise.
10771         (sincos_test): Likewise.
10773 2012-03-15  Andreas Jaeger  <aj@suse.de>
10775         [BZ #13837]
10776         * math/libm-test.inc (cos_test): Add a test case for large input
10777         value.
10778         (sin_test): Likewise.
10779         (sincos_test): Likewise.
10781 2012-03-15  Andreas Jaeger  <aj@suse.de>,
10782         Joseph Myers  <joseph@codesourcery.com>
10784         [BZ #13658]
10785         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
10786         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
10787         * sysdeps/i386/fpu/branred.c: Likewise.
10788         * sysdeps/i386/fpu/dosincos.c: Likewise.
10789         * sysdeps/i386/fpu/mpa.c: Likewise.
10790         * sysdeps/i386/fpu/s_cos.S: Likewise.
10791         * sysdeps/i386/fpu/s_sin.S: Likewise.
10792         * sysdeps/i386/fpu/s_sincos.S: Likewise.
10793         * sysdeps/i386/fpu/sincos32.c: Likewise.
10795         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
10796         Define.
10797         (libc_feupdateenv_53bit): Define.
10798         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
10799         Define.
10800         (libc_feupdateenv_53bit): Define.
10802         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
10803         53 bit (without extend i386 double precision).
10805         * math/libm-test.inc (sincos_test): Add tests for large input.
10806         (sin): Likewise.
10807         (cos): Likewise.
10809         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10811 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
10813         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10815 2012-03-15  David S. Miller  <davem@davemloft.net>
10817         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
10818         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
10819         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
10820         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
10821         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
10822         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
10823         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
10824         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
10825         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
10826         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
10827         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
10828         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
10829         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
10830         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
10831         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
10832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
10833         file.
10834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
10835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
10836         file.
10837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
10838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
10839         file.
10840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
10841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
10842         file.
10843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
10844         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
10845         fmin/fmax sysdep routines.
10846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10848 2012-03-14  David S. Miller  <davem@davemloft.net>
10850         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
10851         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
10852         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
10853         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
10854         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
10855         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
10856         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
10857         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
10858         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
10859         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
10860         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
10861         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
10862         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
10863         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
10864         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
10865         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
10866         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
10867         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
10868         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
10869         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
10870         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
10871         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
10872         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
10873         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
10874         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
10875         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
10876         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
10877         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
10878         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
10879         routines.
10880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
10881         file.
10882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
10883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
10884         file.
10885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
10886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
10887         file.
10888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
10889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
10890         file.
10891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
10892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
10893         file.
10894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
10895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
10896         file.
10897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
10898         file.
10899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
10900         file.
10901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
10902         file.
10903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
10904         New file.
10905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
10906         file.
10907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
10908         file.
10909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
10910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
10911         file.
10912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
10913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
10914         file.
10915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
10916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
10917         file.
10918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
10919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
10920         VIS3 routines.
10922         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10923         New file.
10925         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10927         * sysdeps/sparc/configure.in: New file.
10928         * sysdeps/sparc/configure: Generate.
10929         * configure.in (libc_cv_sparc_as_vis3): Substitute.
10930         * configure: Regenerate.
10931         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
10932         * config.make.in (have-as-vis3): New.
10933         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
10934         available use -Av9d instead of -Av9a.
10935         * sysdeps/sparc/sparc64/Makefile: Likewise.
10936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
10937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
10938         New file.
10939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
10940         file.
10941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
10942         New file.
10943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
10944         file.
10945         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
10946         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
10947         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
10948         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
10949         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
10951         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
10952         fzeros/fnegs to load 0x80000000 into a float register instead of
10953         using the stack.
10954         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
10956 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
10958         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10959         bits/syscall.h.
10960         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
10961         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
10962         ($(inst_includedir)/bits/syscall.h): Remove rule.
10963         ($(objpfx)bits/syscall.d): Include instead of
10964         $(objpfx)syscall-list.d.
10965         (generated): Change syscall-list.h and syscall-list.d to
10966         bits/syscall.h and bits/syscall.d.
10968 2012-03-14  Roland McGrath  <roland@hack.frob.com>
10970         [BZ #13846]
10971         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
10973 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
10975         [BZ #13841]
10976         * math/s_csqrt.c: Include <float.h>.
10977         (__csqrt): Scale large or subnormal inputs.
10978         * math/s_csqrtf.c: Likewise.
10979         * math/s_csqrtl.c: Likewise.
10980         * math/libm-test.inc (csqrt_test): Add more tests.
10981         * sysdeps/i386/fpu/libm-test-ulps: Update.
10982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10984         [BZ #13840]
10985         * math/libm-test.inc (hypot_test): Add more tests.
10987 2012-03-13  David S. Miller  <davem@davemloft.net>
10989         [BZ #13840]
10990         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
10991         double-precision for the calculation instead of scaling.
10993 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
10995         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
10996         manipulate bits before adding and subtracting TWO52[sx].
10997         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
10998         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10999         Likewise.
11000         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
11002 2012-03-13  David S. Miller  <davem@davemloft.net>
11004         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
11005         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
11006         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
11007         rtld-global-offsets.h
11008         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11010         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
11011         large parameters.
11013         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
11015         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
11016         'err' in the ifdef scope in which it is actually used.
11018         * nss/nss_db/db-init.c: Include string.h
11020 2012-03-12  David S. Miller  <davem@davemloft.net>
11022         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11023         masking out of the most significant byte of random value used.
11024         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11025         Fix coding style in previous change.
11027         * sysdeps/unix/sysv/linux/kernel-features.h
11028         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
11029         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
11030         expression.
11031         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
11032         later.
11034 2012-03-11  David S. Miller  <davem@davemloft.net>
11036         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11037         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
11038         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
11039         for 'resultvar' otherwise things get truncated on 64-bit.
11041         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11042         Fix masking out of the most significant byte of random value used.
11044         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11046 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
11048         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11050 2012-03-09  David S. Miller  <davem@davemloft.net>
11052         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
11053         variables with appropriate CPP guards.
11054         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
11055         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
11056         on resulting framesize and the management of the outregs buffer for pltexit.
11057         Preserve floating point return values across _dl_call_pltexit call.
11058         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
11059         framesize and the management of the outregs buffer for pltexit.
11060         Preserve floating point return values across _dl_call_pltexit
11061         call.
11062         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
11063         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
11064         (print_exit): Fix format string for return register value.
11066 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
11068         * sunrpc/Makefile (others): Add rpcgen.
11069         ($(objpfx)rpcgen): Remove special build rule and dependency on
11070         libc.
11071         * sunrpc/rpcgen.c: New file.
11073 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
11075         [BZ #13673]
11076         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
11077         * stdio-common/bug-vfprintf-nargs.c: Likewise.
11078         * sysdeps/i386/crti.S: Likewise.
11079         * sysdeps/i386/crtn.S: Likewise.
11080         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
11081         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
11082         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
11083         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
11084         * sysdeps/sh/crti.S: Likewise.
11085         * sysdeps/sh/crtn.S: Likewise.
11086         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11088         [BZ #13673]
11089         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
11090         with URL.
11091         * locale/programs/locfile-kw.gperf: Likewise.
11092         * locale/programs/charmap-kw.h: Regenerated.
11093         * locale/programs/locfile-kw.h: Likewise.
11095         [BZ #13673]
11096         * intl/plural.y: Replace FSF snail mail address with URL.
11097         * intl/plural.c: Regenerated.
11099 2012-03-09  Richard Henderson  <rth@twiddle.net>
11101         * include/math_private.h: Remove file.
11102         * math/math_private.h: Move file ...
11103         * sysdeps/generic/math_private.h: ... here.
11105         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
11106         * sysdeps/powerpc/fpu/math_private.h: Likewise.
11107         * sysdeps/x86_64/fpu/math_private.h: Likewise.
11109         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
11110         and <math_private.h>.
11111         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11112         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11113         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11114         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11115         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11116         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
11117         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11118         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11119         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11120         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11121         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11122         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11123         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11124         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11125         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11126         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11127         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11128         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11129         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11130         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11131         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11132         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11133         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11134         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11135         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11136         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11137         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11138         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11139         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11140         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11141         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11142         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11143         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11144         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11145         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11146         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11147         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11148         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11149         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11150         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11151         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
11152         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11153         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11154         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11155         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11156         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11157         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11158         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11159         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11160         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11161         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11162         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11163         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11164         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11165         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11166         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11167         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11168         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11169         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11170         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
11171         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11172         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11173         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11174         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11175         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
11176         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11177         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11178         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11179         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
11180         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
11181         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
11182         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11183         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11184         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11185         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
11186         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
11187         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
11188         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11189         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
11190         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11191         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
11192         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11193         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
11194         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11195         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11196         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11197         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
11198         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11199         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11200         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11201         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11202         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11203         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11204         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11205         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11206         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11207         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11208         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11209         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11210         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11211         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11212         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11213         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11214         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11215         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11216         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11217         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11218         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11219         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11220         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11221         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11222         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11223         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11224         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11225         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11226         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11227         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11228         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11229         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11230         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11231         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11232         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11233         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11234         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
11235         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11236         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11237         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11238         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
11239         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11240         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11241         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11242         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11243         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11244         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11245         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11246         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11247         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11248         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11249         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
11250         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11251         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11252         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11253         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11254         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
11255         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
11256         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11257         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11258         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11259         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11260         * sysdeps/ieee754/k_standard.c: Likewise.
11261         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11262         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11263         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11264         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11265         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11266         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11267         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11268         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11269         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11270         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11271         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11272         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11273         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11274         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11275         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11276         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11277         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11278         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11279         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11280         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11281         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11282         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11283         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11284         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11285         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11286         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11287         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11288         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11289         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11290         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11291         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11292         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11293         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11294         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11295         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11296         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11297         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11298         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
11299         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11300         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11301         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11302         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11303         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11304         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11305         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11306         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11307         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11308         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11309         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11310         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11311         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11312         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11313         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11314         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11315         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11316         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11317         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
11318         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11319         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11320         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11321         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11322         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11323         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11324         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11325         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11326         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11327         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11328         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11329         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11330         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11331         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11332         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11333         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11334         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11335         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11336         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11337         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
11338         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11339         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11340         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11341         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11342         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11343         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11344         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11345         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11346         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11347         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11348         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11349         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11350         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11351         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
11352         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11353         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11354         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11355         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11356         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11357         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
11358         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11359         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11360         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
11361         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11362         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11363         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11364         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11365         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
11366         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11367         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11368         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11369         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
11370         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11371         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11372         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11373         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11374         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11375         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11376         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11377         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11378         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11379         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11380         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11381         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11382         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11383         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11384         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11385         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11386         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11387         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11388         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11389         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11390         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11391         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11392         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11393         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11394         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11395         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11396         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11397         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
11398         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11399         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11400         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11401         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11402         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11403         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11404         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11405         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11406         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11407         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11408         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11409         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11410         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
11411         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11412         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11413         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11414         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11415         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
11416         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
11417         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11418         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11419         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11420         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11421         * sysdeps/ieee754/s_lib_version.c: Likewise.
11422         * sysdeps/ieee754/s_matherr.c: Likewise.
11423         * sysdeps/ieee754/s_signgam.c: Likewise.
11424         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11425         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11426         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11427         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11428         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11429         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11430         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
11431         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
11432         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
11433         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11434         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11435         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11436         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11437         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11438         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
11439         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11440         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11441         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11442         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11443         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11444         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11446 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
11448         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
11449         * sunrpc/rpc_main.c: Likewise.
11450         * sunrpc/rpc_svcout.c: Likewise.
11452 2012-03-09  David S. Miller  <davem@davemloft.net>
11454         * include/math_private.h: New file.
11456 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
11458         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
11459         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
11460         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
11461         from <bits/socket_type.h>.
11462         (enum __socket_type): Don't define here.
11463         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
11464         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11465         bits/socket_type.h.
11467         [BZ #13566]
11468         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
11469         checking __USE_GNU.
11471         * Makerules ($(inst_includedir)/%.h): New rule.
11472         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
11473         (install-others): Remove variable setting.
11474         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
11476 2012-03-08  Richard Henderson  <rth@twiddle.net>
11478         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
11479         from macro to inline function; merge with the
11480         !__LIBC_INTERNAL_MATH_INLINES version.
11481         (__ieee754_sqrtf): Likewise.
11483         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
11484         to inline function.
11485         (__rintf, __floor, __floorf): Likewise.
11487         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
11488         macro to inline function.
11489         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
11491         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
11492         not <math/math_private.h>.
11494 2012-03-08  David S. Miller  <davem@davemloft.net>
11496         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
11497         copyright year.
11498         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11500 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
11502         * resolv/gai_misc.c (handle_requests): Fix struct timespec
11503         normalization.
11504         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
11505         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11507 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
11509         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
11510         be defined individually, they must be defined as a block.  Define
11511         S for printing a string instead of hidint the different by using a
11512         macro for adding the 'l'.
11513         * stdio-common/tst-fphex-wide.c: Adjust.
11515 2012-03-07  Marek Polacek  <polacek@redhat.com>
11517         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
11519 2012-03-08  Marek Polacek  <polacek@redhat.com>
11521         [BZ #13806]
11522         * stdio-common/Makefile (tests): Add tst-fphex-wide.
11523         * stdio-common/tst-fphex.c: Define a few macros to make the
11524         test reusable.  Use them.
11525         * stdio-common/tst-fphex-wide.c: New file.
11527 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
11529         [BZ #6911]
11530         * manual/macros.texi (gnusystems): New macro.
11531         (nongnusystems): Likewise.
11532         (gnulinuxhurdsystems): Likewise.
11533         (gnuhurdsystems): Likewise..
11534         (gnulinuxsystems): Likewise.
11535         * manual/charset.texi: Use new macros or @theglibc{} to refer to
11536         variants of the GNU system, not "GNU system".
11537         * manual/conf.texi: Likewise.
11538         * manual/errno.texi: Likewise.  Update example of errno macro
11539         expansion.
11540         * manual/filesys.texi: Likewise.
11541         (getumask): Document as specific to GNU/Hurd.
11542         * manual/install.texi: Likewise.  Reword some references to
11543         GNU/Linux.
11544         * manual/intro.texi: Likewise.
11545         * manual/io.texi: Likewise.
11546         (File Name Portability): Detail which constraints are inapplicable
11547         to all GNU systems and which are only inapplicable to GNU/Hurd.
11548         * manual/job.texi: Likewise.
11549         * manual/llio.texi: Likewise.
11550         (O_NOCTTY): Document as present on GNU/Linux.
11551         * manual/maint.texi: Likewise.
11552         * manual/memory.texi: Likewise.
11553         * manual/pattern.texi: Likewise.
11554         * manual/pipe.texi: Likewise.
11555         * manual/process.texi: Likewise.
11556         * manual/resource.texi: Likewise.
11557         (RUSAGE_CHILDREN): Remove statement about specifying a particular
11558         child on GNU/Hurd.
11559         * manual/setjmp.texi: Likewise.
11560         * manual/signal.texi: Likewise.
11561         * manual/startup.texi: Likewise.
11562         * manual/stdio.texi: Likewise.
11563         * manual/terminal.texi: Likewise.
11564         (ONLCR): Document as POSIX.
11565         (OXTABS): Document availability on GNU/Linux as XTABS.
11566         (ONOEOT): Document availability separately from other bits.
11567         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
11568         * manual/time.texi: Likewise.
11569         * manual/users.texi: Likewise.
11570         * INSTALL: Regenerated.
11571         * sysdeps/gnu/errlist.c: Regenerated.
11573         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
11574         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
11575         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
11576         puts.
11577         * configure: Regenerated.
11579 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
11581         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
11582         default includes instead of AC_HEADER_CHECK.
11583         * sysdeps/i386/configure: Regenerated.
11585         [BZ #10716]
11586         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
11587         * math/s_cacoshf.c (__cacoshf): Likewise.
11588         * math/s_cacoshl.c (__cacoshl): Likewise.
11589         * math/s_casinh.c (__casinh): Set signs of result from argument.
11590         * math/s_casinhf.c (__casinhf): Likewise.
11591         * math/s_casinhl.c (__casinhl): Likewise.
11592         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
11593         (casinh_test): Add more tests.
11594         * sysdeps/i386/fpu/libm-test-ulps: Update.
11595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11597 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
11599         * po/zh_TW.po: Update from translation team.
11601         * login/Makefile (distribute): Remove variable.
11602         * catgets/Makefile: Likewise.
11603         * mach/Makefile: Likewise.
11604         * malloc/Makefile: Likewise.
11605         * misc/Makefile: Likewise.
11606         * iconv/Makefile: Likewise.
11607         * nscd/Makefile: Likewise.
11608         * hurd/Makefile: Likewise.
11609         * manual/Makefile: Likewise.
11610         * locale/Makefile: Likewise.
11611         * intl/Makefile: Likewise.
11612         * conform/Makefile: Likewise.
11613         * nss/Makefile: Likewise.
11614         * time/Makefile: Likewise.
11615         * soft-fp/Makefile: Likewise.
11616         * dirent/Makefile: Likewise.
11617         * gmon/Makefile: Likewise.
11618         * po/Makefile: Likewise.
11619         * rt/Makefile: Likewise.
11620         * socket/Makefile: Likewise.
11621         * math/Makefile: Likewise.
11622         * signal/Makefile: Likewise.
11623         * debug/Makefile: Likewise.
11624         * elf/Makefile: Likewise.
11625         * timezone/Makefile: Likewise.
11626         * stdlib/Makefile: Likewise.
11627         * iconvdata/Makefile: Likewise.
11628         * sunrpc/Makefile: Likewise.
11629         * io/Makefile: Likewise.
11630         * argp/Makefile: Likewise.
11631         * inet/Makefile: Likewise.
11632         * hesiod/Makefile: Likewise.
11633         * grp/Makefile: Likewise.
11634         * csu/Makefile: Likewise.
11635         * wctype/Makefile: Likewise.
11636         * crypt/Makefile: Likewise.
11637         * libio/Makefile: Likewise.
11638         * string/Makefile: Likewise.
11639         * nis/Makefile: Likewise.
11640         * resolv/Makefile: Likewise.
11641         * stdio-common/Makefile: Likewise.
11642         * wcsmbs/Makefile: Likewise.
11643         * dlfcn/Makefile: Likewise.
11644         * posix/Makefile: Likewise.
11646         [BZ #6959]
11647         * timezone/Makefile: Don't install timezone files, just the programs
11648         and scripts.
11650 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
11652         * nss/databases.def: Add missing gshadow entry.
11654         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
11656 2012-03-06  Marek Polacek  <polacek@redhat.com>
11658         [BZ #13726]
11659         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
11660         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11661         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
11662         * stdio-common/tst-long-dbl-fphex.c: New file.
11664 2012-03-06  David S. Miller  <davem@davemloft.net>
11666         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11667         (set_obp_int): New function.
11668         (get_obp_int): New function.
11669         (__get_clockfreq_via_dev_openprom): Likewise.
11670         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
11671         Avoid unused variable warnings on 'val' and use builtin_expect.
11672         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
11673         __builtin_expect.
11674         (INLINE_CLONE_SYSCALL): Likewise.
11676 2012-03-05  David S. Miller  <davem@davemloft.net>
11678         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11680 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
11682         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11684         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
11685         only for |x| >= 40.
11686         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11688 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
11690         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
11691         Replace gettimeofday with __vdso_gettimeofday.
11693         * sysdeps/unix/sysv/linux/x86_64/init-first.c
11694         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
11695         __vdso_clock_gettime and __vdso_getcpu.
11697         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
11698         time with __vdso_time.
11700 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
11702         * manual/lang.texi (size_t): Note types to which size_t may be
11703         equivalent with the GNU C Library, but do not describe when
11704         differences between them are significant.
11706 2012-03-05  Andreas Jaeger  <aj@suse.de>
11708         * sysdeps/i386/fpu/libm-test-ulps: Update.
11710 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
11712         [BZ #3976]
11713         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
11714         (__ieee754_pow): Save and restore rounding mode and use
11715         round-to-nearest for main computations.
11716         * math/libm-test.inc (pow_test_tonearest): New function.
11717         (pow_test_towardzero): Likewise.
11718         (pow_test_downward): Likewise.
11719         (pow_test_upward): Likewise.
11720         (main): Call the new functions.
11721         * sysdeps/i386/fpu/libm-test-ulps: Update.
11722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11724         [BZ #3976]
11725         * math/libm-test.inc (cosh_test_tonearest): New function.
11726         (cosh_test_towardzero): Likewise.
11727         (cosh_test_downward): Likewise.
11728         (cosh_test_upward): Likewise.
11729         (sinh_test_tonearest): Likewise.
11730         (sinh_test_towardzero): Likewise.
11731         (sinh_test_downward): Likewise.
11732         (sinh_test_upward): Likewise.
11733         (main): Call the new functions.
11734         * sysdeps/i386/fpu/libm-test-ulps: Update.
11735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11737 2012-03-05  Tom de Vries  <tom@codesourcery.com>
11739         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
11740         default stack guard is set in last bytes.
11741         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
11743 2012-03-05  Kees Cook  <keescook@chromium.org>
11745         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
11747         [BZ #13656]
11748         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
11749         possibly allocate from heap instead of stack.
11750         * stdio-common/bug-vfprintf-nargs.c: New file.
11751         * stdio-common/Makefile (tests): Add nargs overflow test.
11753 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
11755         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11757 2012-03-03  Marek Polacek  <polacek@redhat.com>
11759         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
11760         * math/math_private.h: Likewise.
11761         * stdlib/tst-strtod.c: Likewise.
11762         * sysdeps/i386/i486/bits/atomic.h: Likewise.
11763         * sysdeps/x86_64/bits/atomic.h: Likewise.
11765 2012-03-02  David S. Miller  <davem@davemloft.net>
11767         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
11768         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
11769         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
11770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
11771         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
11772         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
11773         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
11774         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
11776 2012-03-02  Roland McGrath  <roland@hack.frob.com>
11778         [BZ #13792]
11779         * manual/examples/README: New file, says the example source files
11780         can be used under GPL>=2.
11781         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
11782         line containing just "*/".
11783         * manual/examples/add.c: Add copyright header (GPL>=2).
11784         * manual/examples/argp-ex1.c: Likewise.
11785         * manual/examples/argp-ex2.c: Likewise.
11786         * manual/examples/argp-ex3.c: Likewise.
11787         * manual/examples/argp-ex4.c: Likewise.
11788         * manual/examples/atexit.c: Likewise.
11789         * manual/examples/db.c: Likewise.
11790         * manual/examples/dir.c: Likewise.
11791         * manual/examples/dir2.c: Likewise.
11792         * manual/examples/execinfo.c: Likewise.
11793         * manual/examples/filecli.c: Likewise.
11794         * manual/examples/filesrv.c: Likewise.
11795         * manual/examples/fmtmsgexpl.c: Likewise.
11796         * manual/examples/genpass.c: Likewise.
11797         * manual/examples/inetcli.c: Likewise.
11798         * manual/examples/inetsrv.c: Likewise.
11799         * manual/examples/isockad.c: Likewise.
11800         * manual/examples/longopt.c: Likewise.
11801         * manual/examples/memopen.c: Likewise.
11802         * manual/examples/memstrm.c: Likewise.
11803         * manual/examples/mkfsock.c: Likewise.
11804         * manual/examples/mkisock.c: Likewise.
11805         * manual/examples/mygetpass.c: Likewise.
11806         * manual/examples/pipe.c: Likewise.
11807         * manual/examples/popen.c: Likewise.
11808         * manual/examples/rprintf.c: Likewise.
11809         * manual/examples/search.c: Likewise.
11810         * manual/examples/select.c: Likewise.
11811         * manual/examples/setjmp.c: Likewise.
11812         * manual/examples/sigh1.c: Likewise.
11813         * manual/examples/sigusr.c: Likewise.
11814         * manual/examples/stpcpy.c: Likewise.
11815         * manual/examples/strdupa.c: Likewise.
11816         * manual/examples/strftim.c: Likewise.
11817         * manual/examples/strncat.c: Likewise.
11818         * manual/examples/subopt.c: Likewise.
11819         * manual/examples/swapcontext.c: Likewise.
11820         * manual/examples/termios.c: Likewise.
11821         * manual/examples/testopt.c: Likewise.
11822         * manual/examples/testpass.c: Likewise.
11823         * manual/examples/timeval_subtract.c: Likewise.
11825         [BZ #13792]
11826         * manual/time.texi (Elapsed Time): Move timeval_subtract example
11827         function to ...
11828         * manual/timeval_subtract.c.texi: ... here, new file.
11830 2012-03-02  David S. Miller  <davem@davemloft.net>
11832         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
11834 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
11836         [BZ #3976]
11837         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
11838         (__sin): Save and restore rounding mode and use round-to-nearest
11839         for all computations.
11840         (__cos): Save and restore rounding mode and use round-to-nearest
11841         for all computations.
11842         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
11843         <fenv.h>.
11844         (tan): Save and restore rounding mode and use round-to-nearest for
11845         all computations.
11846         * math/libm-test.inc (cos_test_tonearest): New function.
11847         (cos_test_towardzero): Likewise.
11848         (cos_test_downward): Likewise.
11849         (cos_test_upward): Likewise.
11850         (sin_test_tonearest): Likewise.
11851         (sin_test_towardzero): Likewise.
11852         (sin_test_downward): Likewise.
11853         (sin_test_upward): Likewise.
11854         (tan_test_tonearest): Likewise.
11855         (tan_test_towardzero): Likewise.
11856         (tan_test_downward): Likewise.
11857         (tan_test_upward): Likewise.
11858         (main): Call the new functions.
11859         * sysdeps/i386/fpu/libm-test-ulps: Update.
11860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11862         [BZ #10135]
11863         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
11864         small n, then large n, before computing and testing k+n.
11865         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11866         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11867         Likewise.
11868         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11869         Likewise.
11870         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
11871         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11872         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11873         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11874         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11875         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11876         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11877         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
11878         * math/libm-test.inc (scalbn_test): Add more tests.
11879         (scalbln_test): Likewise.
11881         * manual/filesys.texi (mode_t): Describe constraints on size and
11882         signedness, not exact equivalence to a particular type.
11883         (ino_t): Likewise.
11884         (ino64_t): Likewise.
11885         (dev_t): Likewise.
11886         (nlink_t): Likewise.
11887         (blkcnt_t): Likewise.
11888         (blkcnt64_t): Likewise.
11889         * manual/llio.texi (off_t): Likewise.
11891         [BZ #3976]
11892         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
11893         (__ieee754_exp): Save and restore rounding mode and use
11894         round-to-nearest for all computations.
11895         * math/libm-test.inc (exp_test_tonearest): New function.
11896         (exp_test_towardzero): Likewise.
11897         (exp_test_downward): Likewise.
11898         (exp_test_upward): Likewise.
11899         (main): Call the new functions.
11900         * sysdeps/i386/fpu/libm-test-ulps: Update.
11901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11903 2012-03-01  Chris Demetriou  <cgd@google.com>
11905         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
11906         have predictable order.
11908 2012-03-01  David S. Miller  <davem@davemloft.net>
11910         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
11912         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
11913         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
11914         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
11915         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
11917         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
11918         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
11919         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
11920         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
11921         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
11922         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
11923         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
11924         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
11925         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
11927         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11929         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
11930         * sysdeps/sparc/fpu/libm-test-ulps: to here.
11931         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
11933         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
11934         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11935         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11936         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11937         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11938         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11939         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11940         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11941         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11942         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11943         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11944         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11945         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11946         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11947         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11948         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11949         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
11950         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
11951         * sysdeps/sparc/elf/configure: Regenerated.
11953 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
11955         * configure.in (AS, LD): Require binutils 2.20 or later.
11956         * configure: Regenerated.
11957         * manual/install.texi (Tools for Compilation): Give binutils 2.20
11958         as required minimum version.
11959         * INSTALL: Regenerated.
11961         [BZ #2541]
11962         [BZ #4108]
11963         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
11964         before squaring exponent.
11965         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
11966         bottom long double and 27 bits of top long double before squaring
11967         exponent.
11968         * math/libm-test.inc (erfc_test): Add more tests.
11969         * sysdeps/i386/fpu/libm-test-ulps: Update.
11970         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11973 2012-03-01  Kai Tietz  <ktietz@redhat.com>
11975         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
11976         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
11977         containing bit-fields.
11978         * soft-fp/extended.h (_FP_UNION_E): Likewise.
11979         * soft-fp/single.h (_FP_UNION_S): Likewise.
11980         * soft-fp/double.h (_FP_UNION_D): Likewise.
11982 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
11984         [BZ #13786]
11985         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
11986         not include ../strcmp.S.
11987         [USE_AS_STRNCASECMP_L]: Likewise.
11988         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
11989         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
11990         * sysdeps/i386/i686/multiarch/strncase_l-c.c
11991         (__strncasecmp_l_ia32): Define as alias to
11992         __strncasecmp_l_nonascii.
11994         [BZ #5794]
11995         * math/libm-test.inc (expm1_test): Add test for bug 5794.
11996         * sysdeps/i386/fpu/libm-test-ulps: Update.
11997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11999         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
12000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12002 2012-02-29  Jeff Law  <law@redhat.com>
12004         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
12005         out of bounds read.
12007 2012-02-29  Marek Polacek  <polacek@redhat.com>
12009         [BZ #13706]
12010         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
12011         * elf/Makefile: Add rules to run tst-unused-dep.out.
12013 2012-02-28  David S. Miller  <davem@davemloft.net>
12015         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
12016         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
12017         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
12018         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
12019         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
12020         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
12022 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
12024         * math/libm-test.inc (llround_test): Move one test from
12025         lround_test.  Use TEST_f_L in moved test.
12026         (lround_test): Move misplaced test to llround_test.  Add testcase
12027         from bug 2561.
12029 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
12031         * sysdeps/x86_64/fpu/e_expf.S: New file.
12032         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
12034 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
12036         [BZ #13637]
12037         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
12038         of remain_len that may cause incomplete multi-byte character and
12039         false match.
12040         * posix/bug-regex33.c: New file.
12041         * posix/Makefile (tests): Add bug-regex33.
12043 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
12045         * manual/macros.texi: New file.
12046         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
12047         * manual/libc.texinfo: Include macros.texi.
12048         * manual/creatute.texi: Likewise.
12049         * manual/install.texi: Likewise.
12050         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
12051         @glibcadj{} in references to the GNU C Library.
12052         * manual/charset.texi: Likewise.
12053         * manual/conf.texi: Likewise.
12054         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
12055         when not using those macros.
12056         * manual/creature.texi: Likewise.
12057         * manual/crypt.texi: Likewise.
12058         * manual/errno.texi: Likewise.
12059         * manual/filesys.texi: Likewise.
12060         * manual/header.texi: Likewise.
12061         * manual/install.texi: Likewise.
12062         * manual/intro.texi: Likewise.
12063         * manual/io.texi: Likewise.
12064         * manual/job.texi: Likewise.
12065         * manual/lang.texi: Likewise.
12066         * manual/libc.texiinfo: Likewise.
12067         * manual/llio.texi: Likewise.
12068         * manual/locale.texi: Likewise.
12069         * manual/maint.texi: Likewise.
12070         * manual/math.texi: Likewise.
12071         * manual/memory.texi: Likewise.
12072         * manual/message.texi: Likewise.
12073         * manual/nss.texi: Likewise.
12074         * manual/pattern.texi: Likewise.
12075         * manual/process.texi: Likewise.
12076         * manual/resource.texi: Likewise.
12077         * manual/search.texi: Likewise.
12078         * manual/setjmp.texi: Likewise.
12079         * manual/signal.texi: Likewise.
12080         * manual/socket.texi: Likewise.
12081         * manual/startup.texi: Likewise.
12082         * manual/stdio.texi: Likewise.
12083         * manual/string.texi: Likewise.
12084         * manual/sysinfo.texi: Likewise.
12085         * manual/syslog.texi: Likewise.
12086         * manual/terminal.texi: Likewise.
12087         * manual/time.texi: Likewise.
12088         * manual/users.texi: Likewise.
12089         * INSTALL: Regenerated.
12090         * NOTES: Regenerated.
12091         * sysdeps/gnu/errlist.c: Regenerated.
12093 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
12095         * include/dirent.h: Include <dirstream.h> before
12096         <dirent/dirent.h>.
12098 2012-02-28  David S. Miller  <davem@davemloft.net>
12100         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
12101         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
12102         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
12103         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
12105 2012-02-27  David S. Miller  <davem@davemloft.net>
12107         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
12108         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
12109         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
12110         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
12112         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
12113         frame pointer instead of stack pointer relative arg slot.
12114         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12115         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12116         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12118 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
12120         [BZ #3992]
12121         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
12123 2012-02-27  David S. Miller  <davem@davemloft.net>
12125         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
12126         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12127         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12128         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
12129         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12130         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12131         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
12132         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
12134 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
12136         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
12137         later.  Allow versions 5-9.
12138         * configure: Regenerated.
12139         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
12140         required minimum version and 4.6 as recommended version.  Do not
12141         mention bugs in GCC 2.7 and 2.8.
12142         * INSTALL: Regenerated.
12144 2012-02-27  David S. Miller  <davem@davemloft.net>
12146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
12147         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
12148         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
12149         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
12150         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
12151         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
12152         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
12153         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
12155         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
12156         manipulate bits before adding and subtracting TWO112[sx].
12157         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12159 2012-02-27  Roland McGrath  <roland@hack.frob.com>
12161         [BZ #13775]
12162         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
12163         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
12164         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
12165         being in POSIX, because they are in 1003.1-2008.
12167         * rt/tst-aio.c: Include <fcntl.h>.
12168         * rt/tst-aio7.c: Likewise.
12169         * rt/tst-aio64.c: Likewise.
12171         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
12173 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
12175         * manual/install.texi (--with-headers): Describe headers as
12176         interface headers, not private headers.
12177         (Specific advice for GNU/Linux systems): Describe use of headers
12178         from "make headers_install", not private headers from older
12179         kernels.
12180         * INSTALL: Regenerated.
12181         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
12182         Change to 2.6.19.
12183         * sysdeps/unix/sysv/linux/configure: Regenerated.
12185         * manual/llio.texi (fclean): Remove documentation.
12187         * manual/Makefile (libc-texi-generated): New variable.  Include
12188         version.texi.
12189         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
12190         $(libc-texi-generated), not duplicated list of files.
12191         (version.texi, stamp-version): New rules.
12192         (realclean): Remove $(libc-texi-generated), not individual files
12193         from that list.  Do not remove dir-add.texinfo.
12194         * manual/libc.texinfo: Comment out uses of edition numbers and
12195         references to printed manual.  Remove last-updated dates.
12196         (EDITION): Comment out.
12197         (ISBN): Likewise.
12198         (VERSION, UPDATED): Remove.
12199         (version.texi): Include.
12201 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
12203         * sysdeps/posix/spawni.c: Include <signal.h>.
12204         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
12205         * sysdeps/pthread/aio_fsync.c: Likewise.
12207 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
12209         * conform/Makefile (tests): Run only when not cross-compiling and
12210         when fast-check is not defined.
12212         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
12213         * conform/data/limits.h-data: Fixes for POSIX2008.
12214         * conform/run-conformtest.sh: Run all tests.
12215         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
12216         headers.
12217         * include/bits/dlfcn.h: Likewise.
12218         * include/langinfo.h: Likewise.
12219         * include/monetary.h: Likewise.
12220         * include/sys/poll.h: Likewise.
12222         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
12223         for __USE_GNU.
12224         * posix/spawn.h: Define __need_sigset_t.
12225         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
12226         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
12227         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
12228         to get sigevent_t only.
12229         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
12230         only for __USE_GNU.
12231         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12232         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12233         process_vm_writev only for __USE_GNU.
12234         * termios/termios.h: Declare tcgetsid also for POSIX2008.
12236         * conform/Makefile: For now ignore errors from run-conformtest.
12237         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
12238         POSIX to avoid namespace pollution.  Don't prepend headers.
12239         * conform/data/aio.h-data: Fixes for POSIX testing.
12240         * conform/data/fcntl.h-data: Likewise.
12241         * conform/data/glob.h-data: Likewise.
12242         * conform/data/grp.h-data: Likewise.
12243         * conform/data/pthread.h-data: Likewise.
12244         * conform/data/pwd.h-data: Likewise.
12245         * conform/data/signal.h-data: Likewise.
12246         * conform/data/spawn.h-data: Likewise.
12247         * conform/data/stdio.h-data: Likewise.
12248         * conform/data/stdlib.h-data: Likewise.
12249         * conform/data/stropts.h-data: Likewise.
12250         * conform/data/sys/mman.h-data: Likewise.
12251         * conform/data/sys/stat.h-data: Likewise.
12252         * conform/data/sys/types.h-data: Likewise.
12253         * conform/data/sys/wait.h-data: Likewise.
12254         * conform/data/time.h-data: Likewise.
12255         * conform/data/unistd.h-data: Likewise.
12256         * conform/data/utime.h-data: Likewise.
12258         * io/sys/stat.h: fchmod was always in POSIX.
12259         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
12260         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
12261         * rt/aio.h: Define __need_timespec before including <time.h>.
12262         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
12263         struct.  Add forward declaration of pthread_attr_t and use it in
12264         sigevent.
12265         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12266         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12267         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
12268         always remove CLK_TCK definition.
12270 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
12272         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
12274 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
12276         * conform/run-conformtest.sh: New file.
12277         * conform/Makefile: Run run-conformtest for tests.
12278         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
12279         support.
12281         * conform/data/uchar.h-data: New file.
12282         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
12283         * conform/data/arpa/inet.h-data: Likewise.
12284         * conform/data/assert.h-data: Likewise.
12285         * conform/data/complex.h-data: Likewise.
12286         * conform/data/cpio.h-data: Likewise.
12287         * conform/data/ctype.h-data: Likewise.
12288         * conform/data/dirent.h-data: Likewise.
12289         * conform/data/dlfcn.h-data: Likewise.
12290         * conform/data/errno.h-data: Likewise.
12291         * conform/data/fcntl.h-data: Likewise.
12292         * conform/data/float.h-data: Likewise.
12293         * conform/data/fmtmsg.h-data: Likewise.
12294         * conform/data/fnmatch.h-data: Likewise.
12295         * conform/data/ftw.h-data: Likewise.
12296         * conform/data/glob.h-data: Likewise.
12297         * conform/data/grp.h-data: Likewise.
12298         * conform/data/iconv.h-data: Likewise.
12299         * conform/data/inttypes.h-data: Likewise.
12300         * conform/data/langinfo.h-data: Likewise.
12301         * conform/data/libgen.h-data: Likewise.
12302         * conform/data/limits.h-data: Likewise.
12303         * conform/data/locale.h-data: Likewise.
12304         * conform/data/math.h-data: Likewise.
12305         * conform/data/monetary.h-data: Likewise.
12306         * conform/data/mqueue.h-data: Likewise.
12307         * conform/data/ndbm.h-data: Likewise.
12308         * conform/data/net/if.h-data: Likewise.
12309         * conform/data/netdb.h-data: Likewise.
12310         * conform/data/netinet/in.h-data: Likewise.
12311         * conform/data/nl_types.h-data: Likewise.
12312         * conform/data/poll.h-data: Likewise.
12313         * conform/data/pthread.h-data: Likewise.
12314         * conform/data/pwd.h-data: Likewise.
12315         * conform/data/regex.h-data: Likewise.
12316         * conform/data/sched.h-data: Likewise.
12317         * conform/data/search.h-data: Likewise.
12318         * conform/data/semaphore.h-data: Likewise.
12319         * conform/data/setjmp.h-data: Likewise.
12320         * conform/data/signal.h-data: Likewise.
12321         * conform/data/spawn.h-data: Likewise.
12322         * conform/data/stdarg.h-data: Likewise.
12323         * conform/data/stdio.h-data: Likewise.
12324         * conform/data/stdlib.h-data: Likewise.
12325         * conform/data/string.h-data: Likewise.
12326         * conform/data/strings.h-data: Likewise.
12327         * conform/data/stropts.h-data: Likewise.
12328         * conform/data/sys/ipc.h-data: Likewise.
12329         * conform/data/sys/mman.h-data: Likewise.
12330         * conform/data/sys/msg.h-data: Likewise.
12331         * conform/data/sys/resource.h-data: Likewise.
12332         * conform/data/sys/select.h-data: Likewise.
12333         * conform/data/sys/sem.h-data: Likewise.
12334         * conform/data/sys/shm.h-data: Likewise.
12335         * conform/data/sys/socket.h-data: Likewise.
12336         * conform/data/sys/stat.h-data: Likewise.
12337         * conform/data/sys/statvfs.h-data: Likewise.
12338         * conform/data/sys/time.h-data: Likewise.
12339         * conform/data/sys/timeb.h-data: Likewise.
12340         * conform/data/sys/times.h-data: Likewise.
12341         * conform/data/sys/types.h-data: Likewise.
12342         * conform/data/sys/uio.h-data: Likewise.
12343         * conform/data/sys/un.h-data: Likewise.
12344         * conform/data/sys/utsname.h-data: Likewise.
12345         * conform/data/sys/wait.h-data: Likewise.
12346         * conform/data/syslog.h-data: Likewise.
12347         * conform/data/tar.h-data: Likewise.
12348         * conform/data/termios.h-data: Likewise.
12349         * conform/data/utime.h-data: Likewise.
12350         * conform/data/utmpx.h-data: Likewise.
12351         * conform/data/varargs.h-data: Likewise.
12352         * conform/data/wchar.h-data: Likewise.
12353         * conform/data/wctype.h-data: Likewise.
12354         * conform/data/wordexp.h-data: Likewise.
12356         * include/stropts.h: New file.
12357         * include/uchar.h: New file.
12358         * include/aio.h: Changes to allow conformtest.pl to use the headers.
12359         * include/assert.h: Likewise.
12360         * include/ctype.h: Likewise.
12361         * include/dirent.h: Likewise.
12362         * include/dlfcn.h: Likewise.
12363         * include/fcntl.h: Likewise.
12364         * include/fnmatch.h: Likewise.
12365         * include/glob.h: Likewise.
12366         * include/grp.h: Likewise.
12367         * include/libio.h: Likewise.
12368         * include/locale.h: Likewise.
12369         * include/math.h: Likewise.
12370         * include/net/if.h: Likewise.
12371         * include/netdb.h: Likewise.
12372         * include/netinet/in.h: Likewise.
12373         * include/pthread.h: Likewise.
12374         * include/pwd.h: Likewise.
12375         * include/regex.h: Likewise.
12376         * include/sched.h: Likewise.
12377         * include/search.h: Likewise.
12378         * include/setjmp.h: Likewise.
12379         * include/signal.h: Likewise.
12380         * include/stdio.h: Likewise.
12381         * include/stdlib.h: Likewise.
12382         * include/string.h: Likewise.
12383         * include/sys/cdefs.h: Likewise.
12384         * include/sys/mman.h: Likewise.
12385         * include/sys/msg.h: Likewise.
12386         * include/sys/resource.h: Likewise.
12387         * include/sys/select.h: Likewise.
12388         * include/sys/socket.h: Likewise.
12389         * include/sys/stat.h: Likewise.
12390         * include/sys/statvfs.h: Likewise.
12391         * include/sys/time.h: Likewise.
12392         * include/sys/times.h: Likewise.
12393         * include/sys/uio.h: Likewise.
12394         * include/sys/utsname.h: Likewise.
12395         * include/sys/wait.h: Likewise.
12396         * include/termios.h: Likewise.
12397         * include/time.h: Likewise.
12398         * include/ulimit.h: Likewise.
12399         * include/unistd.h: Likewise.
12400         * include/utime.h: Likewise.
12401         * include/wchar.h: Likewise.
12402         * include/wctype.h: Likewise.
12403         * include/wordexp.h: Likewise.
12405         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
12407         * time/time.h: TIME_UTC must be a macro.
12408         Make timespec_get available for ISO C11 only as well.
12410 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
12412         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
12413         Reported by Peng Haitao <penght@cn.fujitsu.com>.
12415 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
12417         * configure.in: Use -o not -a in test for unsupported multi-arch.
12419 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
12421         * manual/texinfo.tex: Update to version 2012-01-19.16.
12423 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
12425         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
12427 2012-02-24  Roland McGrath  <roland@hack.frob.com>
12429         [BZ #13738]
12430         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
12431         * manual/fdl-1.3.texi: New file.
12432         * manual/fdl-1.1.texi: File removed.
12434         [BZ #13738]
12435         * manual/libc.texinfo (FDL_VERSION): New @set.
12436         Use it for mention of FDL in cover text.
12437         (Documentation License): Use it in @include file name.
12439 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
12440             Roland McGrath  <roland@hack.frob.com>
12442         [BZ #5461]
12443         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
12444         not LONG_LONG_MAX and LONG_LONG_MIN.
12445         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
12446         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
12447         name.
12448         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
12450 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
12452         [BZ #2547]
12453         [BZ #11365]
12454         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
12455         manipulate bits before adding and subtracting TWO23[sx].
12456         * math/libm-test.inc (nearbyint_test): Add more tests.
12458 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
12460         [BZ #2548]
12461         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
12462         bits before adding and subtracting TWO23[sx].
12463         * math/libm-test.inc (rint_test): Add more tests.
12464         (rint_test_tonearest): Likewise.
12465         (rint_test_towardzero): Likewise.
12466         (rint_test_downward): Likewise.
12467         (rint_test_upward: Likewise.
12469 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
12471         [BZ #10110]
12472         * include/stdc-predef.h: New file.  Extracted from features.h.
12473         * include/features.h: Include stdc-predef.h.
12474         * Makefile (headers): Add stdc-predef.h.
12475         * CONFORMANCE (Compiler limitations): Update.
12477 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
12479         * manual/libc.texinfo (VERSION, UPDATED): Revert.
12481 2012-02-21  David S. Miller  <davem@davemloft.net>
12483         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
12484         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12486 2012-02-20  David S. Miller  <davem@davemloft.net>
12488         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
12489         using a normal save/restore sequence, rather than allocating a
12490         dummy stack frame just to store a frame pointer and restore.
12491         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12493 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
12495         * manual/install.texi: Fix stray word in line-wrapped comment.
12497 2012-02-20  David S. Miller  <davem@davemloft.net>
12499         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
12500         both binutils and gcc support GOTDATA.
12502         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
12503         "rd %pc" in the PIC register setup sequences.
12505         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
12506         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12507         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12508         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12509         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12510         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12511         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12512         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12513         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
12514         (SYSCALL_ERROR_HANDLER): Likewise.
12515         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12516         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12517         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
12518         (SYSCALL_ERROR_HANDLER): Likewise.
12520         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
12521         (HAVE_GCC_GOTDATA): New.
12522         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
12523         relocation support in both binutils and gcc.
12524         * sysdeps/sparc/elf/configure: Regenerate.
12526         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
12527         * sysdeps/sparc/sparc32/elf/configure: Delete.
12528         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
12529         * sysdeps/sparc/sparc64/elf/configure: Delete.
12530         * sysdeps/sparc/elf/configure.in: New file.
12531         * sysdeps/sparc/elf/configure: Generate.
12533         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
12534         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
12535         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12536         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
12537         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
12539 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
12541         * manual/install.texi: Do not mention specific glibc version
12542         numbers.
12543         * manual/libc.texinfo (VERSION, UPDATED): Update.
12544         (@copying): Use @copyright{} and range of years.
12546 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
12548         [BZ #13695]
12549         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
12550         [crti.S not in sysdirs] (generated): Do not append.
12551         [crti.S not in sysdirs] (omit-deps): Likewise.
12552         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
12553         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
12554         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
12555         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
12556         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
12557         Likewise.
12558         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
12559         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
12560         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
12561         * csu/defs.awk: Remove file.
12562         * sysdeps/generic/initfini.c: Likewise.
12563         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
12564         variable.
12565         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
12566         Likewise.
12568 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
12570         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
12571         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
12572         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
12573         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
12574         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12575         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
12576         <bits/epoll.h>.
12577         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
12578         (__EPOLL_PACKED): Define to empty if not defined by
12579         <bits/epoll.h>.
12580         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
12581         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12582         bits/epoll.h.
12584 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
12586         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
12587         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
12588         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
12589         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
12590         <bits/timerfd.h>.
12591         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
12592         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12593         bits/timerfd.h.
12595 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
12597         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
12598         in C locale.
12599         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12600         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12601         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
12602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12604 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
12606         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12607         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12609 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
12611         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
12612         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
12613         defined.
12614         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
12615         Likewise.
12616         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
12617         entry for 2.16.
12619 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
12621         * math/w_acos.c: Use non-signaling floating-point comparisons.
12622         * math/w_acosf.c: Likewise.
12623         * math/w_acosh.c: Likewise.
12624         * math/w_acoshf.c: Likewise.
12625         * math/w_acoshl.c: Likewise.
12626         * math/w_acosl.c: Likewise.
12627         * math/w_asin.c: Likewise.
12628         * math/w_asinf.c: Likewise.
12629         * math/w_asinl.c: Likewise.
12630         * math/w_atanh.c: Likewise.
12631         * math/w_atanhf.c: Likewise.
12632         * math/w_atanhl.c: Likewise.
12633         * math/w_exp2.c: Likewise.
12634         * math/w_exp2f.c: Likewise.
12635         * math/w_exp2l.c: Likewise.
12636         * math/w_j0.c: Likewise.
12637         * math/w_j0f.c: Likewise.
12638         * math/w_j0l.c: Likewise.
12639         * math/w_j1.c: Likewise.
12640         * math/w_j1f.c: Likewise.
12641         * math/w_j1l.c: Likewise.
12642         * math/w_jn.c: Likewise.
12643         * math/w_jnf.c: Likewise.
12644         * math/w_log.c: Likewise.
12645         * math/w_log10.c: Likewise.
12646         * math/w_log10f.c: Likewise.
12647         * math/w_log10l.c: Likewise.
12648         * math/w_log2.c: Likewise.
12649         * math/w_log2f.c: Likewise.
12650         * math/w_log2l.c: Likewise.
12651         * math/w_logf.c: Likewise.
12652         * math/w_logl.c: Likewise.
12653         * math/w_sqrt.c: Likewise.
12654         * math/w_sqrtf.c: Likewise.
12655         * math/w_sqrtl.c: Likewise.
12656         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12657         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12658         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12659         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12660         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12662 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
12664         [BZ #9739]
12665         * manual/string.texi (strnlen): Use correct parameter name in
12666         equivalent expression.
12668 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
12670         [BZ #11174]
12671         * manual/users.texi (seteuid): Consistently use neweuid for
12672         argument name.
12674 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
12676         [BZ #13704]
12677         * manual/nss.texi (Services in the NSS configuration): Correct
12678         list of services in example configuration file.
12680 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
12682         [BZ #11322]
12683         * manual/arith.texi: Remove statements about negative zero
12684         behaving identically to zero.
12686 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
12688         [BZ #5993]
12689         * manual/install.texi: Do not document upgrading from libc5.
12691 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
12693         [BZ #4596]
12694         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
12696 2012-02-18  David S. Miller  <davem@davemloft.net>
12698         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
12699         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
12700         %o7 across the call.
12701         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
12702         instead.
12703         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
12704         SETUP_PIC_REG_LEAF.
12705         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12706         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
12707         * sysdeps/sparc/crtn.S: Likewise.
12709 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
12711         * aout/Makefile: Remove.
12713 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
12715         [BZ #13058]
12716         * manual/examples/argp-ex1.c (main): Format definition in GNU
12717         style.
12718         * manual/examples/argp-ex2.c (main): Likewise.
12719         * manual/examples/argp-ex3.c (main): Likewise.
12720         * manual/examples/argp-ex4.c (main): Likewise.
12721         * manual/examples/longopt.c (main): Use new-style prototype
12722         definition.
12723         * manual/examples/strncat.c (main): Specify return type and use
12724         (void) for arguments.
12725         * manual/examples/subopt.c (main): Use char **argv argument.
12727 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
12729         [BZ #5077]
12730         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
12731         rounding modes.
12733 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
12735         [BZ #6907]
12736         * manual/string.texi (strchr): Change when strchrnul is
12737         recommended.
12739 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
12741         [BZ #174]
12742         * manual/locale.texi (setlocale): Document LOCPATH.
12744 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
12746         [BZ #10210]
12747         * manual/process.texi (execle): Move @dots{} before last argument.
12749 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
12751         [BZ #12047]
12752         * manual/charset.texi (Generic Charset Conversion): Fix typo
12753         (LC_TYPE -> LC_CTYPE).
12755 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
12757         [BZ #5805]
12758         * manual/arith.texi (scalbn): Use @var{} on parameter names.
12759         (scalbnf): Likewise.
12760         (scalbnl): Likewise.
12761         (scalbln): Likewise.
12762         (scalblnf): Likewise.
12763         (scalblnl): Likewise.
12764         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
12765         (vwarnx): Likewise.
12766         (verr): Likewise.
12767         (verrx): Likewise.
12768         * manual/filesys.texi (telldir): Use braces around return type.
12769         * manual/llio.texi (mmap): Add space after comma.
12770         (mmap64): Likewise.
12771         * manual/math.texi (jn): Use @var{} on parameter names.
12772         (jnf): Likewise.
12773         (jnl): Likewise.
12774         (yn): Likewise.
12775         (ynf): Likewise.
12776         (ynl): Likewise.
12777         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
12778         line.
12779         * manual/resource.texi (ulimit): Use @dots{} instead of literal
12780         "...".
12781         (sched_get_priority_min): Remove semicolon on @deftypefun line.
12782         (sched_get_priority_max): Likewise.
12783         * manual/signal.texi (sigvec): Add space after comma.
12784         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
12785         names.
12786         (if_indextoname): Likewise.
12787         (if_freenameindex): Likewise.
12788         (sendto): Use ',' instead of '.' in prototype.
12789         * manual/startup.texi (syscall): Use @dots{} instead of literal
12790         "...".
12791         * manual/stdio.texi (__fpending): Separate initial words of
12792         paragraph from @deftypefun line.
12793         * manual/syslog.texi (syslog): Use @dots{} instead of literal
12794         "...".
12795         (vsyslog): Use @var{} on parameter names.
12796         * manual/terminal.texi (stty): Use @var{} on parameter names.
12797         * manual/users.texi (getutmp): Use @var{} on parameter names.
12798         (getutmpx): Likewise.
12800 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
12802         [BZ #6884]
12803         * manual/stdio.texi (fopen): Fix typos in description of
12804         ",ccs=STRING".
12806 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
12808         [BZ #4026]
12809         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
12810         get clock_id definition.
12812 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
12814         [BZ #4822]
12815         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
12816         (madvise): Cast every argument to void on its own.
12818 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
12820         [BZ #9902]
12821         * manual/startup.texi (Exit Status): Fix typo.
12823 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
12825         [BZ #10140]
12826         * manual/examples/argp-ex1.c: Include <stdlib.h>.
12827         * manual/examples/argp-ex2.c: Likewise.
12828         * manual/examples/argp-ex3.c: Likewise.
12830 2012-02-16  Richard Henderson  <rth@redhat.com>
12832         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
12833         * sysdeps/s390/s390-32/initfini.c: Remove.
12834         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
12835         * sysdeps/s390/s390-64/initfini.c: Remove.
12837 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12839         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
12840         compiler output for sysdeps/generic/initfini.c.
12841         * sysdeps/sh/elf/initfini.c: Remove file.
12843 2012-02-16  David S. Miller  <davem@davemloft.net>
12845         [BZ #11494]
12846         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
12848         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
12849         * sysdeps/sparc/crti.S: New file.
12850         * sysdeps/sparc/crtn.S: New file.
12851         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
12852         * sysdeps/sparc/sparc64/Makefile: Likewise.
12854 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
12856         [BZ #3335]
12857         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
12859 2012-02-15  Roland McGrath  <roland@hack.frob.com>
12861         [BZ #4822]
12862         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
12864         * mach/devstream.c (cookie_io_functions_t): Macro removed.
12865         (write, read, close): Likewise.
12866         Patch by Aurelien Jarno <aurelien@aurel32.net>.
12868 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
12870         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
12871         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
12872         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
12873         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
12874         <bits/signalfd.h>.
12875         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
12876         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12877         bits/signalfd.h.
12879 2012-02-14  Marek Polacek  <polacek@redhat.com>
12881         * sysdeps/x86_64/crti.S: New file.
12882         * sysdeps/x86_64/crtn.S: New file.
12883         * sysdeps/x86_64/elf/initfini.c: Remove file.
12885 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
12887         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
12888         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
12889         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
12890         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
12891         <bits/inotify.h>.
12892         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
12893         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12894         bits/inotify.h.
12896 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
12898         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
12899         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
12900         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
12901         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
12902         <bits/eventfd.h>.
12903         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
12904         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12905         bits/eventfd.h.
12907 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
12909         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
12910         __feraiseexcept instead of feraiseexcept.
12912         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
12913         nanosleep invocations.
12914         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
12915         strings, and add error checking for a nanosleep invocations.
12917 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
12919         Replace FSF snail mail address with URLs, as per GNU coding standards.
12920         Most of the snail mail addresses were wrong anyway, and omitting
12921         them makes the source code easier to maintain.  Almost all of the
12922         changes are to license notices and to locale LC_IDENTIFICATION
12923         addresses, except for this one:
12924         * manual/libc.texinfo: In "Published by", give the FSF's URL,
12925         not its snail mail address.
12927 2012-02-09  Richard Henderson  <rth@twiddle.net>
12929         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
12930         of kernel-features.h.
12932         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
12934 2012-02-08  Marek Polacek  <polacek@redhat.com>
12936         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
12937         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
12938         * sysdeps/gnu/_G_config.h: Likewise.
12939         * sysdeps/generic/_G_config.h: Likewise.
12941 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
12943         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
12944         tests.
12945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12947         * sysdeps/powerpc/powerpc32/crti.S: New file.
12948         * sysdeps/powerpc/powerpc32/crtn.S: New file.
12949         * sysdeps/powerpc/powerpc64/crti.S: New file.
12950         * sysdeps/powerpc/powerpc64/crtn.S: New file.
12952         * Makeconfig (have-initfini): Don't set.
12953         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
12954         * configure.in (nopic_initfini): Don't substitute.
12955         * config.h.in (HAVE_INITFINI): Don't #undef.
12956         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
12957         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
12959 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
12961         Support crti.S and crtn.S provided directly by architectures.
12962         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
12963         [crti.S in sysdirs] (omit-deps): Likewise.
12964         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
12965         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
12966         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
12967         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
12968         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
12969         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
12970         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
12971         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
12972         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
12973         compiler output for sysdeps/generic/initfini.c.
12974         * sysdeps/i386/elf/Makefile: Remove file.
12975         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
12977 2012-02-07  Marek Polacek  <polacek@redhat.com>
12979         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
12980         * sysdeps/gnu/_G_config.h: Likewise.
12981         * sysdeps/mach/hurd/_G_config.h: Likewise.
12983 2012-02-07  Marek Polacek  <polacek@redhat.com>
12985         * math/Makefile (tests): Add tst-CMPLX2.
12986         * math/tst-CMPLX2.c: New file.
12988 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
12990         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12992         * math/libm-test.inc (jn_test): Add missing L suffix.
12994 2012-02-06  Marek Polacek  <polacek@redhat.com>
12996         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
12997         * sysdeps/i386/fpu/e_powf.S: Likewise.
12998         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12999         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13000         * sysdeps/i386/fpu/e_acosh.S: Likewise.
13001         * sysdeps/i386/fpu/e_pow.S: Likewise.
13002         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13003         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13004         * sysdeps/i386/fpu/s_expm1.S: Likewise.
13005         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13006         * sysdeps/i386/fpu/e_log2.S: Likewise.
13007         * sysdeps/i386/fpu/e_log2l.S: Likewise.
13008         * sysdeps/i386/fpu/e_scalb.S: Likewise.
13009         * sysdeps/i386/fpu/e_powl.S: Likewise.
13010         * sysdeps/i386/fpu/s_log1p.S: Likewise.
13011         * sysdeps/i386/fpu/e_log10f.S: Likewise.
13012         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13013         * sysdeps/i386/fpu/e_logl.S: Likewise.
13014         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13015         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
13016         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13017         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13018         * sysdeps/i386/fpu/e_log2f.S: Likewise.
13019         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13020         * sysdeps/i386/fpu/e_log.S: Likewise.
13021         * sysdeps/i386/fpu/s_cexp.S: Likewise.
13022         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13023         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
13024         * sysdeps/i386/fpu/e_logf.S: Likewise.
13025         * sysdeps/i386/fpu/e_log10l.S: Likewise.
13026         * sysdeps/i386/fpu/e_atanh.S: Likewise.
13027         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
13028         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13029         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13030         * sysdeps/i386/fpu/e_log10.S: Likewise.
13031         * sysdeps/i386/fpu/s_frexp.S: Likewise.
13032         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13033         * sysdeps/i386/fpu/s_asinh.S: Likewise.
13034         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13035         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13036         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13037         * sysdeps/i386/asm-syntax.h: Likewise.
13038         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13039         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13040         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13041         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
13042         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
13043         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13044         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13045         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13046         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13047         * sysdeps/powerpc/sysdep.h: Likewise.
13048         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
13049         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13051 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
13053         [BZ #411]
13054         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
13056 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
13058         * sysdeps/i386/sysdep.h: Include <features.h>.
13059         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
13060         version.
13062 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
13064         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
13065         Define.
13066         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
13067         LOAD_PIC_REG_STR.
13069 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
13071         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
13072         (SETUP_PIC_REG): Use GET_PC_THUNK.
13073         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
13074         macro.
13076 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
13078         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
13079         for non-PIC compilation.
13080         (SETUP_PIC_REG): Add .p2align directive.
13081         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
13082         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13083         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13084         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13085         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13086         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13087         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13088         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13089         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13090         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13091         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13092         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13093         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13094         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13095         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13096         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13097         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13098         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13099         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13100         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13101         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13102         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13103         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13104         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13105         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13106         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13107         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13108         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13109         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13110         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13111         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13112         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13113         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13114         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13115         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13116         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13117         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13118         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13119         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13120         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13121         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13123 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
13125         * math/tst-CMPLX.c: Include <stdio.h>.
13127 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
13129         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
13130         float.
13131         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13132         * sysdeps/sparc/bits/mathdef.h: Likewise.
13134 2012-01-31  Marek Polacek  <polacek@redhat.com>
13136         * libio/libio.h: Don't define _PARAMS.
13137         * locale/programs/config.h: Don't define PARAMS.
13138         * stdlib/strtol_l.c: Likewise.
13139         (__strtol_l): Remove PARAMS from the prototype.
13141 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
13143         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
13144         names.  Just use the correct names.  Remove unnecessary wrapper
13145         functions.
13146         * malloc/arena.c: Likewise.
13147         * malloc/hooks.c: Likewise.
13149         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
13150         ARENA_TEST says not to.  Simplify test for creation of a new arena.
13151         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
13153 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
13155         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
13156         into tail calls.
13157         (update_get_addr): New function.
13158         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
13159         GET_ADDR_MODULE parameter.
13161 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
13163         * crypt/cert.c: Remove __STDC__ conditionals.
13164         * crypt/crypt-entry.c: Likewise.
13165         * crypt/crypt_util.c: Likewise.
13166         * libio/filedoalloc.c: Likewise.
13167         * libio/fileops.c: Likewise.
13168         * libio/genops.c: Likewise.
13169         * libio/iofclose.c: Likewise.
13170         * libio/iofdopen.c: Likewise.
13171         * libio/iofopen.c: Likewise.
13172         * libio/iofopen64.c: Likewise.
13173         * libio/iogetdelim.c: Likewise.
13174         * libio/iopopen.c: Likewise.
13175         * libio/obprintf.c: Likewise.
13176         * libio/oldfileops.c: Likewise.
13177         * libio/oldiofclose.c: Likewise.
13178         * libio/oldiofdopen.c: Likewise.
13179         * libio/oldiofopen.c: Likewise.
13180         * libio/oldiopopen.c: Likewise.
13181         * libio/wfiledoalloc.c: Likewise.
13182         * libio/wgenops.c: Likewise.
13183         * locale/programs/xmalloc.c: Likewise.
13184         * misc/syslog.c: Likewise.
13185         * stdio-common/xbug.c: Likewise.
13186         * string/memchr.c: Likewise.
13187         * string/memcmp.c: Likewise.
13188         * string/memrchr.c: Likewise.
13189         * string/rawmemchr.c: Likewise.
13190         * sysdeps/posix/getcwd.c: Likewise.
13191         * time/strftime_l.c: Likewise.
13193 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
13195         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
13196         * config.make.in (config-cflags-sse2avx): Define.
13197         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
13198         Fix typo.
13200 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
13202         * scripts/config.guess: Update from upstream config git repository.
13203         * scripts/config.sub: Likewise.
13205 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
13207         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
13208         (EM_NUM): Update.
13209         (R_TILEPRO_*, R_TILEGX_*): New macros.
13211         * scripts/firstversions.awk: Fix bug in version range handling.
13213         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
13215         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
13217         * include/sys/epoll.h: New file.
13218         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
13219         libc_hidden_def.
13221 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
13223         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
13224         Avoid unnecessary __WORDSIZE == 64 test.
13225         (fmaxf): Use VEX format if possible.
13226         (fmax): Likewise.
13227         (fminf): Likewise.
13228         (fmin): Likewise.
13230         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
13231         * math/math_private.h: Remove libc_fegetround* and
13232         libc_fesetround*.
13233         * sysdeps/i386/configure.in: Check for -msse2avx.
13234         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
13235         also if SSE2AVX is defined.
13236         Remove libc_fegetround* and libc_fesetround*.
13237         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
13238         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
13239         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
13240         of HAS_YMM_USABLE.
13241         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13242         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13243         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13244         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13245         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13247         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
13249 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13251         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
13252         size is not set.
13253         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13255 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
13257         [BZ #13618]
13258         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
13259         relocation.
13260         * Makeconfig (libm): Define.
13261         * elf/Makefile: Add rules to build and run tst-relsort1.
13262         * elf/tst-relsort1.c: New file.
13263         * elf/tst-relsort1mod1.c: New file.
13264         * elf/tst-relsort1mod2.c: New file.
13266 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
13268         * math/s_ldexp.c: Remove __STDC__ conditionals.
13269         * math/s_ldexpf.c: Likewise.
13270         * math/s_ldexpl.c: Likewise.
13271         * math/s_nextafter.c: Likewise.
13272         * math/s_nexttowardf.c: Likewise.
13273         * math/s_significand.c: Likewise.
13274         * math/s_significandf.c: Likewise.
13275         * math/s_significandl.c: Likewise.
13276         * math/w_jnl.c: Likewise.
13277         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13278         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13279         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13280         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13281         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13282         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13283         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
13284         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13285         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13286         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13287         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13288         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13289         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13290         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13291         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13292         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13293         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13294         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13295         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13296         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13297         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13298         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13299         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13300         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13301         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13302         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13303         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13304         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13305         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13306         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13307         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13308         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13309         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13310         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13311         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13312         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13313         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13314         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13315         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13316         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13317         * sysdeps/ieee754/k_standard.c: Likewise.
13318         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13319         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13320         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13321         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13322         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13323         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13324         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13325         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13326         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13327         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13328         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13329         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13330         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13331         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13332         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13333         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13334         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13335         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13336         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13337         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13338         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13339         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13340         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13341         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13342         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13343         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13344         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13345         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13346         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13347         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13348         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13349         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
13350         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13351         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13352         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13353         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13354         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13355         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13356         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13357         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13358         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13359         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13360         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13361         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13362         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13363         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13364         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13365         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13366         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13367         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13368         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
13369         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13370         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13371         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13372         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13373         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13374         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
13375         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13376         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13377         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13378         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13379         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13380         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13381         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13382         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13383         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13384         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13385         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13386         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13387         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13388         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13389         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13390         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13391         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13392         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13393         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13394         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13395         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13396         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13397         * sysdeps/ieee754/s_matherr.c: Likewise.
13398         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13399         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13400         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13401         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13403 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
13405         * crypt/md5.h: Remove __STDC__ conditionals.
13406         * libio/libioP.h: Likewise.
13407         * locale/programs/config.h: Likewise.
13408         * sysdeps/generic/sysdep.h: Likewise.
13409         * sysdeps/i386/asm-syntax.h: Likewise.
13410         * sysdeps/s390/asm-syntax.h: Likewise.
13411         * sysdeps/unix/sysdep.h: Likewise.
13412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13415 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
13417         * libio/libio.h: Remove __STDC__ conditionals.
13418         * malloc/obstack.h: Likewise.
13419         * math/complex.h: Likewise.
13420         * math/math.h: Likewise.
13421         * sysdeps/generic/_G_config.h: Likewise.
13422         * sysdeps/gnu/_G_config.h: Likewise.
13423         * sysdeps/mach/hurd/_G_config.h: Likewise.
13424         * sysdeps/powerpc/bits/mathdef.h: Likewise.
13425         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13426         * sysdeps/sparc/bits/mathdef.h: Likewise.
13428 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
13430         [BZ #13583]
13431         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
13432         Clean up HAS_* macros.
13433         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
13434         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
13435         possible.
13436         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
13437         HAS_AVX.
13438         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13439         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13440         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13441         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13442         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13444 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
13446         * elf/tst-unique3.cc (gets): Remove declaration.
13447         * elf/tst-unique3lib.cc (gets): Likewise.
13448         * elf/tst-unique3lib2.cc (gets): Likewise.
13449         * elf/tst-unique4.cc (gets): Likewise.
13451 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
13453         * include/stdio.h: Add C++ protection.  Add gets declarations and
13454         definitions.
13455         * debug/tst-chk1.c: Don't declare gets here.
13456         * stdio-common/tst-gets.c: Likewise.
13458 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
13460         * posix/glob: Remove directory.
13462 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
13464         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
13466 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
13468         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
13469         of the non-standard EPFNOSUPPORT.
13471 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13473         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
13474         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
13475         ANYWHERE set to 1 only on KERN_NO_SPACE error.
13477 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
13479         * wcsmbs/uchar.h: Test __STDC_VERSION__.
13481 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
13483         * nscd/aicache.c (addhstaiX): Do not cache negative results of
13484         transient errors.
13485         * nscd/grpcache.c (cache_addgr): Likewise.
13486         * nscd/hstcache.c (cache_addhst): Likewise.
13487         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13488         * nscd/pwdcache.c (cache_addpw): Likewise.
13489         * nscd/servicescache.c (cache_addserv): Likewise.
13491 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
13493         * malloc/malloc.c: Various cleanups.
13494         * malloc/hooks.c: Likewise.
13496         * stdlib/Makefile (tests): Add bug-fmtmsg1.
13497         * stdlib/bug-fmtmsg1.c: New file.
13499         * stdlib/fmtmsg.c (init): Add missing unlock.
13500         Patch by Peng Haitao <penght@cn.fujitsu.com>.
13502 2012-01-12  Marek Polacek  <polacek@redhat.com>
13504         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
13505         and _GNU_SOURCE.
13507 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
13509         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
13510         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
13511         macro to ensure uniqueness of label name.
13512         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13513         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13515 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
13517         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
13519         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
13520         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13521         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13522         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
13524 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
13526         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
13528         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
13529         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13530         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13532         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
13534         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
13535         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13536         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13537         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
13539         * math/bits/math-finite.h: Add ldexp support.
13541 2012-01-10  Marek Polacek  <polacek@redhat.com>
13543         * locale/programs/localedef.h (show_archive_content): Add noreturn
13544         attribute.
13546 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
13548         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
13550 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
13552         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
13554         * io/Makefile (headers): Add bits/poll2.h.
13556 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
13558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
13559         typo #include statement.
13561 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
13563         * include/sys/cdefs.h: Define __attribute_alloc_size.
13564         * catgets/gencat.c: Add alloc_size attribute and apply consistently
13565         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
13566         * elf/pldd.c: Likewise.
13567         * iconv/iconv_charmap.c: Likewise.
13568         * iconv/iconvconfig.c: Likewise.
13569         * iconv/strtab.c: Likewise.
13570         * locale/programs/locale.c: Likewise.
13571         * locale/programs/localedef.h: Likewise.
13572         * locale/programs/simple-hash.c: Likewise.
13573         * nscd/nscd.h: Likewise.
13574         * nss/makedb.c: Likewise.
13575         * sysdeps/generic/ldconfig.h: Likewise.
13576         * locale/programs/localedef.c: Remove xmalloc prototype.
13577         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
13579 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13581         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
13582         appropriate.
13584 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
13586         * math/Makefile (tests): Add tst-CMPLX.
13587         * math/tst-CMPLX.c: New file.
13589         * math/complex.h (CMPLXL): Fix typo.
13591         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
13592         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
13593         GLIBC_2.16.
13594         * debug/tst-chk1.c: Add poll and ppoll tests.
13595         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
13596         * include/sys/poll.h: Add hidden proto for ppoll.
13597         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
13598         * sysdeps/mach/hurd/ppoll.c: Likewise.
13599         * io/ppoll.c: Likewise.
13600         * debug/poll_chk.c: New file.
13601         * debug/ppoll_chk.c: New file.
13602         * include/bits/poll2.h: New file.
13603         * io/bits/poll2.h: New file.
13605         [BZ #1350]
13606         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
13608         * configure.in: static is always set to yes.  Remove.
13609         * config.make.in: Don't set build-static.
13610         * Makeconfig: Remove use of build-static.
13611         * dlfcn/Makefile: Likewise.
13612         * elf/Makefile: Likewise.
13613         * math/Makefile: Likewise.
13614         * misc/Makefile: Likewise.
13615         * nptl/Makefile: Likewise.
13616         * sysdeps/mach/hurd/Makefile: Likewise.
13618         * configure.in: PWD_P is not used anymore.
13619         * config.make.in: Remove PWD_P entry.
13621         * configure.in: Remove last remnants of RANLIB.
13622         No need to check for signed size_t anymore.
13623         Don't set libc_commonpagesize and libc_relro_required here for Alpha
13624         and IA-64.
13625         Remove __builtin_expect test because we require at least gcc 3.4.
13626         * aclocal.m4: Likewise.
13628         * wcsmbs/mbrtoc16.c: Implement using towc function.
13629         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
13630         * wcsmbs/wcsmbsload.c: Likewise.
13631         * iconv/gconv_simple.c: Likewise.
13632         * iconv/gconv_int.h: Likewise.
13633         * iconv/gconv_builtin.h: Likewise.
13634         * iconv/iconv_prog.c: Remove CHAR16 handling.
13636         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
13638         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
13640         * configure.in: Remove --with-elf and --enable-bounded options.
13641         Dont set base_machine for ia64.  More non-ELF conditions removed.
13642         Remove testing and setting of leading underscore information.
13643         * config.make.in (build-bounded): Set to no.
13644         * config.h.in: Remove NO_UNDERSCORES entry.
13645         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
13646         them.
13647         * csu/start.c: Remove !NO_UNDERSCORE code.
13648         * locale/localeinfo.h: Likewise.
13649         * sysdeps/generic/machine-gmon.h: Likewise.
13650         * sysdeps/generic/sysdep.h: Likewise.
13651         * sysdeps/i386/sysdep.h: Likewise.
13652         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13653         * sysdeps/mach/sysdep.h: Likewise.
13654         * sysdeps/s390/s390-32/sysdep.h: Likewise.
13655         * sysdeps/s390/s390-64/sysdep.h: Likewise.
13656         * sysdeps/sh/sysdep.h: Likewise.
13657         * sysdeps/sparc/sparc32/alloca.S: Likewise.
13658         * sysdeps/unix/i386/sysdep.S: Likewise.
13659         * sysdeps/unix/sparc/start.c: Likewise.
13660         * sysdeps/unix/sparc/sysdep.S: Likewise.
13661         * sysdeps/unix/sparc/sysdep.h: Likewise.
13662         * sysdeps/unix/start.c: Likewise.
13663         * sysdeps/unix/x86_64/sysdep.S: Likewise.
13664         * sysdeps/x86_64/sysdep.h: Likewise.
13666 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
13668         [BZ #13553]
13669         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
13670         for non-gcc.
13671         * argp/argp-fmtstream.h: Use const instead __const.
13672         * argp/argp.h: Likewise.
13673         * assert/assert.h: Likewise.
13674         * bits/fenv.h: Likewise.
13675         * bits/sched.h: Likewise.
13676         * bits/sigset.h: Likewise.
13677         * bits/sigthread.h: Likewise.
13678         * catgets/nl_types.h: Likewise.
13679         * conform/data/pthread.h-data: Likewise.
13680         * crypt/crypt-private.h: Likewise.
13681         * crypt/crypt.h: Likewise.
13682         * crypt/crypt_util.c: Likewise.
13683         * ctype/ctype.h: Likewise.
13684         * debug/execinfo.h: Likewise.
13685         * debug/mbsnrtowcs_chk.c: Likewise.
13686         * debug/mbsrtowcs_chk.c: Likewise.
13687         * debug/wcsnrtombs_chk.c: Likewise.
13688         * debug/wcsrtombs_chk.c: Likewise.
13689         * debug/wcstombs_chk.c: Likewise.
13690         * dirent/dirent.h: Likewise.
13691         * dlfcn/dlfcn.h: Likewise.
13692         * elf/neededtest4.c: Likewise.
13693         * grp/grp.h: Likewise.
13694         * gshadow/gshadow.h: Likewise.
13695         * iconv/gconv.h: Likewise.
13696         * iconv/gconv_int.h: Likewise.
13697         * iconv/gconv_simple.c: Likewise.
13698         * iconv/iconv.h: Likewise.
13699         * iconv/loop.c: Likewise.
13700         * iconv/skeleton.c: Likewise.
13701         * include/aio.h: Likewise.
13702         * include/aliases.h: Likewise.
13703         * include/argz.h: Likewise.
13704         * include/arpa/inet.h: Likewise.
13705         * include/assert.h: Likewise.
13706         * include/dirent.h: Likewise.
13707         * include/dlfcn.h: Likewise.
13708         * include/execinfo.h: Likewise.
13709         * include/fcntl.h: Likewise.
13710         * include/fenv.h: Likewise.
13711         * include/glob.h: Likewise.
13712         * include/grp.h: Likewise.
13713         * include/libintl.h: Likewise.
13714         * include/mntent.h: Likewise.
13715         * include/netdb.h: Likewise.
13716         * include/pwd.h: Likewise.
13717         * include/rpc/netdb.h: Likewise.
13718         * include/sched.h: Likewise.
13719         * include/search.h: Likewise.
13720         * include/shadow.h: Likewise.
13721         * include/signal.h: Likewise.
13722         * include/stdio.h: Likewise.
13723         * include/stdlib.h: Likewise.
13724         * include/string.h: Likewise.
13725         * include/sys/socket.h: Likewise.
13726         * include/sys/stat.h: Likewise.
13727         * include/sys/statfs.h: Likewise.
13728         * include/sys/statvfs.h: Likewise.
13729         * include/sys/syslog.h: Likewise.
13730         * include/sys/time.h: Likewise.
13731         * include/sys/uio.h: Likewise.
13732         * include/time.h: Likewise.
13733         * include/unistd.h: Likewise.
13734         * include/utmp.h: Likewise.
13735         * include/wchar.h: Likewise.
13736         * include/wctype.h: Likewise.
13737         * inet/aliases.h: Likewise.
13738         * inet/arpa/inet.h: Likewise.
13739         * inet/netinet/ether.h: Likewise.
13740         * inet/netinet/in.h: Likewise.
13741         * intl/libintl.h: Likewise.
13742         * io/bits/fcntl2.h: Likewise.
13743         * io/fcntl.h: Likewise.
13744         * io/ftw.h: Likewise.
13745         * io/sys/poll.h: Likewise.
13746         * io/sys/stat.h: Likewise.
13747         * io/sys/statfs.h: Likewise.
13748         * io/sys/statvfs.h: Likewise.
13749         * io/utime.h: Likewise.
13750         * libio/bits/stdio.h: Likewise.
13751         * libio/bits/stdio2.h: Likewise.
13752         * libio/libio.h: Likewise.
13753         * libio/libioP.h: Likewise.
13754         * libio/stdio.h: Likewise.
13755         * locale/lc-ctype.c: Likewise.
13756         * locale/locale.h: Likewise.
13757         * login/utmp.h: Likewise.
13758         * malloc/arena.c: Likewise.
13759         * malloc/malloc.c: Likewise.
13760         * malloc/malloc.h: Likewise.
13761         * malloc/mcheck.c: Likewise.
13762         * malloc/mtrace.c: Likewise.
13763         * math/bits/mathcalls.h: Likewise.
13764         * math/fenv.h: Likewise.
13765         * math/math_private.h: Likewise.
13766         * misc/bits/error.h: Likewise.
13767         * misc/bits/syslog.h: Likewise.
13768         * misc/err.h: Likewise.
13769         * misc/error.h: Likewise.
13770         * misc/fstab.h: Likewise.
13771         * misc/mntent.h: Likewise.
13772         * misc/regexp.h: Likewise.
13773         * misc/search.h: Likewise.
13774         * misc/sgtty.h: Likewise.
13775         * misc/sys/mman.h: Likewise.
13776         * misc/sys/syslog.h: Likewise.
13777         * misc/sys/uio.h: Likewise.
13778         * misc/sys/xattr.h: Likewise.
13779         * misc/ttyent.h: Likewise.
13780         * nis/rpcsvc/ypclnt.h: Likewise.
13781         * nss/nss.h: Likewise.
13782         * posix/bits/unistd.h: Likewise.
13783         * posix/fnmatch.h: Likewise.
13784         * posix/glob.h: Likewise.
13785         * posix/sched.h: Likewise.
13786         * posix/spawn.h: Likewise.
13787         * posix/sys/wait.h: Likewise.
13788         * posix/unistd.h: Likewise.
13789         * posix/wordexp.h: Likewise.
13790         * pwd/pwd.h: Likewise.
13791         * resolv/netdb.h: Likewise.
13792         * resource/sys/resource.h: Likewise.
13793         * rt/aio.h: Likewise.
13794         * rt/bits/mqueue2.h: Likewise.
13795         * rt/mqueue.h: Likewise.
13796         * shadow/shadow.h: Likewise.
13797         * signal/signal.h: Likewise.
13798         * socket/send.c: Likewise.
13799         * socket/sendto.c: Likewise.
13800         * socket/sys/socket.h: Likewise.
13801         * stdio-common/printf.h: Likewise.
13802         * stdlib/bits/stdlib.h: Likewise.
13803         * stdlib/fmtmsg.h: Likewise.
13804         * stdlib/monetary.h: Likewise.
13805         * stdlib/stdlib.h: Likewise.
13806         * stdlib/ucontext.h: Likewise.
13807         * streams/stropts.h: Likewise.
13808         * string/argz.h: Likewise.
13809         * string/bits/string2.h: Likewise.
13810         * string/string.h: Likewise.
13811         * string/strings.h: Likewise.
13812         * sunrpc/rpc/auth.h: Likewise.
13813         * sunrpc/rpc/auth_des.h: Likewise.
13814         * sunrpc/rpc/clnt.h: Likewise.
13815         * sunrpc/rpc/netdb.h: Likewise.
13816         * sunrpc/rpc/pmap_clnt.h: Likewise.
13817         * sunrpc/rpc/xdr.h: Likewise.
13818         * sysdeps/generic/inttypes.h: Likewise.
13819         * sysdeps/generic/net/if.h: Likewise.
13820         * sysdeps/generic/sys/swap.h: Likewise.
13821         * sysdeps/gnu/net/if.h: Likewise.
13822         * sysdeps/gnu/utmpx.h: Likewise.
13823         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
13824         * sysdeps/i386/i486/bits/string.h: Likewise.
13825         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
13826         * sysdeps/s390/bits/string.h: Likewise.
13827         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
13828         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
13829         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
13830         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
13831         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13832         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
13833         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
13834         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
13835         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
13836         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
13837         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
13838         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13839         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
13840         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13841         * sysdeps/unix/sysv/linux/readv.c: Likewise.
13842         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
13843         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13844         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13845         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13846         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13847         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13848         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
13849         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
13850         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
13851         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
13852         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
13853         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
13854         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13855         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
13856         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
13857         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
13858         * sysvipc/sys/ipc.h: Likewise.
13859         * sysvipc/sys/msg.h: Likewise.
13860         * sysvipc/sys/sem.h: Likewise.
13861         * sysvipc/sys/shm.h: Likewise.
13862         * termios/termios.h: Likewise.
13863         * time/sys/time.h: Likewise.
13864         * time/time.h: Likewise.
13865         * wcsmbs/bits/wchar2.h: Likewise.
13866         * wcsmbs/uchar.h: Likewise.
13867         * wcsmbs/wchar.h: Likewise.
13868         * wctype/wctype.h: Likewise.
13870         [BZ #13551]
13871         * Makeconfig: Remove all but ELF support including AIX support.
13872         * Makerules: Likewise.
13873         * config.h.in: Likewise.
13874         * config.make.in: Likewise.
13875         * configure: Likewise.
13876         * configure.in: Likewise.
13877         * csu/Makefile: Likewise.
13878         * csu/version.c: Likewise.
13879         * debug/Makefile: Likewise.
13880         * dlfcn/Makefile: Likewise.
13881         * elf/Makefile: Likewise.
13882         * extra-lib.mk: Likewise.
13883         * iconv/Makefile: Likewise.
13884         * include/libc-symbols.h: Likewise.
13885         * include/shlib-compat.h: Likewise.
13886         * resolv/Makefile: Likewise.
13887         * resolv/res_libc.c: Likewise.
13888         * rt/Makefile: Likewise.
13889         * sysdeps/i386/asm-syntax.h: Likewise.
13890         * sysdeps/i386/sysdep.h: Likewise.
13891         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13892         * sysdeps/mach/sysdep.h: Likewise.
13893         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
13894         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
13895         * sysdeps/s390/asm-syntax.h: Likewise.
13896         * sysdeps/s390/s390-32/sysdep.h: Likewise.
13897         * sysdeps/s390/s390-64/sysdep.h: Likewise.
13898         * sysdeps/sh/sysdep.h: Likewise.
13899         * sysdeps/unix/sparc/sysdep.h: Likewise.
13900         * sysdeps/wordsize-32/divdi3.c: Likewise.
13901         * sysdeps/x86_64/sysdep.h: Likewise.
13903         * argp/Versions: Remove _argp_unlock_xxx.
13905         [BZ #13559]
13906         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
13907         * abilist/libBrokenLocale.abilist: Likewise.
13908         * abilist/libanl.abilist: Likewise.
13909         * abilist/libc.abilist: Likewise.
13910         * abilist/libcrypt.abilist: Likewise.
13911         * abilist/libdl.abilist: Likewise.
13912         * abilist/libm.abilist: Likewise.
13913         * abilist/libnsl.abilist: Likewise.
13914         * abilist/libpthread.abilist: Likewise.
13915         * abilist/libresolv.abilist: Likewise.
13916         * abilist/librt.abilist: Likewise.
13917         * abilist/libthread_db.abilist: Likewise.
13918         * abilist/libutil.abilist: Likewise.
13919         * abilist/libnss_db.abilist: New file.
13921         * scripts/abilist.awk: Add support for indirect functions.
13923         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
13925         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
13927         * shlib-versions: Remove entries for ports architectures.
13929         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
13930         files in ports.
13931         * elf/stackguard-macros.h: Remove support for IA-64.
13932         * elf/tst-auditmod1.c: Likewise.
13933         * sysdeps/generic/ldsodefs.h: Likewise.
13935         * sysdeps/unix/sysv/linux/configure.in: Ports should define
13936         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
13937         configure files.
13939         [BZ #13552]
13940         * configure.in: Remove --enable-omitfp support.
13941         * FAQ.in: Adjust.
13942         * config.make.in: Likewise.
13943         * Makeconfig: Likewise.
13944         * manual/install.texi: Likewise.
13946         In case anyone cares, the IA-64 architecture could move to ports.
13947         * sysdeps/ia64/*: Removed.
13948         * sysdeps/unix/sysv/linux/ia64/*: Removed.
13949         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
13951         [BZ #13555]
13952         * configure.in: Remove entries for unsupported architectures.
13954         [BZ #13533]
13955         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
13956         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
13957         routines.
13958         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
13959         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
13960         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
13961         fall back to using wcrtomb.
13962         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
13963         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
13964         renaming.
13965         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
13966         * wcsmbs/tst-c16c32-1.c: New file.
13968         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
13969         local variable.
13971         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
13973         * elf/tst-unique3.cc: Add explicit declaration of gets.
13974         * elf/tst-unique3lib.cc: Likewise.
13975         * elf/tst-unique3lib2.cc: Likewise.
13976         * elf/tst-unique4.cc: Likewise.
13978         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
13980 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
13982         [BZ #13566]
13983         * assert/assert.h (static_assert): Don't define for C++.
13984         * libio/stdio.h (gets): Do declare for C++ <= C++11.
13985         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
13987 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
13989         * iconv/loop.c (single loop): Fix assertion in storing of
13990         remaining bytes.
13992         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
13994 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
13996         * posix/getconf.c: Update copyright year.
13997         * nss/getent.c: Likewise.
13998         * nss/makedb.c: Likewise.
13999         * iconv/iconvconfig.c: Likewise.
14000         * iconv/iconv_prog.c: Likewise.
14001         * elf/ldconfig.c: Likewise.
14002         * elf/pldd.c: Likewise.
14003         * elf/sotruss.ksh: Likewise.
14004         * catgets/gencat.c: Likewise.
14005         * csu/version.c: Likewise.
14006         * elf/ldd.bash.in: Likewise.
14007         * elf/sprof.c (print_version): Likewise.
14008         * locale/programs/locale.c: Likewise.
14009         * locale/programs/localedef.c: Likewise.
14010         * login/programs/pt_chown.c: Likewise.
14011         * nscd/nscd.c (print_version): Likewise.
14012         * debug/xtrace.sh: Likewise.
14013         * malloc/memusage.sh: Likewise.
14014         * malloc/mtrace.pl: Likewise.
14015         * debug/catchsegv.sh: Likewise.
14017 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
14019         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
14020         pure attribute.
14022 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
14024         [BZ #13533]
14025         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
14026         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
14027         transformations.
14028         * iconv/gconv_int.h: Likewise.
14029         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
14030         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
14031         from libc for GLIBC_2.16.
14032         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
14033         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
14034         * wcsmbs/uchar.h: Really define mbstate_t.
14035         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
14036         * wcsmbs/c16rtomb.c: New file.
14037         * wcsmbs/mbrtoc16.c: New file.
14038         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
14039         for C/POSIX locale.
14040         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
14041         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
14043         * wcsmbs/wchar.h: Add missing __restrict.
14045 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
14047         [BZ #13532]
14048         * time/Makefile (routines): Add timespec_get.
14049         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
14050         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
14051         timespec for ISO C11.
14052         * time/timespec_get.c: New file.
14053         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
14054         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
14056         [BZ #13531]
14057         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
14058         * stdlib/stdlib.h: Declare aligned_alloc.
14059         * Versions.def: Add GLIBC_2.16 for libc.
14060         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
14062         [BZ 13527]
14063         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
14064         ISO C11.
14066         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
14067         code.
14069         [BZ #13528]
14070         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
14072         [BZ #13529]
14073         * assert/assert.h (static_assert): Define.
14075         * version.h: Update for 2.16 development version.
14077         [BZ #13526]
14078         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
14079         _ISOC11_SOURCE.
14081         * version.h (RELEASE): Bump for 2.15 release.
14082         * include/features.h (__GLIBC_MINOR__): Bump to 15.
14084         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
14085         Patch by Marek Polacek <mpolacek@redhat.com>.
14087         * bits/byteswap.h: Protect long long constants with __extension__.
14088         * sysdeps/i386/bits/byteswap.h: Likewise.
14089         * sysdeps/ia64/bits/byteswap.h: Likewise.
14090         * sysdeps/s390/bits/byteswap.h: Likewise.
14091         * sysdeps/x86_64/bits/byteswap.h: Likewise.
14093 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14095         [BZ #13540]
14096         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
14097         destination buffer.
14098         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
14100 2011-12-23  Marek Polacek  <polacek@redhat.com>
14102         * elf/dl-addr.c (determine_info): Add inline keyword.
14103         * elf/tst-auditmod4b.c (check_avx): Likewise.
14104         * elf/tst-auditmod6b.c (check_avx): Likewise.
14105         * elf/tst-auditmod6c.c (check_avx): Likewise.
14106         * elf/tst-auditmod7b.c (check_avx): Likewise.
14108 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
14110         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
14111         !__SSE_MATH__.
14113 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14115         [BZ #13540]
14116         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
14117         processing for last bytes.
14119 2011-08-06  Bruno Haible  <bruno@clisp.org>
14121         [BZ #13061]
14122         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
14123         U+0385, not to U+1FEE.
14125         [BZ #13062]
14126         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
14127         entry for U+00A5 U+0301.
14129 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
14131         [BZ #13166]
14132         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
14133         buffer for the output is too small.
14135         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
14136         optimization.
14138         [BZ #13185]
14139         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
14140         SSE flags if possible.
14142 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14144         [BZ #13540]
14145         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
14146         processing for last bytes.
14148 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
14150         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
14151         (syscall-list-default-options, syscall-list-default-condition)
14152         (syscall-list-includes): Define.
14153         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
14154         list of ABIs and options and #if conditions for each ABI.  Do not
14155         handle common syscalls between ABIs specially.
14156         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
14157         Remove.
14158         (syscall-list-variants, syscall-list-32bit-options)
14159         (syscall-list-32bit-condition, syscall-list-64bit-options)
14160         (syscall-list-64bit-condition): Define.
14161         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
14162         (syscall-list-variants, syscall-list-32bit-options)
14163         (syscall-list-32bit-condition, syscall-list-64bit-options)
14164         (syscall-list-64bit-condition): Define.
14165         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
14166         Remove.
14167         (syscall-list-variants, syscall-list-32bit-options)
14168         (syscall-list-32bit-condition, syscall-list-64bit-options)
14169         (syscall-list-64bit-condition): Define.
14170         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
14171         Remove.
14172         (syscall-list-variants, syscall-list-32bit-options)
14173         (syscall-list-32bit-condition, syscall-list-64bit-options)
14174         (syscall-list-64bit-condition): Define.
14176 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
14178         * locale/iso-639.def: Add brx entry.
14180         [BZ #13328]
14181         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
14182         Proposed by Mariusz_Cukr <marcukr@op.pl>.
14184         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
14185         __feraiseexcept_renamed.
14187 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
14189         [BZ #13538]
14190         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
14191         EPOLLET with unsigned values.
14192         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14193         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14195         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
14196         to large cancellation.
14197         * math/s_cacoshf.c: Likewise.
14198         * math/s_cacoshl.c: Likewise.
14200 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
14202         [BZ #13305]
14203         [BZ #12786]
14204         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
14205         * math/s_cacoshf.c: Likewise.
14206         * math/s_cacoshl.c: Likewise.
14208 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
14210         [BZ #13439]
14211         * iconv/gconv.h: Define __GCONV_SWAP.
14212         * iconvdata/unicode.c: The swap bit must be stored in __flags.
14213         * iconvdata/utf-16.c: Likewise.
14214         * iconvdata/utf-32.c: Likewise.
14216 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
14218         [BZ #13524]
14219         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
14220         numerator after shifting it by one limb.
14222 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
14224         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
14225         under [__USE_EXTERN_INLINES].
14227 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
14229         [BZ #13446]
14230         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
14232 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14234         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
14235         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
14236         optimized code.
14237         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
14238         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
14239         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
14240         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
14241         for strncasecmp/strncasecmp_l compilation.
14242         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
14243         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
14245 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
14247         [BZ #13484]
14248         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
14249         of __asm__.
14251 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
14253         [BZ #13506]
14254         * time/tzfile.c (__tzfile_read): Check values from file header.
14256 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
14258         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
14259         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
14260         * powerpc/powerpc32/dl-start.S: Likewise.
14261         * powerpc/powerpc32/elf/start.S: Likewise.
14262         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14263         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
14264         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
14265         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
14266         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14267         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
14268         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
14269         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14270         * powerpc/powerpc32/fpu/s_round.S: Likewise.
14271         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14272         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14273         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14274         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
14275         * powerpc/powerpc32/memset.S: Likewise.
14276         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14277         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14278         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14279         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14280         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14281         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14282         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14283         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14284         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
14285         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
14286         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
14287         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14288         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14290 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14292         * math/libm-test.inc: Added more nearbyint tests.
14293         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
14294         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
14295         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
14296         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
14298 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
14300         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
14301         FD_CLOEXEC.
14303 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14305         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
14306         Add wcscpy-ssse3 wcscpy-c.
14307         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
14308         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
14309         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
14310         * sysdeps/x86_64/wcschr.S: New file.
14311         * sysdeps/x86_64/wcsrchr.S: New file.
14312         * string/test-strcmp.c: Remove checking of wcscmp function for
14313         wrong alignments.
14314         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
14315         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
14316         wcsrchr-sse2 wcsrchr-c.
14317         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
14318         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
14319         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
14320         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
14321         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
14322         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
14323         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
14324         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
14325         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
14326         * wcsmbc/wcschr.c (WCSCHR): New macro.
14328 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14330         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
14331         * wcsmbs/test-wcsrchr.c: New file.
14332         * string/test-strrchr.c: Add wcsrchr support.
14333         (WIDE): New macro.
14334         * wcsmbs/test-wcscpy.c: New file.
14335         * string/test-strcpy.c: Add wcscpy support.
14336         (WIDE): New macro.
14338 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
14340         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
14341         the inner loop.
14343 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
14345         [BZ #13472]
14346         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
14348 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
14350         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
14351         Minor optimizations.
14353         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
14354         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
14355         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14357 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
14359         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
14360         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
14361         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
14362         for gcc to avoid warnings.
14363         * inet/Makefile (tests): Add tst-checks.
14364         * inet/tst-checks.c: New file.
14366         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
14367         warning.
14369         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
14370         __wmemcmp_sse2.
14372         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
14373         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
14375         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
14377 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
14379         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
14380         problem.
14382         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
14384 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
14386         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
14387         conditional on GCC version.
14388         (__arch_compare_and_exchange_val_8_acq)
14389         (__arch_compare_and_exchange_val_16_acq)
14390         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
14391         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
14392         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
14394 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
14396         * sysdeps/sh/backtrace.c: New file.
14398 2011-12-02  Andreas Schwab  <schwab@redhat.com>
14400         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
14401         parenthesis.
14403 2011-12-01  Andreas Schwab  <schwab@redhat.com>
14405         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
14406         falling back to utime.
14408 2011-11-30  Andreas Schwab  <schwab@redhat.com>
14410         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
14411         expectations for float.
14413 2011-11-29  Andreas Schwab  <schwab@redhat.com>
14415         * locale/weight.h (findidx): Add parameter len.
14416         * locale/weightwc.h (findidx): Likewise.
14417         * posix/fnmatch_loop.c (FCT): Adjust caller.
14418         * posix/regcomp.c (build_equiv_class): Likewise.
14419         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
14420         * posix/regexec.c (check_node_accept_bytes): Likewise.
14421         * string/strcoll_l.c (STRCOLL): Likewise.
14422         * string/strxfrm_l.c (STRXFRM): Likewise.
14424 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
14426         * Makefile.in: Remove CVSOPT handling.
14427         * configure.in: Remove use of AC_REVISION.
14428         * iconvdata/Makefile (distribute): No need to filter out CVS.
14429         * scripts/list-sources.sh: Remove CVS, subversion and monotone
14430         handling.
14432 2011-11-16  Andreas Schwab  <schwab@redhat.com>
14434         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
14435         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
14436         [USE_AS_STRNCASECMP_L]: Likewise.
14437         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
14438         NO_TLS_DIRECT_SEG_REFS.
14439         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
14440         Fix argument offsets for non-PIC.
14441         [USE_AS_STRNCASECMP_L]: Likewise.
14442         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
14443         NO_TLS_DIRECT_SEG_REFS.
14445 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
14447         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
14448         O_CLOEXEC.
14449         * locale/loadlocale.c (_nl_load_locale): Likewise.
14451 2011-11-15  Andreas Schwab  <schwab@redhat.com>
14453         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
14454         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
14455         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
14456         (SYSCALL_GETTIME): Set errno on error.
14458         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
14459         count references to noai6ai_cached.
14461 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
14463         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
14465         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
14466         FD_CLOEXEC for /proc/self/maps.
14468         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
14469         FD_CLOEXEC for /proc/meminfo.
14471         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
14472         gai.conf.
14474         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
14475         FD_CLOEXEC for given file.
14477         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
14479         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
14480         FD_CLOEXEC for /etc/hosts.
14481         (_gethtent): Likewise.
14483         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
14485         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
14486         cancellation and set FD_CLOEXEC for /etc/netgroup.
14488         * nss/nss_files/files-key.c (search): Don't allow cancellation when
14489         reading /etc/publickey.
14491         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
14492         allow cancellation when reading /etc/group.
14494         * nss/nss_files/files-alias.c (internal_setent): Don't allow
14495         cancellation.
14496         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
14498         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
14499         when using data file.
14501         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
14503         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
14504         (write_nis_obj): Use "c" and "e" in fopen.
14506         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
14508         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
14510         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
14512         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
14514         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
14515         locale.alias.
14517         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
14519         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
14521         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
14523         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
14524         file parsing and set FD_CLOEXEC.
14526 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
14528         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
14530 2011-11-14  Andreas Schwab  <schwab@redhat.com>
14532         * malloc/arena.c (arena_get2): Don't call reused_arena when
14533         _int_new_arena failed.
14535 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
14537         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
14538         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
14539         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
14540         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14541         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14542         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
14543         to compile strcasecmp and strncasecmp.
14544         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
14545         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
14547         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
14549 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
14551         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
14552         locale-defines.sym to gen-as-const-headers.
14553         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
14554         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
14555         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
14556         to compile strcasecmp and strncasecmp.
14557         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
14558         strcasecmp_l and strncasecmp_l.
14559         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
14560         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
14561         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
14562         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
14563         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
14564         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
14565         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
14566         * sysdeps/i386/i686/multiarch/strncase.S: New file.
14567         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
14568         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
14569         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
14571 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
14573         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
14574         result of SYSDEP_GETTIME_CPU to retval.
14575         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
14576         parameter list to macro.  Remove trailing semicolon.  Adjust users.
14578         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
14579         variable.
14581         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
14582         mantissa words.
14583         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14585         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
14586         from unused variable.
14588         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
14589         DWARF definitions.
14590         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
14591         for assembling.
14593         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
14594         over namespaces.
14596         * sunrpc/rpc_prot.c (rejected): Fix case value.
14598         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
14599         unsigned long long int to avoid warnings in shift.
14601         * posix/regex_internal.c (re_string_reconstruct): Actually use result
14602         of use of trans.
14603         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
14604         variable tmp.
14606         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
14607         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
14608         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
14610         * nis/nis_table.c (nis_list): Use variable of correct type for
14611         result of __follow_path call.
14613 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14615         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
14616         of math functions ceil, trunc, floor, round, and sqrt, when
14617         avaliable on the platform.
14618         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
14619         name clash.
14620         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14621         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14622         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14624 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
14626         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
14627         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14629 2011-11-11  Roland McGrath  <roland@hack.frob.com>
14631         * include/unistd.h: Fix __readlink return type.
14632         Reported by Chris Metcalf <cmetcalf@tilera.com>.
14634 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
14636         * stdlib/ucontext.h: Undo last change for makecontext.
14638 2011-11-11  Andreas Schwab  <schwab@redhat.com>
14640         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
14642         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
14643         * setjmp/setjmp.h: Mark functions as non-leaf.
14644         * setjmp/bits/setjmp2.h: Likewise.
14645         * stdlib/ucontext.h: Likewise.
14647 2011-11-10  Andreas Schwab  <schwab@redhat.com>
14649         * malloc/arena.c (_int_new_arena): Don't increment narenas.
14650         (reused_arena): Don't check arena limit.
14651         (arena_get2): Atomically check arena limit.
14653 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
14655         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
14656         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
14658         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
14659         instructions.
14661 2011-11-07  Andreas Schwab  <schwab@redhat.com>
14663         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
14664         handler when locking.
14666         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14667         Fix size of allocated buffer.
14669 2011-11-04  Andreas Schwab  <schwab@redhat.com>
14671         [BZ #10103]
14672         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
14673         declarations for long double functions.
14674         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
14676         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
14678 2011-11-03  Andreas Schwab  <schwab@redhat.com>
14680         * nscd/nscd.c (main): Don't start AVC thread until credentials are
14681         installed.
14683         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
14684         is disabled.
14686 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14688         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
14690 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
14692         * include/alloca.h (stackinfo_alloca_round): Define.
14693         (extend_alloca): Use it.
14694         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
14695         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
14696         here.
14698         * scripts/check-local-headers.sh: Ignore libaudit.h.
14700         * nscd/Makefile (extra-objs): Make recursively expanded.
14702 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
14704         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
14705         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14707         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
14708         * posix/tst-rfc3484-2.c: Likewise.
14709         * posix/tst-rfc3484-3.c: Likewise.
14711         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14712         process_vm_writev.
14713         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
14714         process_vm_writev.
14715         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
14716         process_vm_writev from libc using GLIBC_2.15 version.
14718         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
14720 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
14722         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
14723         stack usage.
14725 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
14727         [BZ #13367]
14728         * nss/getent.c (initgroups_keys): Show error message in case no group
14729         names are given.
14731         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
14732         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
14733         __bump_nl_timestamp.
14734         * nscd/connections (nscd_init): When host database is served open
14735         netlink socket and request notification about configuration changes.
14736         (main_loop_poll): Track netlink file descriptor and bump timestamp
14737         in case data becomes available.
14738         (main_loop_epoll): Likewise.
14739         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
14740         (database_pers_head): Add extra_data fileds.
14741         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
14742         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
14743         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
14744         Adjust caller.
14745         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
14746         in6ai data, call __free_in6ai.
14747         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
14748         Add -DHAVE_NETLINK.
14749         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
14750         interface information.  Reuse previous data if netlink timestamp
14751         is not changed.
14752         (__bump_nl_timestamp): New function.
14753         (__free_in6ai): New function.
14755 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
14757         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
14758         close_not_cancel_no_status here.
14759         (__check_pf): Reorganize code a bit to not call close twice if OOM.
14761 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
14763         [BZ #13276]
14764         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
14765         return value.
14767         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
14768         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
14769         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
14771 2011-07-03  Andreas Jaeger  <aj@suse.de>
14773         [BZ #10709]
14774         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
14775         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
14776         * math/libm-test.inc (sin_test): Add test case.
14778 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
14780         [BZ #13337]
14781         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
14782         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14784         * elf/chroot_canon.c (chroot_canon): Cleanups.
14786         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
14788         [BZ #13335]
14789         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
14790         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14792         * string/test-strchr.c: Make usable for strchrnul testing.
14793         * string/test-strchrnul.c: New file.
14794         * string/Makefile (strop-tests): Add strchrnul.
14796         * po/it.po: Update from translation team.
14797         * po/es.po: Likewise.
14799 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
14801         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
14802         the three constants needed as parameters.  Drop the others.
14803         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
14804         __m128i_strloadu_tolower.
14805         Create and initialize variable zero and use it in all the places
14806         where _mm_setzero_si128 was used.
14808         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
14809         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
14810         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
14811         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
14812         anymore.
14813         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
14814         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
14815         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
14816         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
14817         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
14818         __mpranred, __mptan.
14819         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
14820         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
14821         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
14822         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
14823         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
14824         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
14825         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
14826         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
14827         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
14829 2011-10-28  Andreas Schwab  <schwab@redhat.com>
14831         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
14832         redefine if SHARED.
14833         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
14835         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
14836         wide char related routines to wcsmbs subdir.
14838 2011-10-27  Andreas Schwab  <schwab@redhat.com>
14840         [BZ #13344]
14841         * misc/sys/cdefs.h (__THROWNL): Define.
14842         * posix/unistd.h: Use __THREADNL instead of __THREAD
14843         for memory synchronization functions.
14845 2011-10-26  Roland McGrath  <roland@hack.frob.com>
14847         [BZ #13349]
14848         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
14849         doesn't exist.
14850         * manual/stdio.texi (Obstack Streams): Node removed.
14852 2011-10-26  Andreas Schwab  <schwab@redhat.com>
14854         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
14855         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14856         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14858         * math/math_private.h (math_force_eval): Allow non-addressable
14859         arguments.
14860         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
14862 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
14864         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
14865         file is not needed.
14867         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
14868         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14869         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14870         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14871         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14872         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14873         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14874         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
14875         Add AVX variants.
14876         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
14877         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
14878         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
14879         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
14880         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
14881         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
14882         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
14883         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
14884         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
14885         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
14886         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
14887         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
14888         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
14889         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
14890         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
14891         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
14892         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
14893         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
14894         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
14896         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
14897         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
14899         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
14900         place.  Use VEX encoding when compiling for AVX.
14902 2011-10-25  Andreas Schwab  <schwab@redhat.com>
14904         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
14905         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14907         * string/test-strchr.c (do_test): Don't generate NUL bytes.
14909 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
14911         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
14912         useless if() expression.
14913         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14914         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14915         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14916         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14917         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14918         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14919         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14920         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14921         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14922         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14923         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14924         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14925         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14926         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14927         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14928         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14929         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14930         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14931         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14933         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
14935 2011-10-25  Andreas Schwab  <schwab@redhat.com>
14937         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
14938         condition.
14939         * elf/dl-fini.c (_dl_sort_fini): Likewise.
14941 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
14943         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
14944         .text section.  Avoid duplicate constants.
14945         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14946         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14947         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14948         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14949         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14950         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14951         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14952         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14953         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14954         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
14955         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14956         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14957         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14958         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14959         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14960         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14961         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14962         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14963         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14964         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14965         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14966         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14967         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14968         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
14969         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
14970         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
14971         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
14972         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
14973         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
14974         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14975         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
14976         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14977         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14978         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
14979         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
14980         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14981         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14982         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
14983         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
14984         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
14985         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
14986         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
14987         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
14988         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14989         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14991 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
14993         * sysdeps/x86_64/dla.h: Move to ...
14994         * sysdeps/x86_64/fpu/dla.h: ...here.
14995         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
14996         situations.  Use __builtin_fma only for gcc 4.6 and up.
14998         * config.make.in: Add have-mfma4 entry.
14999         * configure.in: Substitute libc_cv_cc_fma4.
15000         * math/Makefile (dbl-only-routines): Add sincostab.
15001         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
15002         Use __sincostab not sincos.
15003         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
15004         name is a macro.
15005         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15006         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15007         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15008         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
15009         using __copysign.
15010         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
15011         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
15012         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
15013         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
15014         and __inv.
15015         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
15016         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
15017         __copysign.
15018         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
15019         define aliases when function name is a macro.
15020         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
15021         sysdeps/ieee754/dbl-64/sincos.tbl.
15022         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
15023         fma4-enabled routines.
15024         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
15025         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
15026         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
15027         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
15028         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
15029         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
15030         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
15031         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
15032         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
15033         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
15034         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
15035         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
15036         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
15037         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
15038         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
15039         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
15040         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
15041         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
15042         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
15043         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
15044         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
15045         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
15046         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
15047         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
15048         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
15049         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
15050         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
15051         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
15052         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
15053         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
15055         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
15056         rename.
15057         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15058         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15059         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15060         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15061         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15062         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15063         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15064         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15066 2011-10-24  Andreas Schwab  <schwab@redhat.com>
15068         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
15070 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
15072         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
15074         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
15075         prediction.
15076         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
15078         * string/strnlen.c: Don't define STRNLEN, reverse logic.
15079         Remove unused variable magic_bits.
15080         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
15082         * string/strnlen.c: Define and use STRNLEN macro.
15083         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
15084         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
15085         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
15086         * wcsmbs/wcslen.c: Define and use WCSLEN.
15087         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
15088         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
15089         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
15090         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
15091         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
15092         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
15093         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15095 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15097         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15098         strnlen-sse2-no-bsf.
15099         Rename strlen-no-bsf to strlen-sse2-no-bsf.
15100         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
15101         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
15102         Add strnlen support.
15103         (USE_AS_STRNLEN): New macro.
15104         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
15105         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
15106         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
15107         * sysdeps/x86_64/wcslen.S: New file.
15109 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
15111         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15112         XMM-moves are used for copying on small sizes.
15114 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15116         * wcsmbs/Makefile (strop-tests): Add wcschr.
15117         * wcsmbs/test-wcschr.c: New file.
15118         * string/test-strchr.c: Update.
15119         Add wcschr support.
15120         (WIDE): New macro.
15122 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15124         * wcsmbs/Makefile (strop-tests): Add wcslen.
15125         * wcsmbs/test-wcslen.c: New file.
15126         * string/test-strlen.c: Update.
15127         Add wcslen support.
15128         (WIDE): New macro.
15130 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
15132         * po/it.po: Update from translation team.
15134 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15136         * sysdeps/x86_64/wcscmp.S: Update.
15137         Fix wrong comparison semantics.
15138         wcscmp shall use signed comparison not unsigned.
15139         Don't use substraction to avoid overflow bug.
15140         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
15141         * wcsmbc/wcscmp.c: Likewise.
15142         * string/test-strcmp.c: Likewise.
15143         Add new tests to check cases with negative values.
15145 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
15147         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
15148         * sysdeps/x86_64/dla.h: ...here.  New file.
15149         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
15150         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15151         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15152         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15153         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15154         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15155         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15156         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15157         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15159 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
15161         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
15162         __ynl_finite aliases.
15164 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
15166         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15168         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
15169         define DLA_FMA.
15170         [DLA_FMA] (EMULV): Use DLA_FMA.
15171         [DLA_FMA] (MUL12): Use EMULV.
15172         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
15173         that are not needed.
15174         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15175         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15176         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15177         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15178         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15179         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15180         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15182 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
15184         * math/s_nan.c: Undef __nan.
15185         * math/s_nanf.c: Undef __nanf.
15186         * math/s_nanl.c: Undef __nanl.
15187         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
15188         "math_private.h".
15190 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
15192         * math/s_catan.c: Add branch predictions.
15193         * math/s_catanf.c: Likewise.
15194         * math/s_catanh.c: Likewise.
15195         * math/s_catanhf.c: Likewise.
15196         * math/s_catanhl.c: Likewise.
15197         * math/s_catanl.c: Likewise.
15198         * math/s_cexp.c: Likewise.
15199         * math/s_cexpf.c: Likewise.
15200         * math/s_cexpl.c: Likewise.
15201         * math/s_clog.c: Likewise.
15202         * math/s_clog10.c: Likewise.
15203         * math/s_clog10f.c: Likewise.
15204         * math/s_clog10l.c: Likewise.
15205         * math/s_clogf.c: Likewise.
15206         * math/s_clogl.c: Likewise.
15207         * math/s_csqrt.c: Likewise.
15208         * math/s_csqrtf.c: Likewise.
15209         * math/s_csqrtl.c: Likewise.
15210         * math/s_ctanf.c: Likewise.
15211         * math/s_ctanh.c: Likewise.
15212         * math/s_ctanhf.c: Likewise.
15213         * math/s_ctanhl.c: Likewise.
15214         * math/s_ctanl.c: Likewise.
15216         * math/math_private.h: Define __nan, __nanf, __nanl.
15217         * math/s_cacosh.c: Include <math_private.h>.
15218         * math/s_cacoshl.c: Likewise.
15219         * math/s_casinh.c: Likewise.
15220         * math/s_casinhf.c: Likewise.
15221         * math/s_casinhl.c: Likewise.
15222         * math/s_ccos.c: Rely entire on ccosh.
15223         * math/s_ccosf.c: Rely entire on ccoshf.
15224         * math/s_ccosl.c: Rely entirely on ccoshl.
15225         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
15226         Remove tests for FE_INVALID.
15227         * math/s_ccoshf.c: Likewise.
15228         * math/s_ccoshl.c: Likewise.
15229         * math/s_csin.c: Likewise.
15230         * math/s_csinf.c: Likewise.
15231         * math/s_csinh.c Likewise.
15232         * math/s_csinhf.c: Likewise.
15233         * math/s_csinhl.c: Likewise.
15234         * math/s_csinl.c: Likewise.
15235         * math/s_ctan.c: Likewise.
15236         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
15237         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
15238         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
15240 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
15242         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
15243         compilation problems.
15245         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
15246         __builtin_expect.
15248 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
15250         * sysdeps/i386/configure.in: Test for -mfma4 option.
15251         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
15252         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
15253         COMMON_CPUID_INDEX_80000001.
15254         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
15255         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
15256         use it if FMA3 is not supported.
15257         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15259         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
15260         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15262 2011-10-20  Andreas Schwab  <schwab@redhat.com>
15264         [BZ #12892]
15265         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
15266         it would create a cycle with a link time dependency.
15268 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
15270         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
15271         instruction.
15272         * string/Makefile (strop-tests): Add rawmemchr.
15273         * string/test-rawmemchr.c: New file.
15275         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
15276         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
15277         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
15278         when compiling str{,n}casecmp and when AVX is available.  Hook up
15279         new optimized code in initializers.
15281 2011-10-19  Andreas Schwab  <schwab@redhat.com>
15283         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
15284         __feraiseexcept instead of feraiseexcept.
15286 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
15288         * math/math_private.h: Define defaults for libc_fetestexcept and
15289         libc_feupdateenv.
15290         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
15291         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15292         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15293         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15294         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15295         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15296         libc_fetestexcept and libc_feupdateenv.
15298         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
15299         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
15300         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
15301         * sysdeps/x86_64/fpu/math_private.h: Define special version of
15302         libc_feholdexcept_setround.
15304         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
15305         Add s_nearbyint-c and s_nearbyintf-c.
15306         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
15307         nearbyintf inlines.
15308         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
15309         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
15310         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
15311         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
15313         * math/math_private.h: Define defaults for libc_fegetround,
15314         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
15315         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
15316         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
15317         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
15318         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
15319         standard functions.
15320         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15321         Remove comments and hacks for old compiler versions.
15322         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15323         libc_fegetround, libc_fesetround, libc_feholdexcept, and
15324         libc_feholdexceptl.
15326 2011-10-18  Andreas Schwab  <schwab@redhat.com>
15328         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
15329         (__feraiseexcept_renamed): Add __NTH.
15330         (feraiseexcept): Add __NTH.  Rename local variables to fix
15331         namespace violations.
15333 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
15335         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
15337         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
15339         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
15340         recently added interfaces.
15341         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
15343         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
15344         about macro parameter expansion.
15346         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
15347         __NO_MATH_INLINES is defined.  Cleanups.
15349         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
15350         and __floorf is target has SSE4.1.
15351         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
15352         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
15353         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
15354         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
15356         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
15357         name.
15358         (floorf): Likewise.
15360         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
15362 2011-10-17  Andreas Schwab  <schwab@redhat.com>
15364         * misc/sys/cdefs.h: Fix last change.
15366         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
15367         database lookup.
15369 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
15371         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
15373         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
15374         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15375         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15376         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15377         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15378         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15379         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15380         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15381         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15382         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
15383         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
15384         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
15385         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
15386         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
15387         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
15388         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
15389         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
15390         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
15391         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
15392         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
15393         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
15394         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
15396         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
15397         ceil, ceilf, floor, floorf.
15399         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
15400         Perform IRELATIVE relocations last.
15402         * elf/do-rel.h: Add another parameter nrelative, replacing the
15403         local variable with the same name.  Change name of the function
15404         to end in Rel or Rela (uppercase).
15405         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
15406         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
15407         elf_dynamic_do_##reloc function.
15409 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
15411         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
15412         is sufficient, at least on modern CPUs.
15414         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
15416         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
15417         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
15419         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
15420         __expl_finite.
15421         * math/bits/math-finite.h: Add entries for exp.
15422         * math/e_expl.c: Add __*_finite alias.
15423         * sysdeps/i386/fpu/e_exp.S: Likewise.
15424         * sysdeps/i386/fpu/e_expf.S: Likewise.
15425         * sysdeps/i386/fpu/e_expl.c: Likewise.
15426         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15427         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15428         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15429         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15430         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
15431         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15432         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15434         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
15435         is sufficient, at least on modern CPUs.
15437         * ctype/ctype-info.c (__ctype_init): Define.
15438         * include/ctype.h (__ctype_init): Declare.
15439         (__ctype_b_loc): The variable is always initialized.
15440         (__ctype_toupper_loc): Likewise.
15441         (__ctype_tolower_loc): Likewise.
15442         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
15443         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
15445 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
15447         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
15449         * configure.in: Also look in $cxxmachine/include for C++ system
15450         headers.
15452 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15454         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
15455         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
15456         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
15457         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
15458         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
15459         (USE_AS_WMEMCMP): New macro.
15460         Fixing indents.
15461         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
15462         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
15463         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
15464         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
15465         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15466         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
15467         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
15468         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
15469         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
15470         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
15471         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
15472         (USE_AS_WMEMCMP): New macro.
15473         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
15474         * sysdeps/string/test-memcmp.c: Update.
15475         Fix simple_wmemcmp.
15476         Add new tests.
15477         * wcsmbs/wmemcmp.c: Update.
15478         (WMEMCMP): New macro.
15479         Fix overflow bug.
15481 2011-10-12  Andreas Jaeger  <aj@suse.de>
15483         [BZ #13268]
15484         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
15486 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
15488         * libio/iofwide.c (do_length): Avoid warning.
15490         * ctype/ctype.h (__isctype_f): Add missing __THROW.
15492 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
15494         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
15496         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
15497         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
15498         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
15499         * sysdeps/i386/i686/fpu/e_log.S: New file.
15500         * sysdeps/i386/i686/fpu/e_logf.S: New file.
15501         * sysdeps/i386/i686/fpu/e_logl.S: New file.
15503         * ctype/ctype.h: Add support for inlined isXXX functions when
15504         compiling C++ code.
15506 2011-10-14  Andreas Schwab  <schwab@redhat.com>
15508         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15510         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
15512 2011-10-13  Roland McGrath  <roland@hack.frob.com>
15514         [BZ #13291]
15515         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
15517 2011-10-13  Andreas Schwab  <schwab@redhat.com>
15519         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
15520         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
15521         feraiseexcept.
15523         * sysdeps/x86_64/memrchr.S: Check for zero size.
15525         * string/stratcliff.c: Add memrchr tests.
15527 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15529         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15530         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
15531         rawmemchr-sse2 rawmemchr-sse2-bsf.
15532         * sysdeps/i386/i686/multiarch/memchr.S: New file.
15533         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
15534         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
15535         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
15536         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
15537         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
15538         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
15539         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
15540         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
15541         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
15542         * string/memrchr.c (MEMRCHR): New macro.
15544 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
15546         Add integration with gcc's -ffinite-math-only and optimize wrapper
15547         functions in libm.
15548         * Versions.def: Define GLIBC_2.15 version for libm.
15549         * math/Makefile (headers): Add bits/math-finite.h.
15550         * math/bits/math-finite.h: New file.
15551         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
15552         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
15553         * math/e_acoshl.c: Add __*_finite alias.
15554         * math/e_acosl.c: Likewise.
15555         * math/e_asinl.c: Likewise.
15556         * math/e_atan2l.c: Likewise.
15557         * math/e_atanhl.c: Likewise.
15558         * math/e_coshl.c: Likewise.
15559         * math/e_exp10.c: Likewise.
15560         * math/e_exp10f.c: Likewise.
15561         * math/e_exp10l.c: Likewise.
15562         * math/e_exp2l.c: Likewise.
15563         * math/e_fmodl.c: Likewise.
15564         * math/e_gammal_r.c: Likewise.
15565         * math/e_hypotl.c: Likewise.
15566         * math/e_j0l.c: Likewise.
15567         * math/e_j1l.c: Likewise.
15568         * math/e_jnl.c: Likewise.
15569         * math/e_lgammal_r.c: Likewise.
15570         * math/e_log10l.c: Likewise.
15571         * math/e_log2l.c: Likewise.
15572         * math/e_logl.c: Likewise.
15573         * math/e_powl.c: Likewise.
15574         * math/e_sinhl.c: Likewise.
15575         * math/e_sqrtl.c: Likewise.
15576         * math/e_scalb.c: Completely rewritten and optimized.
15577         * math/e_scalbf.c: Likewise.
15578         * math/e_scalbl.c: Likewise.
15579         * math/w_acos.c: Likewise.
15580         * math/w_acosf.c: Likewise.
15581         * math/w_acosl.c: Likewise.
15582         * math/w_acosh.c: Likewise.
15583         * math/w_acoshf.c: Likewise.
15584         * math/w_acoshl.c: Likewise.
15585         * math/w_asin.c: Likewise.
15586         * math/w_asinf.c: Likewise.
15587         * math/w_asinl.c: Likewise.
15588         * math/w_atan2.c: Likewise.
15589         * math/w_atan2f.c: Likewise.
15590         * math/w_atan2l.c: Likewise.
15591         * math/w_atanh.c: Likewise.
15592         * math/w_atanhf.c: Likewise.
15593         * math/w_atanhl.c: Likewise.
15594         * math/w_exp10.c: Likewise.
15595         * math/w_exp10f.c: Likewise.
15596         * math/w_exp10l.c: Likewise.
15597         * math/w_fmod.c: Likewise.
15598         * math/w_fmodf.c: Likewise.
15599         * math/w_fmodl.c: Likewise.
15600         * math/w_j0.c: Likewise.
15601         * math/w_j0f.c: Likewise.
15602         * math/w_j0l.c: Likewise.
15603         * math/w_j1.c: Likewise.
15604         * math/w_j1f.c: Likewise.
15605         * math/w_j1l.c: Likewise.
15606         * math/w_jn.c: Likewise.
15607         * math/w_jnf.c: Likewise.
15608         * math/w_log.c: Likewise.
15609         * math/w_logf.c: Likewise.
15610         * math/w_logl.c: Likewise.
15611         * math/w_log10.c: Likewise.
15612         * math/w_log10f.c: Likewise.
15613         * math/w_log10l.c: Likewise.
15614         * math/w_log2.c: Likewise.
15615         * math/w_log2f.c: Likewise.
15616         * math/w_log2l.c: Likewise.
15617         * math/w_pow.c: Likewise.
15618         * math/w_powf.c: Likewise.
15619         * math/w_powl.c: Likewise.
15620         * math/w_remainder.c: Likewise.
15621         * math/w_remainderf.c: Likewise.
15622         * math/w_remainderl.c: Likewise.
15623         * math/w_scalb.c: Likewise.
15624         * math/w_scalbf.c: Likewise.
15625         * math/w_scalbl.c: Likewise.
15626         * math/w_sqrt.c: Likewise.
15627         * math/w_sqrtf.c: Likewise.
15628         * math/w_sqrtl.c: Likewise.
15629         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
15630         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
15631         used.
15632         * math/math_private.h: Declare __kernel_standard_f.
15633         * math/w_cosh.c: Remove cruft and optimize a bit.
15634         * math/w_coshf.c: Likewise.
15635         * math/w_coshl.c: Likewise.
15636         * math/w_exp2.c: Likewise.
15637         * math/w_exp2f.c: Likewise.
15638         * math/w_exp2l.c: Likewise.
15639         * math/w_hypot.c: Likewise.
15640         * math/w_hypotf.c: Likewise.
15641         * math/w_hypotl.c: Likewise.
15642         * math/w_lgamma.c: Likewise.
15643         * math/w_lgamma_r.c: Likewise.
15644         * math/w_lgammaf.c: Likewise.
15645         * math/w_lgammaf_r.c: Likewise.
15646         * math/w_lgammal.c: Likewise.
15647         * math/w_lgammal_r.c: Likewise.
15648         * math/w_sinh.c: Likewise.
15649         * math/w_sinhf.c: Likewise.
15650         * math/w_sinhl.c: Likewise.
15651         * math/w_tgamma.c: Likewise.
15652         * math/w_tgammaf.c: Likewise.
15653         * math/w_tgammal.c: Likewise.
15654         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15655         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15656         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
15657         Minor optimizations.  Pretty printing.  Remove cruft.
15658         * sysdeps/i386/fpu/e_acosf.S: Likewise.
15659         * sysdeps/i386/fpu/e_acosh.S: Likewise.
15660         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15661         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15662         * sysdeps/i386/fpu/e_acosl.c: Likewise.
15663         * sysdeps/i386/fpu/e_asin.S: Likewise.
15664         * sysdeps/i386/fpu/e_asinf.S: Likewise.
15665         * sysdeps/i386/fpu/e_atan2.S: Likewise.
15666         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
15667         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
15668         * sysdeps/i386/fpu/e_atanh.S: Likewise.
15669         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15670         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15671         * sysdeps/i386/fpu/e_exp10.S: Likewise.
15672         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
15673         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
15674         * sysdeps/i386/fpu/e_exp2.S: Likewise.
15675         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
15676         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
15677         * sysdeps/i386/fpu/e_fmod.S: Likewise.
15678         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
15679         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
15680         * sysdeps/i386/fpu/e_hypot.S: Likewise.
15681         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
15682         * sysdeps/i386/fpu/e_log.S: Likewise.
15683         * sysdeps/i386/fpu/e_log10.S: Likewise.
15684         * sysdeps/i386/fpu/e_log10f.S: Likewise.
15685         * sysdeps/i386/fpu/e_log10l.S: Likewise.
15686         * sysdeps/i386/fpu/e_log2.S: Likewise.
15687         * sysdeps/i386/fpu/e_log2f.S: Likewise.
15688         * sysdeps/i386/fpu/e_log2l.S: Likewise.
15689         * sysdeps/i386/fpu/e_logf.S: Likewise.
15690         * sysdeps/i386/fpu/e_logl.S: Likewise.
15691         * sysdeps/i386/fpu/e_pow.S: Likewise.
15692         * sysdeps/i386/fpu/e_powf.S: Likewise.
15693         * sysdeps/i386/fpu/e_powl.S: Likewise.
15694         * sysdeps/i386/fpu/e_remainder.S: Likewise.
15695         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
15696         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
15697         * sysdeps/i386/fpu/e_scalb.S: Likewise.
15698         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15699         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15700         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
15701         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
15702         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
15703         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15704         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15705         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15706         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15707         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15708         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15709         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15710         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15711         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15712         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15713         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15714         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15715         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15716         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15717         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15718         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15719         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15720         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15721         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15722         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15723         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15724         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15725         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15726         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15727         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15728         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15729         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15730         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15731         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15732         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15733         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15734         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15735         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15736         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15737         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15738         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15739         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15740         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15741         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15742         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15743         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15744         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15745         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15746         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15747         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15748         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15749         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15750         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15751         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15752         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15753         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15754         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15755         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15756         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15757         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15758         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15759         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15760         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15761         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15762         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15763         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15764         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15765         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15766         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15767         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15768         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15769         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15770         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15771         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15772         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15773         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15774         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15775         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15776         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15777         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15778         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15779         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15780         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15781         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15782         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15783         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15784         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15785         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15786         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15787         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15788         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15789         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15790         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15791         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15792         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15793         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15794         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15795         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15796         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15797         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15798         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15799         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15800         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15801         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15802         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15803         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
15804         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
15805         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
15806         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
15807         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15808         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15809         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15810         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15811         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
15812         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15813         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
15814         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
15815         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
15816         (__isnanf): Likewise.
15817         (__isinf_ns): Likewise.
15818         (__isinf_nsf): Likewise.
15819         (__finite): Likewise.
15820         (__finitef): Likewise.
15821         (__ieee754_sqrt): Define as macro.
15822         (__ieee754_sqrtf): Define as macro.
15823         (__ieee754_sqrtl): Define as macro.
15824         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
15825         inlined copy.
15826         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
15827         __FINITE_MATH_ONLY__ consistent.
15828         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
15830 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
15832         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
15833         of rawmemchr.
15835         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
15837 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
15839         * po/ja.po: Update from translation team.
15841 2011-10-08  Roland McGrath  <roland@hack.frob.com>
15843         * locale/programs/locarchive.c (prepare_address_space): New function.
15844         (create_archive, enlarge_archive, open_archive): Use it.
15846         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
15847         inside [SHARED], where it is used.
15849         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
15851         * nss/getent.c (netgroup_keys): Remove unused variable.
15852         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15854 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
15856         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
15857         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
15858         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
15859         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
15860         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
15861         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
15862         * math/Makefile (libm-calls): Add s_isinf_ns.
15863         * math/divtc3.c: Use __isinf_nsl instead of isinf.
15864         * math/multc3.c: Likewise.
15865         * math/s_casin.c: Likewise.
15866         * math/s_casinf.c: Likewise.
15867         * math/s_casinl.c: Likewise.
15868         * math/s_ccos.c: Likewise.
15869         * math/s_ccosf.c: Likewise.
15870         * math/s_ccosl.c: Likewise.
15871         * math/s_ctan.c: Likewise.
15872         * math/s_ctanf.c: Likewise.
15873         * math/s_ctanh.c: Likewise.
15874         * math/s_ctanhf.c: Likewise.
15875         * math/s_ctanhl.c: Likewise.
15876         * math/s_ctanl.c: Likewise.
15877         * math/w_fmod.c: Likewise.
15878         * math/w_fmodf.c: Likewise.
15879         * math/w_fmodl.c: Likewise.
15880         * math/w_remainder.c: Likewise.
15881         * math/w_remainderf.c: Likewise.
15882         * math/w_remainderl.c: Likewise.
15883         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
15884         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
15885         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
15886         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
15887         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
15888         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
15889         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
15890         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
15892         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
15893         of the number.
15894         * stdio-common/printf_fphex.c: Likewise.
15895         * stdio-common/printf_size.c: Likewise.
15897         * math/e_exp10.c: Include math_private.h using <...> not "...".
15898         * math/e_exp10f.c: Likewise.
15899         * math/e_exp10l.c: Likewise.
15900         * math/e_exp2l.c: Likewise.
15901         * math/e_j0l.c: Likewise.
15902         * math/e_j1l.c: Likewise.
15903         * math/e_jnl.c: Likewise.
15904         * math/e_lgammal_r.c: Likewise.
15905         * math/e_rem_pio2l.c: Likewise.
15906         * math/e_scalb.c: Likewise.
15907         * math/e_scalbf.c: Likewise.
15908         * math/e_scalbl.c: Likewise.
15909         * math/k_cosl.c: Likewise.
15910         * math/k_sinl.c: Likewise.
15911         * math/k_tanl.c: Likewise.
15912         * math/s_cacoshf.c: Likewise.
15913         * math/s_catan.c: Likewise.
15914         * math/s_catanf.c: Likewise.
15915         * math/s_catanh.c: Likewise.
15916         * math/s_catanhf.c: Likewise.
15917         * math/s_catanhl.c: Likewise.
15918         * math/s_catanl.c: Likewise.
15919         * math/s_ccosh.c: Likewise.
15920         * math/s_ccoshf.c: Likewise.
15921         * math/s_ccoshl.c: Likewise.
15922         * math/s_cexp.c: Likewise.
15923         * math/s_cexpf.c: Likewise.
15924         * math/s_cexpl.c: Likewise.
15925         * math/s_clog.c: Likewise.
15926         * math/s_clog10.c: Likewise.
15927         * math/s_clog10f.c: Likewise.
15928         * math/s_clog10l.c: Likewise.
15929         * math/s_clogf.c: Likewise.
15930         * math/s_clogl.c: Likewise.
15931         * math/s_csin.c: Likewise.
15932         * math/s_csinf.c: Likewise.
15933         * math/s_csinh.c: Likewise.
15934         * math/s_csinhf.c: Likewise.
15935         * math/s_csinhl.c: Likewise.
15936         * math/s_csinl.c: Likewise.
15937         * math/s_csqrt.c: Likewise.
15938         * math/s_csqrtf.c: Likewise.
15939         * math/s_csqrtl.c: Likewise.
15940         * math/s_ctan.c: Likewise.
15941         * math/s_ctanf.c: Likewise.
15942         * math/s_ctanh.c: Likewise.
15943         * math/s_ctanhf.c: Likewise.
15944         * math/s_ctanhl.c: Likewise.
15945         * math/s_ctanl.c: Likewise.
15946         * math/s_ldexp.c: Likewise.
15947         * math/s_ldexpf.c: Likewise.
15948         * math/s_ldexpl.c: Likewise.
15949         * math/s_significand.c: Likewise.
15950         * math/s_significandf.c: Likewise.
15951         * math/s_significandl.c: Likewise.
15952         * math/w_acos.c: Likewise.
15953         * math/w_acosf.c: Likewise.
15954         * math/w_acosh.c: Likewise.
15955         * math/w_acoshf.c: Likewise.
15956         * math/w_acoshl.c: Likewise.
15957         * math/w_acosl.c: Likewise.
15958         * math/w_asin.c: Likewise.
15959         * math/w_asinf.c: Likewise.
15960         * math/w_asinl.c: Likewise.
15961         * math/w_atan2.c: Likewise.
15962         * math/w_atan2f.c: Likewise.
15963         * math/w_atan2l.c: Likewise.
15964         * math/w_atanh.c: Likewise.
15965         * math/w_atanhf.c: Likewise.
15966         * math/w_atanhl.c: Likewise.
15967         * math/w_cosh.c: Likewise.
15968         * math/w_coshf.c: Likewise.
15969         * math/w_coshl.c: Likewise.
15970         * math/w_dremf.c: Likewise.
15971         * math/w_exp10.c: Likewise.
15972         * math/w_exp10f.c: Likewise.
15973         * math/w_exp10l.c: Likewise.
15974         * math/w_exp2.c: Likewise.
15975         * math/w_exp2f.c: Likewise.
15976         * math/w_fmod.c: Likewise.
15977         * math/w_fmodf.c: Likewise.
15978         * math/w_fmodl.c: Likewise.
15979         * math/w_hypot.c: Likewise.
15980         * math/w_hypotf.c: Likewise.
15981         * math/w_hypotl.c: Likewise.
15982         * math/w_j0.c: Likewise.
15983         * math/w_j0f.c: Likewise.
15984         * math/w_j0l.c: Likewise.
15985         * math/w_j1.c: Likewise.
15986         * math/w_j1f.c: Likewise.
15987         * math/w_j1l.c: Likewise.
15988         * math/w_jn.c: Likewise.
15989         * math/w_jnf.c: Likewise.
15990         * math/w_jnl.c: Likewise.
15991         * math/w_lgamma.c: Likewise.
15992         * math/w_lgamma_r.c: Likewise.
15993         * math/w_lgammaf.c: Likewise.
15994         * math/w_lgammaf_r.c: Likewise.
15995         * math/w_lgammal.c: Likewise.
15996         * math/w_lgammal_r.c: Likewise.
15997         * math/w_log.c: Likewise.
15998         * math/w_log10.c: Likewise.
15999         * math/w_log10f.c: Likewise.
16000         * math/w_log10l.c: Likewise.
16001         * math/w_log2.c: Likewise.
16002         * math/w_log2f.c: Likewise.
16003         * math/w_log2l.c: Likewise.
16004         * math/w_logf.c: Likewise.
16005         * math/w_logl.c: Likewise.
16006         * math/w_pow.c: Likewise.
16007         * math/w_powf.c: Likewise.
16008         * math/w_powl.c: Likewise.
16009         * math/w_remainder.c: Likewise.
16010         * math/w_remainderf.c: Likewise.
16011         * math/w_remainderl.c: Likewise.
16012         * math/w_scalb.c: Likewise.
16013         * math/w_scalbf.c: Likewise.
16014         * math/w_scalbl.c: Likewise.
16015         * math/w_sinh.c: Likewise.
16016         * math/w_sinhf.c: Likewise.
16017         * math/w_sinhl.c: Likewise.
16018         * math/w_sqrt.c: Likewise.
16019         * math/w_sqrtf.c: Likewise.
16020         * math/w_sqrtl.c: Likewise.
16021         * math/w_tgamma.c: Likewise.
16022         * math/w_tgammaf.c: Likewise.
16023         * math/w_tgammal.c: Likewise.
16025         * po/ja.po: Update from translation team.
16027 2011-09-29  Andreas Jaeger  <aj@suse.de>
16029         [BZ #13179]
16030         * sunrpc/netname.c (netname2host): Fix logic.
16032         [BZ #6779]
16033         [BZ #6783]
16034         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
16035         correctly.
16036         * math/w_remainder.c (__remainder): Likewise.
16037         * math/w_remainderf.c (__remainderf): Likewise.
16038         * math/libm-test.inc (remainder_test): Add test cases.
16040 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16042         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
16043         sdiv_qrnnd.
16045 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
16047         * string/test-memcmp.c: Avoid unncessary #defines.
16048         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16050 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16052         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
16053         Use new sse2 version for core i3 - i7 as it's faster
16054         than sse42 version.
16055         (bit_Prefer_PMINUB_for_stringop): New.
16056         * sysdeps/x86_64/rawmemchr.S: Update.
16057         Replace with faster SSE2 version.
16058         * sysdeps/x86_64/memrchr.S: New file.
16059         * sysdeps/x86_64/memchr.S: Update.
16060         Replace with faster SSE2 version.
16062 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
16064         * elf/dl-load.c (lose): Add cast to avoid warning.
16066 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
16068         * po/ca.po: Update from translation team.
16070         * inet/getnetgrent_r.c: Hook up nscd.
16071         * nscd/Makefile (routines): Add nscd_netgroup.
16072         (nscd-modules): Add netgroupcache.
16073         (CFLAGS-netgroupcache.c): Define.
16074         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
16075         (cache_search): Add const to second parameter.
16076         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
16077         INNETGR.
16078         (dbs): Add netgrdb entry.
16079         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
16080         (verify_persistent_db): Handle netgrdb.
16081         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
16082         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
16083         GETFDNETGR.
16084         (netgroup_response_header): Define.
16085         (innetgroup_response_header): Define.
16086         (datahead): Add netgroup_response_header and innetgroup_response_header
16087         elements.
16088         * nscd/nscd.conf: Add entries for netgroup cache.
16089         * nscd/nscd.h (dbtype): Add netgrdb.
16090         (_PATH_NSCD_NETGROUP_DB): Define.
16091         (netgroup_iov_disabled): Declare.
16092         (xmalloc, xcalloc, xrealloc): Move declarations here.
16093         (cache_search): Adjust prototype.
16094         Add netgroup-related prototypes.
16095         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
16096         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
16097         (__nscd_innetgr): Declare.
16098         * nscd/selinux.c (perms): Use access_vector_t as element type and
16099         add netgroup-related initializers.
16100         * nscd/netgroupcache.c: New file.
16101         * nscd/nscd_netgroup.c: New file.
16102         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
16103         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
16104         For four parameters use innetgr.
16105         * nss/nss_files/files-init.c: Add definition and callback for netgr.
16106         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
16107         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
16108         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
16110         * nscd/connections.c (register_traced_file): Don't register file
16111         for disabled databases.
16113 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
16115         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
16117         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
16118         from tree and freeing node.
16120 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
16122         * nss/nsswitch.c (__nss_database_lookup): Handle
16123         nss_parse_service_list out of memory case.
16125 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
16127         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
16128         out of memory case.
16130 2011-10-04  Andreas Schwab  <schwab@redhat.com>
16132         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
16133         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
16134         pass it down.
16135         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
16136         elf_machine_rela, elf_machine_lazy_rel.
16137         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
16138         (ELF_DYNAMIC_DO_REL): Likewise.
16139         (ELF_DYNAMIC_DO_RELA): Likewise.
16140         (ELF_DYNAMIC_RELOCATE): Likewise.
16141         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
16142         to ELF_DYNAMIC_DO_REL.
16143         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
16144         (dl_main): In trace mode always set __RTLD_NOIFUNC.
16145         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
16146         elf_machine_rela.
16147         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
16148         skip_ifunc, don't call ifunc function if non-zero.
16149         (elf_machine_rela): Likewise.
16150         (elf_machine_lazy_rel): Likewise.
16151         (elf_machine_lazy_rela): Likewise.
16152         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16153         (elf_machine_lazy_rel): Likewise.
16154         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16155         Likewise.
16156         (elf_machine_lazy_rel): Likewise.
16157         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16158         Likewise.
16159         (elf_machine_lazy_rel): Likewise.
16160         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
16161         (elf_machine_lazy_rel): Likewise.
16162         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
16163         (elf_machine_lazy_rel): Likewise.
16164         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16165         (elf_machine_lazy_rel): Likewise.
16166         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
16167         (elf_machine_lazy_rel): Likewise.
16168         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
16169         (elf_machine_lazy_rel): Likewise.
16170         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16171         (elf_machine_lazy_rel): Likewise.
16173 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
16175         * nss/nss_files/files-init.c (_nss_files_init): Use static
16176         initialization for all the *_traced_file variables.
16178 2011-09-28  Andreas Schwab  <schwab@redhat.com>
16180         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16182 2011-09-27  Roland McGrath  <roland@hack.frob.com>
16184         [BZ #13226]
16185         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
16187 2011-09-27  Andreas Schwab  <schwab@redhat.com>
16189         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16190         Reread the line before reparsing it.
16192 2011-09-26  Andreas Schwab  <schwab@redhat.com>
16194         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
16196 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
16197             Maxim Kuvyrkov  <maxim@codesourcery.com>
16198             Joseph Myers  <joseph@codesourcery.com>
16200         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
16201         if needed for __stack_chk_guard.
16203 2011-09-19  Roland McGrath  <roland@hack.frob.com>
16205         * sysdeps/posix/spawni.c (script_execute): Always define it.
16206         It will be optimized away if unused.
16207         (maybe_script_execute): New function.
16208         (__spawni): Call it.
16210         * Makerules: Don't include tls.make.
16211         (config-tls): Always set to thread.
16212         * tls.make.c: File removed.
16214 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
16216         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
16217         * config.make.in (CPPFLAGS-config): New substituted variable.
16219 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
16221         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
16223         [BZ #13192]
16224         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
16225         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
16227 2011-09-15  Roland McGrath  <roland@hack.frob.com>
16229         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
16230         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
16231         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16232         (CALL_FAIL): Likewise.
16233         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
16234         (CALL_FAIL): Macro removed.
16235         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
16237 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
16239         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
16240         for __FINITE_MATH_ONLY__ == 1.
16242 2011-09-15  Andreas Schwab  <schwab@redhat.com>
16244         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
16245         __ieee754_sqrt instead of sqrt.
16246         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
16247         __ieee754_sqrtf instead of sqrtf.
16248         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
16249         __floorf instead of floorf.
16250         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
16251         __floorf, __truncf instead of floorf, truncf.
16253 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
16255         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
16257         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
16258         __extern_always_inline.
16259         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
16260         32-bit.
16262 2011-09-14  Andreas Schwab  <schwab@redhat.com>
16264         * elf/rtld.c (dl_main): Also relocate in dependency order when
16265         doing symbol dependency testing.
16267 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
16269         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16270         Always define `refsym'.
16272 2011-09-13  Andreas Schwab  <schwab@redhat.com>
16274         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
16275         (__FD_ELT): Renamed from __FDELT.
16276         * misc/bits/select2.h (__FD_ELT): Likewise.
16277         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
16278         __FD_MASK instead of __FDELT, __FDMASK.
16279         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16280         Likewise.
16281         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16282         Likewise.
16284         * elf/Makefile (gen-ldd): Fix pattern.
16286         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
16287         (init_tls): Likewise.
16289 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
16291         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
16293 2011-09-12  Andreas Schwab  <schwab@redhat.com>
16295         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
16296         `struct cmsghdr *' instead of `void *'.
16297         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
16298         Likewise.
16300 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
16302         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
16303         if non-absolute.
16304         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
16305         ldd_rewrite_script.
16307 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
16309         * configure.in: Remove --with-tls option.
16310         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
16311         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
16312         out in case it is missing.
16313         * sysdeps/ia64/elf/configure.in: Likewise.
16314         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
16315         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
16316         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
16317         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
16318         * sysdeps/sh/elf/configure.in: Likewise.
16319         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
16320         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16321         * sysdeps/x86_64/elf/configure.in: Likewise.
16322         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
16323         * sysdeps/mach/hurd/tls.h: Likewise.
16325         [BZ #13067]
16326         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
16328         [BZ #13090]
16329         * configure.in: Fix use of AC_INIT.
16331         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
16333 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
16335         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
16336         __set_errno.
16337         * malloc/hooks.c: Likewise.
16339         [BZ #11929]
16340         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
16341         variables statically.
16342         (narenas): Initialize.
16343         (list_lock): Initialize.
16344         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
16345         initializtion of main_arena and list_lock.  Small cleanups.
16346         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
16347         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
16348         Add initializers to main_arena and mp_.
16349         (malloc_state): Remove pagesize member.  Change all users to use
16350         GLRO(dl_pagesize).
16352         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
16353         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
16354         is always initialized.
16356         * malloc/malloc.c: Removed unused configurations and dead code.
16357         * malloc/arena.c: Likewise.
16358         * malloc/hooks.c: Likewise.
16359         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
16361         * include/tls.h: Removed.  USE___THREAD must always be defined.
16362         * bits/libc-tsd.h: Don't handle !USE___THREAD.
16363         * elf/dl-libc.c: Likewise.
16364         * elf/dl-tsd.c: Likewise.
16365         * include/errno.h: Likewise.
16366         * include/netdb.h: Likewise.
16367         * include/resolv.h: Likewise.
16368         * inet/herrno-loc.c: Likewise.
16369         * inet/herrno.c: Likewise.
16370         * malloc/arena.c: Likewise.
16371         * malloc/hooks.c: Likewise.
16372         * malloc/malloc.c: Likewise.
16373         * resolv/res-state.c: Likewise.
16374         * resolv/res_libc.c: Likewise.
16375         * sysdeps/i386/dl-machine.h: Likewise.
16376         * sysdeps/ia64/dl-machine.h: Likewise.
16377         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16378         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16379         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16380         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16381         * sysdeps/sh/dl-machine.h: Likewise.
16382         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16383         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16384         * sysdeps/unix/i386/sysdep.S: Likewise.
16385         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16386         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16387         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16388         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16389         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16390         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16391         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16392         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16393         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16394         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16395         * sysdeps/unix/x86_64/sysdep.S: Likewise.
16396         * sysdeps/x86_64/dl-machine.h: Likewise.
16397         * tls.make.c: Likewise.
16399         * configure.in: Remove --with-__thread option.  Make tests for
16400         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
16401         tls_model attribute fail if no support is available.  Remove
16402         USE_IN_LIBIO.
16403         * Makeconfig: Adjust for dropped configure option.  All features are
16404         now mandatory.
16405         * Makerules: Likewise.
16406         * Versions.def: Likewise.
16407         * argp/argp-fmtstream.c: Likewise.
16408         * argp/argp-fmtstream.h: Likewise.
16409         * argp/argp-help.c: Likewise.
16410         * assert/assert.c: Likewise.
16411         * config.h.in: Likewise.
16412         * config.make.in: Likewise.
16413         * configure: Likewise.
16414         * configure.in: Likewise.
16415         * csu/Versions: Likewise.
16416         * csu/init.c: Likewise.
16417         * elf/tst-audit2.c: Likewise.
16418         * elf/tst-tls10.c: Likewise.
16419         * elf/tst-tls10.h: Likewise.
16420         * elf/tst-tls11.c: Likewise.
16421         * elf/tst-tls12.c: Likewise.
16422         * elf/tst-tls14.c: Likewise.
16423         * elf/tst-tlsmod11.c: Likewise.
16424         * elf/tst-tlsmod12.c: Likewise.
16425         * elf/tst-tlsmod13.c: Likewise.
16426         * elf/tst-tlsmod13a.c: Likewise.
16427         * elf/tst-tlsmod14a.c: Likewise.
16428         * elf/tst-tlsmod15b.c: Likewise.
16429         * elf/tst-tlsmod16a.c: Likewise.
16430         * elf/tst-tlsmod16b.c: Likewise.
16431         * elf/tst-tlsmod7.c: Likewise.
16432         * elf/tst-tlsmod8.c: Likewise.
16433         * elf/tst-tlsmod9.c: Likewise.
16434         * gmon/gmon.c: Likewise.
16435         * grp/fgetgrent_r.c: Likewise.
16436         * grp/putgrent.c: Likewise.
16437         * hurd/fopenport.c: Likewise.
16438         * include/libc-symbols.h: Likewise.
16439         * include/tls.h: Likewise.
16440         * intl/gettextP.h: Likewise.
16441         * intl/loadinfo.h: Likewise.
16442         * locale/global-locale.c: Likewise.
16443         * locale/localeinfo.h: Likewise.
16444         * mach/devstream.c: Likewise.
16445         * malloc/arena.c: Likewise.
16446         * malloc/set-freeres.c: Likewise.
16447         * misc/err.c: Likewise.
16448         * misc/getttyent.c: Likewise.
16449         * misc/mntent_r.c: Likewise.
16450         * posix/getopt.c: Likewise.
16451         * posix/wordexp.c: Likewise.
16452         * pwd/fgetpwent_r.c: Likewise.
16453         * resolv/Versions: Likewise.
16454         * resolv/res_hconf.c: Likewise.
16455         * shadow/fgetspent_r.c: Likewise.
16456         * shadow/putspent.c: Likewise.
16457         * stdio-common/printf_fphex.c: Likewise.
16458         * stdio-common/tmpfile.c: Likewise.
16459         * stdlib/abort.c: Likewise.
16460         * stdlib/fmtmsg.c: Likewise.
16461         * sunrpc/auth_unix.c: Likewise.
16462         * sunrpc/clnt_perr.c: Likewise.
16463         * sunrpc/clnt_tcp.c: Likewise.
16464         * sunrpc/clnt_udp.c: Likewise.
16465         * sunrpc/clnt_unix.c: Likewise.
16466         * sunrpc/openchild.c: Likewise.
16467         * sunrpc/svc_simple.c: Likewise.
16468         * sunrpc/svc_tcp.c: Likewise.
16469         * sunrpc/svc_udp.c: Likewise.
16470         * sunrpc/svc_unix.c: Likewise.
16471         * sunrpc/xdr.c: Likewise.
16472         * sunrpc/xdr_array.c: Likewise.
16473         * sunrpc/xdr_rec.c: Likewise.
16474         * sunrpc/xdr_ref.c: Likewise.
16475         * sunrpc/xdr_stdio.c: Likewise.
16477 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
16479         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16481 2011-07-03  Andreas Jaeger  <aj@suse.de>
16483         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
16484         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
16485         regenerate with gen-libm-tests.pl.
16487 2010-05-12  Petr Baudis  <pasky@suse.cz>
16489         [BZ #11589]
16490         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
16491         around j0() zero points by switching to j1().
16492         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16493         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16494         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16495         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16497 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
16499         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
16500         instead of 0.
16501         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
16502         instead of 0.                              .
16503         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16504         Patch in part by Pavel Roskin <proski@gnu.org>.
16506         [BZ #13138]
16507         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
16508         realloc.
16509         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
16510         Free memory block if necessary.
16512         [BZ #12847]
16513         * libio/genops.c (INTDEF): For string streams the _lock pointer can
16514         be NULL.  Don't lock in this case.
16516 2011-09-09  Roland McGrath  <roland@hack.frob.com>
16518         * elf/elf.h (ELFOSABI_GNU): New macro.
16519         (ELFOSABI_LINUX): Define to that.
16521 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
16523         * string/strncat.c (strncat): Undef the symbol in case it has been
16524         defined in bits/string.h.
16526 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
16528         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
16530         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
16531         link map.
16533 2011-08-17  Andreas Jaeger  <aj@suse.de>
16535         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
16537 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
16538             Ian Lance Taylor  <iant@google.com>
16540         * math/libm-test.inc (lround_test): New testcase.
16541         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
16543 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
16545         * Makefile: Remove support for automatic cvs check-ins.
16546         * Makerules: Likewise.
16547         * config.make.in: Likewise.
16548         * configure.in: Likewise.
16549         * intl/Makefile: Likewise.
16550         * locale/Makefile: Likewise.
16551         * po/Makefile: Likewise.
16552         * posix/Makefile: Likewise.
16553         * sysdeps/gnu/Makefile: Likewise.
16554         * sysdeps/mach/hurd/Makefile: Likewise.
16555         * sysdeps/sparc/sparc32/Makefile: Likewise.
16557         [BZ #13118]
16558         * posix/Makefile (bug-regex32-ENV): Define.
16559         Patch by John Stanley <jpsinthemix@verizon.net>.
16561         * misc/Makefile (headers): Add bits/select2.h.
16562         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
16563         * misc/bits/select2.h: New file.
16564         * include/bits/select2.h: New file.
16565         * debug/Makefile (routines): Add fdelt_chk.
16566         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
16567         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
16568         FD_ISSET.
16569         * debug/fdelt_chk.c: New file.
16571         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
16572         * wcsmbs/test-wmemcmp.c: Likewise.
16573         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
16574         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
16576 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16578         * string/Makefile (strop-tests): Add memcmp.
16579         * string/test-wmemcmp.c: New file.
16580         * string/test-memcmp.c: Add wmemcmp support.
16582 2011-09-08  Roland McGrath  <roland@hack.frob.com>
16584         [BZ #13153]
16585         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
16586         2011-07-19 change.
16588         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
16589         garbage value in a __mach_port_mod_refs call in the cases of the
16590         task-self and thread-self ports.
16592 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16594         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
16596 2011-09-08  Andreas Schwab  <schwab@redhat.com>
16598         * elf/dl-load.c (lose): Check for non-null L.
16600 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
16602         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
16604         * elf/dl-libc.c (dlerror_run): Pass back error code from
16605         dl_catch_error.
16607         [BZ #13123]
16608         * elf/dl-load.c (lose): Free l_origin if it is valid.
16610         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
16611         names.
16612         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16613         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16614         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16615         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16616         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16617         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
16619 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16621         * sysdeps/powerpc/fpu/e_hypot.c: New file.
16622         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
16623         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
16624         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
16625         * sysdeps/powerpc/fpu/k_cosf.c: New file.
16626         * sysdeps/powerpc/fpu/k_sinf.c: New file.
16627         * sysdeps/powerpc/fpu/s_cosf.c: New file.
16628         * sysdeps/powerpc/fpu/s_sinf.c: New file.
16629         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
16630         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
16632 2011-08-15  Alan Modra  <amodra@gmail.com>
16634         [BZ #13092]
16635         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
16636         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
16637         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
16638         ppc_mcount to static-only-routines.
16639         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
16640         __mcount_internal.
16641         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
16642         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
16644 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
16646         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
16647         for finite and infinity parameters.
16649 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
16651         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
16652         and add nop instructions for throughput optimization.
16653         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16655 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
16657         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
16658         aligned copy for power7 with vector-scalar instructions.
16659         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16661 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
16663         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
16664         AVX check.
16666 2011-09-07  Andreas Schwab  <schwab@redhat.com>
16668         [BZ #13144]
16669         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
16670         last change.
16672 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
16674         * sysdeps/unix/sysv/linux/x86_64/init-first.c
16675         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
16676         syscall wrapper around clock_gettime in __vdso_clock_gettime.
16677         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
16678         clock_gettime.
16680 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
16682         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
16683         Forgot to demangle the pointer.
16685         * sysdeps/i386/sysdep.h: Define atom_text_section.
16686         * sysdeps/x86_64/sysdep.h: Likewise.
16687         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
16688         section with atom_text_section.
16689         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16690         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16691         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16692         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16693         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
16695         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
16696         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
16697         already be defined.  Change to take two parameters and don't assign
16698         result to variable.  Adjust all users.
16699         Define INTERNAL_GETTIME if not already defined.
16700         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
16701         call.
16702         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
16703         HAVE_CLOCK_GETTIME_VSYSCALL.
16704         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
16706         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
16707         gettimeofday vsyscall, just use time.
16709 2011-09-06  Andreas Schwab  <schwab@redhat.com>
16711         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
16712         <errno.h>.
16714 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
16716         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
16717         syscall on x86-64.
16718         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
16719         syscall.
16720         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16721         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
16722         syscall if possible.
16724 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
16726         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
16727         e_ident.  Don't pass to find_mapsXX.
16728         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
16730 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16732         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16733         strchr-sse2-no-bsf strrchr-sse2-no-bsf
16734         * sysdeps/x86_64/multiarch/strchr.S: Update.
16735         Check bit_slow_BSF bit.
16736         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16737         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
16738         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
16740 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
16742         [BZ #13134]
16743         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
16744         before glibc 2.15.
16745         (tryshell): Define.
16746         (__spawni): Change last parameter to be flag.  Test
16747         SPAWN_XFLAGS_USE_PATH flag to use path or not.
16748         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
16749         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
16750         * posix/spawni.c: Likewise.
16751         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
16752         * posix/spawnp.c: Likewise.  Change normal version to use
16753         SPAWN_XFLAGS_USE_PATH.
16754         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
16755         SPAWN_XFLAGS_TRY_SHELL.
16757         [BZ #13150]
16758         * posix/glob.h: Remove gcc 1.x support.
16760         [BZ #13068]
16761         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
16763 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16765         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16766         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
16767         strrchr-sse2-bsf
16768         * sysdeps/i386/i686/multiarch/strchr.S: New file.
16769         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
16770         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
16771         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
16772         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
16773         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
16775 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16777         * sysdeps/x86_64/wcscmp.S: New file.
16779         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
16780         wcscmp-c wcscmp-sse2
16781         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
16782         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
16783         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
16784         * wcsmbs/wcscmp.c: Allow renaming.
16786 2011-09-05  David S. Miller  <davem@davemloft.net>
16788         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
16789         stack slot, rather than the struct return pointer slot.
16790         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
16791         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
16792         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
16793         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
16795 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
16797         * po/ja.po: Update from translation team.
16799         [BZ #13144]
16800         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
16801         kernel in 64-bit binaries.
16803 2011-09-01  David S. Miller  <davem@davemloft.net>
16805         * elf/elf.h (HWCAP_SPARC_*): Move to..
16806         * sysdeps/sparc/sysdep.h: this new file and add new values.
16807         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
16808         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
16809         _DL_HWCAP_COUNT to 24.
16810         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16811         entries.
16812         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
16813         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
16814         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
16815         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
16816         instead of magic constants.
16817         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16819 2011-08-31  David S. Miller  <davem@davemloft.net>
16821         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
16822         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
16823         Reimplement to do errno handling inline.
16824         (SYSCALL_ERROR_HANDLER): New macro.
16825         (__SYSCALL_STRING): Do not do errno handling in asm.
16826         (__CLONE_SYSCALL_STRING): Delete.
16827         (__INTERNAL_SYSCALL_STRING): Delete.
16828         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
16829         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
16830         (PSEUDO): Reimplement to do errno handling inline.
16831         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
16832         (SYSCALL_ERROR_HANDLER): New macro.
16833         (__SYSCALL_STRING): Do not do errno handling in asm.
16834         (__CLONE_SYSCALL_STRING): Delete.
16835         (__INTERNAL_SYSCALL_STRING): Delete.
16836         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
16837         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
16838         i386.
16839         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
16840         (inline_syscall*): Add 'err' argument.
16841         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
16842         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
16843         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
16844         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
16846         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
16847         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16849 2011-08-30  Andreas Schwab  <schwab@redhat.com>
16851         * elf/rtld.c (dl_main): Relocate objects in dependency order.
16853 2011-08-29  Jiri Olsa <jolsa@redhat.com>
16855         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
16856         directive.
16858 2011-08-24  David S. Miller  <davem@davemloft.net>
16860         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
16862 2011-08-24  Andreas Schwab  <schwab@redhat.com>
16864         * elf/Makefile: Add rules to build and run unload8 test.
16865         * elf/unload8.c: New file.
16866         * elf/unload8mod1.c: New file.
16867         * elf/unload8mod1x.c: New file.
16868         * elf/unload8mod2.c: New file.
16869         * elf/unload8mod3.c: New file.
16871         * elf/dl-close.c (_dl_close_worker): Reset private search list if
16872         it wasn't used.
16874 2011-08-23  David S. Miller  <davem@davemloft.net>
16876         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
16877         subtract stack bias.
16878         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
16879         %sp not %fp in calculations.
16880         (_JMPBUF_UNWINDS_ADJ): Likewise.
16882         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
16883         (aio_suspend): Call it to force an exception region around the
16884         AIO_MISC_WAIT() invocation.
16886 2011-08-23  Andreas Schwab  <schwab@redhat.com>
16888         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
16889         backslash.
16891 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
16893         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
16894         protection macro.
16895         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
16896         and <dl-machine.h>.
16897         (Elf64_FuncDesc): Remove.
16899 2011-08-22  David S. Miller  <davem@davemloft.net>
16901         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
16902         sigaltstack check, add missing cfi directives.
16903         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
16904         missing cfi directives, and sigaltstack handling.
16906 2011-08-16  Andreas Schwab  <schwab@redhat.com>
16908         [BZ #11724]
16909         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
16910         object is seen twice.
16911         * elf/dl-fini.c (_dl_sort_fini): Likewise.
16913         * elf/Makefile (distribute): Add tst-initorder2.c.
16914         (tests): Add tst-initorder2.
16915         (modules-names): Add tst-initorder2a tst-initorder2b
16916         tst-initorder2c tst-initorder2d.  Add rules to build them.
16917         ($(objpfx)tst-initorder2.out): New rule.
16918         * elf/tst-initorder2.c: New file.
16919         * elf/tst-initorder2.exp: New file.
16921 2011-08-22  Andreas Schwab  <schwab@redhat.com>
16923         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
16925         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
16926         dependencies back to end of function.
16928         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16929         $(elfobjdir)/ld.so.
16931 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
16933         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
16934         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
16935         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
16936         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
16937         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
16938         of __vdso_gettimeofday.
16939         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
16940         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
16941         attribute_hidden.
16942         (_libc_vdso_platform_setup): Remove initialization of
16943         __vdso_gettimeofday and __vdso_time.
16945 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
16947         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
16948         and fgetc_unlocked.
16949         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
16950         getc_unlocked.
16952         * elf/dl-open.c (add_to_global): Report additions to the global scope
16953         for LD_DEBUG=scopes.
16954         (dl_open_worker): Also print scope of newly loaded dependencies.
16955         (_dl_show_scope): Indicate if there is no scope.
16957         [BZ #13114]
16958         * stdio-common/Makefile (tests): Add bug24.
16959         * stdio-common/bug24.c: New file.
16961 2011-08-19  Andreas Jaeger  <aj@suse.de>
16963         [BZ #13114]
16964         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
16965         non-existant file when using close-on-exec mode.
16967 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
16969         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
16970         the very first instruction.
16972         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
16973         the CFI state in the end.
16974         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
16975         inclusion of dl-trampoline.h.
16976         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
16978 2011-08-19  Andreas Schwab  <schwab@redhat.com>
16980         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
16981         expectations for long double.
16983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
16984         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
16986 2011-08-14  David S. Miller  <davem@davemloft.net>
16988         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
16989         artificual limit depends upon the system page size.
16991 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
16993         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
16994         * resolv/Makefile: Define CFLAGS-libresolv.
16996 2011-08-17  Andreas Schwab  <schwab@redhat.com>
16998         * nss/makedb.c (compute_tables): Make variables used in nested
16999         function static.
17001 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
17003         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
17004         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
17005         if buffer was too small.
17007         * elf/pldd.c (main): Attach to all threads in the process.
17008         Rewrite /proc handling to use *at functions.
17010 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
17012         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
17013         specifies first scope to show.
17014         (dl_open_worker): Update callers.  Move printing scope of new
17015         object to before the relocation.
17016         * elf/rtld.c (dl_main): Update _dl_show_scope call.
17017         * sysdeps/generic/ldsodefs.h: Update declaration.
17019         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
17020         string for the scope number.
17022 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
17024         * nscd/servicescache.c (cache_addserv): Make sure written is always
17025         initialized.
17027 2011-08-14  Roland McGrath  <roland@hack.frob.com>
17029         * sysdeps/i386/i486/bits/atomic.h
17030         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
17031         statement expression, so as to suppress "set but not used" warning.
17032         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
17034         * string/strncat.c (STRNCAT): Use prototype definition.
17036         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
17037         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
17038         -Iprograms here.
17039         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
17040         (localedef-modules): Add localedef.
17041         (locale-modules): Add locale.
17043         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
17044         * elf/rtld.c (dl_main): Invert order of assignment in last change,
17045         to avoid a warning.
17047 2011-08-14  David S. Miller  <davem@davemloft.net>
17049         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
17050         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
17052 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
17054         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
17055         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
17056         * elf/rtld.c (dl_main): Set l_name of vDSO.
17057         Call _dl_show_scope when DL_DEBUG_SCOPES.
17058         (process_dl_debug): Recognize scopes flag and also set it for all.
17059         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
17060         Declare _dl_show_scope.
17062         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
17063         (do_dlopen): Pass caller_dlopen to dl_open.
17064         (__libc_dlopen_mode): Initialize caller_dlopen.
17066         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
17067         of libc.  Make tolower call locale-independent.  Optimize a bit by
17068         using isdigit instead of isalnum.
17069         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
17071 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
17073         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
17074         was a dependency or dynamically loaded.
17076 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
17078         * intl/l10nflist.c: Allow architecture-specific pop function.
17079         * sysdeps/x86_64/l10nflist.c: New file.
17081         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
17082         classification.
17084 2011-08-10  Andreas Schwab  <schwab@redhat.com>
17086         * include/dirent.h: Add libc_hidden_proto for scandirat and
17087         scandirat64.  Don't declare __scandirat64.
17088         * dirent/scandirat.c: Add libc_hidden_def.
17089         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
17090         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
17092 2011-08-10  David S. Miller  <davem@davemloft.net>
17094         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
17095         enum.
17096         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17097         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17098         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17100 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
17102         * Versions.def [libc]: Add GLIBC_2.15.
17103         * dirent/Makefile (routines): Add scandirat and scandirat64.
17104         * dirent/Versions [libc]: Export scandirat and scandirat64 for
17105         GLIBC_2.15.
17106         * dirent/dirent.h: Declare scandirat and scandirat64.
17107         * dirent/scandirat.c: New file.
17108         * dirent/scandirat64.c: New file.
17109         * sysdeps/wordsize-64/scandirat.c: New file.
17110         * sysdeps/wordsize-64/scandirat64.c: New file.
17111         * dirent/opendir.c: Define opendirat.
17112         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
17113         using scandirat.
17114         * dirent/scandir64.c: Adjust for scandir.c change.
17115         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
17116         __scandirat64, and __scandir_cancel_handler.
17117         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
17118         additional parameter and use openat instead of open (outside of ld.so).
17119         Add new __opendir as wrapper around __opendirat.
17120         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
17121         here without requiring old scandirat implementation.
17123 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
17125         * dirent/scandir.c (cancel_handler): Renamed to
17126         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
17127         defined.  Adjust users.
17128         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
17129         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
17131 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
17133         * string/test-string.h (IMPL): Use __STRING to expand name and then
17134         stringify it.
17136         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
17137         of cleanups.
17139 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17141         * string/Makefile: Update.
17142         (strop-tests): Append strncat.
17143         * string/test-wcscmp.c: New file.
17144         New comprehensive test for wcscmp.
17145         * string/test-strcmp.c: Update.
17146         (WIDE): New define.
17148 2011-07-22  Andreas Schwab  <schwab@redhat.com>
17150         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
17151         line.
17153 2011-07-26  Andreas Schwab  <schwab@redhat.com>
17155         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17156         encoding to ACE if AI_IDN.
17158 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
17160         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
17161         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
17163 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17165         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
17166         Fix overflow bug in strncat.
17167         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
17169         * string/test-strncat.c: Update.
17170         Add new tests for checking overflow bugs.
17172 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17174         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17175         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
17176         * sysdeps/i386/i686/multiarch/strcat.S: New file.
17177         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
17178         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
17179         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
17180         * sysdeps/i386/i686/multiarch/strncat.S: New file.
17181         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
17182         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
17184         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
17185         (USE_AS_STRCAT): Define.
17186         Add strcat and strncat support.
17187         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17189 2011-07-25  Andreas Schwab  <schwab@redhat.com>
17191         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
17192         __n bigger than INT_MAX+1.
17193         (__strncmp_g): Likewise.
17195 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
17197         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
17198         * libio/stido.h: Likewise.
17200         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
17201         (AF_NFC): Define.
17202         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
17203         (AF_NFC): Define.
17205         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
17206         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17207         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17208         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17209         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17211         [BZ #13021]
17212         * scripts/test-installation.pl: Don't expect libnss_test1 to be
17213         installed.
17215         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
17216         typo.
17217         (_dl_x86_64_save_sse): Likewise.
17219 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
17221         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
17222         OSXSAVE.
17223         (_dl_x86_64_save_sse): Likewise.
17225         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
17227         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
17229 2011-07-21  Andreas Schwab  <schwab@redhat.com>
17231         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
17232         change.
17233         (_dl_x86_64_save_sse): Use correct AVX check.
17235 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17237         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
17238         bug in strncpy/strncat.
17239         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17241 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
17243         * string/tester.c (test_strcat): Add tests for different alignments
17244         of source and destination.
17245         (test_strncat): Likewise.
17247 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
17249         [BZ #12852]
17250         * posix/glob.c (glob): Check passed in values before using them in
17251         expressions to avoid some overflows.
17252         (glob_in_dir): Likewise.
17254         [BZ #13007]
17255         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
17256         check for AVX enablement so that we don't crash with old kernels and
17257         new hardware.
17258         * elf/tst-audit4.c: Add same checks here.
17259         * elf/tst-audit6.c: Likewise.
17261         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
17263 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
17265         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
17267 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
17269         * po/cs.po: Update from translation team.
17270         * po/bg.po: Likewise.
17272 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
17274         * misc/sys/cdefs.h: Add support for const attribute.
17275         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
17276         to gnu_dev_{major,minor,makedev} functions.
17278 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
17280         * intl/dcigettext.c (get_output_charset): Add missing bracket.
17282 2011-07-20  Andreas Schwab  <schwab@redhat.com>
17284         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
17285         strlen results.
17287 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17289         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17290         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
17291         register in order to avoid conflicts with the soft frame pointer
17292         being held in r11 when necessary.
17293         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17294         (INTERNAL_VSYSCALL_NCS): Likewise.
17296 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
17298         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
17299         * elf/dl-fini.c (_dl_fini): Adjust caller.
17300         * elf/dl-close.c (_dl_close_worker): Likewise.
17301         * sysdeps/generic/ldsodefs.h: Adjust declaration.
17303 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
17305         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
17306         "aux_cache->nlibs < 0".
17308         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
17309         in the reload-count case.
17311 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17313         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17314         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
17315         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
17316         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
17317         * sysdeps/x86_64/multiarch/strcat.S: New file.
17318         * sysdeps/x86_64/multiarch/strncat.S: New file.
17319         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
17320         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
17321         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
17322         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
17323         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
17324         (USE_AS_STRCAT): Define.
17325         Add strcat and strncat support.
17326         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17327         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17328         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
17329         * string/strncat.c: Update.
17330         (USE_AS_STRNCAT): Define.
17331         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17332         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
17333         and i7.
17334         * sysdeps/x86_64/multiarch/init-arch.h
17335         (bit_Prefer_PMINUB_for_stringop): New.
17336         (index_Prefer_PMINUB_for_stringop): Likewise.
17337         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
17338         bit_Prefer_PMINUB_for_stringop.
17340 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
17342         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
17343         buffer64.
17344         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
17345         of casting of buffer.
17346         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
17347         buffer32 and buffer64.
17348         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
17349         writes instead of casting of buffer.
17350         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
17351         buffer32.
17352         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
17353         casting of buffer.
17355 2011-07-19  Andreas Schwab  <schwab@redhat.com>
17357         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
17359 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
17361         * nscd/nscd.c (termination_handler): Don't do anything for a database
17362         if it has not yet been initialized.
17364 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
17366         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17368 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
17370         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17372 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
17374         * po/nl.po: Update from translation team.
17375         * po/sv.po: Likewise.
17377 2011-07-16  Roland McGrath  <roland@hack.frob.com>
17379         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
17380         now disallowed by GCC.
17382         * configure.in (use-default-link): Default to yes if a test -shared
17383         link meets our qualifications.
17384         * configure: Regenerated.
17386         * config.make.in (output-format): New variable.
17387         * configure.in: Check for ld --print-output-format support.
17388         * configure: Regenerated.
17389         * Makerules ($(common-objpfx)format.lds)
17390         [$(output-format) != unknown]: Just use $(output-format),
17391         instead of the linker-script munging.
17393 2011-07-14  Roland McGrath  <roland@hack.frob.com>
17395         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
17396         of $(common-objpfx)shlib.lds.
17397         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
17399         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
17400         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
17402         * configure.in (-z relro check): Adjust test code to add a large
17403         writable data section after it.
17404         * configure: Regenerated.
17406 2011-07-11  Roland McGrath  <roland@hack.frob.com>
17408         * configure.in (-z relro check): Fix test code to make the variable
17409         truly const.
17410         * configure: Regenerated.
17412 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
17414         * nscd/nscd.h (struct traced_file): Define.
17415         (struct database_dyn): Remove inotify_descr, reset_res, and filename
17416         elements.  Add traced_files.
17417         (inotify_fd): Declare.
17418         (register_traced_file): Declare.
17419         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
17420         (inotify_fd): Export.
17421         (resolv_conf_descr): Remove.
17422         (nscd_init): Move inotify descriptor creation to main.
17423         Don't register files for notification here.
17424         (register_traced_file): New function.
17425         (invalidate_cache): Don't use reset_res to determine whether to call
17426         res_init, go through the list of registered files.
17427         (main_loop_poll): The inotify descriptors are now stored in the
17428         structures for the traced files.
17429         (main_loop_epoll): Likewise
17430         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
17431         to __nss_disable_nscd.
17432         * nscd/cache.c (prune_cache): There is no single inotify descriptor
17433         for a database anymore.  Check the records for all the registered
17434         files instead.
17435         * nss/Makefile (libnss_files-routines): Add files-init.
17436         (libnss_db-routines): Add db-init.
17437         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
17438         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
17439         * nss/nss_db/db-init.c: New file.
17440         * nss/nss_files/files-init.c: New file.
17441         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
17442         __nss_lookup_function.
17443         (__nss_lookup_function): Call nss_load_library.
17444         (nss_load_all_libraries): New function.
17445         (__nss_disable_nscd): Take parameter with callback function for files
17446         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
17447         used for the cached services.
17448         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
17449         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
17450         options for features to all the files in nscd.
17452         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
17454 2011-07-10  Roland McGrath  <roland@hack.frob.com>
17456         * csu/elf-init.c (__libc_csu_init): Comment typo.
17458 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
17460         * po/pl.po: Update from translation team.
17461         * po/ja.po: Likewise.
17462         * po/ru.po: Likewise.
17463         * po/ko.po: Likewise.
17464         * po/fr.po: Likewise.
17466 2011-07-09  Roland McGrath  <roland@hack.frob.com>
17468         * configure.in (.ctors/.dtors header and trailer check):
17469         Use an empirical test on a built program.
17470         * configure: Regenerated.
17472         * configure.in (-z relro check): Use an empirical test on a built DSO.
17473         Detect, but do not require, on ia64.
17474         * configure: Regenerated.
17476         * configure.in (READELF): Find it with AC_CHECK_TOOL.
17477         Update tests that use readelf to use $READELF instead.
17478         * configure: Regenerated.
17480 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
17482         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
17483         if the result is not used.
17485 2011-07-05  Andreas Jaeger  <aj@suse.de>
17487         [BZ#9696]
17488         * stdlib/tst-strtod.c: Add testcase.
17490 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
17492         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
17493         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
17494         The latter has a higher limit.  Take additional parameter to pass to
17495         the new function.
17496         (__pathconf): Pass file to __statfs_link_max.
17497         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
17498         __statfs_link_max.
17499         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
17500         __statfs_link_max.
17502         [BZ #12868]
17503         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
17504         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17505         Handle Lustre.
17506         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
17507         (__statfs_filesize_max): Likewise.
17508         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
17510 2011-07-05  Andreas Jaeger  <aj@suse.de>
17512         * resolv/res_comp.c (dn_skipname): Remove unused variable.
17514 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
17516         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
17517         `status' variable.
17518         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
17519         Likewise.
17521 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
17523         * Makefile (strop-tests): Add strncat.
17524         * string/test-strncat.c: New file.
17526 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
17528         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
17530 2011-06-21  Andreas Jaeger  <aj@suse.de>
17532         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
17533         Copy rule from iconvdata/Makefile.
17535 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
17537         [BZ #12922]
17538         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
17539         but no long options are defined, just return 'W'.
17541 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
17543         [BZ #9696]
17544         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
17546 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
17548         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
17549         netgroups to read.
17550         (innetgr): Likewise.
17552 2011-07-05  Roland McGrath  <roland@hack.frob.com>
17554         * config.make.in (install_root): Default to $(DESTDIR).
17556 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
17558         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
17560 2011-07-02  Roland McGrath  <roland@hack.frob.com>
17562         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
17564         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
17565         containing directory rather than embedding absolute directory names.
17567         * scripts/check-local-headers.sh: Rewritten using awk.
17568         Match by word, not by line.  Print error messages for matches.
17569         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
17571         * Makerules [shlib-lds-flags empty]:
17572         ($(common-objpfx)libc_pic.opts): New target.
17573         ($(common-objpfx)libc_pic.os.clean): New target.
17574         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
17576         * config.make.in (OBJCOPY): New variable.
17577         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
17578         * configure: Regenerated.
17580         * config.make.in (use-default-link): New variable.
17581         * configure.in (use_default_link): Grok --with-default-link to set it.
17582         * configure: Regenerated.
17583         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
17584         (shlib-lds, shlib-lds-flags): Define to empty.
17586         * Makerules (shlib-lds): New variable.
17587         (shlib-lds-flags): New variable.
17588         (build-shlib, build-moduile, build-module-asneeded): Use it.
17589         ($(common-objpfx)libc.so): Use $(shlib-lds).
17590         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
17591         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
17593         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
17594         DT_FLAGS/DT_FLAGS_1 with zero flags.
17596         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
17597         linker script munging.
17599 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
17601         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
17602         as 128-bit value.
17603         * crypt/sha512.c (sha512_process_block): Perform total addition using
17604         128-bit if possible.
17605         (__sha512_finish_ctx): Likewise.
17606         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
17607         as 64-bit value.
17608         * crypt/sha256.c (SWAP64): Define.
17609         (sha256_process_block): Perform total addition using 64-bit if
17610         possible.
17611         (__sha256_finish_ctx): Likewise.
17613 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
17615         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
17616         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17617         * nscd/hstcache.c (cache_addhst): Likewise.
17618         * nscd/grpcache.c (cache_addgr): Likewise.
17619         * nscd/aicache.c (addhstaiX): Likewise
17620         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
17622 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
17624         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
17625         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17626         * nscd/hstcache.c (cache_addhst): Likewise.
17627         * nscd/grpcache.c (cache_addgr): Likewise.
17628         * nscd/aicache.c (addhstaiX): Likewise
17630 2011-07-01  Andreas Schwab  <schwab@redhat.com>
17632         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
17633         domain only when needed.
17635 2011-06-30  Andreas Schwab  <schwab@redhat.com>
17637         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
17638         is always restored.
17640 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
17642         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
17643         are re-adding the entry.
17644         * nscd/servicescache.c (cache_addserv): Likewise.
17646 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
17648         * sysdeps/generic/dl-irel.h: fix protection against multiple
17649         inclusions.
17650         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
17652 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
17654         [BZ #12935]
17655         * malloc/memusage.sh: Fix quoting in message.
17656         * debug/xtrace.sh: Likewise.
17658         * configure.in: Remove support for --experimental-malloc option, make
17659         it the default.
17660         * config.make.in: Likewise.
17661         * malloc/Makefile: Likewise.
17663 2011-06-27  Andreas Schwab  <schwab@redhat.com>
17665         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
17666         two-byte characters.
17668 2011-06-27  Roland McGrath  <roland@hack.frob.com>
17670         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
17671         AC_CACHE_CHECK invocation.
17672         * configure: Regenerated.
17674         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
17676 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
17678         [BZ #12350]
17679         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
17680         bit from old_res_options.
17682         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
17684         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
17685         value type for setfct.
17687 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
17689         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17690         __gettimeofday instead of gettimeofday.
17692 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
17694         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
17696 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
17698         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
17700         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
17701         info.
17703 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
17705         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17706         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17707         strcpy-sse2-unaligned strncpy-sse2-unaligned
17708         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
17709         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
17710         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
17711         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
17712         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
17713         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
17714         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
17715         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
17716         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
17717         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
17718         (STRCPY): Support SSE2 and SSSE3 versions.
17720 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
17722         [BZ #12874]
17723         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
17724         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
17725         kernels which artificially limit size of requests.
17727 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
17729         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17730         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17731         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
17732         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
17733         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
17734         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
17735         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
17736         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
17737         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
17738         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
17739         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
17740         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
17741         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
17742         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
17743         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
17744         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17745         Enable unaligned load optimization for Intel Core i3, i5 and i7
17746         processors.
17747         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
17748         Define.
17749         (index_Fast_Unaligned_Load): Define.
17750         (HAS_FAST_UNALIGNED_LOAD): Define.
17752 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
17754         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
17756 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
17758         [BZ #12907]
17759         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
17760         until it is clear that the information is realy needed.
17761         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
17763 2011-06-22  Andreas Schwab  <schwab@redhat.com>
17765         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
17767 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
17769         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17770         /sys/devices/system/cpu/online if it is usable.
17772         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
17773         reading the information from the /proc filesystem to once a second.
17775 2011-06-21  Andreas Jaeger  <aj@suse.de>
17777         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
17778         NULL after inclusion of kernel headers.
17780 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
17782         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
17783         calls to internal_setent.
17785         [BZ #12885]
17786         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
17787         addresses using gethostbyname4_r ignore IPv4 addresses.
17789         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
17790         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
17792         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
17794 2011-06-20  David S. Miller  <davem@davemloft.net>
17796         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
17797         inclusions.
17798         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
17800         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
17801         (elf_irel): Use it.
17802         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
17803         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
17804         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
17805         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
17806         * sysdeps/x86_64/dl-irel.h: Likewise.
17808         * elf/dl-runtime.c: Use elf_ifunc_invoke.
17809         * elf/dl-sym.c: Likewise.
17811 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
17813         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
17814         need to dereference resplen2.
17816 2011-06-14  Andreas Schwab  <schwab@redhat.com>
17818         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
17820 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
17822         * Makeconfig: Define vardbdir and inst_vardbdir.
17823         * nss/Makefile: Add rules to install db-Makefile.
17825         * nss/nss_db/db-XXX.c: Cleanup.
17827         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
17828         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
17829         GLIBC_PRIVATE.
17830         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
17831         * nss/makedb.c: Implement -g option to specify that value strings
17832         are generated and should not be added to table iterated over for
17833         get*ent calls.
17834         * nss/nss_db/db-initgroups.c: New file.
17836         * nss/getent.c: Add support for initgroups lookups through getgrouplist
17837         interface.
17839         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
17840         (internal_getgrouplist): Adjust to name change.
17841         Update use_initgroups_entry if this is not the first call.
17842         * nss/databases.def: Add initgroups entry.
17844         * nss/makedb.c (compute_tables): Check result of multiple hash table
17845         sizes to minimize maximum chain length.
17847 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
17849         * Versions.def: Add entry for libnss_db.
17850         * shlib-versions: Likewise.
17851         * nss/Makefile: Add rules to build libnss_db.
17852         * nss/Versions: Add libnss_db information.  Organize libnss_files
17853         entries better.
17854         * nss/db-Makefile: Add gshadow support.  Change rules for the new
17855         makedb progra.  Some minor improvements to generate smaller files.
17856         * nss/nss_db/nss_db.h: Move NSS database header data structures to
17857         here from...
17858         * nss/makedb.c: ...here.
17859         Improve database format to be smaller and require less memory at
17860         runtime.
17861         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
17862         db anymore.
17863         * nss/nss_db/db-netgrp.c: Likewise.
17864         * nss/nss_db/db-open.c: Likewise.
17865         * nss/nss_files/flies-XXX.x: Adjust comments.
17866         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
17867         * nss/nss_files/files-grp.c: Likewise.
17868         * nss/nss_files/files-hosts.c: Likewise.
17869         * nss/nss_files/files-network.c: Likewise.
17870         * nss/nss_files/files-proto.c: Likewise.
17871         * nss/nss_files/files-pwd.c: Likewise.
17872         * nss/nss_files/files-rpc.c: Likewise.
17873         * nss/nss_files/files-service.c: Likewise.
17874         * nss/nss_files/files-sgrp.c: Likewise.
17875         * nss/nss_files/files-spwd.c: Likewise.
17876         * nss/nss_db/db-alias.c: Removed.
17877         * nss/nss_db/dummy-db.h: Removed.
17879 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
17881         * nss/makedb.c: Rewritten to not use database library.
17882         * nss/Makefile: Update to build new makedb program.
17884 2011-06-14  Andreas Jaeger  <aj@suse.de>
17886         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
17887         memset declaration.
17889 2011-06-10  Andreas Schwab  <schwab@redhat.com>
17891         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
17892         tmpbuf.
17894 2011-06-10  Roland McGrath  <roland@hack.frob.com>
17896         * Makerules (shlib.lds): Fail if the linker script comes out empty.
17897         * elf/Makefile ($(objpfx)ld.so): Likewise.
17899         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
17900         Don't list ld.so twice in dependencies.
17902         * posix/bug-regex31.c: Include <stdlib.h>.
17904         * nscd/hstcache.c (cache_addhst): Remove unused variable.
17906         * nis/nss_compat/compat-spwd.c
17907         (getspent_next_nss_netgr): Remove unused variable.
17908         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
17910         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
17911         nonmembers" output to use the right array.
17913         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
17915         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
17917         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
17918         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
17919         * catgets/gencat.c (read_input_file): Likewise.
17920         * locale/programs/locarchive.c (enlarge_archive): Likewise.
17922         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
17923         variable definition inside #if's controlling its use.
17925         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
17927         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
17929         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
17931         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
17932         unreachable code.
17934         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
17936         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
17937         * configure: Regenerated.
17939         * Makerules: Revert last change.
17940         * elf/Makefile: Likewise.
17942 2011-06-09  Roland McGrath  <roland@hack.frob.com>
17944         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
17945         * elf/Makefile ($(objpfx)librtld.os): Likewise.
17946         (reloc-link): Likewise.
17948 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
17950         * elf/Makefile: Add rules to build pldd.
17951         * elf/pldd.c: New file.
17952         * elf/pldd-xx.c: New file.
17954 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
17956         * version.h: Update for 2.15 development version.
17958 2011-06-07  David S. Miller  <davem@davemloft.net>
17960         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
17961         ifuncs.
17962         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
17963         elf_machine_lazy_rel): Likewise.
17964         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17965         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
17966         elf_machine_lazy_rel): Likewise.
17967         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
17968         dl_hwcap via passed in argument.
17969         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
17970         Likewise.
17972 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17974         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
17976 2011-06-06  Roland McGrath  <roland@hack.frob.com>
17978         [BZ #12849]
17979         * manual/fdl-1.1.texi: New file, verbatim from:
17980         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
17981         * manual/lgpl-2.1.texi: New file, verbatim from:
17982         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
17983         * manual/Makefile (licenses): New variable, list those new file names.
17984         (texis): Use it.
17985         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
17987         * manual/fdl.texi: File removed.
17988         * manual/lesser.texi: File removed.
17989         * manual/libc.texinfo (Copying, Documentation License):
17990         Use new @include file names, put @appendix directive before @include.
17992 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
17994         [BZ #12841]
17995         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
17996         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
17997         (mq_open): Add __NTH.
17999 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
18001         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18002         Assume Intel Core i3/i5/i7 processor if AVX is available.
18004 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
18006         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18007         typo.
18009 2011-05-31  Andreas Schwab  <schwab@redhat.com>
18011         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
18012         memory.  Use alloca_account.  Fix memory leak when retrying.
18014 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
18016         * version.h (RELEASE): Bump for 2.14 release.
18017         * include/features.h (__GLIBC_MINOR__): Bump to 14.
18019         * config.make.in (RANLIB): Remove entry.
18021 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
18023         * po/Makefile (po-sed-cmd): Add ksh to extensions.
18024         (libc.pot): Work around missing support for .ksh extension in xgettext.
18026         [BZ #12684]
18027         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
18028         if both request failed.
18029         (send_dg): In case of server errors clear resplen or *resplen2.
18031         [BZ #12454]
18032         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
18033         when there are multiple maps.
18034         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
18035         (_dl_fini): Remove test here.
18037         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
18039 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
18041         [BZ #12350]
18042         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
18043         bit from old_res_options.
18044         (gaih_inet): Likewise.
18046         [BZ #11099]
18047         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
18048         as signed.
18050         * resolv/res_init.c (res_setoptions): Make the code more compact.
18052         [BZ #11558]
18053         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
18054         set RES_USEVC.
18056         [BZ #11634]
18057         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
18059         * malloc/malloc.h: Mark malloc hook variables as deprecated.
18061         [BZ #11781]
18062         * malloc/malloc.h: Declare malloc hook variables as volatile.
18064         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
18065         in last patch.
18067         [BZ #11799]
18068         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
18069         raise in the comment.
18070         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18071         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18072         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
18074 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
18076         [BZ #12811]
18077         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
18078         grow the buffers more if it already has to be sufficient.
18079         (build_wcs_upper_buffer): Likewise.
18080         * posix/regexec.c (check_matching): Likewise.
18081         (clean_state_log_if_needed): Likewise.
18082         (extend_buffers): Don't enlarge buffers beyond size of the input
18083         buffer.
18084         Patches mostly by Emil Wojak <emil@wojak.eu>.
18085         * posix/bug-regex32.c: New file.
18086         * posix/Makefile (tests): Add bug-regex32.
18088         * locale/findlocale.c (_nl_find_locale): Return right away if
18089         _nl_explode_name failed.
18090         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
18092         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
18094         * debug/xtrace.sh: Unify messages.
18095         * malloc/memusage.sh: Likewise.
18097         [BZ #12813]
18098         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
18099         time symbol from vDSO.  Substitute with vsyscall if not available.
18100         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
18101         __vdso_time.
18103         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
18104         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
18105         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
18106         Add sendmmsg and internal_sendmmsg.
18107         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
18108         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
18109         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
18111         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
18112         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
18113         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
18115 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
18117         [BZ #12813]
18118         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
18119         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
18120         available.
18121         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
18122         __vdso_getcpu.
18124         [BZ #12814]
18125         * iconvdata/Makefile (tests): Add bug-iconv9.
18126         * iconvdata/bug-iconv9.c: New file.
18128 2011-05-27  Andreas Schwab  <schwab@redhat.com>
18130         [BZ #12814]
18131         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
18133 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
18135         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18136         (struct user_regs_struct): Change intcs field back to cs.
18138 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
18140         * po/ja.po: Update from translation team.
18142 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
18144         [BZ #12795]
18145         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
18146         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
18148 2011-05-20  Andreas Schwab  <schwab@redhat.com>
18150         * stdlib/longlong.h: Update from GCC.
18152 2011-05-23  Andreas Schwab  <schwab@redhat.com>
18154         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
18155         parameter name.
18156         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
18157         Add parameter name.
18158         (__sysconf): Pass it down.
18160 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
18162         [BZ #12671]
18163         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
18164         some situations.
18165         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18166         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
18167         add in in __libc_use_alloca calls.  Adjust callers.
18168         (glob): Use malloc in some situations.
18170         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
18171         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
18172         pltexit.
18174 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
18176         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
18177         and CLOCK_BOOTTIME_ALARM.
18179         [BZ #12782]
18180         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
18181         is returned.
18183         * string/_strerror.c (__strerror_r): Print negative errors as signed
18184         numbers.
18186         [BZ #12777]
18187         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
18188         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
18189         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
18191         * configure.in: Fix typo in redirection and correct removal of test
18192         files in two cases.
18194         [BZ #12788]
18195         * locale/setlocale.c (new_composite_name): Fix test to check for
18196         identical name of all categories.
18198         [BZ #12792]
18199         * libio/filedoalloc.c (local_isatty): New function.
18200         (_IO_file_doallocate): Use local_isatty.
18201         * stdio-common/perror.c (perror): In case a new stream is used
18202         forward the stream error.
18203         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
18204         error flag.
18206 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
18208         [BZ #11869]
18209         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
18210         alloca.
18211         * include/alloca.h (extend_alloca_account): Define.
18213         [BZ #11857]
18214         * posix/regex.h: Fix comments with documentation of user-accessible
18215         fields after compilation and describe correct free'ing of pattern
18216         after re_compile_pattern.
18217         Patch by Reuben Thomas <rrt@sc3d.org>.
18219 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
18221         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
18222         and -mno-altivec to prevent the compiler from using Altivec and/or
18223         VSX instructions when the corresponding registers are not available.
18225 2011-05-19  Andreas Schwab  <schwab@redhat.com>
18227         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
18229 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
18231         * libio/freopen.c (freopen): Use __dup2, not dup2.
18232         * libio/freopen64.c (freopen64): Likewise.
18234 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
18236         [BZ #12775]
18237         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
18238         * math/Makefile (tests): Add test-powl.
18239         (CFLAGS-test-powl.c): Define.
18240         * math/test-powl.c: New file.
18242 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
18244         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
18246 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
18248         [BZ #11837]
18249         * iconvdata/gb18030.c: Update to GB18020-2005.
18251 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
18253         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
18254         RE_SYNTAX_POSIX_AWK): Update to match recent development.
18255         Patch by Aharon Robbins <arnold@skeeve.com>.
18257         [BZ #11892]
18258         * stdlib/putenv.c (putenv): Don't always create copy of the variable
18259         on the stack.
18261         [BZ #11895]
18262         * misc/pselect.c (__pselect): Handle timeout value errors hidden
18263         through underflows.
18265         [BZ #12766]
18266         * misc/error.c (error_at_line): Ensure file_name and old_file_name
18267         point to strings before performing equality test for error_one_per_line
18268         mode.
18270         [BZ #11697]
18271         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
18273         [BZ #11820]
18274         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18275         (struct user_fpregs_struct): Avoid __uint*_t types.
18277         [BZ #6420]
18278         * malloc/mtrace.c (tr_where): Add additional parameter to point to
18279         symbol info.  Use it instead of calling _dl_addr locally.
18280         (lock_and_info): New function.
18281         (tr_freehook): Call lock_and_info and pass symbol info as additional
18282         parameter to tr_where.
18283         (tr_mallochook): Likewise.
18284         (tr_reallochook): Likewise.
18285         (tr_memalignhook): Likewise.
18287         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
18288         used and couldn't be at all thread-safe.
18290 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
18292         * libio/freopen.c (freopen): Don't close old file descriptor
18293         before the new one is opened.  Instead dup the new file descriptor
18294         to the old one after the new stream is created.
18295         * libio/freopen64.c (freopen64): Likewise.
18296         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
18297         * libio/fileops.c (_IO_new_file_close_it): Handle new
18298         _IO_FLAGS2_NOCLOSE flag.
18299         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
18300         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
18301         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
18302         _IO_FLAGS2_NOCLOSE flag.
18303         * include/unistd.h: Add hidden_proto for dup3.
18304         Define __have_dup3.
18305         * io/dup3.c: Define hidden symbol.
18306         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
18308         [BZ #7101]
18309         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
18310         when an incomplete long option is used.
18311         * posix/tst-getopt_long1.c: New file.
18312         * posix/Makefile (tests): Add tst-getopt_long1.
18314         [BZ #10138]
18315         * scripts/config.guess: Update from autoconf-2.68.
18316         * scripts/config.sub: Likewise.
18318         [BZ #10157]
18319         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
18320         tests into ...
18321         (has_cpuclock): ...this.  New function.
18322         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
18323         macro here based on has_cpuclock code.
18325         [BZ #10149]
18326         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18327         First byte (not low byte) is now always NUL.
18328         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
18330         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18331         Use non-cancelable interfaces.
18333         [BZ #9809]
18334         * locale/iso-639.def: Add entry for Sorani.
18336         [BZ #11901]
18337         * include/stdlib.h: Move include protection to the right place.
18338         Define abort_msg_s.  Declare __abort_msg with it.
18339         * stdlib/abort.c (__abort_msg): Adjust type.
18340         * assert/assert.c (__assert_fail_base): New function.  Majority
18341         of code from __assert_fail.  Allocate memory for __abort_msg with
18342         mmap.
18343         (__assert_fail): Now call __assert_fail_base.
18344         * assert/assert-perr.c: Remove bulk of implementation.  Use
18345         __assert_fail_base.
18346         * include/assert.hL Declare __assert_fail_base.
18347         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
18348         mmap.
18349         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
18351 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
18353         [BZ #11952]
18354         [BZ #12453]
18355         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
18356         until all modules are registered in the DTV.
18357         * elf/Makefile: Add rules to build and run tst-tls19.
18358         * elf/tst-tls19.c: New file.
18359         * elf/tst-tls19mod1.c: New file.
18360         * elf/tst-tls19mod2.c: New file.
18361         * elf/tst-tls19mod3.c: New file.
18362         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
18364         [BZ #12083]
18365         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
18366         correctly.
18368         [BZ #12601]
18369         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
18370         two-byte sequence errors.
18371         * iconvdata/Makefile (tests): Add bug-iconv8.
18372         * iconvdata/bug-iconv8.c: New file.
18374         [BZ #12626]
18375         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
18376         buf2 definition.
18378         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
18380         [BZ #12432]
18381         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
18382         (dummy_getcfa): New function.
18383         (init): Get _Unwind_GetCFA address, use dummy if not found.
18384         (backtrace_helper): In recursion check, also check whether CFA changes.
18385         (__backtrace): Completely initialize arg.
18387         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
18388         storing incomplete byte sequence in state object.  Avoid testing for
18389         guaranteed too small input if we know there is enough data available.
18391 2011-05-11  Andreas Schwab  <schwab@redhat.com>
18393         * Makeconfig (+link-pie): Indent.
18394         * Rules (binaries-pie): Define if $(have-fpie) and
18395         $(build-shared).
18396         (binaries-shared): Also filter out $(binaries-pie).
18397         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
18398         * nscd/Makefile (others-pie): Add nscd.
18399         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
18400         ($(objpfx)nscd): Remove command override.
18401         * login/Makefile (others-pie): Add pt_chown.
18402         ($(objpfx)pt_chown): Remove command override.
18403         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
18404         remove command overrides.
18406 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
18408         * libio/tst_putwc.c: Fix error messages.
18410         [BZ #12724]
18411         * libio/fileops.c (_IO_new_file_close_it): Always flush when
18412         currently writing and seek to current position when not.
18413         * libio/Makefile (tests): Add bug-fclose1.
18414         * libio/bug-fclose1.c: New file.
18416 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
18418         [BZ #12511]
18419         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
18420         don't set DF_1_NODELETE here.
18421         (do_lookup_x): When entering new entry test for copy relocation
18422         and if necessary set DF_1_NODELETE flag.
18423         * elf/tst-unique4.cc: New file.
18424         * elf/tst-unique4.h: New file.
18425         * elf/tst-unique4lib.cc: New file.
18426         * elf/Makefile: Add rules to build and run tst-unique4.
18427         Patch by Piotr Bury <pbury@goahead.com>.
18429 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
18431         [BZ #12052]
18432         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
18434         [BZ #12625]
18435         * misc/mntent_r.c (addmntent): Flush the stream after the output
18437         [BZ #12393]
18438         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
18439         (is_trusted_path_normalize): Skip initial colon.  Append slash
18440         to empty buffer.  Duplicate is_trusted_path code but allow
18441         constructed patch to be prefix.
18442         (is_dst): Allow $ORIGIN followed by /.
18443         (_dl_dst_substitute): Correct clearing of check_for_trusted.
18444         Correct testing of result of is_trusted_path_normalize
18445         (decompose_rpath): Fix warning.
18447 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
18449         [BZ #11257]
18450         * grp/initgroups.c (internal_getgrouplist): When we found the service
18451         list through the initgroups entry in nsswitch.conf do not always
18452         continue on a successful lookup.  Don't always use the
18453         __nss_group_database value if it is set.
18454         * nss/nsswitch.conf (initgroups): Change action for successful db
18455         lookup to continue for compatibility.
18457 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
18459         [BZ #11532]
18460         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
18461         and CP774 modules.
18462         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
18463         and CP774 modules.
18464         * iconvdata/tst-tables.sh: Likewise.
18465         * iconvdata/cp770.c: New file.
18466         * iconvdata/cp771.c: New file.
18467         * iconvdata/cp772.c: New file.
18468         * iconvdata/cp773.c: New file.
18469         * iconvdata/cp774.c: New file.
18470         * iconvdata/testdata/CP770: New file.
18471         * iconvdata/testdata/CP770..UTF8: New file.
18472         * iconvdata/testdata/CP771: New file.
18473         * iconvdata/testdata/CP771..UTF8: New file.
18474         * iconvdata/testdata/CP772: New file.
18475         * iconvdata/testdata/CP772..UTF8: New file.
18476         * iconvdata/testdata/CP773: New file.
18477         * iconvdata/testdata/CP773..UTF8: New file.
18478         * iconvdata/testdata/CP774: New file.
18479         * iconvdata/testdata/CP774..UTF8: New file.
18481         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
18482         END CHARMAP line.
18483         * iconvdata/gen-8bit-gap.sh: Likewise.
18484         * iconvdata/gen-8bit.sh: Likewise.
18486         * locale/iso-639.def: Add ary entry.
18488         [BZ #11258]
18489         * locale/C-translit.h.in: Add U20A1 transliteration.
18491         [BZ #12178]
18492         * locale/iso-639.def: Add wae entry.
18493         Patch by Kevin Bortis <bortis@translate-wae.ch>.
18495         [BZ #12545]
18496         * locale/programs/localedef.c (construct_output_path): Use ssize_t
18497         for n.
18499         [BZ #12711]
18500         * locale/C-translit.h.in: Add entry for U20B9.
18501         Patch by pravin.d.s@gmail.com.
18503 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
18505         [BZ #12713]
18506         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
18507         ENAMETOOLONG use generic getcwd.
18508         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
18509         in rtld.  Use *stat64.
18510         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
18511         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
18512         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
18513         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
18514         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
18515         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
18516         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
18517         __fstatat64 macros.
18518         * include/dirent.h: Add libc_hidden_proto for rewinddir.
18519         * dirent/rewinddir.c: Add libc_hidden_def.
18520         * sysdeps/mach/hurd/rewinddir.c: Likewise.
18521         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
18523         * include/dirent.h (__alloc_dir): Add flags parameter.
18524         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
18525         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
18526         __alloc_dir.
18527         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
18528         from fdopendir if O_CLOEXEC is already set.
18530 2011-03-15  Alan Modra  <amodra@gmail.com>
18532         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
18533         l_tls_firstbyte_offset non-zero.  Save padding offset in
18534         l_tls_firstbyte_offset for later use.
18535         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
18536         freeing static tls block.
18538 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
18540         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
18541         where #ifdef was intended.  The intent is to prevent ARG_MAX from
18542         being defined by the kernel headers.
18544 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
18546         [BZ #12734]
18547         * resolv/resolv.h: Define RES_NOTLDQUERY.
18548         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
18549         no-tld-query and set RES_NOTLDQUERY.
18550         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
18551         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
18552         modern BIND to search name as TLD unless forbidden.
18554 2011-05-07  Petr Baudis  <pasky@suse.cz>
18555             Ulrich Drepper  <drepper@gmail.com>
18557         [BZ #12393]
18558         * elf/dl-load.c (fillin_rpath): Move trusted path check...
18559         (is_trusted_path): ...to here.
18560         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
18561         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
18562         using is_trusted_path_normalize() in setuid scripts.
18564 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18566         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
18567         __BEGIN/__END_DECLS.
18569 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
18571         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
18572         NSS_STATUS_NOTFOUND if no record was found.
18574 2011-05-05  Andreas Schwab  <schwab@redhat.com>
18576         * sunrpc/Makefile (headers): Add rpc/netdb.h.
18577         (headers-not-in-tirpc): Remove rpc/netdb.h
18578         * resolv/netdb.h: Revert last change.
18580 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
18582         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
18583         circular dependency between libgcc.a and libc.a.
18585 2011-05-05  Andreas Schwab  <schwab@redhat.com>
18587         * resolv/netdb.h: Don't include <rpc/netdb.h>.
18588         * nis/Makefile: Don't install rpcsvc/*.
18589         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
18590         instead of <rpc/types.h>.
18591         (MAXHOSTNAMELEN): Define.
18593 2011-05-03  Andreas Schwab  <schwab@redhat.com>
18595         * elf/ldconfig.c (add_dir): Don't crash on empty path.
18597 2011-04-28  Maciej Babinski  <mbabinski@google.com>
18599         [BZ #12714]
18600         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
18601         gethostbyname4_r when IPv6 results are possible.
18603 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
18605         [BZ #12723]
18606         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
18607         _PC_PIPE_BUF handling.
18609 2011-04-30  Bruno Haible  <bruno@clisp.org>
18611         [BZ #12717]
18612         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
18613         * resolv/netdb.h (getnameinfo): Change type of flags parameter
18614         to 'int'.
18615         * inet/getnameinfo.c (getnameinfo): Likewise.
18617 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
18619         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
18620         to groups setting in database lookup.
18621         * nss/nsswitch.conf: Add initgroups entry.
18623 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
18625         [BZ #12685]
18626         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
18627         mode string.
18628         Patch by Eric Blake <eblake@redhat.com>.
18630 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
18632         * sunrpc/Makefile (need-export-routines): Add svc_run.
18633         (routines): Remove svc_run.
18634         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
18635         * sunrpc/clnt_perr.c (clnt_perrno): Export.
18636         * sunrpc/svc_run.c (svc_run): Likewise.
18637         * sunrpc/svc_udp.c (svcudp_create): Likewise.
18639 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
18641         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
18642         problem in reallocation in last patch.
18644 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
18646         * sunrpc/Makefile: Move inclusion of Rules.
18648 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
18650         * nss/nss_files/files-initgroups.c: New file.
18651         * nss/Makefile (libnss_files-routines): Add files-initgroups.
18652         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
18653         _nss_files_initgroups_dyn.
18655 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
18657         * elf/elf.h (R_ARM_IRELATIVE): Define.
18659 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
18661         * po/ru.po: Update from translation team.
18663 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
18665         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
18666         dependencies.
18668 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
18670         [BZ #12653]
18671         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
18672         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
18673         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18674         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18675         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18677 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
18679         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
18680         differing bytes.
18681         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18682         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18683         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18685 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
18687         [BZ #12420]
18688         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
18689         storing it.
18690         * stdlib/bug-getcontext.c: New file.
18691         * stdlib/Makefile: Add rules to build and run bug-getcontext.
18693 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18695         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
18696         instructions into .machine "z9-109".
18697         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18698         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18700 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18702         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
18703         between environment variables and auxiliary vector.
18705 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
18707         * Makefile: Add rules to build linkobj/libc.so.
18708         * include/libc-symbols.h: Define libc_hidden_nolink.
18709         * include/rpc/auth.h: Mark functions which are to be hidden.
18710         * include/rpc/auth_des.h: Likewise.
18711         * include/rpc/auth_unix.h: Likewise.
18712         * include/rpc/clnt.h: Likewise.
18713         * include/rpc/des_crypt.h: Likewise.
18714         * include/rpc/key_prot.h: Likewise.
18715         * include/rpc/pmap_clnt.h: Likewise.
18716         * include/rpc/pmap_prot.h: Likewise.
18717         * include/rpc/pmap_rmt.h: Likewise.
18718         * include/rpc/rpc_msg.h: Likewise.
18719         * include/rpc/svc.h: Likewise.
18720         * include/rpc/svc_auth.h: Likewise.
18721         * include/rpc/xdr.h: Likewise.
18722         * nis/Makefile: Link all DSOs against linkobj/libc.so.
18723         * nss/Makefile: Likewise.
18724         * sunrpc/Makefile: Don't install headers.  Build library with normal
18725         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
18726         * sunrpc/auth_des.c: Hide exported symbols by default, export some
18727         for the compat linking library.  Remove use of INTDEF/INTUSE.
18728         * sunrpc/auth_none.c: Likewise.
18729         * sunrpc/auth_unix.c: Likewise.
18730         * sunrpc/authdes_prot.c: Likewise.
18731         * sunrpc/authuxprot.c: Likewise.
18732         * sunrpc/clnt_gen.c: Likewise.
18733         * sunrpc/clnt_perr.c: Likewise.
18734         * sunrpc/clnt_raw.c: Likewise.
18735         * sunrpc/clnt_simp.c: Likewise.
18736         * sunrpc/clnt_tcp.c: Likewise.
18737         * sunrpc/clnt_udp.c: Likewise.
18738         * sunrpc/clnt_unix.c: Likewise.
18739         * sunrpc/des_crypt.c: Likewise.
18740         * sunrpc/des_soft.c: Likewise.
18741         * sunrpc/get_myaddr.c: Likewise.
18742         * sunrpc/key_call.c: Likewise.
18743         * sunrpc/key_prot.c: Likewise.
18744         * sunrpc/netname.c: Likewise.
18745         * sunrpc/pm_getmaps.c: Likewise.
18746         * sunrpc/pm_getport.c: Likewise.
18747         * sunrpc/pmap_clnt.c: Likewise.
18748         * sunrpc/pmap_prot.c: Likewise.
18749         * sunrpc/pmap_prot2.c: Likewise.
18750         * sunrpc/pmap_rmt.c: Likewise.
18751         * sunrpc/publickey.c: Likewise.
18752         * sunrpc/rpc_cmsg.c: Likewise.
18753         * sunrpc/rpc_common.c: Likewise.
18754         * sunrpc/rpc_dtable.c: Likewise.
18755         * sunrpc/rpc_prot.c: Likewise.
18756         * sunrpc/rpc_thread.c: Likewise.
18757         * sunrpc/rtime.c: Likewise.
18758         * sunrpc/svc.c: Likewise.
18759         * sunrpc/svc_auth.c: Likewise.
18760         * sunrpc/svc_authux.c: Likewise.
18761         * sunrpc/svc_raw.c: Likewise.
18762         * sunrpc/svc_run.c: Likewise.
18763         * sunrpc/svc_simple.c: Likewise.
18764         * sunrpc/svc_tcp.c: Likewise.
18765         * sunrpc/svc_udp.c: Likewise.
18766         * sunrpc/svc_unix.c: Likewise.
18767         * sunrpc/svcauth_des.c: Likewise.
18768         * sunrpc/xcrypt.c: Likewise.
18769         * sunrpc/xdr.c: Likewise.
18770         * sunrpc/xdr_array.c: Likewise.
18771         * sunrpc/xdr_float.c: Likewise.
18772         * sunrpc/xdr_intXX_t.c: Likewise.
18773         * sunrpc/xdr_mem.c: Likewise.
18774         * sunrpc/xdr_rec.c: Likewise.
18775         * sunrpc/xdr_ref.c: Likewise.
18776         * sunrpc/xdr_sizeof.c: Likewise.
18777         * sunrpc/xdr_stdio.c: Likewise.
18779 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
18781         [BZ #12650]
18782         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
18783         * sysdeps/ia64/dl-tls.h: Likewise.
18784         * sysdeps/powerpc/dl-tls.h: Likewise.
18785         * sysdeps/s390/dl-tls.h: Likewise.
18786         * sysdeps/sh/dl-tls.h: Likewise.
18787         * sysdeps/sparc/dl-tls.h: Likewise.
18788         * sysdeps/x86_64/dl-tls.h: Likewise.
18789         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
18791 2011-03-14  Andreas Schwab  <schwab@redhat.com>
18793         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
18794         rpath element also skip the following colon.
18795         (expand_dynamic_string_token): Add is_path parameter and pass
18796         down to DL_DST_REQUIRED and _dl_dst_substitute.
18797         (decompose_rpath): Call expand_dynamic_string_token with
18798         non-zero is_path.  Ignore empty rpaths.
18799         (_dl_map_object_from_fd): Call expand_dynamic_string_token
18800         with zero is_path.
18802 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
18804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18805         Make cancelable.
18807 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
18809         [BZ #12655]
18810         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
18811         Patch by Filipe David Manana <fdmanana@apache.org>.
18813 2011-04-07  Andreas Schwab  <schwab@redhat.com>
18815         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
18816         Maintain aligned stack.
18817         (CHECK_RSP): Remove unused macro.
18819 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
18821         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
18822         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
18824 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
18826         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
18828         * include/features.h: Mention __USE_XOPEN2K8 in comment.
18830 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
18832         [BZ #12518]
18833         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
18834         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
18835         * sysdeps/x86_64/memmove.c: New file.
18836         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
18837         (memcpy): Renamed to ...
18838         (__new_memcpy): This.
18839         (memcpy): Provide GLIBC_2_14 memcpy.
18840         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
18841         (memcpy): Provide GLIBC_2_2_5 memcpy.
18843 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
18845         [BZ #12631]
18846         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
18848 2011-03-30  Andreas Schwab  <schwab@redhat.com>
18850         * misc/syncfs.c: New file.
18851         * misc/Makefile (routines): Add syncfs.
18852         * posix/unistd.h: Declare syncfs.
18853         * sysdeps/unix/syscalls.list: Add syncfs.
18855 2011-04-01  Andreas Schwab  <schwab@redhat.com>
18857         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
18858         open_by_handle_at.
18859         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18860         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18861         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18862         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18863         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18864         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
18865         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18867 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
18869         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
18870         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18871         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
18872         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18873         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18874         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18875         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18877         * io/Makefile: Compile fallocate.c, fallocate64.c, and
18878         sync_file_range.c with -fexceptions.
18879         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
18880         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
18881         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18882         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18883         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
18884         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18885         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
18886         sync_file_range as cancellation point
18887         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
18888         now a wrapper around __call_sync_file_range with cancellation handling.
18889         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
18890         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
18891         function name to __call_sync_file_range.
18892         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
18893         Add call_sync_file_range.
18895 2011-04-01  Andreas Schwab  <schwab@redhat.com>
18897         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18898         bits/timex.h.
18900 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
18902         * iconv/iconv.h: Fix typo in comment.
18903         * io/fcntl.h: Likewise.
18904         * libio/stdio.h: Likewise.
18905         * posix/spawn.h: Likewise.
18906         * posix/unistd.h: Likewise.
18907         * stdlib/stdlib.h: Likewise.
18908         * time/time.h: Likewise.
18909         * wcsmbs/wchar.h: Likewise.
18911         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
18912         open_by_handle): Add.
18913         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
18914         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
18915         Augment a few comments.
18916         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18917         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18918         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18919         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18920         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18921         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
18922         open_by_handle.
18924         * io/fcntl.h (AT_EMPTY_PATH): Define.
18926 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
18928         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
18929         * sysdeps/unix/sysv/linux/bits/time.h: New file.
18930         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
18931         to...
18932         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
18933         * Versions.def: Add GLIBC_2.14.
18934         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
18935         Export.
18937 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
18939         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
18940         round counter.
18941         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18943 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
18945         [BZ #12597]
18946         * string/test-strncmp.c (do_page_test): New function.
18947         (check2): Likewise.
18948         (test_main): Call check2.
18949         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
18951 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
18953         [BZ #12587]
18954         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
18955         Handle cache information in CPU leaf 4.
18956         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18958 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
18960         [BZ #12583]
18961         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
18962         character representation.
18963         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
18965 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
18967         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
18968         END(__isnan) to END(__isnanf) to match function entry point/label
18969         EALIGN(__isnanf,...).
18971 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
18973         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
18975 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
18977         [BZ #12510]
18978         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
18979         copy from the symbol referenced in the relocation to initialize the
18980         used variable.
18981         Patch by Piotr Bury <pbury@goahead.com>.
18982         * elf/Makefile: Add rules to build and tst-unique3.
18983         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
18984         * elf/tst-unique3.cc: New file.
18985         * elf/tst-unique3.h: New file.
18986         * elf/tst-unique3lib.cc: New file.
18987         * elf/tst-unique3lib2.cc: New file.
18989         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
18991 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
18993         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
18994         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
18995         to _start.
18997 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
18999         * elf/dl-load.c (_dl_map_object): If we are looking for the first
19000         to-be-loaded object along a path to loader is ld.so.
19002 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
19003             Ulrich Drepper  <drepper@gmail.com>
19005         * sysdeps/x86_64/memset.S: After aligning destination, code
19006         branches to different locations depending on the value of
19007         misalignment, when multiarch is enabled. Fix this.
19009 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
19011         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
19012         Set _x86_64_preferred_memory_instruction for AMD processsors.
19013         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19014         Set bit_Prefer_SSE_for_memop for AMD processors.
19016 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
19018         * libio/fmemopen.c (fmemopen): Optimize a bit.
19020 2011-03-03  Andreas Schwab  <schwab@redhat.com>
19022         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
19024 2011-03-03  Roland McGrath  <roland@redhat.com>
19026         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
19028 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
19030         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
19031         __bzero_ultra1 instead of __memset_ultra1.
19033 2011-02-23  Andreas Schwab  <schwab@redhat.com>
19034             Ulrich Drepper  <drepper@gmail.com>
19036         [BZ #12509]
19037         * include/link.h (struct link_map): Add l_orig_initfini.
19038         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
19039         returning unsuccessfully.
19040         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
19041         close of a file loaded at startup, restore the original l_initfini
19042         list.
19043         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
19044         list, store the pointer.
19045         * elf/Makefile ($(objpfx)noload-mem): New rule.
19046         (noload-ENV): Define.
19047         (tests): Add $(objpfx)noload-mem.
19048         * elf/noload.c: Include <memcheck.h>.
19049         (main): Call mtrace.  Close all opened handles.
19051 2011-02-17  Andreas Schwab  <schwab@redhat.com>
19053         [BZ #12454]
19054         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
19055         dependencies are missing.
19057 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19059         Fix __if_freereq crash: Unlike the generic version which uses free,
19060         Hurd needs munmap.
19061         * sysdeps/mach/hurd/ifreq.h: New file.
19063 2011-01-27  Petr Baudis  <pasky@suse.cz>
19064             Ulrich Drepper  <drepper@gmail.com>
19066         [BZ 12445]#
19067         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
19068         to extend_alloca().
19069         * stdio-common/bug23.c: New file.
19070         * stdio-common/Makefile (tests): Add bug23.
19072 2010-09-28  Andreas Schwab  <schwab@redhat.com>
19073             Ulrich Drepper  <drepper@gmail.com>
19075         [BZ #12489]
19076         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
19077         before performing relro protection.  At old place add assertion
19078         to make sure nothing changed.
19080 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
19081             Glauber de Oliveira Costa  <glommer@gmail.com>
19083         * elf/elf.h: Add new ARM TLS relocs.
19085 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
19087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19088         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
19089         cast from r3.
19090         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
19091         'tests' variable.
19092         * sysdeps/wordsize-64/tst-writev.c: New file.
19094 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
19096         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
19097         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
19098         insns in _dl_start to prevent a TOC reference before relocs are
19099         resolved.
19101 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
19103         [BZ #12469]
19104         * Makeconfig: Remove RANLIB definition.
19105         * Makerules: Don't use RANLIB.
19106         * aclocal.m4: Remove ranlib test.
19107         * configure.in: No need to check for ranlib.
19108         * elf/rtld-Rules: Don't use RANLIB.
19110 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19112         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
19113         protection macro.
19114         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
19115         inclusion protection macro.
19117         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
19118         SIGRTMIN and SIGRTMAX and print information in that case only when
19119         SIGRTMIN is defined.
19121 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
19123         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
19124         arginfo fn returning -1.
19126         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
19127         and thousands string is zero terminated.
19129 2011-02-03  Andreas Schwab  <schwab@redhat.com>
19131         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
19132         sysdeps/unix/sysv/linux/bits/socket.h.
19134 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19136         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
19137         (__CPU_COUNT): Remove old macros.
19138         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
19139         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
19140         (__CPU_ALLOC, __CPU_FREE): Add macros.
19141         (__sched_cpualloc, __sched_cpufree): Add declarations.
19143 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
19145         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
19146         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
19147         * nscd/aicache.c (addhstaiX): Return timeout of added value.
19148         (readdhstai): Return value of addhstaiX call.
19149         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
19150         (addgrbyX): Return value returned by cache_addgr.
19151         (readdgrbyname): Return value returned by addgrbyX.
19152         (readdgrbygid): Likewise.
19153         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
19154         (addpwbyX): Return value returned by cache_addpw.
19155         (readdpwbyname): Return value returned by addhstbyX.
19156         (readdpwbyuid): Likewise.
19157         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
19158         (addservbyX): Return value returned by cache_addserv.
19159         (readdservbyname): Return value returned by addservbyX:
19160         (readdservbyport): Likewise.
19161         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
19162         (addhstbyX): Return value returned by cache_addhst.
19163         (readdhstbyname): Return value returned by addhstbyX.
19164         (readdhstbyaddr): Likewise.
19165         (readdhstbynamev6): Likewise.
19166         (readdhstbyaddrv6): Likewise.
19167         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
19168         (readdinitgroups): Return value returned by addinitgroupsX.
19169         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
19170         (prune_cache): Keep track of timeout value of re-added entries.
19171         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
19172         * nscd/nscd.h: Adjust prototypes of readd* functions.
19174 2011-02-04  Roland McGrath  <roland@redhat.com>
19176         * nis/nis_server.c (nis_servstate): Use the right name for 0.
19177         (nis_stats): Likewise.
19178         * nis/nis_modify.c (nis_modify): Likewise.
19179         * nis/nis_remove.c (nis_remove): Likewise.
19180         * nis/nis_add.c (nis_add): Likewise.
19182         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
19184         * posix/fnmatch_loop.c: Add some consts.
19186         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
19188 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
19190         [BZ #12460]
19191         * config.make.in (config-cflags-novzeroupper): Define.
19192         * configure.in: Substitute libc_cv_cc_novzeroupper.
19193         * elf/Makefile (AVX-CFLAGS): Define.
19194         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
19195         (CFLAGS-tst-auditmod4a.c): Likewise.
19196         (CFLAGS-tst-auditmod4b.c): Likewise.
19197         (CFLAGS-tst-auditmod6b.c): Likewise.
19198         (CFLAGS-tst-auditmod6c.c): Likewise.
19199         (CFLAGS-tst-auditmod7b.c): Likewise.
19200         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
19202 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
19204         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
19205         function to the callback.
19206         Patch partly by Jiri Olsa <jolsa@redhat.com>.
19208 2011-02-02  Andreas Schwab  <schwab@redhat.com>
19210         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
19211         of errno.
19213 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
19215         [BZ #11724]
19216         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
19217         of constructors.
19218         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
19219         of destructors.
19220         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
19222         [BZ #11724]
19223         * elf/Makefile: Add rules to build and run new test.
19224         * elf/tst-initorder.c: New file.
19225         * elf/tst-initorder.exp: New file.
19226         * elf/tst-initordera1.c: New file.
19227         * elf/tst-initordera2.c: New file.
19228         * elf/tst-initordera3.c: New file.
19229         * elf/tst-initordera4.c: New file.
19230         * elf/tst-initorderb1.c: New file.
19231         * elf/tst-initorderb2.c: New file.
19232         * elf/tst-order-a1.c: New file.
19233         * elf/tst-order-a2.c: New file.
19234         * elf/tst-order-a3.c: New file.
19235         * elf/tst-order-a4.c: New file.
19236         * elf/tst-order-b1.c: New file.
19237         * elf/tst-order-b2.c: New file.
19238         * elf/tst-order-main.c: New file.
19239         New test case by George Gensure <werkt0@gmail.com>.
19241 2010-10-01  Andreas Schwab  <schwab@redhat.com>
19243         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19244         decoding ACE if AI_CANONIDN.
19246 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
19248         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
19250 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
19252         * version.h (RELEASE): Bump for 2.13 release.
19253         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
19255         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
19257         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
19258         MADV_NOHUGEPAGE.
19259         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
19260         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19261         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19262         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19263         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19264         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19266         * posix/getconf.c: Update copyright year.
19267         * catgets/gencat.c: Likewise.
19268         * csu/version.c: Likewise.
19269         * debug/catchsegv.sh: Likewise.
19270         * debug/xtrace.sh: Likewise.
19271         * elf/ldconfig.c: Likewise.
19272         * elf/ldd.bash.in: Likewise.
19273         * elf/sprof.c (print_version): Likewise.
19274         * iconv/iconv_prog.c: Likewise.
19275         * iconv/iconvconfig.c: Likewise.
19276         * locale/programs/locale.c: Likewise.
19277         * locale/programs/localedef.c: Likewise.
19278         * malloc/memusage.sh: Likewise.
19279         * malloc/mtrace.pl: Likewise.
19280         * nscd/nscd.c (print_version): Likewise.
19281         * nss/getent.c: Likewise.
19283         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
19284         PF_CAIF, and PF_ALG.
19285         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19287 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
19289         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
19290         (modules-names): Use them.
19291         (ifunc-test-modules, ifunc-pie-tests): Define.
19292         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
19293         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
19294         (test-extras): Likewise.
19295         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
19296         $(compile-command.c).
19297         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
19298         (all-built-dso): Define.
19299         (check-textrel.out, check-execstack.out): Depend on it.
19301         * configure.in: Don't override --enable-multi-arch.
19303 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
19305         [BZ #6812]
19306         * nscd/hstcache.c (tryagain): Define.
19307         (cache_addhst): Return tryagain not notfound for temporary errors.
19308         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
19309         failed.
19311 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
19313         [BZ #10563]
19314         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
19315         to make the syscall.
19316         * sysdeps/unix/sysv/linux/setgroups.c: New file.
19318         [BZ #12378]
19319         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
19320         and fall back to matching as normal character if the string ends before
19321         the matching ']' is found.  This is what POSIX requires.
19322         * posix/testfnm.c: Adjust test result.
19323         * posix/globtest.sh: Adjust test result.  Add new test.
19324         * posix/tst-fnmatch.input: Likewise.
19325         * posix/tst-fnmatch2.c: Add new test.
19327 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
19329         * elf/Makefile (check-execstack): Revert last change.  Depend on
19330         check-execstack.h.
19331         (check-execstack.h): New target.
19332         (generated): Add check-execstack.h.
19333         * elf/check-execstack.c: Include "check-execstack.h".
19334         (main): Revert last change.
19335         (handle_file): Return zero if GNU_STACK is absent and
19336         DEFAULT_STACK_PERMS doesn't include PF_X.
19338 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
19340         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
19341         in child fails because the descriptor is already closed.
19342         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
19343         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
19344         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
19346         [BZ #12397]
19347         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
19348         syscall.
19350         [BZ #10484]
19351         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
19352         temporary buffer used to handle multi lookups locally.
19353         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
19355 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
19357         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
19358         loader is ld.so.
19360 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
19362         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
19363         alignment for SSE2.
19365 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
19367         [BZ #12394]
19368         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
19369         characters.  When rounding increased number of integer digits recompute
19370         number of groups.
19371         * stdio-common/tst-grouping.c: New file.
19372         * stdio-common/Makefile: Add rules to build and run tst-grouping.
19374 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
19376         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
19377         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
19379         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
19380         void.
19381         * bits/select.h: Likewise.
19383 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
19385         * po/ja.po: Update from translation team.
19387 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
19389         [BZ #11155]
19390         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
19391         implementation just like for lxstat, fxstatat, et al.
19393 2010-12-27  Jim Meyering  <meyering@redhat.com>
19395         [BZ #12348]
19396         * posix/regexec.c (build_trtable): Return failure indication upon
19397         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
19399 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
19401         [BZ #12201]
19402         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
19403         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
19404         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
19405         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
19407         [BZ #12207]
19408         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
19410         [BZ #12204]
19411         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
19412         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
19414 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
19416         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
19417         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
19418         script has SORT_BY_INIT_PRIORITY.
19419         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
19420         NO_CTORS_DTORS_SECTIONS is defined.
19421         * elf/soinit.c: Likewise.
19422         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
19423         NO_CTORS_DTORS_SECTIONS is defined.
19424         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
19425         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
19426         * sysdeps/sh/init-first.c: Likewise.
19427         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
19429 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
19431         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
19432         always use the slow path.
19434 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
19436         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
19437         similar rule which adds the sysdep directories to the header search in
19438         order to pick up the correct platform stackinfo.h.
19439         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
19440         perform test if it is, otherwise return successfully without testing.
19441         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
19442         DEFAULT_STACK_PERMS define in stackinfo.h.
19443         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
19444         defined in stackinfo.h.
19445         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
19446         DEFAULT_STACK_PERMS defined in stackinfo.h.
19447         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
19448         * sysdeps/ia64/stackinfo.h: Likewise.
19449         * sysdeps/s390/stackinfo.h: Likewise.
19450         * sysdeps/sh/stackinfo.h: Likewise.
19451         * sysdeps/sparc/stackinfo.h: Likewise.
19452         * sysdeps/x86_64/stackinfo.h: Likewise.
19453         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
19454         PF_X for powerpc64.  Retain PF_X for powerpc32.
19456 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
19458         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
19459         accurately.
19460         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
19461         GETDENTS_64BIT_ALIGNED.
19463 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
19465         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
19467 2010-12-10  Andreas Schwab  <schwab@redhat.com>
19469         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
19470         _GNU_SOURCE.
19472         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
19473         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
19474         Remove __restrict.
19475         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
19476         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
19478 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
19480         [BZ #11655]
19481         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
19482         are initialized.
19484 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
19486         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
19488 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
19490         * po/it.po: Update from translation team.
19492 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
19494         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
19495         unused codes.
19497 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
19499         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
19501 2010-11-24  Andreas Schwab  <schwab@redhat.com>
19503         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
19504         specially.
19505         (gaih_getanswer_slice): Likewise.
19507 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
19509         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
19511 2010-05-31  Petr Baudis  <pasky@suse.cz>
19513         [BZ #11149]
19514         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
19515         silently even in the chroot mode.
19517 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
19519         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
19520         last patch a bit.  Pretty printing
19522 2010-05-31  Petr Baudis <pasky@suse.cz>
19524         [BZ #10085]
19525         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
19526         initialization of skip_initgroups_dyn.
19528 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
19530         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
19531         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19533 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
19535         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
19537 2010-11-11  Andreas Schwab  <schwab@redhat.com>
19539         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
19540         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
19541         (tst-fnmatch-ENV): Set MALLOC_TRACE.
19542         ($(objpfx)tst-fnmatch-mem): New rule.
19543         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
19544         * posix/tst-fnmatch.c (main): Call mtrace.
19546 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
19548         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19549         Support Intel processor model 6 and model 0x2c.
19551 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
19553         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
19554           signed comparison.
19556 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
19558         [BZ #12205]
19559         * string/test-strncasecmp.c (check_result): New function.
19560         (do_one_test): Use it.
19561         (check1): New function.
19562         (test_main): Use it.
19563         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19564         Support strcasecmp and strncasecmp.
19566 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
19568         [BZ #12194]
19569         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
19570         * sysdeps/x86_64/bits/byteswap.h: Likewise.
19572 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
19574         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
19575         IFUNC support.
19576         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19577         memset-x86-64.
19578         * sysdeps/x86_64/multiarch/bzero.S: New file.
19579         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
19580         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
19581         * sysdeps/x86_64/multiarch/memset.S: New file.
19582         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
19583         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19584         Set bit_Prefer_SSE_for_memop for Intel processors.
19585         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
19586         Define.
19587         (index_Prefer_SSE_for_memop): Define.
19588         (HAS_PREFER_SSE_FOR_MEMOP): Define.
19590 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
19592         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
19593         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
19595 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
19597         [BZ #12191]
19598         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19599         (__x86_64_raw_data_cache_size_half): Likewise.
19600         (__x86_64_raw_shared_cache_size): Likewise.
19601         (__x86_64_raw_shared_cache_size_half): Likewise.
19603         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19604         (__x86_64_raw_data_cache_size_half): Likewise.
19605         (__x86_64_raw_shared_cache_size): Likewise.
19606         (__x86_64_raw_shared_cache_size_half): Likewise.
19607         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
19608         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
19609         and __x86_64_raw_shared_cache_size_half.  Round
19610         __x86_64_data_cache_size_half, __x86_64_data_cache_size
19611         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
19612         to multiple of 256 bytes.
19614 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
19616         [BZ #12167]
19617         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
19618         of inacessible symlinks.  Verify result of symlink before returning it.
19619         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19620         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
19622 2010-10-28  Erich Ritz  <erichritz@gmail.com>
19624         * math/math.h (isinf): Fix typo in comment.
19626 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
19628         * po/da.po: Update from translation team.
19630 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
19632         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
19633         is added to the list.
19635 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19636             Ulrich Drepper  <drepper@gmail.com>
19638         * elf/dl-object.c (_dl_new_object): Don't append the new object to
19639         the global list here.  Move code to...
19640         (_dl_add_to_namespace_list): ...here.  New function.
19641         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
19642         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
19643         * elf/dl-load.c (lose): Don't remove the element from the list.
19644         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
19645         (_dl_map_object): Likewise.
19647 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
19649         [BZ #12159]
19650         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
19651         into all bytes of SSE register.
19652         Patch by Richard Li <richardpku@gmail.com>.
19654 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
19656         [BZ #12140]
19657         * malloc/malloc.c (_int_free): Fill correct number of bytes when
19658         perturbing.
19660 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
19662         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
19663         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
19664         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
19665         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
19667         submachine.
19668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
19670 2010-10-22  Andreas Schwab  <schwab@redhat.com>
19672         * include/dlfcn.h (__RTLD_SECURE): Define.
19673         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
19674         mode & __RTLD_SECURE instead.
19675         (open_path): Rename preloaded parameter to secure.
19676         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
19677         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
19678         * elf/dl-deps.c (openaux): Likewise.
19679         * elf/rtld.c (struct map_args): Remove is_preloaded.
19680         (map_doit): Don't use it.
19681         (dl_main): Likewise.
19682         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
19683         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
19685 2010-09-09  Andreas Schwab  <schwab@redhat.com>
19687         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
19688         (sysd-rules-targets): Remove duplicates.
19689         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
19690         rtld-%.$o dependency.
19692 2010-10-18  Andreas Schwab  <schwab@redhat.com>
19694         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
19695         _dl_map_object do it.
19697 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
19699         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
19700         fast fma builtins, define the macros in the C99 standard.
19701         (FP_FAST_FMAF): Likewise.
19702         (FP_FAST_FMAL): Likewise.
19703         * sysdeps/x86_64/bits/mathdef.h: Likewise.
19705         * bits/mathdef.h: Update copyright year.
19706         * sysdeps/powerpc/bits/mathdef.h: Likewise.
19708 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
19710         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
19711         builtins, define the macros in the C99 standard.
19712         (FP_FAST_FMAF): Likewise.
19713         (FP_FAST_FMAL): Likewise.
19714         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
19715         multiply/add.
19716         (FP_FAST_FMAF): Likewise.
19718 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
19720         [BZ #3268]
19721         * math/libm-test.inc (fma_test): Some new testcases.
19722         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
19723         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
19724         y and infinite z.  Do multiplication by C already in long double.
19725         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
19726         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
19727         y and infinite z.  Do bitwise or of inexact bit into u.d.
19728         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
19729         * sysdeps/i386/fpu/s_fmaf.S: Removed.
19730         * sysdeps/i386/fpu/s_fma.S: Removed.
19731         * sysdeps/i386/fpu/s_fmal.S: Removed.
19733 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
19735         [BZ #3268]
19736         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
19737         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
19738         computation is not scheduled after fetestexcept.  Fix value
19739         of minimum denormal long double.
19741 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
19743         [BZ #3268]
19744         * math/libm-test.inc (fma_test): Add some more tests.
19745         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
19746         correctly.
19748 2010-10-15  Andreas Schwab  <schwab@redhat.com>
19750         * scripts/data/localplt-s390-linux-gnu.data: New file.
19751         * scripts/data/localplt-s390x-linux-gnu.data: New file.
19753 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
19755         [BZ #3268]
19756         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
19757         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
19758         instead of dbl-64.
19759         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
19760         inlines.
19761         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
19762         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
19763         if one of x and y is very large and the other is subnormal.
19764         * sysdeps/s390/fpu/s_fmaf.c: New file.
19765         * sysdeps/s390/fpu/s_fma.c: New file.
19766         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
19767         * sysdeps/powerpc/fpu/s_fma.S: New file.
19768         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
19769         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
19770         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
19772 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
19774         [BZ #3268]
19775         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
19776         fma tests.
19777         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
19778         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
19779         * sysdeps/i386/i686/multiarch/s_fma.c: Include
19780         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
19781         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
19782         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
19783         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
19785 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
19787         [BZ #12078]
19788         * posix/regcomp.c (parse_branch): One more memory leak plugged.
19789         * posix/bug-regex31.input: Add test case.
19791 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
19793         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
19794         * posix/bug-regex31.input: New file.
19796         [BZ #12078]
19797         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
19798         (parse_sub_exp): Fix last change, use postorder.
19800         * posix/bug-regex31.c: New file.
19801         * posix/Makefile: Add rules to build and run bug-regex31.
19803         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
19805         [BZ #12078]
19806         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
19808         [BZ #12108]
19809         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
19810         to have entries in sys_siglist.
19812         [BZ #12093]
19813         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
19814         be NULL.
19816 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
19818         [BZ #3268]
19819         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
19820         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
19821         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
19822         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
19823         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19824         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
19825         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
19826         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
19827         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
19828         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
19829         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
19830         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
19831         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19832         * math/ftestexcept.c (fetestexcept): Likewise.
19833         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
19834         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
19835         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19836         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
19837         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
19838         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
19839         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19841 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
19843         [BZ #12107]
19844         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
19845         newline.
19847 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
19849         * string/bug-strstr1.c: New file.
19850         * string/Makefile: Add rules to build and run bug-strstr1.
19852 2010-10-05  Eric Blake  <eblake@redhat.com>
19854         [BZ #12092]
19855         * string/str-two-way.h (two_way_long_needle): Always clear memory
19856         when skipping input due to the shift table.
19858 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
19860         [BZ #12005]
19861         * malloc/mcheck.c: Handle large requests.
19863         [BZ #12077]
19864         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
19865         for strncmp and strncasecmp.
19866         * string/stratcliff.c: Add tests for strcmp and strncmp.
19867         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
19869 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
19871         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
19872         __set_fpscr.
19874 2010-09-30  Andreas Jaeger  <aj@suse.de>
19876         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
19877         (CGROUP_SUPER_MAGIC): Define.
19878         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19879         Handle btrfs and cgroup file systems.
19880         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19881         Likewise.
19883 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
19885         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
19886         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
19888 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19890         [BZ #12067]
19891         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
19892         trying to locate the ELF header.
19894 2010-09-27  Andreas Schwab  <schwab@redhat.com>
19896         [BZ #11611]
19897         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
19898         Mask out sign-bit copies when constructing f_fsid.
19900 2010-09-24  Petr Baudis <pasky@suse.cz>
19902         * debug/stack_chk_fail_local.c: Add missing licence exception.
19903         * debug/warning-nop.c: Likewise.
19905 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
19907         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
19908         implementing getdents64 using getdents syscall, set d_type if
19909         __ASSUME_GETDENTS32_D_TYPE.
19911 2010-09-16  Andreas Schwab  <schwab@redhat.com>
19913         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
19914         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
19916 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
19918         [BZ #12037]
19919         * posix/unistd.h: Undo change of feature selection for ftruncate from
19920         2010-01-11.
19922 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
19924         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
19925         detection.
19927 2010-09-20  Andreas Schwab  <schwab@redhat.com>
19929         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
19930         fanotify_mark.
19931         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19933 2010-09-14  Andreas Schwab  <schwab@redhat.com>
19935         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
19936         variables after CHECK_SP call.
19937         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
19939 2010-09-13  Andreas Schwab  <schwab@redhat.com>
19940             Ulrich Drepper  <drepper@redhat.com>
19942         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
19943         re-relocationg ld.so.
19944         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
19945         _dl_init_paths call.
19946         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
19947         here anymore.
19949 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
19951         * resolv/res_init.c (__res_vinit): Count the default server we added.
19953 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
19954             Ulrich Drepper  <drepper@redhat.com>
19956         [BZ #11968]
19957         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19958         (____longjmp_chk): Use %ebx for saving value across system call.
19959         Add unwind info.
19961 2010-09-06  Andreas Schwab  <schwab@redhat.com>
19963         * manual/Makefile: Don't mix pattern rules with normal rules.
19965 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19967         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
19968         operation.
19969         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19970         * libio/iofopncook.c (_IO_cookie_init): Likewise.
19971         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19972         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19973         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19974         Likewise.
19976 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
19978         [BZ #11979]
19979         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
19980         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
19982 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
19984         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
19985         * sysdeps/x86_64/addmul_1.S: Likewise.
19986         * sysdeps/x86_64/lshift.S: Likewise.
19987         * sysdeps/x86_64/mul_1.S: Likewise.
19988         * sysdeps/x86_64/rshift.S: Likewise.
19989         * sysdeps/x86_64/sub_n.S: Likewise.
19990         * sysdeps/x86_64/submul_1.S: Likewise.
19992 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19994         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
19995         Define __sched_param instead of SCHED_* and sched_param when
19996         <bits/sched.h> is included with __need_schedparam defined.
19997         * bits/sched.h [__need_schedparam]
19998         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
19999         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
20000         (__defined_schedparam): Define to 1.
20001         (__sched_param): New structure, identical to sched_param.
20002         (__need_schedparam): Undefine.
20004 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
20006         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
20007         (epoll_create1): Declare.
20009         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
20011 2010-08-31  Andreas Schwab  <schwab@redhat.com>
20013         [BZ #7066]
20014         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
20015         shifting retval into place.
20017 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
20019         * nis/rpcsvc/nis.h: Update copyright notice.
20020         * nis/rpcsvc/nis.x: Likewise.
20021         * nis/rpcsvc/nis_callback.h: Likewise.
20022         * nis/rpcsvc/nis_callback.x: Likewise.
20023         * nis/rpcsvc/nis_object.x: Likewise.
20024         * nis/rpcsvc/nis_tags.h: Likewise.
20025         * nis/rpcsvc/yp.h: Likewise.
20026         * nis/rpcsvc/yp.x: Likewise.
20027         * nis/rpcsvc/ypupd.h: Likewise.
20028         * nis/yp_xdr.c: Likewise.
20029         * nis/ypupdate_xdr.c: Likewise.
20031         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
20032         mainly the body of pmap_getport.  Add parameters to specify timeouts.
20033         (pmap_getport): Use __libc_rpc_getport.
20034         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
20035         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
20036         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
20038 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
20040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
20041         fanotify_mark.
20043 2010-08-27  Roland McGrath  <roland@redhat.com>
20045         * sysdeps/i386/i686/multiarch/Makefile
20046         (CFLAGS-varshift.c): New variable.
20048 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
20050         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
20051         * sysdeps/i386/i686/multiarch/varshift.c: New file.
20053         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
20055         * sysdeps/x86_64/strlen.S: Minimal code improvement.
20057 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
20059         * sysdeps/x86_64/strlen.S: Unroll the loop.
20060         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20061         strlen-sse2 strlen-sse2-bsf.
20062         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
20063         __strlen_no_bsf if bit_Slow_BSF is set.
20064         (__strlen_sse42): Removed.
20065         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
20066         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
20068 2010-08-25  Roland McGrath  <roland@redhat.com>
20070         * sysdeps/x86_64/multiarch/varshift.S: File removed.
20071         * sysdeps/x86_64/multiarch/varshift.c: New file.
20072         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
20073         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
20074         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
20075         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20077 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
20079         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20080         strlen-sse2 strlen-sse2-bsf.
20081         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
20082         __strlen_sse2_bsf if bit_Slow_BSF is unset.
20083         (__strlen_sse2): Removed.
20084         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
20085         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
20086         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20087         bit_Slow_BSF for Atom.
20088         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
20089         (index_Slow_BSF): Define.
20090         (HAS_SLOW_BSF): Define.
20092 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
20094         [BZ #10851]
20095         * resolv/res_init.c (__res_vinit): When no server address at all
20096         is given default to loopback.
20098 2010-08-24  Roland McGrath  <roland@redhat.com>
20100         * configure.in: Remove config-name.h generation.
20101         * configure: Regenerated.
20102         * config-name.in: File removed.
20103         * scripts/config-uname.sh: New file.
20104         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
20105         ($(objdir)config-name.h): New target.
20107         * sunrpc/rpc_parse.h: Avoid nested comment.
20109 2010-08-24  Richard Henderson  <rth@redhat.com>
20110             Ulrich Drepper  <drepper@redhat.com>
20111             H.J. Lu  <hongjiu.lu@intel.com>
20113         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
20114         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
20115         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
20116         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
20117         _mm_alignr_epi8 with _mm_loadu_si128.
20118         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
20119         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
20120         (__m128i_shift_right): Removed.
20121         * sysdeps/i386/i686/multiarch/varshift.h: New file.
20122         * sysdeps/i386/i686/multiarch/varshift.S: New file.
20123         * sysdeps/x86_64/multiarch/varshift.h: New file.
20124         * sysdeps/x86_64/multiarch/varshift.S: New file.
20126 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
20128         * configure.in: Move assembler checks to before sysdep dir checking.
20130 2010-08-20  Petr Baudis  <pasky@suse.cz>
20132         * LICENSES: Sync the sunrpc license.
20134 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
20136         * sunrpc/auth_des.c: Update copyright notice once again.
20137         * sunrpc/auth_none.c: Likewise.
20138         * sunrpc/auth_unix.c: Likewise.
20139         * sunrpc/authdes_prot.c: Likewise.
20140         * sunrpc/authuxprot.c: Likewise.
20141         * sunrpc/bindrsvprt.c: Likewise.
20142         * sunrpc/clnt_gen.c: Likewise.
20143         * sunrpc/clnt_perr.c: Likewise.
20144         * sunrpc/clnt_raw.c: Likewise.
20145         * sunrpc/clnt_simp.c: Likewise.
20146         * sunrpc/clnt_tcp.c: Likewise.
20147         * sunrpc/clnt_udp.c: Likewise.
20148         * sunrpc/clnt_unix.c: Likewise.
20149         * sunrpc/des_crypt.c: Likewise.
20150         * sunrpc/des_soft.c: Likewise.
20151         * sunrpc/get_myaddr.c: Likewise.
20152         * sunrpc/getrpcport.c: Likewise.
20153         * sunrpc/key_call.c: Likewise.
20154         * sunrpc/key_prot.c: Likewise.
20155         * sunrpc/openchild.c: Likewise.
20156         * sunrpc/pm_getmaps.c: Likewise.
20157         * sunrpc/pm_getport.c: Likewise.
20158         * sunrpc/pmap_clnt.c: Likewise.
20159         * sunrpc/pmap_prot.c: Likewise.
20160         * sunrpc/pmap_prot2.c: Likewise.
20161         * sunrpc/pmap_rmt.c: Likewise.
20162         * sunrpc/rpc/auth.h: Likewise.
20163         * sunrpc/rpc/auth_unix.h: Likewise.
20164         * sunrpc/rpc/clnt.h: Likewise.
20165         * sunrpc/rpc/des_crypt.h: Likewise.
20166         * sunrpc/rpc/key_prot.h: Likewise.
20167         * sunrpc/rpc/netdb.h: Likewise.
20168         * sunrpc/rpc/pmap_clnt.h: Likewise.
20169         * sunrpc/rpc/pmap_prot.h: Likewise.
20170         * sunrpc/rpc/pmap_rmt.h: Likewise.
20171         * sunrpc/rpc/rpc.h: Likewise.
20172         * sunrpc/rpc/rpc_des.h: Likewise.
20173         * sunrpc/rpc/rpc_msg.h: Likewise.
20174         * sunrpc/rpc/svc.h: Likewise.
20175         * sunrpc/rpc/svc_auth.h: Likewise.
20176         * sunrpc/rpc/types.h: Likewise.
20177         * sunrpc/rpc/xdr.h: Likewise.
20178         * sunrpc/rpc_clntout.c: Likewise.
20179         * sunrpc/rpc_cmsg.c: Likewise.
20180         * sunrpc/rpc_common.c: Likewise.
20181         * sunrpc/rpc_cout.c: Likewise.
20182         * sunrpc/rpc_dtable.c: Likewise.
20183         * sunrpc/rpc_hout.c: Likewise.
20184         * sunrpc/rpc_main.c: Likewise.
20185         * sunrpc/rpc_parse.c: Likewise.
20186         * sunrpc/rpc_parse.h: Likewise.
20187         * sunrpc/rpc_prot.c: Likewise.
20188         * sunrpc/rpc_sample.c: Likewise.
20189         * sunrpc/rpc_scan.c: Likewise.
20190         * sunrpc/rpc_scan.h: Likewise.
20191         * sunrpc/rpc_svcout.c: Likewise.
20192         * sunrpc/rpc_tblout.c: Likewise.
20193         * sunrpc/rpc_util.c: Likewise.
20194         * sunrpc/rpc_util.h: Likewise.
20195         * sunrpc/rpcinfo.c: Likewise.
20196         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
20197         * sunrpc/rpcsvc/key_prot.x: Likewise.
20198         * sunrpc/rpcsvc/klm_prot.x: Likewise.
20199         * sunrpc/rpcsvc/mount.x: Likewise.
20200         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
20201         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
20202         * sunrpc/rpcsvc/rex.x: Likewise.
20203         * sunrpc/rpcsvc/rstat.x: Likewise.
20204         * sunrpc/rpcsvc/rusers.x: Likewise.
20205         * sunrpc/rpcsvc/sm_inter.x: Likewise.
20206         * sunrpc/rpcsvc/spray.x: Likewise.
20207         * sunrpc/rpcsvc/yppasswd.x: Likewise.
20208         * sunrpc/rtime.c: Likewise.
20209         * sunrpc/svc.c: Likewise.
20210         * sunrpc/svc_auth.c: Likewise.
20211         * sunrpc/svc_authux.c: Likewise.
20212         * sunrpc/svc_raw.c: Likewise.
20213         * sunrpc/svc_run.c: Likewise.
20214         * sunrpc/svc_simple.c: Likewise.
20215         * sunrpc/svc_tcp.c: Likewise.
20216         * sunrpc/svc_udp.c: Likewise.
20217         * sunrpc/svc_unix.c: Likewise.
20218         * sunrpc/svcauth_des.c: Likewise.
20219         * sunrpc/xcrypt.c: Likewise.
20220         * sunrpc/xdr.c: Likewise.
20221         * sunrpc/xdr_array.c: Likewise.
20222         * sunrpc/xdr_float.c: Likewise.
20223         * sunrpc/xdr_mem.c: Likewise.
20224         * sunrpc/xdr_rec.c: Likewise.
20225         * sunrpc/xdr_ref.c: Likewise.
20226         * sunrpc/xdr_sizeof.c: Likewise.
20227         * sunrpc/xdr_stdio.c: Likewise.
20229         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
20230         handling.
20232 2010-08-19  Andreas Schwab  <schwab@redhat.com>
20234         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
20236 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
20238         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
20239         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
20240         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
20241         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
20242         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
20243         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
20244         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
20245         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
20246         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
20247         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
20248         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
20249         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
20250         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
20251         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
20253 2010-07-26  Anton Blanchard  <anton@samba.org>
20255         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
20256         * malloc/arena.c (heap_trim): Likewise.
20258 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
20260         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
20261         here.  Not...
20262         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
20263         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
20265 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
20267         * sysdeps/i386/elf/Makefile: New file.
20269 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
20271         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
20272         from fanotify_init.
20273         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
20274         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20276 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
20278         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
20279         of strncasecmp_l.
20280         * sysdeps/multiarch/strcmp.S: Likewise.
20282 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
20284         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20285         strncase_l-nonascii.
20286         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20287         Add strncase_l-ssse3.
20288         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
20289         * sysdeps/x86_64/strcmp.S: Likewise.
20290         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
20291         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
20292         * sysdeps/x86_64/strncase.S: New file.
20293         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
20294         * sysdeps/x86_64/strncase_l.S: New file.
20295         * string/Makefile (strop-tests): Add strncasecmp.
20296         * string/test-strncasecmp.c: New file.
20298         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
20299         warning.
20301         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
20302         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
20304 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
20306         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
20308 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
20310         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
20311         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
20312         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
20314 2010-05-01  Alan Modra  <amodra@gmail.com>
20316         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
20317         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
20318         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
20319         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
20320         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
20321         tidying.  Don't tail-call __sigjmp_save for static lib.
20322         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
20323         save location.
20324         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
20325         (CALL_MCOUNT): Add eh info, and nop after bl.
20326         (TAIL_CALL_SYSCALL_ERROR): New macro.
20327         (PSEUDO_RET): Use it.
20328         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20329         Correct save location of integer regs and cr.
20330         (_dl_profile_resolve): Correct cr save location.  Delete nops
20331         after bl when SHARED.  Reduce cfi size a little by better
20332         placement of cfi directives.
20333         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
20334         make a stack frame.  Instead use parm save area as a temp.
20335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
20336         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
20337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20338         Don't make a stack frame for parent, use parm save area.
20339         Increase child stack frame to 112 bytes.  Don't save unused reg,
20340         and adjust reg usage.  Set up cfi on error recovery and
20341         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
20342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20343         (__makecontext): Add dummy nop after jump to exit.
20344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
20345         Use correct parm save area and cr save, reduce stack frame.
20346         Correct cfi for possible PSEUDO_RET frame setup.
20347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
20348         Branch to local label emitted by PSEUDO_RET rather than
20349         __syscall_error.
20351 2010-08-12  Andreas Schwab  <schwab@redhat.com>
20353         [BZ #11904]
20354         * locale/programs/locale.c (print_assignment): New function.
20355         (show_locale_vars): Use it.
20357 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
20359         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
20360         field.
20361         (struct statfs64): Likewise.
20362         (_STATFS_F_FLAGS): Define.
20363         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
20364         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20365         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
20366         (ST_VALID): Define locally.
20367         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
20368         __statvfs_getflags, use the provided value.
20369         * sysdeps/unix/sysv/linux/kernel-features.h: Define
20370         __ASSUME_STATFS_F_FLAGS.
20372         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
20374         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
20375         Add sys/fanotify.h.
20376         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
20377         fanotify_mask for GLIBC_2.13.
20378         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
20379         fanotify_init and fanotify_mark.
20380         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20381         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
20383         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
20384         Add prlimit.
20385         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
20386         prlimit64 for GLIBC_2.13.
20387         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
20388         prlimit64.
20389         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
20390         syscall.
20391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
20392         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20393         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
20394         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
20395         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
20396         add prlimit alias.
20397         * sysdeps/unix/sysv/linux/prlimit.c: New file.
20399         [BZ #11903]
20400         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
20401         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
20403         * nss/Makefile: Add rules to build and run tst-nss-test1.
20404         * shlib-versions: Add entry for libnss_test1.
20405         * nss/nss_test1.c: New file.
20406         * nss/tst-nss-test1.c: New file.
20408         * nss/nsswitch.c (__nss_database_custom): Define new variable.
20409         (__nss_configure_lookup): Set appropriate entry in
20410         __nss_configure_lookup to true.
20411         * nss/nsswitch.h: Define enum with indeces of databases in
20412         databases and __nss_database_custom arrays.  Declare
20413         __nss_database_custom.
20414         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
20415         to avoid using nscd when custom rules are installed.
20416         * nss/getXXbyYY_r.c: Likewise.
20417         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20419         * nss/nss_files/files-parse.c: Whitespace fixes.
20421 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
20423         [BZ #11883]
20424         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
20425         * posix/fnmatch_loop.c: Likewise.
20427 2010-07-17  Andi Kleen  <ak@linux.intel.com>
20429         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
20430         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
20431         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
20432         * Versions.def [GLIBC_2.13]: Add.
20434 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
20436         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20437         Also fail if tpwd after pwuid call is NULL.
20439 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20441         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
20442         when converting to ms.
20444 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20446         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
20447         EOPNOTSUPP errors with ENOTTY.
20448         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
20449         EOPNOTSUPP errors with ENOTTY.
20451 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
20453         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20454         Add strcasecmp_l-ssse3.
20455         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
20456         strcasecmp.
20457         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
20458         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
20459         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
20461 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
20463         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
20465         * string/Makefile (strop-tests): Add strcasecmp.
20466         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20467         strcasecmp_l-nonascii.
20468         (gen-as-const-headers): Add locale-defines.sym.
20469         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
20470         * sysdeps/x86_64/strcasecmp.S: New file.
20471         * sysdeps/x86_64/strcasecmp_l.S: New file.
20472         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
20473         * sysdeps/x86_64/locale-defines.sym: New file.
20474         * string/test-strcasecmp.c: New file.
20476         * string/test-strcasestr.c: Test both ends of the range of characters.
20477         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
20479 2010-07-29  Roland McGrath  <roland@redhat.com>
20481         [BZ #11856]
20482         * manual/locale.texi (Yes-or-No Questions): Fix example code.
20484 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
20486         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
20487         for ld.so.
20489 2010-07-27  Andreas Schwab  <schwab@redhat.com>
20491         * manual/memory.texi (Malloc Tunable Parameters): Document
20492         M_PERTURB.
20494 2010-07-26  Roland McGrath  <roland@redhat.com>
20496         [BZ #11840]
20497         * configure.in (-fgnu89-inline check): Set and substitute
20498         gnu89_inline, not libc_cv_gnu89_inline.
20499         * configure: Regenerated.
20500         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
20502 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
20504         * string/test-strnlen.c: New file.
20505         * string/Makefile (strop-tests): Add strnlen.
20506         * string/tester.c (test_strnlen): Add a few more test cases.
20507         * string/tst-strlen.c: Better error reporting.
20509         * sysdeps/x86_64/strnlen.S: New file.
20511 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
20513         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
20514         lower-latency instructions.
20516 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
20518         * string/test-strcasestr.c: New file.
20519         * string/test-strstr.c: New file.
20520         * string/Makefile (strop-tests): Add strstr and strcasestr.
20521         * string/str-two-way.h: Don't undefine MAX.
20522         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
20524 2010-07-21  Andreas Schwab  <schwab@redhat.com>
20526         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20527         strcasestr-nonascii.
20528         (CFLAGS-strcasestr-nonascii.c): Define.
20529         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
20530         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
20531         Remove unused attribute.
20533 2010-07-20  Roland McGrath  <roland@redhat.com>
20535         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
20536         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
20537         ld.so.cache was broken.  With it, there is no way to disable dsocaps
20538         like LD_HWCAP_MASK can disable hwcaps.
20540 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
20542         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
20544 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
20546         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
20547         call in strcasestr.
20548         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
20549         __strcasestr_sse42_nonascii.
20550         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
20551         strcasestr-nonascii.c.
20552         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
20554 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
20556         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
20557         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
20558         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
20559         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
20561 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
20563         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
20564         fcntl.
20566 2010-07-06  Andreas Schwab  <schwab@redhat.com>
20568         [BZ #11577]
20569         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
20570         dl_signal_cerror.
20572 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
20574         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
20575         _PC_PIPE_BUF using F_GETPIPE_SZ.
20577 2010-07-05  Roland McGrath  <roland@redhat.com>
20579         * manual/arith.texi (Rounding Functions): Fix rint description
20580         implicit in round description.
20582 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
20584         * elf/Makefile: Fix linking for a few tests to make recent linker
20585         happy.
20587 2010-06-30  Andreas Schwab  <schwab@redhat.com>
20589         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20590         $(common-objpfx)libc_nonshared.a.
20592 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
20594         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
20595         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
20596         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20597         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20598         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
20599         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
20600         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20601         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
20603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
20604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
20605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
20607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
20609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
20610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
20611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
20612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
20614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
20616         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
20617         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
20618         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
20619         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
20620         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
20621         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
20622         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
20623         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
20624         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
20625         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
20626         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
20627         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
20628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
20629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
20630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
20631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
20632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
20633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
20634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
20635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
20636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
20637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
20638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
20639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
20640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
20641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
20643 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
20645         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
20646         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
20647         * string/memmove.c (memmove): Renamed to ...
20648         (MEMMOVE): ...this.  Default to memmove.
20649         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
20650         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
20651         (END_CHK): Define.
20652         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20653         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
20654         mempcpy-ssse3-back memmove-ssse3-back.
20655         * sysdeps/x86_64/multiarch/bcopy.S: New file .
20656         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
20657         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
20658         * sysdeps/x86_64/multiarch/memcpy.S: New file.
20659         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
20660         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
20661         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
20662         * sysdeps/x86_64/multiarch/memmove.c: New file.
20663         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
20664         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
20665         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
20666         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
20667         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
20668         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
20669         Define.
20670         (index_Fast_Copy_Backward): Define.
20671         (HAS_ARCH_FEATURE): Define.
20672         (HAS_FAST_REP_STRING): Define.
20673         (HAS_FAST_COPY_BACKWARD): Define.
20675 2010-06-21  Andreas Schwab  <schwab@redhat.com>
20677         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20678         Restore proper fallback handling.
20680 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
20682         [BZ #11701]
20683         * posix/group_member.c (__group_member): Correct checking loop.
20685         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
20686         OOM in getpwuid_r correctly.  Return error number when the caller
20687         should return, otherwise -1.
20688         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
20689         call returning > 0 value.
20690         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
20692 2010-06-07  Andreas Schwab  <schwab@redhat.com>
20694         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
20695         libc_nonshared.a from targets in modules-names.
20697 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
20699         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
20700         requires it.
20702 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
20704         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
20705         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
20706         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
20707         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
20709 2010-06-02  Andreas Schwab  <schwab@redhat.com>
20711         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
20713 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
20715         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
20716         and F_GETPIPE_SZ.
20717         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20718         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20719         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20720         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20721         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20722         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
20724 2010-06-14  Roland McGrath  <roland@redhat.com>
20726         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
20728 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
20730         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
20731         __REDIRECT followed by __THROW.
20732         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
20733         * posix/getopt.h (getopt): Likewise.
20735 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
20737         * hurd/lookup-at.c (__file_name_lookup_at): Accept
20738         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
20739         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
20740         in AT_FLAGS.
20741         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
20742         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
20744 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
20746         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
20748 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
20750         [BZ #11640]
20751         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20752         Properly check family and model.
20754 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
20756         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
20758 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
20760         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
20762 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
20764         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
20765         symbol reference.
20767 2010-05-19  Andreas Schwab  <schwab@redhat.com>
20769         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
20770         symbol reference.
20772 2010-05-21  Andreas Schwab  <schwab@redhat.com>
20774         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
20775         and internal_recvmmsg.
20776         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
20777         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
20778         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
20779         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
20781         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
20782         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20783         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20785 2010-05-20  Andreas Schwab  <schwab@redhat.com>
20787         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
20789 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
20791         POWER7 optimizations.
20792         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
20793         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
20795 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
20797         * version.h: Update for 2.13 development version.
20799 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
20801         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
20802         exceptions.  Return 0.
20804 2010-05-07  Roland McGrath  <roland@redhat.com>
20806         * elf/ldconfig.c (main): Add a const.
20808 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
20810         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
20811         (args_options): Add no-idn option.
20812         (ahosts_keys_int): Add idn_flags to ai_flags.
20813         (parse_option): Handle 'i' option to clear idn_flags.
20815         * malloc/malloc.c (_int_free): Possible race in the most recently
20816         added check.  Only act on the data if no current modification
20817         happened.
20819 See ChangeLog.17 for earlier changes.